Commits on May 23, 2012
  1. @SethTisue


    SethTisue committed May 23, 2012
  2. @SethTisue

    Merge pull request #1 from SethTisue/patch-1

    explain the "gcc" acronym
    SethTisue committed May 23, 2012
Commits on May 22, 2012
  1. @SethTisue

    explain the "gcc" acronym

    SethTisue committed May 22, 2012
Commits on Mar 8, 2012
  1. always "set done true" when starting

    This should be done when NL automatically runs the 
    startup procedure (if one exists).
    The model being loaded DOES have a startup procedure and
    the first lines look like this:
      to startup
        set done true
    But ... when the page and applet are first loaded the 
    value of the global variable 'done' is 0.
    committed Mar 8, 2012
  2. refactoring: keep NetLogo commands together

    refactor common code into more button/view helpers
    committed Mar 8, 2012
  3. always use netlogo.commandLater()

    The previous threading errors are now not occurring.
    From Seth Tisue <>:
    You'll need to use java.awt.EventQueue.invokeLater or
    java.awt.EventQueue.invokeAndWait to get on the AWT event thread before
    calling the importWorld() method.
    A great many methods in the NetLogo GUI that may only be called from the
    AWT event thread.  As a general rule, GUI stuff may only be done from
    the event thread; we inherit this general rule from Swing.  Failure to
    follow this rule religiously will likely result in flaky behavior,
    crashes, hangs, and woe.
    A handful of methods must *not* be called from the event thread, e.g.
    AppletPanel.command().  It's because you can't block the event thread
    waiting for the NetLogo job thread to finish something; this could
    result in deadlock, since it's often necessary for the job thread to
    block waiting on the event thread.  (We also provide commandLater(),
    which may be called from any thread and doesn't block.)
    see the "Threading" section of
    committed Mar 8, 2012
  4. execute "set done true" immediately

    Prevents error when "Run" and "Reset" buttons are 
    alternately clicked quickly.
    committed Mar 7, 2012
Commits on Mar 7, 2012
  1. WIP: fix Reset after Run

    This fails after: "Run", "Reset", Run", "Reset"
    committed Mar 7, 2012
  2. classList shim for IE

    committed Mar 7, 2012
  3. small change ... should not change anything

    However am getting an error on line 74 from this page
    This change might help provide a clue.
    committed Mar 6, 2012
  4. extract NetLogo command interface => JS functions

    cleanup, refactor, clarify variable names
    committed Mar 6, 2012
  5. cleanup

    committed Mar 6, 2012
Commits on Mar 6, 2012
  1. full url to demo

    committed Mar 6, 2012
  2. readme: JSHint options

    committed Mar 6, 2012
  3. WIP: JS buttons communicating w/applet

    Run button only executes one model step.
    committed Mar 6, 2012
  4. WIP: add JS buttons for Run, Reset, and Watch Sunray

    Not hooked up yet ...
    committed Mar 6, 2012
  5. style, naming cleanups

    committed Mar 6, 2012