Commit graph

107 commits

Author SHA1 Message Date
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
c2def3f29c Fix the directions of arrows and wasd. 2013-05-05 00:35:50 -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
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
00d3ad2db6 Shorten Libraries.hs, and fix some types in some of the libraries. 2013-04-22 02:36:11 -07:00
evancz
d2846a2534 Fix the default size of text blocks. 2013-04-14 18:07:26 -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
5b62c530d5 Add type annotations to more library files. 2013-04-08 01:49:44 -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
evancz
d47614cdd1 Fix indentation 2013-04-07 08:40:27 -07:00
evancz
60e403ba82 Fix show for ADTs and get parens in the right places.
Make `Elm.init(Elm.MyModule)` work nicer when it takes over the whole `document` and needs to resize with the window.
2013-04-06 16:48:20 -07:00
evancz
0354fad128 Explicitly list imports for a module. 2013-04-05 09:56:37 -07:00
evancz
613d9f5bc9 Fix bug in height and color 2013-04-05 09:52:18 -07:00
evancz
7664f71fc5 Fix combine function in Signal. 2013-04-03 10:35:18 -07:00
evancz
f3befa61cb Skip average for now. To be added back! 2013-04-03 10:33:13 -07:00
evancz
fc37907bc1 Move average to the automaton library. 2013-04-03 10:15:46 -07:00
evancz
d27ab15ec4 Add combine to the signal library. 2013-04-03 09:54:10 -07:00
evancz
1dbbc599f9 Reorder comments in List.elm 2013-04-03 00:33:55 -07:00
evancz
58640c553b Make sure that List only gets instantiated once. Requires that the list library is pure (never touches the elm variable) 2013-04-01 00:36:30 -07:00
evancz
475bc10876 Add implementation for checkboxes, passwords, and emails.
Ensure that direction of text selection is properly captured.
2013-04-01 00:35:18 -07:00
evancz
c15005f71c Get rid of special Input/Button.elm file, all will be in Graphics.Input. 2013-03-27 18:57:38 -07:00
evancz
a66a4b1fab Fix Automaton library to match PLDI paper. 2013-03-27 18:56:30 -07:00
evancz
ecaa5bdb29 Merge branch 'dev' of https://github.com/evancz/Elm into dev 2013-03-27 18:32:44 -07:00
ngunn
aa7a67fc85 List.js change: Nil checks all use .ctor
added comment on Nil handling
direct Nil comparison with ctor equiv.  see comments here: https://github.com/evancz/Elm/pull/130#issuecomment-15471337
2013-03-27 21:02:27 +00:00
evancz
c0a4286c16 Fix bug in lineStyle migration. 2013-03-27 09:52:16 -07:00
evancz
2aeeae7239 Fix rendering of lineJoin. 2013-03-26 19:31:31 -07:00
evancz
af64fc1848 Merge branch 'dev' of https://github.com/evancz/Elm into dev 2013-03-26 19:02:02 -07:00
evancz
e9d2288197 Move LineStyle into Collage. 2013-03-26 18:50:18 -07:00
ngunn
864761b56e List.js: fix long-standing bug in append (2 chr$ change)
Present since initial version: 389a6f5309
2013-03-26 14:21:57 +00:00
evancz
9a40392e00 Fix bugs in container and an empty flow 2013-03-26 00:12:31 -07:00
evancz
dd10e820de Merge branch 'dev' of https://github.com/evancz/Elm into dev 2013-03-25 19:09:07 -07:00
ngunn
93afe4cea8 List.js minor bugfixes (followup)
put foldl back as was + add type sig. to indicate why
replace use of xs.ctor with direct comparison against Nil.  This means the ctor field is no longer required (which is nice).

move .ctor in stor to the actual variable (doh)
2013-03-25 20:25:29 +00:00
ngunn
441e90770b List.js minor bugfixes
freeze Nil (one-time overhead for marginal safety)
don't do this for Cons (huge performance overhead)

use Nil throughout instead of making our own (if we're having a singleton, we should be consistently using it)

missing A2, A3 in places.

foldl function applied args in wrong order, foldl :: (a -> b -> a) -> a -> [b] -> a
sort: missing .ctor selector
2013-03-25 17:36:30 +00:00
evancz
93428aa21d Fix bug in export of List.member 2013-03-25 03:00:05 -07:00
evancz
545be51678 Fix behavior of customButton to avoid flicker. 2013-03-24 22:23:30 -07:00