Commit Graph

8509 Commits

Author SHA1 Message Date
John-Mark Bell e30e6ec8e9 Require and bundle Iconv 0.12 2013-01-29 23:58:37 +00:00
Michael Drake 5eb417fff4 Create textarea_msg struct on stack, rather than using global. 2013-01-29 22:52:21 +00:00
Michael Drake af7a5d2d67 Don't redraw if selection is unchanged. 2013-01-29 20:28:10 +00:00
Michael Drake 385d9170d9 Replace textarea_drag_end call with textarea_mouse_action. s/redraw_request/request_redraw/ 2013-01-29 17:46:05 +00:00
Michael Drake 93cc123200 Update textarea to inform client what it's doing with drags.
Now single callback for both redraw requests and drag reports.
Update treeview to use new textarea API.
Update Atari URL bar to use new textarea API.  (Ignores drag reports, currently.)
Minor textarea fixes.
2013-01-29 17:34:08 +00:00
Michael Drake 75a24f7838 Add enum value for when no button is pressed (hover). 2013-01-29 14:07:24 +00:00
Chris Young 7710214ec2 Remove p96EncodeColour and ensure the alpha byte is set to 0xff. 2013-01-27 23:09:26 +00:00
Chris Young a30d51cb50 Ensure we free the same size raster that we allocated 2013-01-27 11:09:54 +00:00
John-Mark Bell 23e16e020e Initialise return values in error cases, too: core code is horrifically lax at checking errors from these APIs. 2013-01-26 22:05:16 +00:00
Chris Young 30dfa09008 Disable help for now, as it causes the popupmenu.class deadlock again 2013-01-24 20:16:35 +00:00
Chris Young 12890d3c60 Attempt fix screen close problem 2013-01-24 20:08:59 +00:00
Chris Young f058e98817 Added more pages to AmigaGuide doc 2013-01-24 20:01:27 +00:00
Chris Young 18091ec1a9 Add basic context-sensitive help. 2013-01-24 20:00:09 +00:00
Chris Young db71ffc8ea AmigaGuide class provided by Daniel Jedlicka 2013-01-24 19:22:01 +00:00
Vincent Sanders 67ffb8e6e9 implement Element::hasAttribute 2013-01-23 17:46:40 +00:00
Vincent Sanders 09dc0649df implement Element::removeAttribute 2013-01-23 17:12:57 +00:00
Vincent Sanders 7ab835df8f implement Element::className 2013-01-23 17:00:13 +00:00
Vincent Sanders 16d938dd63 implement Element::id 2013-01-23 16:28:35 +00:00
Vincent Sanders db7d3acdc3 add and use debug logging macro 2013-01-23 15:51:55 +00:00
Vincent Sanders 1d08350981 implement Element::tagName 2013-01-23 15:51:55 +00:00
Vincent Sanders fab7b04de6 implement Element::getElementsByTagName 2013-01-23 15:51:45 +00:00
Vincent Sanders 31f7af700f implement Element::setAttribute 2013-01-23 13:42:43 +00:00
Vincent Sanders faddd8b035 implement Element::getAttribute 2013-01-23 12:37:56 +00:00
Vincent Sanders 9b568abf96 add default property handler for array indexing 2013-01-22 22:54:34 +00:00
Vincent Sanders fc6f04161e simplify jsapi property compatability macros 2013-01-22 18:58:22 +00:00
John-Mark Bell 053976eb0f Merge commit 'origin/mmu_man/beos-fixes' 2013-01-22 09:12:17 +00:00
John-Mark Bell 64ae9e8693 Fix paste. Store clipboard as UTF-8 internally, to avoid unnecessary data loss when copying internally. 2013-01-22 08:51:58 +00:00
Chris Young def45f8e55 Ensure buff is NULL-initialised. 2013-01-21 20:03:03 +00:00
François Revol 87946c5de8 beos: Fix clipboard handling to use the new API 2013-01-20 18:00:36 +01:00
François Revol 2f94b0a949 textarea: C89 2013-01-20 17:59:55 +01:00
John-Mark Bell 088cbf5499 Require CryptRandom 0.13 or later 2013-01-20 12:32:44 +00:00
Chris Young e547026dfa Copy hotlist from the pre-3.0 to the 3.0 location during install, if it exists and there isn't one present in the new location already. 2013-01-20 11:38:26 +00:00
Michael Drake 9995ef583f Early scrollbar mouse handling. 2013-01-18 23:32:53 +00:00
Michael Drake bba7aeca14 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2013-01-18 22:05:35 +00:00
Michael Drake bf7b23506d Make nsfont_split implementation better for core textarea. 2013-01-18 22:04:57 +00:00
Michael Drake a6e56546c9 Check the right thing for NULL. 2013-01-18 21:58:37 +00:00
Chris Young f16229552a Entering the search string now find the first occurence immediately 2013-01-18 21:20:10 +00:00
Chris Young c4e8651b27 Activate the find window's string gadget on open 2013-01-18 21:16:47 +00:00
Vincent Sanders 5f66864c3a add macros for default proprty actions 2013-01-17 19:58:15 +00:00
Vincent Sanders 7b62bb5ff8 implement document.compatmode 2013-01-17 19:58:15 +00:00
Chris Young 3f1c2a8315 OS3 needs PBL too 2013-01-17 18:50:02 +00:00
Michael Drake 5bda4edb1a Don't search back for spaces if the whole string fits in available width. 2013-01-16 12:28:11 +00:00
Michael Drake d899ebb5fa Pass correct mouse button for button 2. 2013-01-16 11:54:30 +00:00
Michael Drake d252896953 Ensure we know for sure if scrollbar widget will want to scroll us. Avoid double xy to offset conversion. 2013-01-15 21:05:54 +00:00
Michael Drake 7a0b347563 Add parentheses. 2013-01-15 19:50:36 +00:00
Michael Drake 0f08d885a0 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2013-01-15 19:43:32 +00:00
Michael Drake 348e9789a4 Add scrollbars to textarea, and improve scrolling to try to keep caret in centre. Currently the scrollbars are mostly decoration, although they show accuratly where you are scrolled to in the area. TODO: Pass mouse input to scrollbars. 2013-01-15 19:40:32 +00:00
Chris Young 78e956607f Don't busy the pointer when removing the caret - it's pointless and flickery 2013-01-15 19:23:20 +00:00
Michael Drake 4e756f6088 Remove architecture from UA string. 2013-01-14 13:59:07 +00:00
Michael Drake 96264ca71e Use right padding. Thanks jmb. 2013-01-14 12:01:23 +00:00