Commit Graph

658 Commits

Author SHA1 Message Date
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
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 0c0e988ea5 Pass double and triple clicks to the browser window. 2013-02-12 13:20:36 +00:00
Michael Drake 7af0614202 Make delete line key enum value name less missleading. (Doesn't cut to clipboard.) 2013-02-11 10:34:06 +00:00
Michael Drake 4843658742 Don't need to break on space any more. This gives us unicode line breaking from pango. 2013-02-10 18:23:34 +00:00
Michael Drake d899ebb5fa Pass correct mouse button for button 2. 2013-01-16 11:54:30 +00:00
Michael Drake e2e7aa135c Update GTK front end to implement new clipboard API. 2013-01-08 17:02:27 +00:00
Michael Drake 8314101ada Pass various control keys to core for clipboard control, etc. 2013-01-08 12:07:56 +00:00
Vincent Sanders 33934e1271 implement the GTK preferances dialog with signals 2013-01-01 00:59:47 +00:00
Vincent Sanders f12be4ed85 restructure GTK frontend options dialog to be compiant with the gnome HIG and actually work 2012-12-28 01:08:23 +00:00
Vincent Sanders 0402b5ca91 fixup combo boxes to have content, missed in conversion from glade 2012-12-26 17:47:41 +00:00
Vincent Sanders 484fa8b110 move common include path setup to core Makefile 2012-12-20 15:27:07 +00:00
Vincent Sanders c87cbe5655 split target defaults out 2012-12-13 19:26:24 +00:00
Vincent Sanders 16d67095a6 add pkg-config macro for libraries which are not controled by configuration 2012-12-13 17:23:47 +00:00
Vincent Sanders 45906b9dc2 make macro name more correct 2012-12-13 16:31:05 +00:00
John-Mark Bell 617d655c7b Remove libxml 2012-11-10 00:11:57 +00:00
Anthony J. Bentley 4c82afa287 Fix GNUisms to make things more portable.
On OpenBSD, install does not take a -v flag, and tar does not default to
stdin/stdout.
2012-11-07 08:43:28 +00:00
Vincent Sanders f16d560f6f add math library to link 2012-11-05 17:20:33 +00:00
John-Mark Bell 07a53f4b44 Appease ancient "install" by removing -C 2012-11-05 09:08:52 +00:00
John-Mark Bell 925a830f9e Make step adjustment work on GTK 2.12 2012-11-05 08:59:29 +00:00
Rob Kendrick (fatigue) ba2a0fd723 Merge branch 'master' of git://git.netsurf-browser.org/netsurf 2012-11-04 11:20:31 +00:00
Rob Kendrick (fatigue) abb1251461 Try to rationalise the gtk install target somewhat 2012-11-04 11:17:41 +00:00
Daniel Silverstone 3675f38cc3 Force GtkAdjustments to have a step -- this is a bodge but makes scrollwheels work again 2012-11-04 11:06:08 +00:00
John-Mark Bell f824ab8af4 Port save complete to libdom. 2012-11-03 23:19:45 +00:00
Daniel Silverstone 180f7ff42c Merge Vincent's Javascript work onto master 2012-11-03 15:13:43 +00:00
Rob Kendrick (monotony) 118b03a786 Add a macro to split and install messages files, and have gtk front end use it. 2012-11-03 11:16:33 +00:00
Daniel Silverstone 5631943e40 Ensure that we turn on JS sources if either of USE_JS or USE_MOZJS is triggered 2012-11-02 23:03:20 +00:00
Rob Kendrick (monotony) de074a3ada Deference symlinks when installing. This should be rewritten to use the install tool 2012-11-02 19:13:09 +00: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 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
Daniel Silverstone fa660c24e8 Remove unnecessary libxml includes from GTK includes 2012-10-11 20:48:06 +01:00
Michael Drake d9e7d58106 Fix up ripples from urldb change. 2012-10-11 11:20:02 +01:00
Vincent Sanders 5800789df2 trivial docuemntation cleanups to address some of the huge number of docuemntation warnings 2012-10-08 14:52:24 +01:00
Rob Kendrick (humdrum) c2eff23c0d Make GTK install target work again, and make copy flags consistent 2012-10-02 13:07:32 +01:00
Vincent Sanders e237ebac8f Split install and package targets.
Install target is for installing on the local machine and package generates a package
2012-08-23 11:46:31 +01:00
Michael Drake bc8fee46f7 Fix scaled tiled image rendering. 2012-08-22 22:29:18 +01:00
Michael Drake 4357f5e9d7 Test for zero width/height at the start. 2012-08-22 22:26:00 +01:00
Michael Drake 153c444454 Move browser_window struct to private header. Places that shouldn't include it do, such as front end code.
Frontends that have been updated to build:
  framebuffer
  gtk
  monkey
  riscos

TODO:
  amiga
  atari
  beos
  cocoa
  windows
2012-08-22 12:22:58 +01:00
Michael Drake 1086fc5246 Change order of libs. 2012-08-21 14:17:11 +01:00
Michael Drake 634b8f642e Don't need to set everything to zero since it's static 2012-08-20 23:05:09 +01:00
Michael Drake b134279644 Allow the presence of form inputs to be obtained without knowledge of html content internals. 2012-08-20 22:02:37 +01:00
Michael Drake f478ee4db7 Remove a bunch of unused includes. 2012-08-20 18:54:57 +01:00
Michael Drake 9202c137b2 Remove unused includes. 2012-08-20 16:08:06 +01:00
Michael Drake 8fc0eab89b Use proper function for dumping box tree. 2012-08-20 16:06:51 +01:00
Michael Drake 971058cd67 Remove unused struct box. 2012-08-20 14:21:16 +01:00
Michael Drake b51816c222 Clean up search gui callbacks. 2012-08-14 13:41:30 +01:00
Michael Drake c8a83bf1b4 s/TRUE/true/ 2012-08-13 14:51:24 +01:00
Michael Drake d106091d6e Pass font plot style out to front end clipboard append function. 2012-08-13 14:43:04 +01:00