Commit graph

1169 commits

Author SHA1 Message Date
evancz
e4ea0513ac Bump version number and remove unused dependencies. 2013-05-24 11:34:09 +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
f49b8ba1d2 Correct the list of the acceptable JSTypes. 2013-05-23 12:45:31 +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
6983857379 Simplify install instructions 2013-05-23 01:15:55 +02:00
evancz
0f76e1643c Actually show error message for bad FFI imports and exports. 2013-05-22 16:08:05 +02:00
evancz
868e71e58b Add JSObject to the FFI parser. 2013-05-22 15:59:47 +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
1759e78e4c Rename elm/ directory to test/ 2013-05-22 10:49:53 +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
abe95cc90e Go with changes from the dev branch. 2013-05-22 00:32:22 +02:00
evancz
af75972665 Merge branch 'dev'
Conflicts:
	Elm.cabal
	Examples/elm-js/GameSkeleton/GameSkeleton.elm
	Examples/elm-js/Pong/Pong.elm
	core-js/Signal/Input.js
2013-05-22 00:26:23 +02:00
evancz
35fe7d6936 Fix missing var problem. 2013-05-21 23:47:15 +02:00
evancz
5f1e3bd696 Switch back to putting let and case expressions in closures.
In the former case it is actually necessary, in the latter, it partially fixes a mysterious bug with Dict.diff.

Also stop using the LetBoundVars module.
2013-05-21 22:28:18 +02:00
evancz
ce51a0e39f Add type-class for lists in LetBoundVars.hs 2013-05-21 22:11:23 +02:00
evancz
4eb973a206 Update Optimize.hs to use some of the newer infix operators. 2013-05-21 22:09:08 +02:00
evancz
5160fc7005 Fix bug in Form element updates in which switching to a different type of Element caused a runtime error. 2013-05-21 22:08:32 +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
26420d2937 Actually build the module when using Elm.worker 2013-05-21 18:25:38 +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
1f1187cc74 Add open keyword to import everything. Default is now to just import the module, not to open it into local scope. 2013-05-21 10:02:59 +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
17a44f3531 Change the names of line caps and joins. 2013-05-17 22:45:37 +02:00
evancz
ee91bd91fc Allow elm-doc to handle type aliases and ADTs. 2013-05-17 12:50:01 +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
6c0dc8e621 Make sure elm-doc actually parses out the comments. 2013-05-16 22:11:40 +02:00
evancz
bba39f2934 Fix basic transforms on groups 2013-05-16 22:11:12 +02: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
evancz
1be7f0413a Switch to creating Elm nodes by ID. 2013-05-15 07:38:11 +02:00
evancz
6134ed581d Merge branch 'dev' of https://github.com/evancz/Elm into dev 2013-05-14 19:28:58 +02:00
evancz
b96b240c47 Make rotations counter-clockwise, just like the unit circle. Now trig functions and rendering functions match each other. 2013-05-14 19:28:36 +02:00
Evan Czaplicki
4f9ddacdd8 Merge pull request #155 from perplexes/lint
Whitespace, semicolons, lint etc. No functional changes.
2013-05-14 10:23:55 -07: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