Commit graph

2157 commits

Author SHA1 Message Date
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
Evan Czaplicki
df149b4c3a Move documentation to make haddock happy 2014-01-20 23:25:59 +01:00
Evan Czaplicki
5c6882dbd6 Bump version number 2014-01-20 22:47:14 +01:00
Evan Czaplicki
4c27440fcb Merge branch 'dev' 2014-01-20 22:12:54 +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
Evan Czaplicki
4b1474dcdc Correctly update model, accounting for possibly dropped frames
Thanks to @johnpmayer for discovering this issue!

Since draw is async, it was possible to update the model without
updating the underlying DOM stuff. This could cause issues on its own,
but if you need to pass info from model to model, that is also lost
when this happens.
2014-01-20 19:57:31 +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
Evan Czaplicki
b00a8cb9b5 Add check that all ports appear in the "main" module
It is unclear what it means if ports are used in sub-modules, so to be
cautious, we want to rule it out in the first release. As people use
the API it’ll become clear how sub-module ports are necessary and what
problems they might cause.
2014-01-20 15:10:40 +01:00
Evan Czaplicki
066a164763 Rename the dummy paths file so that it does not register as C code! 2014-01-20 14:54:27 +01:00
Evan Czaplicki
f5351438ee cosmetic: get rid of a (>>) in favor of a do-block 2014-01-20 14:04:36 +01:00
Evan Czaplicki
fc154f91cf Use Build.Print to show errors 2014-01-20 14:01:53 +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
Evan Czaplicki
6ba394c9cb Get rid of experimental code for handling "deriving" 2014-01-20 01:09:50 +01:00
Max New
53c2ab1531 Move splitDots and prevent a non-exhaustive pattern match warning 2014-01-18 17:44:11 -06:00
Max New
4a25c165a4 Hack to make imported names safe.
This fixes a bug where imported identifiers with reserved names were
not being changed during codegen.
2014-01-18 17:36:09 -06: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
892464e94d Merge branch 'dev' 2014-01-18 20:34:08 +01:00
Evan Czaplicki
3640376be8 Add a test for port parsing and types
Partly addressing #442
2014-01-18 00:46:56 +01:00
Evan Czaplicki
6984bbf4ee Move build status higher up 2014-01-17 20:48:29 +01: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
64b8e73a3d Merge branch 'jsl-add_travis' into dev 2014-01-17 18:25:52 +01:00
Evan Czaplicki
73cff94ecd resolve conflict in README! 2014-01-17 18:25:27 +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
Evan Czaplicki
1a1aff1bc8 restrict incoming ports to disallow data structures that contain signals, only "top-level" signals are allowed 2014-01-16 18:28:07 +01:00
Evan Czaplicki
0026466725 Merge pull request #452 from johnpmayer/arbitary-tipe
Added pretty.parse tests for SourceSyntax.Type
2014-01-16 02:42:52 -08:00
John P Mayer Jr
0cd2af27a6 used a more specific PP rendering to revert the changes to SS.Type pretty 2014-01-15 19:46:41 -05:00
John P Mayer Jr
d647bfdeda Merge remote-tracking branch 'evan/dev' into arbitary-tipe 2014-01-15 19:27:50 -05:00
Christian Widera
62540a9065 Added support for .pointer-events. 2014-01-15 23:01:32 +01:00
Evan Czaplicki
b5e731122d Improve error messages as described in a list discussion
https://groups.google.com/forum/#!topic/elm-discuss/X4V4edxeFKI
2014-01-15 19:22:19 +01:00
Evan Czaplicki
b9e627f78e Merge in @maxsnew's fixes from #424
Tested on small file where I changed a dependency and on elm-lang.org
code.
2014-01-15 13:54:40 +01:00
Evan Czaplicki
665312543b experimental support for setting favicons
Works in Chrome and FF for sure. Safari definitely does not work. Not
sure about Opera and IE9+
2014-01-15 12:59:49 +01:00
John P Mayer Jr
853e63c918 better shrinking and not-infinite-dump generation results in passed tests! 2014-01-15 01:39:36 -05:00
John P Mayer Jr
bb3e4ca1e7 really didn't need this 2014-01-14 22:14:01 -05:00
John P Mayer Jr
d72cbbffe3 also should be able to check both sub-types are valid 2014-01-14 22:03:49 -05:00
John P Mayer Jr
c91815ebda turned off Data and Record types, found a bad test case with lambda 2014-01-14 21:30:03 -05:00
John P Mayer Jr
afb6bd5023 better gen and shrink, but stack overflows 2014-01-14 19:33:40 -05:00
John P Mayer Jr
1b44fbf24a Merge remote-tracking branch 'evan/dev' into arbitary-tipe 2014-01-14 12:27:38 -05:00