1. 27 May, 2009 3 commits
  2. 26 May, 2009 4 commits
  3. 25 May, 2009 10 commits
  4. 24 May, 2009 3 commits
  5. 23 May, 2009 13 commits
  6. 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.
      2727257a
    • 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
      chapter:
        - 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
      e4c5beaf
    • 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.
      040afc35
  7. 21 May, 2009 4 commits
    • 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
      more.
      585d4420
    • Iustin Pop's avatar
      Experimental support for non-redundant instances · 7e7f6ca2
      Iustin Pop authored
      This patch adds experimental support to hbal for non-redundant instances
      (i.e.  instances with only one node). They are currently handled as
      non-moveable, and as such the algorithm simply ignores them.
      
      Supports needs to be added when reading from RAPI via hscan, and
      probably in other corner cases.
      7e7f6ca2
    • Iustin Pop's avatar
      Small doc addition · b33a2243
      Iustin Pop authored
      b33a2243
    • Iustin Pop's avatar
      Introduce nice errors on invalid input fields · 1c035cb3
      Iustin Pop authored
      This patch switches from plain read to a wrapper over readsPrec that
      returns better error messages than the buildin 'Prelude: no parse'.
      1c035cb3