<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gf-core.git/src/runtime/javascript/minibar/pgf_online.js, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.adelon.net/gf-core.git/atom?h=master</id>
<link rel='self' href='https://git.adelon.net/gf-core.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/'/>
<updated>2011-10-12T17:03:54+00:00</updated>
<entry>
<title>Improvements of "gf -server" mode and related setup</title>
<updated>2011-10-12T17:03:54+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2011-10-12T17:03:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=44d1a5a9f71b03d9aceeccd760a63fcdc45f8bad'/>
<id>urn:sha1:44d1a5a9f71b03d9aceeccd760a63fcdc45f8bad</id>
<content type='text'>
"gf -server" mode now contains everything needed to run the minibar and
the grammar editor (including example-based grammar writing).

The Setup.hs script installs the required files where gf -server can find them.
These files have been moved to a new directory: src/www.

The separate server program pgf-http is now obsolete.
</content>
</entry>
<entry>
<title>minibar/support.js: added function encodeArgs.</title>
<updated>2011-10-10T17:40:53+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2011-10-10T17:40:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=693b807cb5a8335c6ca55e92c8764b9e0406017d'/>
<id>urn:sha1:693b807cb5a8335c6ca55e92c8764b9e0406017d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>minibar: improve pgf_online.js</title>
<updated>2011-08-03T15:21:38+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2011-08-03T15:21:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=ab8ec58e08d6766b5504a4116b8699ded17854bc'/>
<id>urn:sha1:ab8ec58e08d6766b5504a4116b8699ded17854bc</id>
<content type='text'>
pgf_online.js has been simplified and generalized to support the full
GF Web Service API. The changes are backwards incompatible, unfortunately.
The documentation and minibar.js have been updated accordingly.
</content>
</entry>
<entry>
<title>minibar: small code and documentation tweaks</title>
<updated>2011-08-03T14:24:47+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2011-08-03T14:24:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=a0ec59ccdad4507c7ff63317d8aad70394f927e5'/>
<id>urn:sha1:a0ec59ccdad4507c7ff63317d8aad70394f927e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>pgf_online.js: if a grammar list is supplied, you don't have to call switch_grammar.</title>
<updated>2010-11-09T16:29:04+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2010-11-09T16:29:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=b0594eb5455d2928da370885bf0bed741957a09a'/>
<id>urn:sha1:b0594eb5455d2928da370885bf0bed741957a09a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>minibar: restructured code and improved user interface</title>
<updated>2010-10-26T12:42:33+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2010-10-26T12:42:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=5fc0e059c5b35ad426f361f37f28036d01f5b412'/>
<id>urn:sha1:5fc0e059c5b35ad426f361f37f28036d01f5b412</id>
<content type='text'>
* Keyboard input and completion should now work much more smoothly:
  + When you press space, the current word will be completed (if incomplete)
    and a new magnet will be created. If there is more than one possible
    completion, no magnet is created, but the common prefix of the possible
    completions is added to the text box.
  + Instead of asking the server for possible completions every time a new
    letter is added to the curent word, minibar only ask for completions for
    whole words and then filters the list locally when more letters are entered,
    speeding things up when server responses are slow.

* Code restructuring:
  + The PGF server API has been moved to its own file: pgf_online.js. This
    allows it to be reused in other applicaitons without importing the entire
    minibar. It also allows minibar to be used with different server interfaces.
  + The minibar code has been rewritten to avoid storing state information
    in the document tree and accessing it by referring to named document
    elements. The code now also avoids using string literals contaning
    the names of top-level functions to specify event handlers for buttons
    and menus. (The code is no longer introspective, so alpha conversion will
    not change its meaning.)
</content>
</entry>
</feed>
