1. 01 Jun, 2009 1 commit
    • Iustin Pop's avatar
      Add test infrastructure and initial tests · 15f4c8ca
      Iustin Pop authored
      This patch adds a QuickCheck-based test infrastructure and initial tests
      based on it. The PeerMap module has a 100% coverage 
      Side-note: one has to read the source of QuickCheck to see how to use it
      (especially the Batch submodule), the docs are not enough…
  2. 27 May, 2009 5 commits
  3. 26 May, 2009 4 commits
  4. 25 May, 2009 10 commits
  5. 24 May, 2009 3 commits
  6. 23 May, 2009 13 commits
  7. 22 May, 2009 3 commits
    • Iustin Pop's avatar
      Add back names to nodes/instances · 2727257a
      Iustin Pop authored
      In order to simplify the data structures, we add back the name on the
      node and instance objects. We still keep the index for, well, indexing,
      but we will use the name directly from the object, in order to get rid
      of the ktn/kti arguments which are passed around everywhere.
    • Iustin Pop's avatar
      More code reorganizations · e4c5beaf
      Iustin Pop authored
      This new big patch does a couple of more cleanups in the loading of data
        - introduce a Types module that holds most types (except the base
          Node/Instance/etc.) so that multiple other modules can use these
          (instead of only Cluster and its users)
        - bring IAlloc.hs in line with the recent changes of providing data
          types and not strings
        - removal of obsolete Utils.hs json-related functions
    • Iustin Pop's avatar
      Rework the loader model · 040afc35
      Iustin Pop authored
      This big patch changes the loader model from “string data as common
      format” to actual object structures as common format.
      The text loading function move from Cluster.hs to a new Text.hs module,
      some common functions are moved to a new Loader.hs module, and the
      return values from both Rapi.hs and Text.hs are uniformized.
  8. 21 May, 2009 1 commit
    • Iustin Pop's avatar
      Initial work on hail · 585d4420
      Iustin Pop authored
      This makes hail compile and get a request parsed via IAlloc, but nothing