Commit graph

164 commits

Author SHA1 Message Date
Evan Czaplicki
1fcb01f743 Finish switching over to '_Tuple' format for tuples. 2013-07-15 01:05:14 +02:00
Evan Czaplicki
5c1089a77b Fix bugs in Automaton discovered by Jeff 2013-06-23 16:36:44 +02:00
Evan Czaplicki
340c2e7efa Switch to using px to set text height instead of em. 2013-06-23 04:48:32 -07:00
evancz
9a40249e05 Fix the confusion with "Cons" and "Nil" in issue #176.
Also add the ExplicitList expression.
2013-06-20 21:25:10 -07:00
evancz
13dacfd8f9 Stop a bunch of keyboard signals from firing too many events. 2013-06-16 14:20:15 -07:00
evancz
afacd1b858 Add hoverable and hoverables 2013-06-15 00:49:22 -07:00
evancz
0bee2057d9 Merge branch 'dev' of https://github.com/evancz/Elm into dev 2013-06-13 12:53:15 -07:00
evancz
d2a0a0305a Add opacity to the collage API 2013-06-13 12:00:17 -07:00
Mads Flensted-Urech
f8c6a93ad3 fromRecord (toJS): convert recursively and string handling 2013-06-09 22:55:38 +02:00
evancz
3e45d8e9ce Fix bug in setting headers. 2013-06-09 11:13:03 -07:00
evancz
b30482a38f Get timers to detach themselves when a swap occurs. 2013-06-03 00:19:48 -07:00
evancz
90cf4218a8 Switch to a custom way of attaching event listeners that makes it easier to detach them if necessary. 2013-06-02 23:46:02 -07:00
evancz
6ddb826332 First draft addition of hot-swapping. Clean up Init.js a bit as well. 2013-05-30 18:41:43 -07:00
evancz
4706f65350 Add the isEmpty function 2013-05-28 06:46:29 -07:00
evancz
ea0b6c3fda Add the size function and reorder the arguments to croppedImage 2013-05-25 15:08:44 +02:00
evancz
b247e4663b Add tiled image to the kinds of possible images. 2013-05-25 14:52:12 +02:00
evancz
d292236b2e Parse out types from ADT constructors.
Should help with type-checking things like the Json library.
2013-05-24 10:47:15 +02:00
evancz
dd9217b02f Correct the square function. 2013-05-24 09:50:18 +02:00
evancz
41e23719ea Fix error in Automaton.elm library pointed out by Irek! 2013-05-23 20:26:25 +02:00
evancz
733712ffcd Fix customButton function. 2013-05-23 20:06:19 +02:00
evancz
ab5ded36a6 Report success for all 2xx response statuses. 2013-05-23 19:06:14 +02:00
evancz
ebed9f62c9 Fix typo in variable name. 2013-05-23 14:56:45 +02:00
evancz
2da0a59e35 Add basic drop down menus. 2013-05-23 12:44:57 +02:00
evancz
5714764aba Make sure that empty requests are not sent. 2013-05-23 11:11:24 +02:00
evancz
582a4c5ee2 Fix Float32Array bug in IE. Fix input selection bug in IE. 2013-05-22 14:05:53 +02:00
evancz
d9d6ce51ca Fix bug with text resizing in FF and IE. Both report clientWidth and clientHeight as an integer that has been rounded DOWN from the actual float value. This means they can be too small. Switched to using getComputedStyle. 2013-05-22 10:50:51 +02:00
evancz
de4e9ac19f Fix mistake in Graphics/Input.js library. 2013-05-22 03:05:44 +02:00
evancz
7ece842af5 Make closure compiler happy. 2013-05-22 01:06:12 +02:00
evancz
970277f7f2 Minor documentation fix for JavaScript/Experimental.elm
Remove logging in Native/List.js
2013-05-21 18:27:22 +02:00
evancz
96e719401d Change the Json API and change the name of WebSocket.open to not clash with open as a keyword. 2013-05-21 11:04:38 +02:00
evancz
d31acc5c9d Minor bug fixes in RTS and libraries. 2013-05-21 10:03:51 +02:00
evancz
7f314846ad Fix a cyclical dependency in the runtime, fix a use of ms which is now undefined. 2013-05-20 15:36:21 +02:00
evancz
94bb5e5a31 Change the type of FieldState slightly. Now uses selectionStart and selectionEnd instead of the more ambiguous start and end.
Also add tons of documentation to `Graphics.Input`.

Also add the `emptyFieldState` value.
2013-05-20 15:35:44 +02:00
evancz
9b1fa9683b Document the basic input functions. 2013-05-17 23:13:32 +02:00
evancz
706d706e3f Simplify the Input API for basic widgets. 2013-05-17 23:00:25 +02:00
evancz
8823b012d1 Merge branch 'dev' of https://github.com/evancz/Elm into dev 2013-05-17 22:46:55 +02:00
evancz
c92dd2f921 Add lots of documentation and do some minor API clean up. 2013-05-17 22:46:08 +02:00
evancz
5044724cda Improve documentation a bit and get split working properly. 2013-05-17 12:49:31 +02:00
Evan Czaplicki
df73a090e4 Merge pull request #152 from perplexes/fix_http_json
Fix HTTP/JSON
2013-05-17 02:53:32 -07:00
evancz
a9400dbc63 Clean up some documentation and make some minor API tweaks. 2013-05-16 22:10:50 +02:00
evancz
6e1a3f5c0f fix minor mistake in adjustOffset 2013-05-15 07:53:01 +02:00
evancz
73fd3f345d Fix undefined variable usage in JS. 2013-05-15 07:48:45 +02:00
Colin Curtin
acd2b61e00 Merge remote-tracking branch 'evan/dev' into lint
Conflicts:
	runtime/Init.js
	runtime/Render/Collage.js
2013-05-14 09:18:38 -07:00
evancz
4bb23bc904 Merge branch 'dev' of https://github.com/evancz/Elm into dev 2013-05-14 16:30:36 +02:00
evancz
7ce550901c Move to initializing with three different functions: fullscreen, node, and worker.
Add code to ensure that mouse and touch positions are reported relative to the embedded Elm node.

Remove the elm_ prefix from the events for logging, redirects, and title changes. Should be silo'd by the `elm` and not escape into the global event namespace.
2013-05-14 16:29:06 +02:00
Evan Czaplicki
c575e4c3db Merge pull request #156 from perplexes/docs
Documentation, spelling.
2013-05-14 01:10:44 -07:00
Colin Curtin
0685425ace "float" is a reserved word in JS 2013-05-11 17:38:07 -07:00
Colin Curtin
dccb6257fb Prefer typeof over try/catch for feature detection. 2013-05-11 17:23:34 -07:00
Colin Curtin
98c0269edc Moar whitespace. 2013-05-11 17:15:45 -07:00
Colin Curtin
4495fdb592 Documentation, spelling. 2013-05-11 13:44:28 -07:00