Commits on Sep 7, 2012
  1. Get rid of useless prints

    Andrew Fleenor committed Sep 6, 2012
Commits on Sep 6, 2012
  1. Make card edges bigger, min size smaller.

    Andrew Fleenor committed Sep 6, 2012
Commits on May 4, 2012
Commits on Apr 27, 2012
  1. Merge branch 'master' into shiftdragedge

    Andrew Fleenor committed Apr 27, 2012
  2. Get rid of 'new card' print.

    Andrew Fleenor committed Apr 27, 2012
  3. Increase scrolling margin

    So you can move about the space more freely, even away from
    the bulk of cards. However, it seems to exacerbate the problem
    with starting with the viewport in the wrong place.
    Andrew Fleenor committed Apr 27, 2012
  4. crummy first attempt at shift-dragging edges

    Need to adjust starting geometry of card, major refactoring of
    ViewportEdge.mouseup.
    Andrew Fleenor committed Apr 27, 2012
Commits on Apr 25, 2012
  1. Prevent edges from having same dest and orig.

    Also remove instance of raising string.
    Andrew Fleenor committed Apr 24, 2012
Commits on Apr 24, 2012
  1. make edges a bit thicker.

    Andrew Fleenor committed Apr 24, 2012
Commits on Apr 22, 2012
  1. Reverse names of file and program in window title

    Andrew Fleenor committed Apr 21, 2012
  2. Clarify instruction about dragging edges.

    Make clear that you have to drag until the destination
    card highlights. I think it might be clearer, anyway.
    Andrew Fleenor committed Apr 21, 2012
Commits on Apr 20, 2012
  1. Updated instructions.gp for edges.

    Andrew Fleenor committed Apr 20, 2012
  2. Added basic README with half-baked install instructions.

    Andrew Fleenor committed Apr 20, 2012
  3. Switch from separate vars for orig and dest to lists

    Inside ViewportEdge, use lists to store callbacks, nodes, etc,
    instead of self._orig, _dest, orig_geom_callback, etc.
    Andrew Fleenor committed Apr 19, 2012
  4. Enforce minimum card size in UI

    Andrew Fleenor committed Apr 19, 2012
  5. Fix edge/edge-handle z-order issue, hackishly.

    tag_raise edges everytime we recreate edge handles. Should
    switch to just moving edge handles at some point.
    Andrew Fleenor committed Apr 19, 2012
  6. Fix card deletion issues

    * ghost cards: cards can now remove themself from list,
      so edges don't try to collide with them.
    * deletion callback dict modification: Slot copies the
      callback dict before iterating it, so callbacks can
      remove themselves.
    
    Also removed dead code.
    Andrew Fleenor committed Apr 19, 2012
Commits on Apr 19, 2012
  1. Import non-edged graphpaper files.

    Andrew Fleenor committed Apr 19, 2012
  2. fix geometry callback issues

    I think because the first callback id issues is 0,
    sometimes when setting an edge end for the first time in
    the program it wouldn't realize it needed to remove callbacks.
    Then when the original end was moved, it would call the callback
    and the edge would be confused (raising that stupid string).
    Andrew Fleenor committed Apr 18, 2012
  3. Got rid of some weird highlighting behavior

    name error in removing deletion callback prevented some cleanup,
    and needed to clear highlighted card when canceling a new-edge drag.
    Andrew Fleenor committed Apr 18, 2012
Commits on Apr 18, 2012
  1. Make deletion work sort of properly

    Edges are deleted when a card is deleted. Also, edge is
    deleted when you drag its end into space. We still have the problem
    of ghost cards, and I assume ghost edges too.
    Andrew Fleenor committed Apr 17, 2012
  2. Fix card saving, works with changing cards

    Need to manually invalidate all the naturally invalid edges
    before saving the cards, so edges that need saving still
    know to save themselves. Kind of a hack, but it works and
    isn't too bad.
    Andrew Fleenor committed Apr 17, 2012
Commits on Apr 17, 2012
  1. Edges can be dragged from cards with basic persistence

    for some reason, they don't follow changing card ids.
    Andrew Fleenor committed Apr 16, 2012
Commits on Apr 16, 2012
  1. Tweaks to merged edge/versions stuff

    Changed min size of cards, fit circle edge handles inside,
    re-arranged viewportedge.py aux funcs.
    Andrew Fleenor committed Apr 15, 2012
Commits on Apr 15, 2012
  1. Merge branch 'versions' into edges

    Andrew Fleenor committed Apr 14, 2012
  2. Make edges stick where you drag them

    Also fixed weird adjustment issue when dragging ends.
    Andrew Fleenor committed Apr 14, 2012
  3. drag ends of edges around, can't re-attach them.

    Also added highlight color to edge.
    Andrew Fleenor committed Apr 14, 2012
Commits on Apr 14, 2012
  1. fixed weirdness in reset_coords initial result

    using orig when I should use dest. sheesh. Also made arrow fatter.
    Andrew Fleenor committed Apr 14, 2012
  2. Good early-exit case for adjust_point when rise or run == 0

    Andrew Fleenor committed Apr 14, 2012
  3. Got edges tracking movements of cards nicely

    Except for cases where rise or run == 0. Main modifications are that
    viewportcard geo_callback passes originating card, viewportedge stores
    a list of coordinates, and there are separate get_coords and reset_coords,
    the latter of which actually reads coords from card objects, and the former
    of which just flattens self.coords.
    Andrew Fleenor committed Apr 13, 2012
Commits on Apr 3, 2012
  1. got edges sort of working on the gui

    Andrew Fleenor committed Apr 2, 2012
Commits on Mar 29, 2012
  1. adding storable.py, missing before

    Andrew Fleenor committed Mar 29, 2012
Commits on Feb 5, 2012
  1. Okay, edge deletion works.

    Both deleting cards out from under edges and deleting edges
    directly. Not *completely* tested, but sort of. Must add
    nice interface for setting _delete_me.
    Andrew Fleenor committed Feb 4, 2012
  2. Add edges to model, with version control.

    Deletion not tested yet for edges (worked out fine for cards), and
    will likely take some work to handle card deletion with edges.
    Andrew Fleenor committed Feb 4, 2012
Commits on Feb 3, 2012
  1. First phase of implementing version control

    New model classes, with helpers for interacting with sqlite kvstore.
    new GraphPaperFile class handles migration, commitment of changes
    GPViewport and other view classes. Card deletion not tested.
    Andrew Fleenor committed Feb 2, 2012