Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: io_cleanups
Commits on Jul 30, 2009
  1. [testing] Improve regex used to identify repository branches in prepa…

    jkeenan authored
    …ring smoke reports.
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@40330 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. [io_cleanups] the Handle PMC type is instantiable right now (whether …

    whiteknight authored
    …that's a good thing or not) so we shouldn't be testing to prove that it isn't instantiable
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@40328 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. [io_cleanups] fix a weird pod bug that was breaking the build

    whiteknight authored
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@40327 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jul 13, 2009
  1. Provide minimal documentation for one function so that file conforms …

    jkeenan authored
    …to coding standard: c_function_docs.
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@40043 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. Improve some POD formatting.

    jkeenan authored
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@40042 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. Conform to coding standards: c_parens.

    jkeenan authored
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@40041 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jul 12, 2009
  1. Handle closed stdin/stdout/stderr on UNIX.

    Infinoid authored
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@40033 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. Push buffering down into the Handle layer. Seek positions are passed …

    Infinoid authored
    …through
    
    when the base_type is FileHandle, and ignored otherwise.  (Yes, that means it
    isn't possible to make seekable subclasses yet.)
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@40032 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. Pipehandle needs some extra infrastructure to clean up child processe…

    Infinoid authored
    …s properly.
    
    This includes a "make headerizer" run.
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@40031 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  4. Convert open()'s pipe handling to return a PipeHandle object.

    Infinoid authored
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@40030 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  5. Push FileHandle's flags, mode and encoding attrs into the base Handle…

    Infinoid authored
    … class.
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@40029 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  6. Pipe needs a destroy function to free its attr structure.

    Infinoid authored
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@40028 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jun 30, 2009
  1. [io_cleanups] add basic preliminary logic to support for Pipes to Par…

    whiteknight authored
    …rot_io_open. Probably doesn't work as-is
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39851 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. [io_cleanups] add a child PIOHANDLE to PipeHandle PMC, to keep track …

    whiteknight authored
    …of a child process that is attached to the pipe.
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39850 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jun 27, 2009
  1. [io_cleanups] merge from trunk r39664:39804. This introduces errors i…

    whiteknight authored
    …n t/op/io.t that I havent resolved yet
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39805 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jun 26, 2009
  1. [io_cleanups] remove src/io/core.c, which was empty after the last co…

    whiteknight authored
    …mmit. WARNING: I monkeyed with the makefile, so you'll probably have to make realclean and reconfigure after this.
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39791 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. [io_cleanups] move the functions from src/io/core.c into src/io/api.c…

    whiteknight authored
    …, since they really were API functions. Separate Parrot_io_init into two separate functions because it was performing two completely separate actions at different times
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39790 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. [io_cleanups] fixup the filehandle API a little bit. use GETATTR/SETA…

    whiteknight authored
    …TTR for attributes which are currently overridable from PIR
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39789 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  4. [io_cleanups] Add a NETWORKING_SUPPORT flag to the interpinfo opcode,…

    whiteknight authored
    … so we can determine from PIR whether we have socket support built in or not. No tests yet
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39788 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  5. [io_cleanups] when PARROT_NETWORKING_SUPPORT == 0, we throw exception…

    whiteknight authored
    …s for all the socket API functions. Don't have a way currently to determine whether this is available from PIR except to catch the exceptions and examine them. Will look for a way to do that soon
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39787 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jun 25, 2009
  1. [io_cleanups] rename PARROT_NET_DEVEL to PARROT_NETWORKING_SUPPORT as…

    whiteknight authored
    … per TT #534. Remove some unnecessary instances of it, preparing a major overhaul in how it is used
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39778 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. [cage] Regenerate native pbcs.

    Infinoid authored
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39764 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. [io_cleanups] add a pipehandle.t test to shut up the codingstds

    whiteknight authored
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39763 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  4. [io_cleanups] Apply patch from Infinoid++ to add initial implementati…

    whiteknight authored
    …on of Pipe and PipeHandle PMC types. However, breaks all the packfile tests because we added new PMC types. Need to regenerate the packfiles. Help me Infinoid Kenobi, you're my only hope
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39761 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  5. [io_cleanups] reapply my fix to socket to plug a memory leak here

    whiteknight authored
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39760 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  6. [io_cleanups] back out the changes to Handle. It's the right idea to …

    whiteknight authored
    …solve the problem, but wrong implementation
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39759 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jun 24, 2009
  1. [io] When done flushing the buffer, mark it as empty. (I think this w…

    Infinoid authored
    …as a typo.)
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39758 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jun 23, 2009
  1. [io_cleanups] fix socket so it doesn't attempt to access it's Handle …

    whiteknight authored
    …during destroy. This creates an order-of-destruction bug. Also, plug a leak where socket isn't freeing it's Parrot_Socket_attributes structure
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39742 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. [io_cleanups]. Handle is now a separate delegate type that encapsulat…

    whiteknight authored
    …es the low-level file descriptor, and is included as an attribute (not inherited by) FileHandle, Socket, Pipe, etc. These IO PMCs are now that much closer to being properly subclassable from PIR. Parrot builds with this change but there are some test failures. Likely, these are caused by passing a FileHandle to low-level functions that now expect a Handle, or vice-versa. Need help testing on other platforms. Will post to ticket/wiki/mailinglist or something to discuss further steps necessary here
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39741 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jun 21, 2009
  1. [io_rewiring] change Parrot_io_socket_is_closed to take an interp arg…

    whiteknight authored
    …ument, and use GETATTR to access the os_handle (for future subclassability)
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39686 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. [io_cleanups] remove the now-unneeded does VTABLE from socket and add…

    whiteknight authored
    … checks for socket type to is_closed
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39685 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jun 20, 2009
  1. [io_cleanups] add socket to the list of types that can be handled by …

    whiteknight authored
    …Parrot_io_close
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39681 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Commits on Jun 19, 2009
  1. [io_cleanups] change some things in src/io/filehandle.c to use the GE…

    whiteknight authored
    …TATTR and SETATTR macros for subclassability. Also, fudge some tests that were relying on FileHandle=Pipe behavior
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39670 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  2. [io_rewiring] remove unused process_id ATTR from FileHandle. It's not…

    whiteknight authored
    … needed since FileHandle isn't Pipe anymore
    
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39669 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  3. [io_cleanups] remove unused FileHandle ATTR file_size.

    whiteknight authored
    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39668 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
Something went wrong with that request. Please try again.