Commit graph

536 commits

Author SHA1 Message Date
Evan Czaplicki
86436d7280 Merge pull request #502 from Xashili/dev
Added support for .pointer-events.
2014-02-19 07:50:38 -05:00
pseudonom
b7a45f650d Docs were missing repeat 2014-02-19 00:41:44 -05:00
Evan Czaplicki
139f73a1e1 Add examples! 2014-02-18 18:33:21 -05:00
Evan Czaplicki
57c4b79eb3 Add more examples
Based on very valid observation here
(https://groups.google.com/forum/#!topic/elm-discuss/_vvE0OWNKDU) that
these docs were bad before.
2014-02-18 18:06:14 -05:00
Evan Czaplicki
d5df18d51a Merge branch 'dev' into input 2014-02-18 14:24:37 -05:00
Evan Czaplicki
a35f47fac9 Add examples for all exported functions 2014-02-18 14:21:12 -05:00
Evan Czaplicki
6a2d21fbdb Fix bug revealed by TodoFRP 2014-02-18 13:18:20 -05:00
Evan Czaplicki
bb13c9c5b1 cosmetic: silly indentation changes in comments 2014-02-18 12:23:54 -05:00
Evan Czaplicki
0018d32627 Start using new Input type everywhere!
Whoo! :D
2014-02-18 12:14:10 -05:00
Evan Czaplicki
0c805d8c4f Get drop down menus rendering 2014-02-17 21:28:15 +01:00
Evan Czaplicki
88e9e6756d Fix problem with checkboxes 2014-02-17 20:58:10 +01:00
Evan Czaplicki
49901dc5d3 Fix bugs in fields 2014-02-17 20:57:57 +01:00
Evan Czaplicki
250685b08d Switch to new syntax for opening modules 2014-02-17 17:56:09 +01:00
Evan Czaplicki
1c832af6b0 Attempt to revamp the Graphics.Input library, much testing still needed 2014-02-17 17:38:37 +01:00
Evan Czaplicki
8fbb9c799d Cosmetic: adjust indentation 2014-02-17 10:42:13 +01:00
Evan Czaplicki
8971b79125 Add small note referring people to the Regex library 2014-02-10 21:18:36 +01:00
Evan Czaplicki
f0f84cbb54 Introduce the HowMany type to simplify API 2014-02-10 20:08:40 +01:00
Evan Czaplicki
f51ddf9e4e Fix stupid error in Bitwise library 2014-02-08 19:42:44 +01:00
Evan Czaplicki
f5c612f13c Add Date.fromTime function, based on PR #357 2014-01-28 23:56:24 +01:00
Evan Czaplicki
f636b7576f Merge pull request #409 from maxsnew/keepWhen
Change semantics of keepWhen/dropWhen.
2014-01-28 06:18:04 -08:00
Evan Czaplicki
007ea7126f Get rid of isClicked
It can be argued that everything should be derived from isDown and
position (the two real facts about the mouse), so maybe that is a
direction to go from here.
2014-01-27 12:29:52 +01:00
Evan Czaplicki
3fec0f94ee attempt to make the documentation easier 2014-01-24 18:07:49 +01:00
Evan Czaplicki
4ef397c3dc Get rid of dead code, cannot be called because of the type checker 2014-01-24 18:07:07 +01:00
Evan Czaplicki
5d5b01cb2d Merge pull request #456 from maxsnew/trampoline
Trampoline
2014-01-24 08:31:58 -08:00
Evan Czaplicki
ea23081f05 Get rid of extra word 2014-01-21 00:01:57 +01:00
Evan Czaplicki
3ab80bf608 Bump to 0.11 2014-01-20 23:54:18 +01:00
Max New
df135b8c9b Update trampoline docs to new interface. 2014-01-20 14:40:10 -06:00
Max New
b47166144d Simplify Trampoline datatype. 2014-01-20 14:38:12 -06:00
Evan Czaplicki
df95c68c56 Fix problem with Text alignment! 2014-01-20 20:54:16 +01:00
Max New
50bc5a493f Remove old JS dropWhen/keepWhen 2014-01-20 11:22:06 -06:00
Max New
9dc1549431 Uncomplicate keepWhen implementation 2014-01-20 11:22:06 -06:00
Max New
0a1c8990eb Change semantics of keepWhen/dropWhen.
They no longer propagate the right Signal when the left Signal
changes.
2014-01-20 11:22:06 -06:00
Evan Czaplicki
6556b1bf4e Merge pull request #461 from jvoigtlaender/keepIf-docu
corrected documentation of keepIf and friends
2014-01-20 08:13:18 -08:00
Evan Czaplicki
4e5ba54934 Revert "Merge pull request #462 from jvoigtlaender/Mouse.isClicked-correction"
This reverts commit 26b7fc617f, reversing
changes made to 9be0abd018.
2014-01-20 17:09:34 +01:00
Evan Czaplicki
26b7fc617f Merge pull request #462 from jvoigtlaender/Mouse.isClicked-correction
change Mouse.isClicked to adhere to its documentation
2014-01-20 08:07:42 -08:00
Evan Czaplicki
9be0abd018 Try to address #464 2014-01-20 17:06:25 +01:00
Evan Czaplicki
bb056ac2f4 Attempt to address #463
@ jvoigtlaender, does this clarify things enough?
2014-01-20 16:48:43 +01:00
jvoigtlaender
c3c12b929b change Mouse.isClicked to adhere to its documentation 2014-01-20 07:46:49 +01:00
jvoigtlaender
b79a8a8061 corrected documentation of keepIf and friends 2014-01-20 07:40:24 +01:00
Max New
84aab5843b Basic docs for trampolines 2014-01-18 13:41:26 -06:00
Max New
8ae1c1c246 Add native Trampoline support for unbounded recursion 2014-01-18 13:41:19 -06:00
Evan Czaplicki
598058e1db Get rid of the word "simply". It is a condescending word. 2014-01-17 19:19:30 +01:00
Evan Czaplicki
6a382825d8 Add the always function
I want it, I do not want to rename constant, and I think it is a good
name.
2014-01-17 18:19:42 +01:00
Evan Czaplicki
996848ce86 Simplify the JS API for sending values to signal ports, making error handling more reasonable 2014-01-16 18:30:44 +01:00
Christian Widera
62540a9065 Added support for .pointer-events. 2014-01-15 23:01:32 +01:00
Evan Czaplicki
2f38eec8f8 Show nicer error messages when module initialization fails due to invalid port values 2014-01-14 11:49:33 +01:00
Evan Czaplicki
32fbbca5b2 Generate conversion code for ports 2014-01-13 19:32:54 +01:00
Evan Czaplicki
e2aff93df9 Make the fix from #435 2014-01-13 11:01:10 +01:00
Max New
efdea2f0b1 Fix Dict insert bug by using generalized balance function
Also removes now dead code and rearchitects a few things to statically
eliminate possible future bugs.
2014-01-08 19:02:06 -06:00
Evan Czaplicki
d81941d9c0 Move JS code for ports to their own module 2014-01-06 07:47:05 +01:00
Evan Czaplicki
fd7707e649 cosmetic: use a slightly more descriptive names 2014-01-06 05:21:26 +01:00
Evan Czaplicki
502cfc0465 Handle values sent to incoming ports, still need to properly define Elm.input though 2014-01-05 13:47:01 +01:00
Evan Czaplicki
7cf5a564e5 Add Expressions for ports to check and validate types nicely 2014-01-04 11:39:38 +01:00
Evan Czaplicki
578dfb8358 Merge branch 'js-integration' into dev 2014-01-02 12:29:08 -08:00
Evan Czaplicki
56324bf699 Update version numbers for standard library 2013-12-29 15:35:26 -08:00
Evan Czaplicki
4e23dc6a08 Mess with documentation for empty 2013-12-24 10:16:17 -08:00
Evan Czaplicki
71bb1c8bf9 Add basics of properly handling ports 2013-12-24 10:13:19 -08:00
Max New
6992d941c7 Add empty element 2013-12-20 23:35:36 -06:00
Evan Czaplicki
39769b77af Merge pull request #399 from mgold/char-compare
Fix Char comparisons
2013-12-19 18:53:07 -08:00
Max Goldstein
460fe0d3a4 Further optimizations 2013-12-19 21:47:16 -05:00
Max Goldstein
c6fbc8df24 Use instanceof for performance 2013-12-19 19:55:41 -05:00
Evan Czaplicki
5071f0f8d6 Merge pull request #393 from maxsnew/dict
Add efficient update function for Dict
2013-12-19 10:09:57 -08:00
Max New
33b39a30db Implement more general Dict update. 2013-12-19 04:16:00 -06:00
Evan Czaplicki
ab53fac3c4 Add note about how to interpret JS functions 2013-12-18 23:35:14 -08:00
Max New
bb3d0dc566 Add efficient update function for Dict 2013-12-18 22:02:02 -06:00
Max Goldstein
fac00f66c4 Fix Char comparisons
Fixes evancz/Elm#392
2013-12-18 21:39:46 -05:00
Evan Czaplicki
32e7d1da03 Get rid of dead code in Prelude. Need to figure out how to kill prelude entirely. 2013-12-18 12:53:11 -08:00
Evan Czaplicki
5aedf723ec Take Automaton out of standard libraries for now 2013-12-18 12:52:47 -08:00
Paul Ivanov
b77fd96d68 fix typos in Graphics 2013-12-17 15:44:58 -08:00
Paul Ivanov
bb851314ab more typos 2013-12-17 15:44:45 -08:00
Paul Ivanov
70e861818d fix typo in docs 2013-12-17 15:40:31 -08:00
Evan Czaplicki
123fb9440d Improve documentation for the new libraries 2013-12-17 15:20:39 -08:00
Evan Czaplicki
68d41ba1bc create file for uploading standard library to library.elm-lang.org 2013-12-17 13:59:38 -08:00
Evan Czaplicki
f1f5744f5b Add note about short-circuiting with (&&) and (||) 2013-12-17 13:59:19 -08:00
Evan Czaplicki
80e8af63e5 Rollback on laziness for now.
I feel like it does not have a strong use case yet, and does not align
with the nearterm goals of Elm. I don’t want to introduce complexity
unless it has a big reward.
2013-12-14 20:50:16 -08:00
Evan Czaplicki
c8c9913983 Add more info to comments 2013-12-13 17:05:33 -08:00
Evan Czaplicki
f57ffdf84e Clarify docs for splitWith and make note about potential infinite loops more consistent 2013-12-13 16:38:02 -08:00
Evan Czaplicki
cc5be70ac4 Add more documentation (mainly adding more examples) and change to the name splitWith 2013-12-13 16:15:35 -08:00
Evan Czaplicki
8a9fbbc7cc Merge branch 'master' into dev 2013-12-13 15:49:30 -08:00
Evan Czaplicki
91007fc4f9 Merge pull request #383 from maxsnew/lazy
Add unsafe Stream functions
2013-12-11 23:56:30 -08:00
Evan Czaplicki
01a5b1d8c2 that's not how you spell "high five"! 2013-12-11 23:54:52 -08:00
Max New
3eeefe7141 Add unsafe Stream functions 2013-12-11 19:20:52 -06:00
Evan Czaplicki
1707e52e69 Add documentation for JsonValue 2013-12-11 13:05:31 -08:00
Evan Czaplicki
4452e4e138 Turn off markdown interpolation for now.
This will of course get turned back on! I don’t want to do it in the
very next release though.
2013-12-10 23:04:27 -08:00
Evan Czaplicki
1fbb635c51 Merge pull request #379 from maxsnew/lazy
Increase sharing in Stream combinators
2013-12-09 17:16:06 -08:00
Max New
16d8753640 Fix iterate with optimal sharing 2013-12-09 17:21:20 -06:00
Max New
12d3cc5e92 Increase sharing in Stream combinators 2013-12-09 16:48:13 -06:00
Evan Czaplicki
3f9170aa00 Merge pull request #378 from maxsnew/lazy
Add Lazy Evaluation/Streams Library
2013-12-09 14:07:48 -08:00
Max New
08b88b7ebb Add Stream docs and fix type of sampleOn. 2013-12-09 15:40:05 -06:00
Max New
4fa228102d Update Lazy docs 2013-12-09 15:19:41 -06:00
Max New
46f3fa1b2c Lazy/Stream API changes 2013-12-09 15:16:04 -06:00
Max New
5bb782af64 Add more Stream functions and start documentation 2013-12-09 01:33:40 -06:00
Max New
d97d54213c Add some basic functions to Lazy library 2013-12-09 00:39:11 -06:00
Max New
9f98ec9b19 Split Streams into separate module and add apply (a la <*>) 2013-12-09 00:23:30 -06:00
Evan Czaplicki
eab9ab6122 Add examples of new sorting functions and fix the typo mentioned in #355 2013-12-08 15:45:26 -08:00
Evan Czaplicki
ccf737e999 Merge pull request #355 from mgold/sort
Add sorting (targeting dev)
2013-12-08 15:18:20 -08:00
Max New
614c8c5108 Add more Stream functions 2013-12-07 14:38:33 -06:00
Max New
c2a6b0d9d0 Add Library for Lazy Evaluation 2013-12-07 14:38:33 -06:00
Christian Stork
61b2cd6e40 Fix Keyboard.lastPressed to signal repeated keys 2013-12-04 13:40:13 +01:00
Max Goldstein
bbdc6760c1 Add sortWith 2013-11-21 16:33:30 -05:00