Commit graph

983 commits

Author SHA1 Message Date
dharmatech
47b2eabc30 Fix bug in "A Test project" section 2013-05-29 14:57:43 -05:00
evancz
b4bf8e9810 Get rid of ($)...
http://www.youtube.com/watch?v=a1Y73sPHKxw
2013-05-28 17:03:48 -07:00
evancz
f164a98f31 Fix the updater for plain images. 2013-05-28 16:07:43 -07:00
evancz
e086c17e07 Resolve types for values imported from the standard library.
Still missing is ADT constructors in pattern matches and values from user defined modules.
2013-05-28 15:59:22 -07:00
evancz
89efcef64e Merge branch 'master' of https://github.com/evancz/Elm into type-checker-improvements 2013-05-28 14:08:31 -07:00
evancz
22042e2967 Fix issue 162: Let expressions would re-order its members such that functions always came after values. This meant that you could not use the functions to define any values within a let. 2013-05-28 07:06:14 -07:00
evancz
8ae1d112dc Turn on warning for undefined values. 2013-05-28 06:48:25 -07:00
evancz
3a369463ef Simplify code for moduleName function. 2013-05-28 06:47:57 -07:00
evancz
ce6467266f Clean up imports in many files. 2013-05-28 06:47:36 -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
bbf20b76bd Display fitted images correctly. 2013-05-25 14:59:37 +02:00
evancz
b247e4663b Add tiled image to the kinds of possible images. 2013-05-25 14:52:12 +02:00
evancz
4190f0605d Make somewhat arbitrary revisions to the README to try to get the tag to attach to the push. 2013-05-24 11:45:59 +02:00
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