Commit Graph

1734 Commits

Author SHA1 Message Date
Michael Drake 037beb44fb Pass caret clip rect out to front ends. (Nothing actually using them yet.) 2013-03-05 22:54:51 +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
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
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
Michael Drake 0e8861d26e Fix build. 2013-02-18 13:00:56 +00:00
Michael Drake 1cba455811 More fixup. 2013-02-18 12:58:04 +00:00
Michael Drake ccb34e648f Make it build again. 2013-02-18 12:50:53 +00:00
Vincent Sanders 0eb0798873 fix errors introduced in refactor 2013-02-18 12:24:49 +00:00
Vincent Sanders 529ca251fc rename flags for browser_window routines to be shorter 2013-02-18 11:51:42 +00:00
Vincent Sanders b112dec78d change browser_window_create and refactor all callsites 2013-02-18 11:23:48 +00:00
Vincent Sanders 3bfb5b96a7 browser_window_navigate refactor 2013-02-18 11:23:27 +00:00
Michael Drake e73aac1118 Add JS filetype to mimetype mapping. 2013-02-15 14:57:27 +00:00
Michael Drake 058acae43f Fix potential double free when we've had something in our clipboard, another app has claimed the clipboard, and the clipboard is now empty/disowned by all apps, and we try to paste the empty clipboard twice in NetSurf. 2013-02-13 23:46:06 +00:00
Michael Drake f72d4319bb Changing browser window to get wimp double clicks meant enum value for single clicks was different. This broke the window taking focus on a single click. Fixed. 2013-02-13 22:41:24 +00:00
Michael Drake a846e9811e Pass triple clicks to core. 2013-02-12 15:26:55 +00:00
Michael Drake 0c88c3a89a Pass double clicks to browser windows. 2013-02-12 12:18:26 +00:00
Michael Drake db8ec60fc0 Update nsfont_split documentation. Implementation was already compatible. Can only split on spaces. 2013-02-10 18:25:09 +00:00
John-Mark Bell e30e6ec8e9 Require and bundle Iconv 0.12 2013-01-29 23:58:37 +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
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
John-Mark Bell 088cbf5499 Require CryptRandom 0.13 or later 2013-01-20 12:32:44 +00:00
Michael Drake bf7b23506d Make nsfont_split implementation better for core textarea. 2013-01-18 22:04:57 +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
John-Mark Bell a2e67922d5 Fix 2576557: prepend '!' to target leafname if preparing a full save. 2013-01-13 18:45:05 +00:00
John-Mark Bell 4e7edf00e2 Fix 1912552: move FontRemove into ro_gui_cleanup() 2013-01-13 18:18:49 +00:00
John-Mark Bell 6e09ff691b Consult internal mimemap before consulting MimeMap module. 2013-01-13 17:54:11 +00:00
Michael Drake 00a08e7b94 Update RISC OS front end to implement new clipboard API. TODO: Handle paste when NetSurf doesn't own clipboard. Might be able to do some setup before KEY_PASTE is passed to the core. 2013-01-08 17:03:50 +00:00
John-Mark Bell 0c56340897 Fix typo. 2013-01-03 00:41:11 +00:00
Vincent Sanders 484fa8b110 move common include path setup to core Makefile 2012-12-20 15:27:07 +00:00
Steve Fryatt b9d6eccf24 Properly capitalise JavaScript 2012-12-16 14:45:51 +00:00
Steve Fryatt f185ffa257 Add Enable Javascript configuration to RO GUI. 2012-12-15 16:59:00 +00:00
Vincent Sanders c87cbe5655 split target defaults out 2012-12-13 19:26:24 +00:00
Vincent Sanders 45906b9dc2 make macro name more correct 2012-12-13 16:31:05 +00:00
Vincent Sanders a1876073ad add spidermonkey to riscos makefiles 2012-12-10 08:49:54 +00:00
John-Mark Bell 617d655c7b Remove libxml 2012-11-10 00:11:57 +00:00
Michael Drake 5638887a4b Use true/false for verbose_log. 2012-11-05 17:06:49 +00:00
Michael Drake 621721417d Allow setup of verbose logging from environment variable. 2012-11-05 17:01:41 +00:00
Rob Kendrick (fatigue) 8e2d99ef5a Include CryptRand module, and RMEnsure it in the Run file 2012-11-04 15:02:02 +00:00
John-Mark Bell f824ab8af4 Port save complete to libdom. 2012-11-03 23:19:45 +00:00
Rob Kendrick (monotony) a0e333d669 Try to have RISC OS front end use FatMessages. This is an ugly hack. 2012-11-03 11:47:43 +00:00
Michael Drake 33d40a08af Unstackify RISC OS content handler's title setting. 2012-10-25 12:05:12 +01:00
Michael Drake a526209e74 More useful title info for images. 2012-10-24 18:22:45 +01:00
Michael Drake 35eb251244 Fix "error setting certificate verify locations" problem when the Choices file doesn't exist. Now there's a single place for front ends to set options overrides. Fix nsoption_setnull_charp leak. 2012-10-17 14:20:18 +01:00
Michael Drake 0c0b263b29 Add some startup logging. 2012-10-17 11:41:25 +01:00
Michael Drake e3261a38e2 Document messages_load behaviour. 2012-10-16 22:01:55 +01:00
Michael Drake 4938723896 Remove last notion of bitmap suspension. 2012-10-14 20:17:17 +01:00
Michael Drake d88a839937 Remove suspension of bmp/gif images. It's completely redundant with the convert on demand core image cache. 2012-10-14 20:03:18 +01:00
Michael Drake d9e7d58106 Fix up ripples from urldb change. 2012-10-11 11:20:02 +01:00