Evan Czaplicki
af54dd33db
Correct map and filter
2013-10-04 10:56:34 -07:00
Evan Czaplicki
59445e197a
Fix string reversal
2013-10-04 10:53:34 -07:00
Evan Czaplicki
29aa809504
Add length
to the String library
2013-10-04 09:58:37 -07:00
Evan Czaplicki
385f400269
Get the String module working properly
2013-10-02 17:41:58 -07:00
Evan Czaplicki
0703f48a89
Fix some string conversions
2013-10-02 17:37:07 -07:00
Evan Czaplicki
402f048bc9
Make the module docs parse properly
2013-10-02 15:57:26 -07:00
Evan Czaplicki
efb30dd648
Properly import the Maybe type
2013-10-02 15:57:12 -07:00
Evan Czaplicki
57e7217488
Get rid of unnecessary imports
2013-10-02 15:57:01 -07:00
Evan Czaplicki
51413f92e3
Add String as a proper Elm library, remove alias to [Char]
2013-10-02 15:21:00 -07:00
Evan Czaplicki
172884b594
Continue filling out the string library
2013-10-02 15:06:22 -07:00
Evan Czaplicki
df67fe5ec2
Start on the String library
2013-10-02 01:03:03 -07:00
Evan Czaplicki
ab8ff11960
Get rid of split
and make repeat
significantly faster
2013-10-02 01:02:51 -07:00
Evan Czaplicki
3459672725
merges was right biased by accident
2013-09-30 02:08:51 -07:00
Evan Czaplicki
b40f2958d4
New convention for storing module values, fixes bug
...
Before it was not possible to add values to anything except leafs of
the namespace structure.
2013-09-30 01:32:27 -07:00
Evan Czaplicki
2cb4fd8973
Merge branch 'dev' of https://github.com/evancz/Elm into dev
2013-09-30 01:06:33 -07:00
Evan Czaplicki
dcbe2fc245
Change the format of module instantiation
...
Currently, it's only possible to create modules at the leafs of the
namespace structure. This CL lifts that restriction.
Get rid of "use strict" in many cases.
2013-09-30 00:44:31 -07:00
Max Goldstein
0f182c653d
Fix runtime error with Random.float.
...
Rename JS function to avoid conflicting with reserved words, as enforced by
commit 40ea6df24
(found with git bisect).
2013-09-29 10:36:41 -04:00
Evan Czaplicki
045852a0c5
Move function around in docs
2013-09-24 23:17:56 -04:00
Max Goldstein
fa52b0f433
Somehow isEmpty got dropped from the docs.
2013-09-24 09:17:03 -04:00
Evan Czaplicki
46b988b34f
Error on mod zero
2013-09-22 10:44:51 -04:00
Max New
f196eace07
Remove unused code in Dict library.
2013-09-18 01:49:23 -07:00
Max New
9523a81704
Dict: Implement remove.
2013-09-18 01:49:07 -07:00
Evan Czaplicki
c2eecc2084
Properly parse all user-defined infix declarations
2013-09-15 14:39:56 -07:00
Evan Czaplicki
a40cd3cc06
Make the build process look nicer
2013-09-15 14:39:56 -07:00
Evan Czaplicki
d71b957086
Merge pull request #236 from Apanatshka/dev
...
Rewrote Automaton library
2013-09-14 02:00:08 -07:00
Jeff Smits
befbaabedb
Renamed rewritten Automaton lib to AutomatonV2, checked out Automaton lib from before rewrite.
2013-09-14 10:30:29 +02:00
Evan Czaplicki
872d9ac8c6
put module def in the correct order
2013-09-12 14:35:54 -07:00
Evan Czaplicki
2925a6019e
Make order of functions and section headers more friendly
2013-09-12 14:34:23 -07:00
Evan Czaplicki
e3032ab664
Actually add the docs
2013-09-12 14:28:23 -07:00
Evan Czaplicki
ab7a1d74ce
Merge pull request #246 from jsl/update_automaton_docs
...
Convert Automaton docs
2013-09-12 14:27:40 -07:00
Evan Czaplicki
9e17f13ffa
Convert to new format
2013-09-12 14:00:29 -07:00
Evan Czaplicki
d0b980c33d
actually document the function
2013-09-12 13:10:22 -07:00
Evan Czaplicki
c6a9aa397c
Convert to new docs format
2013-09-12 13:07:38 -07:00
Evan Czaplicki
5e9c9933d4
Update to new doc format
2013-09-12 12:55:43 -07:00
Evan Czaplicki
1fddfaabae
Fix position of module docs
2013-09-12 12:52:48 -07:00
Evan Czaplicki
5ca5364371
Make the types of colors line up nicer in documentation
2013-09-12 12:45:10 -07:00
Evan Czaplicki
4926d0773e
Actually add content
2013-09-12 12:34:44 -07:00
Evan Czaplicki
2a18fb6302
Convert more libraries to the new doc format
2013-09-12 12:11:35 -07:00
Evan Czaplicki
1f10f8d4a5
Remove docs for things that are not in this library
2013-09-11 19:24:33 -07:00
Evan Czaplicki
ada499a7df
Minor fixes in documentation
2013-09-10 19:22:52 -07:00
Evan Czaplicki
fca5094c53
Switch back to hiding the DOM node conversions
2013-09-10 18:47:19 -07:00
Evan Czaplicki
8ff581471e
Minor tweaks to docs
2013-09-10 18:21:30 -07:00
Evan Czaplicki
c18bebe223
Merge pull request #253 from mgold/dev3
...
Separate out the gr(e|a)ys.
2013-09-10 18:06:43 -07:00
Evan Czaplicki
8ec4503638
Merge pull request #251 from mgold/dev2
...
Convert JavaScript and JSON docs.
2013-09-10 18:03:18 -07:00
Evan Czaplicki
01c303b4c7
Merge pull request #250 from mgold/dev
...
Convert Keyboard docs.
2013-09-10 18:02:28 -07:00
Evan Czaplicki
db72bdb856
Merge pull request #252 from jsl/convert_random_docs
...
Convert Random docs
2013-09-10 17:59:50 -07:00
Justin Leitgeb
ea131c9771
Convert Touch docs.
2013-09-10 16:12:11 -05:00
Justin Leitgeb
2671ac4393
Convert Random docs.
2013-09-10 16:08:06 -05:00
Max Goldstein
c3e2c0ee04
Separate out the gr(e|a)ys.
2013-09-10 13:56:49 -04:00
Max Goldstein
1aef98dbf8
Convert JavaScript and JSON docs.
2013-09-10 09:46:26 -04:00
Max Goldstein
35e1c33b78
Convert Keyboard docs.
2013-09-10 09:09:21 -04:00
Evan Czaplicki
c69ff2a10b
Minor layout tweaks in documentation
2013-09-09 23:07:49 -07:00
Evan Czaplicki
66add54195
Merge pull request #245 from mgold/dev
...
Convert Color, Dict, and Set docs.
2013-09-09 22:47:44 -07:00
Evan Czaplicki
035e62b698
Merge pull request #248 from jsl/convert_time_docs
...
Convert Time docs
2013-09-09 22:42:29 -07:00
Evan Czaplicki
c034d96026
Merge pull request #247 from jsl/convert_http_docs
...
Convert Http docs
2013-09-09 22:39:18 -07:00
Justin Leitgeb
7b86205c4f
Convert Text docs
2013-09-09 22:57:06 -05:00
Justin Leitgeb
6fda891f81
Convert Time docs
2013-09-09 22:45:16 -05:00
Justin Leitgeb
17ee840379
Apply new doc style to Automaton
2013-09-09 22:30:31 -05:00
Justin Leitgeb
9a0ff87429
Convert Http docs
2013-09-09 22:14:58 -05:00
Max Goldstein
9e600f2485
Convert Color, Dict, and Set docs.
2013-09-09 22:12:27 -04:00
Evan Czaplicki
2edcced713
Add a bit more to intro of documentation
2013-09-09 16:32:12 -07:00
Evan Czaplicki
f5c0bb23c3
Minor corrections in documentation
2013-09-09 15:59:05 -07:00
Evan Czaplicki
964250c3c2
Merge branch 'dev' of https://github.com/evancz/Elm into dev
2013-09-08 23:27:21 -07:00
Evan Czaplicki
61e5d9fc80
Fix typo!
2013-09-08 23:20:54 -07:00
Max New
ac635cafca
New style docs for Maybe and Either
2013-09-08 15:08:21 -07:00
Max Goldstein
6869015507
Convert Date, Mouse, Window, and Signal docs.
2013-09-08 16:37:06 -04:00
Max Goldstein
0c3e146c2b
Convert Char documentation to new format.
2013-09-08 11:31:00 -04:00
Jeff Smits
8544bb80f4
Removed after and renamed before to andThen.
2013-09-06 10:02:58 +02:00
Evan Czaplicki
d851c5e315
Convert to the new documentation format, adding in infix declarations
2013-09-05 16:56:28 -07:00
Evan Czaplicki
c56c6300c8
Add the correct infix annotations
2013-09-05 16:55:45 -07:00
Jeff Smits
9823941df1
Removed operators, renamed some functions, as advised by Evan.
2013-09-05 14:00:34 +02:00
Evan Czaplicki
a633a5d7d3
Make sure text boxes are given proper dimensions after hot-swapping
2013-09-03 11:25:58 -07:00
Evan Czaplicki
8a255de2ba
Put document structure in nicer location
2013-09-02 20:37:39 -07:00
Evan Czaplicki
c4d07300a1
Change the style of some documentation, experimenting with styles for elm-doc
2013-09-02 19:28:52 -07:00
Evan Czaplicki
e8dffac17b
Fix indentation
2013-09-01 22:20:08 -07:00
Evan Czaplicki
b4e0196c7f
Factor out a commonly used expression
2013-09-01 22:20:07 -07:00
Evan Czaplicki
7e1d95a108
Move the markdown
function to the text library
2013-09-01 22:20:07 -07:00
Evan Czaplicki
3fe9e2470c
Fix indent
2013-09-01 22:20:07 -07:00
Evan Czaplicki
6512bf944b
Indent properly
2013-09-01 22:20:07 -07:00
Jeff Smits
ae65d1e43e
Rewrote Automaton library with normal functions instead of CPS (resulting in more complex, but hopefully better performing code). Added some common AFRP functions (including loop\!). Requires some testing...
2013-09-01 13:51:46 +02:00
Alexander Noriega
074bb08f8e
Rename replicate to repeat.
2013-08-31 21:23:23 -03:00
Alexander Noriega
d6e7172f45
Define convenience function List.replicate.
2013-08-31 16:29:35 -03:00
Evan Czaplicki
0dea178cd6
Stop importing hidden things
2013-08-21 19:10:26 -07:00
Evan Czaplicki
bdb3102326
Fix the greys and charcoals which were all missing an argument
2013-08-21 14:15:28 -07:00
Evan Czaplicki
9e08189960
Add gray, charcoal, and greyscale
2013-08-19 13:45:36 -07:00
Evan Czaplicki
df5b3f5932
Rename the Matrix2D
type to Transform2D
2013-08-19 11:57:18 -07:00
Evan Czaplicki
4722efeb80
Move native version of Matrix2D
2013-08-19 11:56:27 -07:00
Evan Czaplicki
d0249e4de2
Change name of Matrix2D to Transform2D to capture that it involves translations
2013-08-19 11:42:17 -07:00
John P Mayer Jr
b8a270e9d4
toCode needs to use uppercase, since keyboard separates key and modifier
2013-08-15 06:09:13 +00:00
John P Mayer Jr
6821a350f4
fixed obvious === bug
2013-08-15 05:55:48 +00:00
John P Mayer Jr
b9abf862dd
fixed wierd keyboard stuff by factoring out keypress events
2013-08-15 05:24:44 +00:00
Evan Czaplicki
3d36846055
switch to Tango color scheme for default colors
...
Everything looks nicer already :P
http://tango.freedesktop.org/Tango_Icon_Theme_Guidelines
2013-08-13 16:16:56 -07:00
Evan Czaplicki
17628a0a26
Fix type error in Automaton library
2013-08-12 01:09:45 -07:00
Evan Czaplicki
5a06bba85d
Add tiny clarification to hsv
documentation
2013-08-10 20:07:57 -07:00
Evan Czaplicki
552fe262c2
Switch back to using number
instead of Float
whenever it is appropriate
2013-08-10 20:01:48 -07:00
Evan Czaplicki
b23ff222a0
Add some documentation
2013-08-09 17:44:30 -07:00
Evan Czaplicki
0bd875923f
Define List.and and List.or
2013-08-08 16:20:16 -07:00
Evan Czaplicki
c70d59fdf9
Merge branch 'dev'
2013-08-08 13:55:19 -07:00
Evan Czaplicki
79c6b3b39e
Merge pull request #194 from A1kmm/dev-fix-mousemove-handler-for-touch
...
Fix a typo bug in the onblur handler for Touch.
2013-08-08 13:54:01 -07:00
Zsombor Nagy
fa28e61198
Change foldp example to contain a function which uses both of its arguments
2013-08-08 08:24:24 +02:00
Evan Czaplicki
8a6a823504
Better error messages for runtime errors in cases and ifs
2013-08-04 13:47:27 -07:00
Evan Czaplicki
0cd594c13c
Better JS for function composition, runtime errors report which module they came from
2013-08-04 12:51:52 -07:00
Evan Czaplicki
0a55674939
Fix timestamp which was undefined before
2013-08-04 12:24:50 -07:00
Evan Czaplicki
a268421893
Get show, readInt, and readFloat working again
2013-08-04 12:22:58 -07:00
Evan Czaplicki
56e897c9d1
Signal.delay was undefined, use correct reference
2013-08-04 11:15:52 -07:00
Evan Czaplicki
e6e038d431
Fix rounding error in changing width and height of images
2013-08-03 12:55:22 -07:00
Evan Czaplicki
936ffdea81
Give the proper field names to checkboxes
2013-08-02 22:20:24 -07:00
Evan Czaplicki
1abea68ea2
rename opacity
to alpha
to avoid name collision
2013-08-02 01:53:58 -07:00
Evan Czaplicki
1b1f058170
get rid of tabs
...
fucking tabs
2013-08-01 19:47:43 -07:00
Evan Czaplicki
e297564140
make sure clicks are registered on buttons
2013-08-01 19:47:09 -07:00
Evan Czaplicki
8e54751626
Correctly generate a type for markdown blocks
2013-08-01 17:19:34 -07:00
Evan Czaplicki
b3cc261f96
Make show nicer for signals and unknown objects.
2013-07-30 09:10:06 -07:00
Evan Czaplicki
ae6a3b36b5
Fix runtime code for comparing things
2013-07-30 08:44:23 -07:00
Evan Czaplicki
3e4773ca2e
Fix libraries to match new JS generation rules
2013-07-29 23:23:04 +02:00
Evan Czaplicki
748c608df2
Get standard libraries compiling (now that String is in Basics and Signal is in Signal)
2013-07-29 19:26:53 +02:00
Evan Czaplicki
5d901721f1
Add the String
type alias to Basics and update modules that depend on strings
2013-07-29 15:49:19 +02:00
Evan Czaplicki
a767024f6e
Update to rely on the difinition of Signals in the Signal library
2013-07-29 15:48:35 +02:00
Evan Czaplicki
6ace8a0bf7
Move the definition of the Signal type out of the compiler and into the Signal library
2013-07-29 15:47:48 +02:00
Evan Czaplicki
3a4863f405
Get JavaScript.Experimental working
2013-07-27 13:11:18 +02:00
Evan Czaplicki
3cc169ba09
Get Text compiling
2013-07-27 13:08:46 +02:00
Evan Czaplicki
fc6ce75344
Get Graphics/ compiling!
2013-07-27 13:06:22 +02:00
Evan Czaplicki
d6acea8b51
Get Input library in shape to compile
2013-07-27 12:37:54 +02:00
Evan Czaplicki
5234d6d294
Get Graphics/ libraries closer to compiling
2013-07-27 00:51:25 +02:00
Evan Czaplicki
e1d26d0a8f
Get Mouse compiling
2013-07-26 19:06:57 +02:00
Evan Czaplicki
20067c466f
Get more libraries compiling
2013-07-26 19:05:48 +02:00
Evan Czaplicki
602117f211
Correct types (Int back to KeyCode)
2013-07-26 19:05:10 +02:00
Evan Czaplicki
7d00618169
Make Window work
2013-07-26 17:36:01 +02:00
Evan Czaplicki
abb4bc043f
Fix up many libraries
2013-07-26 16:38:11 +02:00
Evan Czaplicki
d7cdacea44
Get Automaton compiling
2013-07-26 13:02:02 +02:00
Evan Czaplicki
0ab92aeee7
Minor tweaks to match type-checker generation of ADT constraints
2013-07-26 12:25:04 +02:00
Evan Czaplicki
435822d8d8
Get Date and JS libraries compiling
2013-07-26 11:42:00 +02:00
Evan Czaplicki
ff67c667a0
Get Matrix2D and Signal compiling
2013-07-26 00:33:59 +02:00
Evan Czaplicki
727d708289
Get libraries to compile
2013-07-26 00:19:21 +02:00
Evan Czaplicki
17535831fe
Get libraries compiling
2013-07-26 00:07:07 +02:00
Evan Czaplicki
4e1f79c2d5
Get List and Maybe compiling with the Basics module
2013-07-25 23:55:16 +02:00
Evan Czaplicki
7968fa5bff
Make Basics compile
2013-07-25 23:52:39 +02:00
Evan Czaplicki
c4880ca5de
Rename Prelude to Basics to get rid of circular dependencies
2013-07-25 23:24:33 +02:00
Evan Czaplicki
d77dbb03ed
Switch to new type signatures
2013-07-25 23:21:15 +02:00
Evan Czaplicki
11c1b76e9c
Update to use the "number" type variable
2013-07-25 16:40:56 +02:00
Evan Czaplicki
067773d601
Update the List library to use the number, comparable, and appendable type variables
2013-07-25 16:40:39 +02:00
Andrew Miller
1f3ba5ca35
Fix a typo bug in the onblur handler for Touch.
2013-07-15 14:11:02 +12:00
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
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
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
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
evancz
24c90b3673
Fix rendering bug with standard input buttons.
2013-03-24 19:48:27 -07:00
evancz
63a40ea305
Fix import bugs in Input file.
2013-03-24 19:29:32 -07:00