7676 Commits

Author SHA1 Message Date
Michael Drake
eee26ed867 Squash set but unused variable warning. 2012-08-10 12:09:53 +01:00
Vincent Sanders
d3b4a286f9 check return from lwc operation 2012-08-09 18:00:55 +01:00
Vincent Sanders
411fdc6186 fix return check on lwc operation 2012-08-09 17:48:05 +01:00
Michael Drake
b0ca8175bb Dodge a clang warning. 2012-08-09 17:44:59 +01:00
Vincent Sanders
78620910e8 check all return values of string comparisons 2012-08-09 17:30:02 +01:00
Vincent Sanders
137bba2978 fix missing check of lwc_string_caseless_isequal() return value 2012-08-09 16:33:06 +01:00
Vincent Sanders
ad5db89b49 Fix include and structure definition to stop compiler redefinition errors 2012-08-09 16:28:07 +01:00
Michael Drake
2eef2a2264 Add missing #include. 2012-08-08 21:49:31 +01:00
Vincent Sanders
0ace9f5e0b extend javascript object hierarchy 2012-08-08 20:08:41 +01:00
Michael Drake
126141a52c Ensure text is at the right height for Freetype and Internal fonts. 2012-08-08 14:04:57 +01:00
Ole Loots
0b37b1a7e7 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2012-08-08 00:41:44 +02:00
Ole Loots
b8f437c6b6 Fix settings dialog positioning
On successive settings dialog calls, the automatic
positioning wasn't working correctly.
This can be prevented by duplicating the Form tree. However,
it requires to have the duplicated tree freed manually (Bug in windom?).
I should have an eye on it...
2012-08-08 00:34:59 +02:00
Michael Drake
fb853c9354 Fix attribute includes selector callback. 2012-08-07 15:16:50 +01:00
Michael Drake
6d585308f8 Fix handling of form elements without a <form>. 2012-08-07 10:53:40 +01:00
Vincent Sanders
6205c62ba3 add non rfc 4329 javascript mimetypes to content handler 2012-08-06 17:33:03 +01:00
Vincent Sanders
135aae3921 add element object 2012-08-05 23:42:45 +01:00
John-Mark Bell
e1b37918e8 Reflect change to hubbub parser binding API. 2012-08-05 22:44:28 +01:00
Chris Young
7716143240 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2012-08-05 14:28:10 +01:00
Chris Young
1e02eba193 Ask GID_ICON to redraw itself before we draw over the top of it. Unfortunately it redraws itself as a grey box, rather than the underlying window's backfill hook. 2012-08-05 14:26:41 +01:00
Chris Young
97aabaf49d Test for opaqueness where we create bitmaps in the platform code 2012-08-05 14:02:32 +01:00
Chris Young
28ddb10268 Fix opaqueness test: the alpha channel is the first byte, not the last. 2012-08-05 13:50:14 +01:00
Vincent Sanders
f5891097cc Inital work on supporting getelementbyid 2012-08-05 11:44:43 +01:00
Vincent Sanders
9a0f7028a3 Libdom now returns the document object at creation time 2012-08-05 11:44:43 +01:00
John-Mark Bell
3e2123d9ec Need libdom, libpbl when cross compiling. 2012-08-05 10:16:37 +01:00
Ole Loots
e454cf3f9c Fix provided by Michale Drake.
Fix freetype nsfont_position_in_string to return nearest, rather than
next.
2012-08-04 02:51:46 +02:00
Chris Young
2694a98f81 Remove any forcing of UTF-8 in the clipboard, as internally NetSurf will use the UTF8 chunks now. 2012-08-03 21:04:38 +01:00
Chris Young
3a00eca535 Clear the StopChunks before scanning for the UTF8 chunk, otherwise we risk thinking a CHRS chunk is a UTF8 chunk. 2012-08-03 21:02:29 +01:00
Chris Young
0b0c6a4f6a Support pasting the UTF8 chunk of clipboard IFF FTXT when present, instead of CHRS 2012-08-03 19:19:04 +01:00
Chris Young
c4a4126041 Also write a (duplicate) UTF8 chunk, irregardless of the "UTF-8 clipboard" option. We don't support pasting UTF8 chunks yet. 2012-08-03 18:33:49 +01:00
Chris Young
ca6be72dff Remove extraneous functionage 2012-08-03 18:28:07 +01:00
Chris Young
cc3b9435ea Use core clipboard copy function. ami_selection_to_text() will need fixing as it still needs selection_traverse() 2012-08-03 18:19:54 +01:00
Chris Young
18db6826f1 Move Push- and PopChunk out of the selection_traversal function 2012-08-03 18:15:16 +01:00
Michael Drake
36d3056526 Grab pointer during drag. 2012-08-02 16:29:37 +01:00
Michael Drake
de8af23956 Use selection_copy_to_clipboard instead of peering into core. 2012-08-02 15:20:59 +01:00
Michael Drake
42e176097c Use selection_copy_to_clipboard instead of peering into core. 2012-08-02 15:17:18 +01:00
Michael Drake
88055b5810 Update to use selection_copy_to_clipboard, although this code is all commented out anyway. 2012-08-02 15:09:31 +01:00
Michael Drake
c5bcf0b809 Remove remaining use of core internals. 2012-08-02 15:03:12 +01:00
Michael Drake
1cb5272c95 Use selection_copy_to_clipboard instead of peering into core innards. 2012-08-02 14:46:20 +01:00
Michael Drake
5747465437 Use selection_copy_to_clipboard instead of peering at core innards. 2012-08-02 14:38:47 +01:00
Michael Drake
408dd00ed4 Use selection_copy_to_clipboard instead of peering at core innards. 2012-08-02 14:25:19 +01:00
Michael Drake
efaca1c1fa Add core function for copy to clipboard, so we don't need to expose render/box.h internals to front ends. 2012-08-02 14:23:42 +01:00
Michael Drake
1d827d2cf3 Fix click travel tolerance calc. Has to travel more than 5px to become drag. 2012-08-02 12:06:47 +01:00
Michael Drake
c0bfe7dfdf Fix freetype nsfont_position_in_string to return nearest, rather than next. 2012-08-01 23:58:54 +01:00
Michael Drake
a92f2aa0a6 Simple clipboard support. Only used within browser window. 2012-08-01 23:45:09 +01:00
Michael Drake
75212235f8 Cleanup drag end. 2012-08-01 22:21:36 +01:00
Michael Drake
40a754a362 Convert move pointer during build and use it for page drag-scroll. 2012-08-01 21:48:16 +01:00
Michael Drake
ffa3e6bf35 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2012-08-01 21:32:01 +01:00
Michael Drake
30bc438ab0 Pass drags to core. Enables page drag-scrolling, text selection, frames scrollbars, etc. 2012-08-01 21:30:24 +01:00
Vincent Sanders
6bbae1f228 add document IDL and test for geteleemntbyid 2012-08-01 19:25:45 +01:00
Michael Drake
b238791002 Use enum instead of magic numbers for tracking key modifier states. Pass special keys to core (e.g. WORD_LEFT, SELECT_ALL, etc). 2012-08-01 14:47:20 +01:00