Permalink
Switch branches/tags
Nothing to show
Commits on Jul 30, 2009
  1. [testing] Improve regex used to identify repository branches in prepa…

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

    …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
    whiteknight committed Jul 30, 2009
  3. [io_cleanups] fix a weird pod bug that was breaking the build

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

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

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

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

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

    …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
    Infinoid committed Jul 12, 2009
  3. Pipehandle needs some extra infrastructure to clean up child processe…

    …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
    Infinoid committed Jul 12, 2009
  4. Convert open()'s pipe handling to return a PipeHandle object.

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

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

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

    …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
    whiteknight committed Jun 30, 2009
  2. [io_cleanups] add a child PIOHANDLE to PipeHandle PMC, to keep track …

    …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
    whiteknight committed Jun 30, 2009
Commits on Jun 27, 2009
  1. [io_cleanups] merge from trunk r39664:39804. This introduces errors i…

    …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
    whiteknight committed Jun 27, 2009
Commits on Jun 26, 2009
  1. [io_cleanups] remove src/io/core.c, which was empty after the last co…

    …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
    whiteknight committed Jun 26, 2009
  2. [io_cleanups] move the functions from src/io/core.c into src/io/api.c…

    …, 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
    whiteknight committed Jun 26, 2009
  3. [io_cleanups] fixup the filehandle API a little bit. use GETATTR/SETA…

    …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
    whiteknight committed Jun 26, 2009
  4. [io_cleanups] Add a NETWORKING_SUPPORT flag to the interpinfo opcode,…

    … 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
    whiteknight committed Jun 26, 2009
  5. [io_cleanups] when PARROT_NETWORKING_SUPPORT == 0, we throw exception…

    …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
    whiteknight committed Jun 26, 2009
Commits on Jun 25, 2009
  1. [io_cleanups] rename PARROT_NET_DEVEL to PARROT_NETWORKING_SUPPORT as…

    … 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
    whiteknight committed Jun 25, 2009
  2. [cage] Regenerate native pbcs.

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

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

    …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
    whiteknight committed Jun 25, 2009
  5. [io_cleanups] reapply my fix to socket to plug a memory leak here

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

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

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

    …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
    whiteknight committed Jun 23, 2009
  2. [io_cleanups]. Handle is now a separate delegate type that encapsulat…

    …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
    whiteknight committed Jun 23, 2009
Commits on Jun 21, 2009
  1. [io_rewiring] change Parrot_io_socket_is_closed to take an interp arg…

    …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
    whiteknight committed Jun 21, 2009
  2. [io_cleanups] remove the now-unneeded does VTABLE from socket and add…

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

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

    …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
    whiteknight committed Jun 19, 2009
  2. [io_rewiring] remove unused process_id ATTR from FileHandle. It's not…

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

    git-svn-id: https://svn.parrot.org/parrot/branches/io_cleanups@39668 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
    whiteknight committed Jun 19, 2009