Commit graph

2004 commits

Author SHA1 Message Date
Evan Czaplicki
34c3112f68 add isNaN and isFinite as native functions 2014-03-20 15:37:10 -07:00
Evan Czaplicki
a5ee99d646 Merge pull request #503 from pseudonom/patch-1
Docs were missing `repeat`
2014-02-19 07:46:08 -05:00
pseudonom
b7a45f650d Docs were missing repeat 2014-02-19 00:41:44 -05:00
Evan Czaplicki
daeccdc65e Merge pull request #473 from maxsnew/window
Tweak runtime so it runs without a "window" object defined.
2014-01-23 09:40:14 -08:00
Max New
e194592403 Better window workaround. Thanks @raynos 2014-01-22 20:24:03 -06:00
Max New
066992c251 Tweak runtime so it runs without a "window" object defined. 2014-01-22 16:04:04 -06:00
Evan Czaplicki
a5e1aebecf Update to address problems reported in #457
Sorry for the trouble, I’d like to make installers to get around all of
this crap.
2014-01-21 13:51:19 +01: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
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
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
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
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
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
Evan Czaplicki
c602071022 Cosmetic: use a qualified import to clarify uses of isTuple 2014-01-14 16:27:28 +01:00
Evan Czaplicki
93321eca63 Fix issue with unparenthesized patterns in pretty printed lambdas pointed out by @JoeyEremondi in #446
Regarding the proposed fix in #446: The pattern pretty printer is
correct for cases where you just want the pattern, such as in
case-expressions. In some contexts, parentheses are required though, so
this fix addresses those places specifically.
2014-01-14 16:27:06 +01:00
Evan Czaplicki
6febb89fcd Fix pretty printing for tuples as discoered by @JoeyEremondi and/or @jmite in PR #446
This fix uses some existing functions for reliably figuring out if
something is a tuple.
2014-01-14 16:13:18 +01:00