Commit graph

1388 commits

Author SHA1 Message Date
Evan Czaplicki
79c6b3b39e Merge pull request #194 from A1kmm/dev-fix-mousemove-handler-for-touch
Fix a typo bug in the onblur handler for Touch.
2013-08-08 13:54:01 -07:00
Evan Czaplicki
27ee179626 Merge pull request #206 from zsombornagy/master
A hopefully better foldp example
2013-08-08 13:53:20 -07:00
Zsombor Nagy
fa28e61198 Change foldp example to contain a function which uses both of its arguments 2013-08-08 08:24:24 +02:00
Evan Czaplicki
4d719eb235 Update README.md 2013-08-07 16:10:54 -07:00
Evan Czaplicki
0b9317124d Give more specific errors when a variable cannot be found during canonicalization 2013-08-07 09:38:30 -07:00
Evan Czaplicki
d85c01ebbc Merge pull request #204 from lambdatoast/patch-1
Remove extra "is" from defaultMessage.
2013-08-07 09:14:56 -07:00
Evan Czaplicki
9821e12a4c Strip \r from multiline strings 2013-08-07 09:12:53 -07:00
Alexander
a043b95f0c Remove extra "is" from defaultMessage. 2013-08-07 06:12:11 -03:00
Evan Czaplicki
cc81b1e22b Make sure that all directories in build/ are properly constructed 2013-08-06 22:51:21 -07:00
Evan Czaplicki
f7db7a3b47 Add a default error message for beginners 2013-08-06 22:12:26 -07:00
Evan Czaplicki
50dada1f22 Fix very silly error, default module name is "Main" not "Name" 2013-08-06 21:40:54 -07:00
Evan Czaplicki
53ef6d33c9 Give a better error message when trying to unify rigid type variables in a bad way 2013-08-06 21:20:32 -07:00
Evan Czaplicki
ed6b255ba5 Properly parse out module names, defaulting to Main if no name is given. 2013-08-06 21:20:08 -07:00
Evan Czaplicki
43b604e0ca Introduce cache/ and build/ directories
Switch from using --output-directory for all generated files, to using
--cache-dir for .elmo and .elmi files and using --build-dir for .html
and .js files.
2013-08-06 18:34:23 -07:00
Evan Czaplicki
2e38f7b061 Give line numbers when there is a kind error in a pattern 2013-08-06 15:44:19 -07:00
Evan Czaplicki
a3f62c34c3 Make errors a little bit better when a type alias gets the wrong number of arguments. 2013-08-06 15:43:59 -07:00
Evan Czaplicki
7af7c1f98d Change "line" to "on line" in the string representation of one line SrcSpans 2013-08-06 15:43:31 -07:00
Evan Czaplicki
97ab6199bd Make sure that the user defined module name is used in generated HTML 2013-08-06 13:41:17 -07:00
Evan Czaplicki
97a4628976 Get rid of dead code: showErr is not used any more 2013-08-06 13:40:54 -07:00
Evan Czaplicki
96835bf598 Update to talk about ElmFiles/ directory 2013-08-06 12:25:17 -07:00
Evan Czaplicki
a446d609f2 Ensure that binary serialization works on Windows. Previously had issues with line ending conversions messing with binary data. 2013-08-06 00:36:07 -07:00
Evan Czaplicki
48ee3120e5 try to clarify syntax upgrade for infix definitions 2013-08-04 16:01:18 -07:00
Evan Czaplicki
555cdc6587 minor clarification 2013-08-04 15:58:06 -07:00
Evan Czaplicki
8f84e508ea Merge branch 'dev' 2013-08-04 15:56:24 -07:00
Evan Czaplicki
f6c0c7777f Update changelog 2013-08-04 15:56:14 -07:00
Evan Czaplicki
1df206dcc9 Clean up mistakes from the merge 2013-08-04 15:44:47 -07:00
Evan Czaplicki
51dfa676d9 Merge branch 'types'
Conflicts:
	compiler/Compiler.hs
	compiler/Model/Ast.hs
	libraries/Automaton.elm
	libraries/Dict.elm
2013-08-04 15:40:24 -07:00
Evan Czaplicki
aead290473 Merge branch 'types' into dev 2013-08-04 15:36:50 -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
8a6a823504 Better error messages for runtime errors in cases and ifs 2013-08-04 13:47:27 -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
62bb8ab3ad Add missing paren 2013-08-04 12:52:33 -07:00
Evan Czaplicki
0cd594c13c Better JS for function composition, runtime errors report which module they came from 2013-08-04 12:51:52 -07:00
Evan Czaplicki
0a55674939 Fix timestamp which was undefined before 2013-08-04 12:24:50 -07:00
Evan Czaplicki
a268421893 Get show, readInt, and readFloat working again 2013-08-04 12:22:58 -07:00
Evan Czaplicki
56e897c9d1 Signal.delay was undefined, use correct reference 2013-08-04 11:15:52 -07:00
Evan Czaplicki
e6e038d431 Fix rounding error in changing width and height of images 2013-08-03 12:55:22 -07:00
Evan Czaplicki
e1bccca1de Nicer error messages for unfound variables 2013-08-03 12:55:07 -07:00
Evan Czaplicki
3c05f538d0 Make error messages prettier 2013-08-03 12:28:59 -07:00
Evan Czaplicki
cb1a7a2355 Make formatting nicer for type errors 2013-08-03 12:02:59 -07:00
Evan Czaplicki
20047ec0eb Show source strings in error messages when possible 2013-08-03 11:41:47 -07:00
Evan Czaplicki
51bc878b51 Use new Located datastructure, add source strings where appropriate 2013-08-03 11:41:33 -07:00
Evan Czaplicki
177a03750b Add source code to locations for better error messages 2013-08-03 11:40:53 -07:00
Evan Czaplicki
1f390072c6 Add more space between type errors 2013-08-03 11:39:56 -07:00
Evan Czaplicki
0e89c32b8e Compile threaded with O2 2013-08-02 22:21:06 -07:00
Evan Czaplicki
37417e154c print file path when compiling and enable multithreaded execution 2013-08-02 22:20:55 -07:00
Evan Czaplicki
936ffdea81 Give the proper field names to checkboxes 2013-08-02 22:20:24 -07:00
Evan Czaplicki
6aa9fc07a2 Trim unused dependencies 2013-08-02 17:41:18 -07:00
Evan Czaplicki
8000b8b4b9 Stop exposing the QuasiQuoting library.
I have not looked at this code in many versions, so I don't think it's
good for me to keep "maintaining" it even though I don't think people
should really use this.
2013-08-02 17:37:30 -07:00