Changes between Version 16 and Version 17 of IOTasklist

Show
Ignore:
Timestamp:
11/29/10 16:03:50 (11 years ago)
Author:
whiteknight
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • IOTasklist

    v16 v17  
    11= IO PMCs = 
    22 
    3  * All IO PMC types should inherit from Handle 
    43 * Separate pipe-related logic out of FileHandle. Create a Pipe PMC type. 
    54 * Add a "Close" or "Disconnect" method to the Socket PMC 
     
    76 * Add an improved file-like API to the Socket PMC (open, close, readline, etc). Internally, these methods should direct to similar functions in src/io/api.c 
    87 * Move buffering logic from FileHandle and StringHandle to Handle. Be able to inherit it from all other PMC types. (include buffering-related ATTRs, METHOD_buffer_type, and METHOD_buffer_size) 
    9  * Move METHOD_get_fd from FileHandle to Handle. Be able to inherit this into Socket, Pipe, etc. 
     8 * Move METHOD_get_fd from FileHandle to Handle. Be able to inherit this into Socket, Pipe, etc. (Set up as GCI task) 
    109 * Move encoding logic (METHOD_encoding, ATTR_encoding, etc) from StringHandle and FileHandle to Handle. Be able to inherit it from all other PMC types. 
    1110 * Unify logic wherever possible so multiple IO types can share 
     
    6564 
    6665 * Create an abstract "IOHandle" class 
    67  
    6866 * Abstract relevant API code from FileHandle and Socket into IOHandle 
    69  
    7067 * Fix StringHandle to be a proper subclass of IOHandle 
    71  
    7268 * Rip out the layers structures and macros. (After the migration is complete.) 
    73  
    7469 * Remove src/io/io_mmap.c, unused and not useful. 
    75  
    7670 * Convert I/O layers to I/O objects. (allison) 
    77  
    7871 * src/io/io_unix.c is the guts of most I/O on most platforms. src/io/io_win32.c is Windows. src/io/io_stdio.c is STDIN, STDOUT, and STDERR. These three need to be ported to the new system. (allison) 
    79  
    8072 * src/io/io_utf8.c is really the wrong way to go about it. Filehandles should be marked with character set and encoding similar to strings. (allison) 
    81  
    8273 * Create a PMC named "FileHandle", as a core file handle object, which can be subclassed by various HLLs. (allison) 
    83  
    8474 * Continue to support different I/O operations on different platforms, using C '#ifdef's on platform-specific sections. (allison) 
    85  
    8675 * All 'PIO_*' functions change to 'Parrot_io_*'. (Since the implementation is completely changing, better to create new functions with the new names than to change the names of existing functions.) (allison) 
    87  
    8876 * Remove deprecated opcode 'pioctl', and fix related documentation. (See http://rt.perl.org/rt3/Ticket/Display.html?id=48589) 
    89  
    9077 * Decide if we plan to use AIO before the 1.0 release. (See http://rt.perl.org/rt3/Ticket/Display.html?id=57920) 
    91  
    9278 * Remove src/io/io_passdown.c and src/io/io_layers.c, purely implementation artifacts of I/O layers implementation. 
    93  
    9479 * Change src/io/io_string.c to a subclass of FileHandle PMC, that provides the same interface, but to a string instead of a file handle. 
     80 * All IO PMC types should inherit from Handle 
    9581 
    9682 
    97