Commit graph

2011 commits

Author SHA1 Message Date
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
50c2618d3a Try to improve error messages in response to issue #479 2014-01-27 02:49:21 +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
54a2f25584 Merge branch 'master' into dev 2014-01-23 18:46:52 +01: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
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
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
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
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