Commit graph

101 commits

Author SHA1 Message Date
Evan Czaplicki
b4440ad607 Stop creating dummy divs around every Element in a collage, fixes ordering issue in elm-at-pldi-2013 2013-11-03 02:29:51 +01:00
Evan Czaplicki
ef2b38fe11 Always switch out Text elements 2013-11-02 23:17:29 +01:00
Michael Sondergaard
d57762e3ce Fix mixed indent and whitespace in Utils.js 2013-10-31 14:51:12 +01:00
Michael Sondergaard
9aa468e59a Fix newline at EOF in Element.js 2013-10-31 14:50:21 +01:00
Michael Sondergaard
3c5d415c77 Fix whitespace and mixed indent in Collage.js 2013-10-31 14:48:47 +01:00
Michael Sondergaard
db7e3f618f Fix whitespace in Init.js 2013-10-31 14:47:31 +01:00
Evan Czaplicki
5d1ba746ac Merge branch 'master' into dev 2013-10-30 16:34:29 +01:00
Evan Czaplicki
117294ee94 Provide a fake window in needed, making runtime run on node.js 2013-10-30 16:33:44 +01:00
Evan Czaplicki
56ecbbc70a Implement markdown interpolation 2013-10-25 17:36:30 +02:00
Evan Czaplicki
2150eab871 fix string conversion in runtime/ 2013-10-22 10:44:40 +02:00
Evan Czaplicki
a29a1fd558 Fix mouse and touch tracking for embedded Elm programs, #291 2013-10-13 19:10:02 -04: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
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
Evan Czaplicki
984cfc55a9 Fix issue #230
The problem was that `inner` was not refering to the correct node in
the `setPos` expression if the inner node got replaced.
2013-09-02 01:04:21 -07:00
Alex Neslusan
c58c97bb76 Fixed issue #234
By removing old style properties in setPos
2013-09-01 13:49:37 +08:00
Evan Czaplicki
1a45cb5eca Nicer API for embedding Elm programs 2013-08-29 17:38:37 -07:00
Evan Czaplicki
089ae13ae6 Fix problems with transformation matrices that include numbers very close to zero (as in issue #222) 2013-08-25 01:03:59 -07:00
Evan Czaplicki
8d09047b76 Switch runtime over to Transform2D library 2013-08-19 15:40:03 -07:00
Evan Czaplicki
560f679d8f Fix transparency issue in #210 2013-08-16 00:07:32 -07:00
Evan Czaplicki
251c7d7c2d Avoid extra updates (as recommended by Jeff) 2013-08-16 00:00:39 -07:00
Evan Czaplicki
308c1af433 Fix hotswapping on static scenes 2013-08-09 17:44:18 -07:00
Evan Czaplicki
c37f30fb41 Make sure that screen resize is registered on initialization 2013-08-04 15:27:02 -07:00
Evan Czaplicki
330aa78bde Give a hint about the developer console for runtime errors 2013-08-04 14:45:04 -07:00
Evan Czaplicki
c8d2734a0d Report some runtime errors on screen
only if error occurs on initialization, not after first frame
2013-08-04 13:27:08 -07:00
Evan Czaplicki
94d6f7f471 Fix links, hopefully for real this time 2013-08-02 17:26:25 -07:00
Evan Czaplicki
5c0f1efd4d Fix rendering of links. Should fill only the space of the element. 2013-08-02 15:21:27 -07:00
Evan Czaplicki
3c7f45ff0a fix spacing again 2013-08-01 19:46:51 -07:00
Evan Czaplicki
62dc6e8a57 fix spacing 2013-08-01 19:46:04 -07:00
Evan Czaplicki
32c17ec3f4 make sure anchor tags surround their content 2013-08-01 19:45:41 -07:00
Evan Czaplicki
1fcb01f743 Finish switching over to '_Tuple' format for tuples. 2013-07-15 01:05:14 +02:00
evancz
d0c634f16f Allow collages to get property updates, such as opacity and links. 2013-06-16 14:20:47 -07:00
evancz
afacd1b858 Add hoverable and hoverables 2013-06-15 00:49:22 -07:00
evancz
a3801ac6a8 Ensure that alphas compose when used on groups. 2013-06-13 12:52:23 -07:00
evancz
85110bb625 Properly read alpha value. 2013-06-13 12:17:49 -07:00
evancz
d2a0a0305a Add opacity to the collage API 2013-06-13 12:00:17 -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
bb719ab763 Merge branch 'master' of https://github.com/evancz/Elm 2013-06-02 11:27:52 -07:00
Andrew Miller
45cfc8fa2e Add missing semicolon without which Firefox parses the collated runtime incorrectly. 2013-06-02 17:44:19 +12:00
evancz
3c01d66161 Fix bug when moving and scaling Elements in a collage. 2013-06-01 14:27:35 -07:00
evancz
487494926c Fix orientation of polygons and paths. 2013-06-01 11:57:08 -07:00
evancz
3829a951d3 Fix another rendering bug for collages. 2013-06-01 11:09:31 -07:00
evancz
35d6019f51 Correct positioning of normal forms that appear in groups right after an Element. 2013-06-01 01:55:33 -07:00
evancz
8004905409 Add keyFrameAnimation for hot-swapping. 2013-06-01 00:13:31 -07:00
evancz
6c2fb97f6a Bug fix: clear collage nodes that should not be shown anymore. 2013-06-01 00:13:04 -07:00
evancz
3d5d60a47d Get basic hot-swapping working. 2013-05-31 10:40:49 -07:00
evancz
cb154acc53 Bug fixes from the Init.js refactor that just happened. 2013-05-30 18:52: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
5e7a34f571 Make image cropping simpler. 2013-05-29 14:27:00 -07:00
evancz
f164a98f31 Fix the updater for plain images. 2013-05-28 16:07:43 -07:00