Josh Watzman [Fri, 25 Feb 2011 02:57:17 +0000]
Add Form.import and Form.export
This essentially facilitates serialization and deserialization of a Form.form
into a string. The existing Form.dump function is useful as a human-readable
format, but not as a machine-readable one. This pair of functions just builds
and then reads back a GET-style query string.
Jacob Potter [Thu, 2 Sep 2010 01:36:32 +0000]
[chiralml] Work around a severe SML/NJ bug.
Jacob Potter [Mon, 30 Aug 2010 19:48:35 +0000]
Add new very-barebones demo app. Unlike the wiki, this doesn't even use a DB.
Jacob Potter [Mon, 30 Aug 2010 19:47:36 +0000]
[misc] Add smelt and squall binaries to .gitignore
Jacob Potter [Mon, 30 Aug 2010 19:46:09 +0000]
[chiralml] A bit more verbosity.
Jacob Potter [Mon, 30 Aug 2010 19:42:23 +0000]
[web] Functorize out HTTP request handling.
This significantly reduces common code between the Chiral and non-Chiral
versions of the web server. Additionally, the Chiral HTTP server now
supports standard HTTP keep-alive.
Jacob Potter [Mon, 30 Aug 2010 18:02:34 +0000]
[chiralml] Initial checkin of Introspector.
This is a small web-based tool to track all running threads.
Jacob Potter [Fri, 27 Aug 2010 05:42:26 +0000]
[wiki] Wiki demo fixes
Fix the SML/NJ version of the wiki demo to use the new SQLite library, and
add a missing file.
Jacob Potter [Fri, 27 Aug 2010 05:38:29 +0000]
[db] Add SQLite bindings for SML/NJ
This adds an SML/NJ version of the SQLite library, usable by including
sqlite.cm. It ascribes to the same SQLITE signature as the MLton version.
Jacob Potter [Thu, 19 Aug 2010 01:06:50 +0000]
[wiki] Chiral-ify wiki
Jacob Potter [Wed, 18 Aug 2010 23:45:38 +0000]
[chiral] Introspection support
This adds infrastructure to the Thread functor to support examination
of currently-running threads, and exposes in more detail the state
of each thread.
Jacob Potter [Wed, 18 Aug 2010 22:08:52 +0000]
[web] Refactor web.cm to be a Library rather than a Group
Jacob Potter [Wed, 18 Aug 2010 22:08:05 +0000]
[chiralml] Add weak reference library wrappers for SML/NJ and MLton; refactor chiralml.cm to be a Library rather than a Group.
Jacob Potter [Wed, 18 Aug 2010 16:55:08 +0000]
[wiki] new .gitignore
Jacob Potter [Wed, 18 Aug 2010 16:54:39 +0000]
Remove old wiki.ddl
Jacob Potter [Wed, 18 Aug 2010 16:54:03 +0000]
Wiki: change to use sqlite.
Jacob Potter [Wed, 18 Aug 2010 16:52:17 +0000]
Wiki: fix to use new version of regex lib
New versions of SML/NJ and MLton's regex lib both lack an 'option' where earlier
versions had it. Fix wiki to use this properly.
Jacob Potter [Thu, 12 Aug 2010 22:27:07 +0000]
Update copyright in LICENSE file
Jacob Potter [Sun, 8 Aug 2010 23:34:14 +0000]
Remove Form.unquote
Jacob Potter [Sun, 8 Aug 2010 23:32:52 +0000]
Change all existing calls to Form.unquote to use WebUtil.urldecode instead.
Jacob Potter [Sun, 8 Aug 2010 18:09:59 +0000]
Form.unquote should really be named WebUtil.urldecode
Josh Watzman [Wed, 4 Aug 2010 04:18:34 +0000]
Add curl MLton FFI bindings
Getting the data at a URL can be a useful thing to do. The best way to
do it is probably with libcurl bindings. This unfortunately requires a
small C wrapper to do some bookkeeping (curl only wants to write via a
function pointer or a FILE*) but it's still pretty braindead.
Josh Watzman [Sun, 1 Aug 2010 03:57:50 +0000]
Fix sqlite double and text parameter binding
Both text and double types were being bound as blobs. This happened to
work in the case of text, since it came out as it went in (e.g. in
"WHERE foo = bar", bar would be bound to a blob, which would match the
blob that was inserted in the first place). In the case of double, the
C interface wasn't even being used correctly -- the only thing saving
a segfault was that this function will never be emitted by squall.
(Note that I still haven't tested this function, but it at least
*looks* right now.)
Josh Watzman [Sat, 31 Jul 2010 21:33:31 +0000]
Fix squall-sqlite
The "results" variable was undefined. Make that case look like the
others. I'm completely unfamiliar with squall, but this compiles and
appears to work in my limited testing.
Jacob Potter [Sun, 1 Aug 2010 22:26:44 +0000]
Merge branch 'master' of ssh://moroso.emarhavil.com/storage/home/jacob/git/stilts
Josh Watzman [Sat, 31 Jul 2010 21:29:35 +0000]
Use correct redirection code
HTTP 301 is "moved permanently" -- it can and will be cached by your
browser. In particular, this will cause the Wiki to always redirect to
/MainPage/edit when it is first built and run, since Firefox is caching
that initial redirect. The correct redirection code to use depends upon
the specific case of the application (and might even be 301), but
usually you want 302 "found" instead.
Jacob Potter [Wed, 28 Jul 2010 17:11:53 +0000]
Move .gitignore for db libraries up a level
Jacob Potter [Tue, 27 Jul 2010 03:59:18 +0000]
Fix typo in README
Jacob Potter [Tue, 27 Jul 2010 03:57:50 +0000]
Fixup for latest smlnj regexp lib.
Jacob Potter [Tue, 27 Jul 2010 03:52:51 +0000]
Add README with tips for debian startup; fixup to wiki
Jacob Potter [Wed, 31 Mar 2010 20:19:08 +0000]
ignore *.html.sml
Jacob Potter [Sun, 21 Mar 2010 22:58:34 +0000]
Add bitrate and content-type; rework load/play commands; re-indent some things
Jacob Potter [Sun, 21 Mar 2010 22:57:25 +0000]
Add MySQL query retry
Jacob Potter [Mon, 15 Mar 2010 17:41:46 +0000]
add psd sources for icons
Jacob Potter [Thu, 25 Feb 2010 23:20:58 +0000]
Fix playlist control: add/play on music folder items now does the right thing.
Jacob Potter [Tue, 23 Feb 2010 01:06:57 +0000]
test
Jacob Potter [Tue, 23 Feb 2010 00:17:11 +0000]
Add .gitignore files
jacob [Tue, 12 Jan 2010 16:16:12 +0000]
UI rewrite, initial checkin
git-svn-id: http://stilts.j4cbo.com/svn/trunk@150
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Tue, 12 Jan 2010 16:11:01 +0000]
add xhtmlResp and escapeForJS to WebUtil
git-svn-id: http://stilts.j4cbo.com/svn/trunk@149
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Tue, 12 Jan 2010 16:10:44 +0000]
HttpServerFn needs a different signature than HttpServer
git-svn-id: http://stilts.j4cbo.com/svn/trunk@148
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Tue, 12 Jan 2010 16:06:52 +0000]
Add config and condvar to the .mlb
git-svn-id: http://stilts.j4cbo.com/svn/trunk@147
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Tue, 12 Jan 2010 16:06:37 +0000]
Add wake function
git-svn-id: http://stilts.j4cbo.com/svn/trunk@146
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Tue, 12 Jan 2010 16:05:41 +0000]
add 'hello, world' application
git-svn-id: http://stilts.j4cbo.com/svn/trunk@145
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Tue, 12 Jan 2010 16:04:30 +0000]
Add proper handling of empty attributes in the lexer; additionally allow strip=' ' as a synonym for strip=''
git-svn-id: http://stilts.j4cbo.com/svn/trunk@144
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Fri, 8 Jan 2010 02:14:27 +0000]
add 0 notation for optional attributes
git-svn-id: http://stilts.j4cbo.com/svn/trunk@143
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Fri, 18 Dec 2009 02:11:36 +0000]
squall updates
git-svn-id: http://stilts.j4cbo.com/svn/trunk@142
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Sat, 26 Sep 2009 23:27:45 +0000]
some int-vs-string bullshit, and switch back to MySQL for now
git-svn-id: http://stilts.j4cbo.com/svn/trunk@141
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Sat, 26 Sep 2009 23:25:05 +0000]
use jsmin.py
git-svn-id: http://stilts.j4cbo.com/svn/trunk@140
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Sat, 26 Sep 2009 23:21:28 +0000]
dist fix
git-svn-id: http://stilts.j4cbo.com/svn/trunk@139
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Fri, 29 May 2009 16:15:34 +0000]
add make dist for js
git-svn-id: http://stilts.j4cbo.com/svn/trunk@138
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Fri, 29 May 2009 09:05:14 +0000]
extra imports for music.mlb
git-svn-id: http://stilts.j4cbo.com/svn/trunk@137
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Fri, 29 May 2009 09:03:47 +0000]
don't leak declarations from web.mlb
git-svn-id: http://stilts.j4cbo.com/svn/trunk@136
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Fri, 29 May 2009 09:03:17 +0000]
pull indexer into main binary
git-svn-id: http://stilts.j4cbo.com/svn/trunk@135
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Fri, 29 May 2009 09:02:52 +0000]
don't ever die in accept loop
git-svn-id: http://stilts.j4cbo.com/svn/trunk@134
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Fri, 29 May 2009 08:19:47 +0000]
fold output type for squall; make indexer use it
git-svn-id: http://stilts.j4cbo.com/svn/trunk@133
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Thu, 28 May 2009 15:20:26 +0000]
clean up startup sequence
git-svn-id: http://stilts.j4cbo.com/svn/trunk@132
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Thu, 28 May 2009 07:28:53 +0000]
sqlite port of index
git-svn-id: http://stilts.j4cbo.com/svn/trunk@131
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Thu, 28 May 2009 07:28:20 +0000]
ressurect search
git-svn-id: http://stilts.j4cbo.com/svn/trunk@130
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Thu, 28 May 2009 07:25:52 +0000]
support int list queries in sqlite; better error reporting.
git-svn-id: http://stilts.j4cbo.com/svn/trunk@129
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Thu, 28 May 2009 06:32:35 +0000]
support both mysql and sqlite
git-svn-id: http://stilts.j4cbo.com/svn/trunk@128
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Thu, 28 May 2009 06:02:08 +0000]
part 2
git-svn-id: http://stilts.j4cbo.com/svn/trunk@127
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Thu, 28 May 2009 06:01:41 +0000]
part 1
git-svn-id: http://stilts.j4cbo.com/svn/trunk@126
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Thu, 28 May 2009 01:36:36 +0000]
don't incldude name in url on songinfo link
git-svn-id: http://stilts.j4cbo.com/svn/trunk@125
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Wed, 27 May 2009 21:42:14 +0000]
sqlite3 in non-arm indexer too
git-svn-id: http://stilts.j4cbo.com/svn/trunk@124
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Wed, 27 May 2009 21:41:49 +0000]
fixup for path-in-url
git-svn-id: http://stilts.j4cbo.com/svn/trunk@123
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Wed, 27 May 2009 21:23:56 +0000]
fix copypasta
git-svn-id: http://stilts.j4cbo.com/svn/trunk@122
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Wed, 27 May 2009 21:05:41 +0000]
reset sqlite statements before use
git-svn-id: http://stilts.j4cbo.com/svn/trunk@121
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Wed, 27 May 2009 21:00:23 +0000]
clibrowser fixes backported to browser
git-svn-id: http://stilts.j4cbo.com/svn/trunk@120
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Wed, 27 May 2009 16:50:12 +0000]
paramters are 1-based
git-svn-id: http://stilts.j4cbo.com/svn/trunk@119
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Wed, 27 May 2009 16:47:03 +0000]
fix parameter ordering of bind
git-svn-id: http://stilts.j4cbo.com/svn/trunk@118
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Wed, 27 May 2009 16:40:27 +0000]
bind parameters too
git-svn-id: http://stilts.j4cbo.com/svn/trunk@117
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Wed, 27 May 2009 16:36:42 +0000]
error reporting in squall-sqlite
git-svn-id: http://stilts.j4cbo.com/svn/trunk@116
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Wed, 27 May 2009 16:16:07 +0000]
hackage for arm
git-svn-id: http://stilts.j4cbo.com/svn/trunk@115
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Wed, 27 May 2009 16:10:15 +0000]
sqlite squall fixups and better error reporting
git-svn-id: http://stilts.j4cbo.com/svn/trunk@114
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Mon, 25 May 2009 22:52:08 +0000]
chiral-based httpd
git-svn-id: http://stilts.j4cbo.com/svn/trunk@113
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Mon, 25 May 2009 22:51:11 +0000]
sqlite miscellany
git-svn-id: http://stilts.j4cbo.com/svn/trunk@112
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Mon, 25 May 2009 22:44:54 +0000]
beginning of sqlite conversion
git-svn-id: http://stilts.j4cbo.com/svn/trunk@111
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Mon, 25 May 2009 03:59:42 +0000]
ChiralML integration
git-svn-id: http://stilts.j4cbo.com/svn/trunk@110
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Mon, 25 May 2009 03:59:31 +0000]
ChiralML integration
git-svn-id: http://stilts.j4cbo.com/svn/trunk@109
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Mon, 25 May 2009 03:59:03 +0000]
sqlite wrapper for mlton
git-svn-id: http://stilts.j4cbo.com/svn/trunk@108
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Mon, 18 May 2009 00:07:50 +0000]
more stuff
git-svn-id: http://stilts.j4cbo.com/svn/trunk@107
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Sun, 17 May 2009 23:47:41 +0000]
stilts changes from bb
git-svn-id: http://stilts.j4cbo.com/svn/trunk@106
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Mon, 20 Apr 2009 18:36:01 +0000]
remove mlquote function; no longer needed.
git-svn-id: http://stilts.j4cbo.com/svn/trunk@105
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Sun, 12 Apr 2009 01:13:29 +0000]
add some helpful hints to the edit page
git-svn-id: http://stilts.j4cbo.com/svn/trunk@104
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Sun, 12 Apr 2009 01:11:25 +0000]
retrieve content type from HTTP headers
git-svn-id: http://stilts.j4cbo.com/svn/trunk@103
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Sun, 12 Apr 2009 01:09:55 +0000]
Make wiki app use HTTPServer, now that we have one.
git-svn-id: http://stilts.j4cbo.com/svn/trunk@102
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Thu, 29 Jan 2009 21:07:30 +0000]
add cli songinfo
git-svn-id: http://stilts.j4cbo.com/svn/trunk@101
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Tue, 20 Jan 2009 01:54:16 +0000]
remember selected player
git-svn-id: http://stilts.j4cbo.com/svn/trunk@100
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Tue, 20 Jan 2009 01:53:42 +0000]
switch from build.sh to Makefile
git-svn-id: http://stilts.j4cbo.com/svn/trunk@99
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Mon, 19 Jan 2009 00:14:28 +0000]
add jsonrpc.sml
git-svn-id: http://stilts.j4cbo.com/svn/trunk@98
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Mon, 19 Jan 2009 00:10:34 +0000]
lmap function
git-svn-id: http://stilts.j4cbo.com/svn/trunk@97
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Sun, 18 Jan 2009 23:20:42 +0000]
playlist template fix
git-svn-id: http://stilts.j4cbo.com/svn/trunk@96
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Sun, 18 Jan 2009 23:20:03 +0000]
clibrowser work
git-svn-id: http://stilts.j4cbo.com/svn/trunk@95
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Sun, 18 Jan 2009 23:01:00 +0000]
unicode flattener function
git-svn-id: http://stilts.j4cbo.com/svn/trunk@94
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Fri, 9 Jan 2009 00:55:30 +0000]
cleanup callback system, gc after serving
git-svn-id: http://stilts.j4cbo.com/svn/trunk@93
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Fri, 9 Jan 2009 00:18:45 +0000]
toplevel updates: gc, prettytimer, and exit command
git-svn-id: http://stilts.j4cbo.com/svn/trunk@92
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Thu, 8 Jan 2009 21:35:10 +0000]
music.mlb updates
git-svn-id: http://stilts.j4cbo.com/svn/trunk@91
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Thu, 8 Jan 2009 21:34:53 +0000]
make web.mlb include linereader
git-svn-id: http://stilts.j4cbo.com/svn/trunk@90
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Thu, 8 Jan 2009 21:30:43 +0000]
httpd query string fix; print query string in dumpRequest
git-svn-id: http://stilts.j4cbo.com/svn/trunk@89
0e20359e-2163-43f9-affa-
fa36fe899960
jacob [Thu, 8 Jan 2009 21:30:00 +0000]
toplevel use of clibrowser; template changes
git-svn-id: http://stilts.j4cbo.com/svn/trunk@88
0e20359e-2163-43f9-affa-
fa36fe899960