Colin Curtin
2b90d0eb9e
Whitespace, semicolons, lint etc. No functional changes.
2013-05-11 13:42:45 -07:00
Colin Curtin
8db9ccf57e
Fix HTTP/JSON
...
* Elm Http: Signal (lift) was not imported
* Native Http: "Waiting" was not a string.
* Elm Json: find* weren't using the Json Object type (which find was expecting)
* Native Json: Utils was not imported (to use Tuple2)
2013-05-11 13:35:20 -07:00
Colin Curtin
88154c04ce
Fix showing compilation errors in the browser
...
* "Elm." is already prepended by https://github.com/evancz/Elm/blob/dev/compiler/Gen/GenerateHtml.hs#L74
2013-05-11 13:29:55 -07:00
evancz
dc3b220fce
Fix group
and groupTransform
2013-05-11 13:00:03 -07:00
evancz
bb2f028bde
Significant refactor of Collage.js renderer. Now supports toForm
.
...
The `update` function is naive, leading to very bad memory performance. Need to finish improving that part.
2013-05-11 12:35:39 -07:00
evancz
b7e4f9b73b
Get rid of logging
2013-05-11 12:34:12 -07:00
evancz
d8067fd8c4
Fix foldp
2013-05-06 02:41:22 -07:00
evancz
a8df7eb28a
Minor bug fixes
2013-05-06 02:30:50 -07:00
evancz
3f8ce38f81
Rename some stuff in Graphics.Input
2013-05-06 02:30:11 -07:00
evancz
80b47ed0f5
Separate mouse drags.
2013-05-05 19:17:29 -07:00
evancz
04d320efac
Fix Window.height in the first frame.
2013-05-05 17:52:00 -07:00
evancz
9f2964992a
Add mouse support in the Touch
library
2013-05-05 17:51:30 -07:00
evancz
82d753a685
Properly attach mouse events to document
2013-05-05 17:51:04 -07:00
evancz
934f37f882
Settle on name for lastKey
and set the type as Signal KeyCode
.
2013-05-05 17:49:28 -07:00
evancz
2f2898d8d8
Show escaped chars and function names.
2013-05-05 17:48:50 -07:00
evancz
7afe464ea8
Give curry and uncurry the correct implementations. They were swapped.
2013-05-05 17:48:20 -07:00
evancz
2ae0e90735
Add LineStyle to type aliases and add some annotations to the collage library
2013-05-05 12:11:45 -07:00
evancz
6b8fadac5f
Fix type errors and naming mistake
2013-05-05 00:40:45 -07:00
evancz
c2def3f29c
Fix the directions of arrows
and wasd
.
2013-05-05 00:35:50 -07:00
evancz
5b3e7e15e3
Add KeyCode
alias.
2013-05-04 19:01:42 -07:00
evancz
ef1275e5a1
Add Touch
and TextState
aliases.
2013-05-04 18:58:10 -07:00
evancz
b359fd0b47
Revise elm-docs to copy the names of type variables in type annotations directly.
2013-05-04 18:19:54 -07:00
evancz
be72e868ee
Fix the server
2013-04-28 22:17:51 -07:00
evancz
6ca373bdeb
Move Geometry into Collage. Get rid of Graphics prefix as appropriate.
2013-04-28 20:57:48 -07:00
evancz
104faf10ea
Fix mistaken function name.
2013-04-28 18:52:13 -07:00
evancz
d114746957
Rename some of the Graphics libraries
2013-04-28 05:21:46 -07:00
evancz
06e6b317dc
Have equality work on any type.
2013-04-28 05:01:41 -07:00
evancz
2928e20c74
Move some modules out of Graphics/
2013-04-28 05:01:27 -07:00
evancz
52f6c8957a
Move record-to-object functions to JavaScript/Experimental.elm
2013-04-28 05:01:05 -07:00
evancz
dab4b7c7b8
Switch from ($) to (|>) and (<|).
2013-04-24 22:26:01 -07:00
evancz
ac67dbd87f
Take out the F# inspired composition operators. I think this needs to wait until type-classes / monads / arrows are more figured out.
2013-04-22 10:24:37 -07:00
evancz
00d3ad2db6
Shorten Libraries.hs, and fix some types in some of the libraries.
2013-04-22 02:36:11 -07:00
evancz
29384b771a
Add some operators from F#: |>, <|, <<, and >>
2013-04-21 13:59:12 -07:00
Evan Czaplicki
6259886f9f
Merge pull request #140 from autodidakto/patch-1
...
Fixed typo
2013-04-20 14:49:46 -07:00
autodidakto
7d8aca816c
Fixed typo
2013-04-20 15:26:17 -05:00
evancz
5b475ac2a0
Begin getting things ready to support toForm
2013-04-19 01:59:39 -07:00
evancz
a764f68646
Get rid of memory leak caused by creating tons of canvases.
2013-04-18 22:25:39 -07:00
evancz
95726b7baf
Start using requestAnimationFrame
2013-04-18 22:25:18 -07:00
evancz
d2846a2534
Fix the default size of text blocks.
2013-04-14 18:07:26 -07:00
evancz
1d2b3fcbe4
Add built in event listeners.
2013-04-10 02:00:58 -07:00
evancz
986010fb6a
Add plainText
back. Fix some types. Fix a bug in mergeEither
.
2013-04-10 00:52:53 -07:00
evancz
82b7929ccf
Get the core libraries compiling again. Fix type signatures that have super-types, and fix bugs in a couple files.
2013-04-09 22:15:06 -07:00
evancz
530bc6e2b9
Fix how types are converted to strings. This actually fixes some bugs that come from generating docs.json, which led to incorrect types being used in the compiler.
2013-04-09 22:12:31 -07:00
evancz
7d03f69f8c
Provide a way to define super-types in type annotations. Should not be used outside of core libraries.
2013-04-09 19:50:56 -07:00
evancz
cf2357f527
Remove testing via unsafePerformIO
2013-04-09 19:49:35 -07:00
evancz
c2fc03ca0f
Dealias more reliably during unification
2013-04-09 10:05:00 -07:00
evancz
5b62c530d5
Add type annotations to more library files.
2013-04-08 01:49:44 -07:00
evancz
5d536d129a
Get prelude added in all cases.
2013-04-08 01:48:30 -07:00
evancz
9c22031d28
Style tweak.
2013-04-07 17:58:43 -07:00
evancz
22890292b8
Correct resizing problems with static elements. Previously, no property updates occurred.
2013-04-07 17:57:57 -07:00