Skip to content
Commits on May 21, 2012
  1. Major refactor of packet builder

    committed May 20, 2012
    I decided to ditch the Packet class name and go with a Form module
    that contains a BaseForm which child classes inherit from.
    
    I've created a few tests so you can see how the BaseForm class
    works and how packets can be read and sent over a socket to
    an X11 server
Commits on May 19, 2012
  1. add method to give unique ids for x11 resources

    committed May 19, 2012
    X11 Protocol expects clients to track unique identifiers in order to reduce 
    network traffic. This reduces network traffic because when you create a new
    resource say a window the X11 server doesn't have to reply with the ID
    of the newly created resource. This makes the X11 protocol extremely fast
    since most requests the server doesn't need to reply to a message.
    
    In the first packet returned from X11 they give you a 
    resource-id-mask and a resource-id-base. You can use these values to
    generate a unique id for X11.
  2. add opcode field to packets

    committed May 19, 2012
    X11 requests must contain an opcode field
    to be sent so the X11 server can identify
    the request
  3. remove old test

    committed May 19, 2012
  4. use OpenStruct instead of returning a hash value

    committed May 19, 2012
    When we created a Packet object before using
    Packet.read would return a hash. Instead, return
    an OpenStruct object which makes accessing
    parameters easier
  5. pretty print display class

    committed May 19, 2012
  6. add more types

    committed May 19, 2012
  7. add rvmrc file to project

    committed May 19, 2012
  8. start adding tests

    committed May 19, 2012
Commits on May 13, 2012
  1. List data types now working

    committed May 13, 2012
Commits on May 12, 2012
Commits on May 7, 2012
  1. We dont need to pass lengths of strings

    committed May 6, 2012
    Instead of manually passing lengths of strings
    we can check the length of the parameter
    passed in when we construct the packet
Commits on Mar 12, 2012
  1. Merge remote-tracking branch 'matt/master'

    committed Mar 11, 2012
    Conflicts:
    	lib/X11.rb
    	lib/X11/auth.rb
    	lib/X11/protocol.rb
Commits on Mar 11, 2012
  1. add docs for encode.rb

    committed Mar 11, 2012
  2. this is no longer used

    committed Mar 11, 2012
  3. add extra docs to packet.rb

    committed Mar 11, 2012
  4. added error/exception classes for better handling

    Matthias Beyer committed Mar 11, 2012
  5. shortened

    Matthias Beyer committed Mar 11, 2012
Commits on Mar 9, 2012
  1. remove whitespace

    committed Mar 8, 2012
  2. get rid of jeweler

    committed Mar 8, 2012
Commits on Mar 8, 2012
  1. update readme

    committed Mar 8, 2012
  2. fixed typo

    Matthias Beyer committed Mar 8, 2012
Commits on Mar 7, 2012
  1. shortened and speedup code - removed method #displays which was just …

    Matthias Beyer committed Mar 7, 2012
    …called from within the class
Commits on Aug 4, 2011
  1. goodbye postscript

    committed Aug 3, 2011
  2. gemifying x11 with jeweler

    committed Aug 3, 2011
Commits on Aug 1, 2011
  1. first commit

    committed Jul 31, 2011
Something went wrong with that request. Please try again.