<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gf-core.git/src/www/js/support.js, branch optimize</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.adelon.net/gf-core.git/atom?h=optimize</id>
<link rel='self' href='https://git.adelon.net/gf-core.git/atom?h=optimize'/>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/'/>
<updated>2020-07-21T20:29:00+00:00</updated>
<entry>
<title>added function for posting query strings. scales better than get.</title>
<updated>2020-07-21T20:29:00+00:00</updated>
<author>
<name>krangelov</name>
<email>kr.angelov@gmail.com</email>
</author>
<published>2020-07-21T20:29:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=8bc4cc71878cdf9d281678f3c0ca9e7ee7d49e28'/>
<id>urn:sha1:8bc4cc71878cdf9d281678f3c0ca9e7ee7d49e28</id>
<content type='text'>
</content>
</entry>
<entry>
<title>allow specifying content-type in ajax_http</title>
<updated>2020-07-21T11:19:19+00:00</updated>
<author>
<name>krangelov</name>
<email>kr.angelov@gmail.com</email>
</author>
<published>2020-07-21T11:19:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=2b09e70b4ac759a72cb4cb68b615f5380978f08f'/>
<id>urn:sha1:2b09e70b4ac759a72cb4cb68b615f5380978f08f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>support.js &amp; gftranslate.js: improved handling of server errors</title>
<updated>2014-03-27T15:02:27+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2014-03-27T15:02:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=9bfed9979034def4a282d4dd6cdfc89a288be544'/>
<id>urn:sha1:9bfed9979034def4a282d4dd6cdfc89a288be544</id>
<content type='text'>
In support.js, the functions http_get_json, ajax_http_get_json
and ajax_http_post_json now calls the supplied error callback if the server
returns invalid JSON (e.g. because of a crash).

The function gftranslate.translate in gftranslate.js returns
a JSON value containing an error message (since it doesn't have an error
callback).

This should result in fewer situations where "nothing happens" and the user
doesn't know if it is beacuse the server is slow, or if there was an error.
</content>
</entry>
<entry>
<title>support.js: For better error handling, always use AJAX, don't fallback to JSONP</title>
<updated>2014-03-12T14:07:35+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2014-03-12T14:07:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=ca8dd1e8cc7c24abffac758f9eb1601bb3afb65a'/>
<id>urn:sha1:ca8dd1e8cc7c24abffac758f9eb1601bb3afb65a</id>
<content type='text'>
Cross-origin requests are allowed by the PGF service and are supported in
all modern browsers.
See http://en.wikipedia.org/wiki/Cross-origin_resource_sharing
</content>
</entry>
<entry>
<title>minibar/syntax editor integration improvements</title>
<updated>2013-04-04T14:04:31+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2013-04-04T14:04:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=3c244ff27f015df6cfa918c9ba3e192f4d5b62ff'/>
<id>urn:sha1:3c244ff27f015df6cfa918c9ba3e192f4d5b62ff</id>
<content type='text'>
Work in progress on preserving the start category and selected target languages
when switching between the minibar and the syntax editor.
</content>
</entry>
<entry>
<title>support.js: add function replaceNode</title>
<updated>2013-03-27T16:35:32+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2013-03-27T16:35:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=7e214fee01800b5bc982dde14c0c290b3758125a'/>
<id>urn:sha1:7e214fee01800b5bc982dde14c0c290b3758125a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Syntax editor: various small improvements...</title>
<updated>2012-12-07T12:55:17+00:00</updated>
<author>
<name>john.j.camilleri</name>
<email>john.j.camilleri@chalmers.se</email>
</author>
<published>2012-12-07T12:55:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=904e8029fea4436290fc79d5fabc782386cee19b'/>
<id>urn:sha1:904e8029fea4436290fc79d5fabc782386cee19b</id>
<content type='text'>
- separate tree edit buttons from option buttons
- fix bug when wrapping on freshly imported ast
- add interface for import &amp; export of ast
- cleaner internal implementation of Editor.add_refinement
- small style updates
</content>
</entry>
<entry>
<title>minibar: add tool tips to some of the buttons</title>
<updated>2012-11-29T16:05:42+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2012-11-29T16:05:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=8c22a380f749514fdee246163bd4c7355b8f1faa'/>
<id>urn:sha1:8c22a380f749514fdee246163bd4c7355b8f1faa</id>
<content type='text'>
Also move the functions title and attr from editor/editor.js to js/support.js.
Also mention recent changes in minibar/about.html.
</content>
</entry>
<entry>
<title>Syntax editor: improvements and fixes with grammar manager</title>
<updated>2012-11-27T10:09:40+00:00</updated>
<author>
<name>john.j.camilleri</name>
<email>john.j.camilleri@chalmers.se</email>
</author>
<published>2012-11-27T10:09:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=b3c1177f9ed5a3eaff378671fa119be1c605498e'/>
<id>urn:sha1:b3c1177f9ed5a3eaff378671fa119be1c605498e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>gfse: use POST requests when parsing grammar modules after editing as text</title>
<updated>2012-11-23T18:51:44+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2012-11-23T18:51:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=e0e8f89484efaec39e77e5c645697d311baaa0e4'/>
<id>urn:sha1:e0e8f89484efaec39e77e5c645697d311baaa0e4</id>
<content type='text'>
instead of GET, to avoid the Apache httpd URI length limitation.

This means that gfse can no longer use JSONP when parsing grammars, so it
has to be located on the same host as the cloud service.

Also clean away trailing white space in support.js.
</content>
</entry>
</feed>
