Evan Czaplicki
ed0380ef78
Try to improve documentation
2014-03-07 01:03:50 -10:00
Evan Czaplicki
3cd940f747
Merge pull request #508 from shashi/dev
...
Fix wrong return value in String.endsWith when sub.length > str.length
2014-03-04 08:12:46 -10:00
Evan Czaplicki
284438d494
Fix so that focus is still handled by the browser, not Elm.
...
This resolves the issue observed by Max and me in which focus always
jumped to the first text field on the page.
https://groups.google.com/forum/#!topic/elm-discuss/du9x7E9AkDE
2014-03-04 07:56:44 -10:00
Shashi Gowda
50b1a51029
Fix wrong return value in String.endsWith when sub.length > str.length
2014-03-04 02:05:50 +05:30
Evan Czaplicki
cbf7a8633b
Revert "Get rid of Selection, simplifying the field API"
...
This reverts commit 8e2c6989b4
.
2014-03-03 00:12:02 -10:00
Evan Czaplicki
8e2c6989b4
Get rid of Selection, simplifying the field API
...
Real reason is that setSelectionRange also sets the focus. This
behavior makes sense, so the underlying issue is that setting the
selection for two fields is not meaningful because only one can have
focus.
How to set focus (for fields or inputs in general) is not really
answered yet, so I think it makes the most sense to leave it out for
now.
2014-03-03 00:08:58 -10:00
Evan Czaplicki
0dcee3ec46
Fix errors pointed out by @mgold
2014-03-02 17:16:21 -10:00
Evan Czaplicki
9716a98403
Merge pull request #507 from mgold/string-docs
...
Docs cosmetic: format some examples in String
2014-03-02 17:01:00 -10:00
Max Goldstein
dcbbb3bf78
Move examples onto new line to match rest of library
2014-03-02 18:59:51 -05:00
Evan Czaplicki
5e7ed2bec5
Merge branch 'text' into dev
2014-03-02 12:43:45 -10:00
Evan Czaplicki
4c43439cdb
Fix typo that caused runtime error with buttons
2014-03-02 12:43:32 -10:00
Evan Czaplicki
093d7afb34
Move all field related stuff to Graphics.Input.Field and add the ability to style fields
2014-03-01 22:43:21 -08:00
Evan Czaplicki
10506b5663
Rely directly on Native.Show.show when needed
2014-03-01 22:07:48 -08:00
Evan Czaplicki
ae513a7f6e
Remove dead code
2014-03-01 22:07:17 -08:00
Evan Czaplicki
9423af410f
Use Text.leftAligned instead of old Text.text in the runtime
2014-03-01 21:04:33 -08:00
Evan Czaplicki
61aab6292f
Properly refer to the new Color.toCss function
2014-03-01 21:04:10 -08:00
Evan Czaplicki
9df2eac7c1
Expose toTypefaces and toLine for use within the core libraries
2014-03-01 20:23:08 -08:00
Evan Czaplicki
e53ebfca30
Add a defaultStyle
2014-03-01 20:23:01 -08:00
Evan Czaplicki
0cf6ad25e1
Properly import show from the String library
2014-03-01 20:09:30 -08:00
Evan Czaplicki
7e901a668f
Move conversion from colors to CSS to the Color library
2014-03-01 20:08:38 -08:00
Evan Czaplicki
41aa1991ff
Merge branch 'dev' into text
2014-03-01 19:26:55 -08:00
Evan Czaplicki
9723d2d41c
Revamp the Text library so that there is an explicit Text.Style record
...
The Style record is needed to allow formatting of text fields!
2014-03-01 17:26:19 -05:00
Evan Czaplicki
74d0482ace
Move show function to String library and get rid of Prelude library
2014-03-01 13:58:02 -05:00
Evan Czaplicki
cc3c8704e2
Make docs nicer based on comments on list!
...
https://groups.google.com/forum/#!topic/elm-discuss/-2bQTi8G1Vg
2014-02-27 17:23:29 -05:00
Evan Czaplicki
d7e0f254fe
Remove unused dependencies
2014-02-24 10:30:07 -05:00
Evan Czaplicki
1b098b9a21
Handle cut, paste, undo, and other changes that avoid onkeypress
2014-02-22 17:18:46 -05:00
Evan Czaplicki
162141b5bd
Improve behavior of text field updates, but not entirely
...
Still need to fix behavior of copy/paste and undo.
2014-02-22 15:55:27 -05:00
Evan Czaplicki
9113907bcd
Add new modules so documentation shows up
2014-02-21 18:47:34 -05:00
Evan Czaplicki
a4601c5bb4
More credit giving
2014-02-21 18:43:37 -05:00
Evan Czaplicki
b00f2ac4a4
Give credit better
2014-02-21 18:42:43 -05:00
Evan Czaplicki
dad9e9ede1
change language a bit
2014-02-21 18:36:40 -05:00
Evan Czaplicki
dd1b3d4d7c
Restrict list interpolation to numbers!
2014-02-21 16:21:00 -05:00
Evan Czaplicki
fea6361da5
Fix silly naming bug with coverable and clickable
2014-02-21 12:28:16 -05:00
Evan Czaplicki
7d882ac01b
Add library for simple logging, specifically for debugging.
2014-02-21 11:57:18 -05:00
Evan Czaplicki
eca862057a
Add note about changes to the Regex library
2014-02-21 11:57:17 -05:00
Evan Czaplicki
7920a4f3af
Merge pull request #504 from 5outh/master
...
Tiny typo in String.elm
2014-02-19 20:09:05 -05:00
Evan Czaplicki
5a39ddf7ac
cosmetic: mess with style
2014-02-19 16:03:52 -05:00
Evan Czaplicki
9f44f11516
Merge pull request #505 from timthelion/patch-3
...
Declare the trampoline variable before using it.
2014-02-19 14:57:37 -05:00
Timothy Hobbs
c0d4c4de4b
Declare the trampoline variable before using it.
...
This makes the trampoline "module" work in strict mode which you are now using everywhere.
2014-02-19 19:56:05 +00:00
Benjamin Kovach
ed8089a60c
Update String.elm
...
Super minor typo
2014-02-19 11:12:08 -05:00
Evan Czaplicki
05c8e0e30a
Add support for exponent notation for floating point numbers
...
Brought to my attention by this thread:
https://groups.google.com/forum/#!topic/elm-discuss/jQXmaqLHcIA
2014-02-19 08:57:08 -05:00
Evan Czaplicki
fa5b38532d
Add note about pointer-events
2014-02-19 08:03:39 -05:00
Evan Czaplicki
ea28a87b7b
Merge branch 'input' into dev
...
Conflicts:
libraries/Native/Graphics/Input.js
runtime/Render/Element.js
2014-02-19 08:00:33 -05:00
Evan Czaplicki
86436d7280
Merge pull request #502 from Xashili/dev
...
Added support for .pointer-events.
2014-02-19 07:50:38 -05: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
139f73a1e1
Add examples!
2014-02-18 18:33:21 -05:00
Evan Czaplicki
57c4b79eb3
Add more examples
...
Based on very valid observation here
(https://groups.google.com/forum/#!topic/elm-discuss/_vvE0OWNKDU ) that
these docs were bad before.
2014-02-18 18:06:14 -05:00
Evan Czaplicki
f3a8bee8ae
Update changelog to describe mention Graphics.Input and make it easier to read
2014-02-18 14:28:26 -05:00
Evan Czaplicki
d5df18d51a
Merge branch 'dev' into input
2014-02-18 14:24:37 -05:00