John-Mark Bell
405fa12f8d
Fix handling of inline stylesheets with @import
2013-02-26 09:14:32 +00:00
Vincent Sanders
a35e66ffa1
split out object handling from render/html.c
2013-02-25 18:24:04 +00:00
Vincent Sanders
4e7b4259a4
fix quirk stylesheet loading
2013-02-25 15:00:50 +00:00
Steve Fryatt
dd35da2cac
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2013-02-24 23:59:09 +00:00
Steve Fryatt
3c373994f9
Set Message_DataRequest length correctly.
2013-02-24 23:58:02 +00:00
John-Mark Bell
142922d10a
Fix leak when handling paste
2013-02-24 23:05:56 +00:00
John-Mark Bell
1e7dac61da
Fix memory leak
2013-02-24 23:05:56 +00:00
Steve Fryatt
bbd46de011
Fix handling of Ctrl-Left/Right/Up/Down in browser windows.
...
Reverse Ctrl-Left/Right actions to match reality.
Make Ctrl-Down duplicate End action.
Tidy mixed usage of + and | in key definitions.
2013-02-24 19:25:50 +00:00
Vincent Sanders
cc7f45898b
refactor stylesheet handling to separate object from within html rendering
2013-02-24 16:08:37 +00:00
Michael Drake
bba74b7a0b
Handle readonly attribute for text inputs and textareas.
2013-02-23 17:44:20 +00:00
Michael Drake
3cc90f2f30
Fix trying to free a load of stuff dereferenced from a NULL ptr.
2013-02-22 23:08:39 +00:00
Michael Drake
f72da52cfc
Fix over-allocation of space for hash table chain heads.
2013-02-22 22:33:36 +00:00
Michael Drake
ffe3ce2615
Don't need initial caret pos now.
2013-02-22 22:26:03 +00:00
Michael Drake
c034fb87ad
No point in setting caret there.
2013-02-22 22:16:26 +00:00
Chris Young
cd25e581cf
Fix drag saving text selections
2013-02-22 21:03:52 +00:00
John-Mark Bell
9303fc56dc
Remove redundant code.
2013-02-22 20:51:56 +00:00
Chris Young
5d34d48a4b
Remove obsolete ami_selection_to_text
2013-02-22 19:06:13 +00:00
Chris Young
84fca8a29c
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2013-02-22 19:03:32 +00:00
Chris Young
4d9b674997
Remove struct selection from ami_file_save and anywhere that feeds into it
2013-02-22 19:02:58 +00:00
Michael Drake
131db5c8da
Fix min width to take account of white-space property.
2013-02-22 19:00:16 +00:00
Michael Drake
48bd5e1f10
Always set caret.
2013-02-22 16:41:35 +00:00
Michael Drake
04ca082416
Shove allocation step size into #define.
2013-02-22 16:16:10 +00:00
Michael Drake
00eb142661
Increase allocation increment step size.
2013-02-22 16:12:48 +00:00
Michael Drake
d48f3e3f49
Textarea tweaks for caret placement after selection removal.
2013-02-22 16:04:31 +00:00
Michael Drake
59fdbae1bc
Fix setting of empty selections.
2013-02-22 15:23:36 +00:00
Michael Drake
a3c00c7192
Fixup for core selection change.
2013-02-22 15:12:10 +00:00
Michael Drake
8445bc166b
Don't bypass html form handling layer when passing keypress to textarea.
2013-02-22 15:01:13 +00:00
Michael Drake
c7e136d9d7
Various warning squashes and fixes.
2013-02-22 14:53:57 +00:00
Michael Drake
9c13d352c7
Fixup for core changes. (Selection and errorcode.)
2013-02-22 14:44:13 +00:00
Michael Drake
7bdaf95576
Squash warnings from errorcode shake up.
2013-02-22 14:34:23 +00:00
Michael Drake
69c0fb1fff
Pass select all as keypress.
2013-02-22 14:34:01 +00:00
Michael Drake
4fd095c060
Update for core change.
2013-02-22 14:19:04 +00:00
Michael Drake
8195113196
More fixup for new core selection treatment.
2013-02-22 14:08:24 +00:00
Michael Drake
8a4bfc537f
Update for new core selection stuff. Save handling still needs fixing. Core now gives a char * that the front end should free.
2013-02-22 13:46:01 +00:00
Michael Drake
67c6046fb1
Update for new core selection handling.
2013-02-22 13:37:11 +00:00
Michael Drake
d8af191c0a
Include stdbool.h
2013-02-22 13:31:51 +00:00
Michael Drake
7088908cc2
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
...
Conflicts of doom:
render/html.c
2013-02-22 13:24:36 +00:00
Michael Drake
c2a718075a
A load of refactoring of how content selection and input work.
...
Keypresses now go via content interface.
Contents don't shove the selection object into browser windows any more.
Contents report selection existence by sending message.
HTML content keeps track of where selections in it exist.
Contents report whether they have input focus via caret setting msg.
Caret can be hidden (can still input/paste) or removed.
Consolidate textarea selection handling.
Make textarea report its selection status changes to client.
Various textarea fixes.
Changed how we decide when to clear selections, and give focus.
2013-02-22 12:19:35 +00:00
Chris Young
5a307b5fa5
remove alloc.c
2013-02-21 23:51:40 +00:00
Chris Young
a89148332f
Remove this; it's worse in real-life situations than the buggy newlib version.
2013-02-21 23:49:39 +00:00
Chris Young
28ddfb27c4
Deactivate alloc replacement; it refuses to work when other libs are involved. Replacing the relevant malloc/realloc/free triplets in textarea.c does appear to work with the replacement, however.
2013-02-21 23:15:46 +00:00
Chris Young
70df2d197d
Attempt replacement of memory allocation functions with primitive working alternatives
2013-02-21 23:10:36 +00:00
Chris Young
486593df35
memory leak
2013-02-20 20:28:07 +00:00
Vincent Sanders
dcce2c57a1
correct reference counting for moved css calls
2013-02-20 18:15:31 +00:00
Vincent Sanders
066df9802a
deal with inline styles on updates instead of insert
2013-02-20 17:13:23 +00:00
Vincent Sanders
5be20a0d6e
change stylesheet fetching to be generated from the default dom events
2013-02-19 23:51:16 +00:00
Vincent Sanders
92f4dec245
refactor stylesheet fetching code to not have redundant sheet count
2013-02-19 18:29:31 +00:00
John-Mark Bell
2b0cc398bb
Fix handling of treeview launch actions.
2013-02-19 10:17:17 +00:00
Chris Young
5beca9d71f
Remove spurious error message after closing About
2013-02-18 18:39:31 +00:00
Chris Young
a86ff2ac2c
Add missing flag
2013-02-18 16:24:58 +00:00