Commit graph

35 commits

Author SHA1 Message Date
evancz
893e4691e6 Add groupTransform function.
Add public Matrix library. Clean up and debug matrix implementation.
2013-03-23 23:54:00 -07:00
evancz
0fbc244bbb Change names back to be longer but better. 2013-03-23 18:22:25 -07:00
evancz
79093ff4da Change the name of Keyboard to Keys. Change some function names and change type of charPressed to be the latest char pressed (default is '\0') 2013-03-23 16:52:58 -07:00
evancz
e80f19b423 Fix move to have y-axis properly oriented.
Fix rotations (`degrees` and `turns` functions were broken because I used `Math.pi` instead of `Math.PI`...)
2013-03-23 13:20:30 -07:00
evancz
86a0a904d8 Fix oval and ngon. (It's PI, not pi!) 2013-03-22 18:27:03 -07:00
evancz
4b8c9796a5 Add some files 2013-03-21 02:35:36 -07:00
evancz
131a2b6818 Get sprites working in collage. temporary fix for docs.json issue. Looks like git thinks we're in the past, so a bunch of changes that have already happened as well. 2013-03-21 02:29:23 -07:00
evancz
7dbb052b22 Load json representation of types with Template Haskell, so library files are the base truth of type information.
Make minor fixes in libraries, such as adding the Char labrary and fixing the types in the Dict library.
2013-03-16 22:24:18 -07:00
evancz
1822ebc160 Move the compiler down a directory, mostly. 2013-03-16 12:04:05 -07:00
evancz
3746c3217a Fill in some of Prelude.js 2013-03-16 02:02:16 -07:00
evancz
0050bfa845 Add a matrix library and switch collage over to use it. 2013-03-16 01:11:15 -07:00
evancz
152ef51a98 Fix croppedImage, show for tuples, and init for resizing initial dom node. 2013-03-13 00:52:14 -07:00
evancz
1552651eaf Make sure Mouse, Random, Window, and Time import their native implementation. 2013-03-13 00:00:02 -07:00
evancz
3540449119 Fix behavior of width and height to maintain the dimensions of images when resizing. Move htmlHeight into Utils so it can be used by both Element and Text. 2013-03-12 22:59:15 -07:00
evancz
609dc36596 Add height check and get rid of utils which was in the wrong place (i think) 2013-03-12 21:25:47 -07:00
evancz
a1b890adc3 Lots of tiny fixes to get the RTS working! 2013-03-12 00:48:11 -07:00
evancz
15c35c824b Clean out Input file! 2013-03-11 10:59:30 -07:00
evancz
34294a5f42 Strip out the unrelated things from Misc.js and rename it to Show.js, which is all it does now anyway! 2013-03-11 10:46:16 -07:00
evancz
db44b154b4 Combine Keyboard and Keyboard.Raw modules. 2013-03-11 10:38:52 -07:00
evancz
f903ff3fd8 Tweaks to the last of the library code. 2013-03-10 01:40:31 -08:00
evancz
b343564795 Finish tweaking the second half of .elm library files. 2013-03-10 01:07:17 -08:00
evancz
8a700e84d5 Update first half of .elm libraries 2013-03-10 00:54:37 -08:00
evancz
944a056122 Decide on convention that corresponding Native modules get exported automatically, no need to copy everything through in the Elm file.
Also extend `sort` to work on any comparable values.
2013-03-10 00:12:10 -08:00
evancz
851d2ff221 Create the Utils module which contains any utilities that can be created before all other modules. Switch to using Utils in existing modules.
Add the Error module for reporting the rare runtime errors that are possible.
2013-03-09 19:02:07 -08:00
evancz
6551ef14b2 Convert the Keyboard.Raw module and do minor fixes. 2013-03-09 00:39:58 -08:00
evancz
76e83e0e1b Convert Color and Text modules to new format. 2013-03-09 00:22:42 -08:00
evancz
0fe301aaba Convert the List and Misc modules. 2013-03-08 23:31:19 -08:00
evancz
8e6dbf8000 Convert the Date, JS, and Json modules. 2013-03-08 23:22:15 -08:00
evancz
86d02e22d5 convert WebSocket.js and Window.js to the new module format 2013-03-08 23:12:40 -08:00
evancz
ccf9917f2e Convert the random and touch modules to the new format. 2013-03-08 22:57:13 -08:00
evancz
f70fdaa300 Solidify format for modules. Convert the Time module. 2013-03-08 22:50:46 -08:00
evancz
9084db2b59 Switch module structure to permit on-demand initialization and multiple runtimes working simultaneously. 2013-03-08 20:17:01 -08:00
evancz
f589cf3899 Move all js files relevant to signals into the Native/Signal/ directory 2013-03-08 18:39:39 -08:00
evancz
24d508b8d2 Add the beginnings of a button module and mess with the definition of equality. 2013-03-07 23:17:34 -08:00
evancz
79a747cfc6 Rename core/ to libraries/ to make it more clear what is going on with the directory structure. 2013-03-06 09:28:53 -08:00