<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gf-core.git/src/server/FastCGIUtils.hs, 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>2019-08-18T07:09:40+00:00</updated>
<entry>
<title>remove obsolete code</title>
<updated>2019-08-18T07:09:40+00:00</updated>
<author>
<name>krangelov</name>
<email>kr.angelov@gmail.com</email>
</author>
<published>2019-08-18T07:09:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=148590927c698770a51e1c70057a96dc4c5a6c02'/>
<id>urn:sha1:148590927c698770a51e1c70057a96dc4c5a6c02</id>
<content type='text'>
</content>
</entry>
<entry>
<title>src/server: refactoring to isolate dependencies on the cgi/fastcgi packages</title>
<updated>2014-09-02T12:27:47+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2014-09-02T12:27:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=e0e6079c9141a0c2d7d2a6dda50496e237bfc8bb'/>
<id>urn:sha1:e0e6079c9141a0c2d7d2a6dda50496e237bfc8bb</id>
<content type='text'>
* Introducing the module CGI, re-exporting a subset of the cgi package. It
  might complete replace the cgi package in the future.
* Introducing the module CGIUtils, containing functions from FastCGIUtils that
  have nothing to do with fastcgi.

Some low level hackery with unsafePerformIO and global variables was left
in FastCGIUtils, but it is actually not used, neither for gf -server nor
exec/pgf-fcgi.hs.
</content>
</entry>
<entry>
<title>Cloud &amp; PGF service: use Content-Type application/json for JSON output</title>
<updated>2013-07-29T16:05:54+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2013-07-29T16:05:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=27da46a79d3d465f5bcdfe8d2ac9d7614273e9ab'/>
<id>urn:sha1:27da46a79d3d465f5bcdfe8d2ac9d7614273e9ab</id>
<content type='text'>
This is in accordance with RFC 4627. http://tools.ietf.org/html/rfc4627
Use application/javascript for JSONP output.
</content>
</entry>
<entry>
<title>Allow cross origin requests to GF cloud &amp; PGF services</title>
<updated>2013-07-25T16:04:43+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2013-07-25T16:04:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=e07a74df01fdb5fc67513207b587f074f577e7d8'/>
<id>urn:sha1:e07a74df01fdb5fc67513207b587f074f577e7d8</id>
<content type='text'>
By adding a header

	Access-Control-Allow-Origin: *

to the HTTP responses, web browsers are informed that it is OK to call the
services from web pages hosted on other sites.

This is apparently supported in most modern browsers, so it should no longer
be necessary to resort to JSONP.

See https://developer.mozilla.org/en-US/docs/HTTP/Access_control_CORS

</content>
</entry>
<entry>
<title>PGF service: new command: download</title>
<updated>2013-01-09T13:28:45+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2013-01-09T13:28:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=1497fd863ae7b1d4b2c1f7144a1d2753875bae75'/>
<id>urn:sha1:1497fd863ae7b1d4b2c1f7144a1d2753875bae75</id>
<content type='text'>
This makes it possible to download PGF files from servers where the PGF service
is installed.

I am also considering making commmand=download the default instead of
command=grammar.
</content>
</entry>
<entry>
<title>pgf service: added a hook for external services</title>
<updated>2011-08-22T15:34:44+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2011-08-22T15:34:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=d8d80693db7d18cd6ac84b87358b6e3d55be9fbc'/>
<id>urn:sha1:d8d80693db7d18cd6ac84b87358b6e3d55be9fbc</id>
<content type='text'>
This is really reinventing CGI, people should learn how to write CGI scripts
instead...
TODO: better handling of temporary files
</content>
</entry>
<entry>
<title>PGF web service: Use Content-Type text/javascript from JSON output</title>
<updated>2010-12-22T14:47:35+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2010-12-22T14:47:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=505d99ec3749fc30c1e2362140b49beb166be7ab'/>
<id>urn:sha1:505d99ec3749fc30c1e2362140b49beb166be7ab</id>
<content type='text'>
The Content-Type used to be text/json, but this caused warning messages in
some web browers.
</content>
</entry>
<entry>
<title>Split pgf-server into pgf-fcgi and pgf-http.</title>
<updated>2010-11-26T14:30:51+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2010-11-26T14:30:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=72d2d9b204568b3683c29dea0ae794d3a524f2ee'/>
<id>urn:sha1:72d2d9b204568b3683c29dea0ae794d3a524f2ee</id>
<content type='text'>
The dependency on the fastcgi package made pgf-server difficult to compile, so
it is now split into

  - pgf-fgci (main module in pgf-fcgi.hs), which is built only if fastcgi is
    already installed or if you turn on the fastcgi flag (e.g. by doing
    'cabal install -f fastcgi').

  - pgf-http (main module in pgf-http.hs) which is always built (and hopefully
    has no problematic dependencies.) 

The modules FastCGIUtils and PGFService no longer depend on fastcgi.
</content>
</entry>
<entry>
<title>fix: FastCGIUtils.outputHTML should do UTF8 encoding</title>
<updated>2010-07-31T13:56:55+00:00</updated>
<author>
<name>krasimir</name>
<email>krasimir@chalmers.se</email>
</author>
<published>2010-07-31T13:56:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=c033bbccff2c5b911453682c3b6cfa8162bcd67d'/>
<id>urn:sha1:c033bbccff2c5b911453682c3b6cfa8162bcd67d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>now the PGF service communicates with Graphviz using UTF8 for the input and binary for the output</title>
<updated>2010-04-22T14:01:08+00:00</updated>
<author>
<name>krasimir</name>
<email>krasimir@chalmers.se</email>
</author>
<published>2010-04-22T14:01:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=e3a279e457c8159c07db2db652dbe151afb51f36'/>
<id>urn:sha1:e3a279e457c8159c07db2db652dbe151afb51f36</id>
<content type='text'>
</content>
</entry>
</feed>
