Commit Graph

1773 Commits

Author SHA1 Message Date
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
Rob Kendrick (humdrum)
953b937829 Squeeze harder 2012-10-08 09:52:17 +01:00
John-Mark Bell
b65ed25c32 Use squeeze 2012-10-07 22:17:18 +01:00
Michael Drake
639d2cb659 Use nsurl_parent. 2012-10-06 14:09:36 +01:00
Vincent Sanders
c1671f37b1 reduce talloc usage to box tree layout only 2012-10-03 19:26:17 +01:00
Vincent Sanders
def25fdc0c put RISC OS distribution files in teh generated netsurf zip 2012-10-02 14:51:26 +01:00
Michael Drake
e8312277a5 Import RISC OS distribution stuff. (3rd party modules, etc.) 2012-10-02 14:16:39 +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
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
f478ee4db7 Remove a bunch of unused includes. 2012-08-20 18:54:57 +01:00
Michael Drake
dd6d24e83d Remove unused includes. 2012-08-20 18:42:24 +01:00
Michael Drake
7a90270927 Remove unused header. 2012-08-20 16:51:43 +01:00
Michael Drake
4581375209 Use proper function for box tree dump. 2012-08-20 16:46:33 +01:00
Michael Drake
400ce41623 Remove unused includes. 2012-08-20 15:11:45 +01:00
Michael Drake
d2a1c85063 Avoid box_at_point. 2012-08-20 12:37:08 +01:00
Michael Drake
7d4af30468 Minor style change. 2012-08-19 16:50:38 +01:00
Vincent Sanders
a39082585a force removal of temporary directory 2012-08-19 15:04:24 +01:00
Vincent Sanders
ea2b556047 really fix riscos zip target
zip option with a comma in it confused make
2012-08-19 14:48:43 +01:00
Vincent Sanders
4985b56b68 fix riscos makefile tempfile creation 2012-08-19 13:06:34 +01:00
Vincent Sanders
908d5655d2 add riscos zip build target 2012-08-19 09:56:57 +01:00
Michael Drake
b51816c222 Clean up search gui callbacks. 2012-08-14 13:41:30 +01:00
Michael Drake
d106091d6e Pass font plot style out to front end clipboard append function. 2012-08-13 14:43:04 +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
b412b93701 Use online docs. 2012-07-21 14:55:51 +01:00
Michael Drake
5fc781d715 Update default homepage URL to about:welcome. Make RISC OS front end use NETSURF_HOMEPAGE too.
Currently only the English welcome page will be fetched.
Need to add language negotiation to choose best language option.
2012-07-21 13:13:57 +01:00
Michael Drake
ce20021df7 Fix colour string matching. Lose unneeded case insensitivity in matching.
svn path=/trunk/netsurf/; revision=13739
2012-03-27 11:02:35 +00:00
Michael Drake
eb189092c7 Constify param to gui_system_colour_char function.
svn path=/trunk/netsurf/; revision=13737
2012-03-27 10:47:29 +00:00
Michael Drake
cb715fe217 Squash implicit declaration of function 'html_get_box_tree' function by including render/html.h.
svn path=/trunk/netsurf/; revision=13721
2012-03-26 11:17:40 +00:00
Michael Drake
b213502c9e Include render/html.h to fix build.
svn path=/trunk/netsurf/; revision=13720
2012-03-26 11:02:12 +00:00
Michael Drake
9a6b4b1b07 Include render/box.h and render/html.h to fix build.
svn path=/trunk/netsurf/; revision=13719
2012-03-26 11:01:48 +00:00
John Mark Bell
0cea4b192d Add libdom to native RISC OS LDFLAGS
svn path=/trunk/netsurf/; revision=13683
2012-03-25 11:36:37 +00:00
John Mark Bell
a58de36468 Add libdom to cross-compilation LDFLAGS
svn path=/trunk/netsurf/; revision=13647
2012-03-25 07:58:30 +00:00
Vincent Sanders
1490b52a6b NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Michael Drake
cf86788d3e Set User CSS file in Choices.WWW.NetSurf.
svn path=/trunk/netsurf/; revision=13509
2012-03-06 18:34:02 +00:00
John Mark Bell
e2bb4aa4e0 Fix bug #3479239: scroll in correct direction for page left/page right
svn path=/trunk/netsurf/; revision=13435
2012-02-08 00:21:20 +00:00
Michael Drake
6794af012e Constify rect param to gui_window_drag_start.
svn path=/trunk/netsurf/; revision=13397
2012-01-11 16:45:17 +00:00
Michael Drake
04ece30fa9 Pass pointer constraints for drag out to front ends. Ensure content scrollbar drag termination always informs the browser window layer that the drag is over.
svn path=/trunk/netsurf/; revision=13395
2012-01-11 14:20:26 +00:00
Michael Drake
6c96264d43 Make RISC OS print background images option work.
svn path=/trunk/netsurf/; revision=13337
2011-12-23 22:52:40 +00:00
Michael Drake
67f2470d5a Pass whether background images are wanted in redraw_context.
svn path=/trunk/netsurf/; revision=13335
2011-12-23 22:39:25 +00:00
Michael Drake
905df166b0 Make the RISC OS front end foreground/background menu options work.
svn path=/trunk/netsurf/; revision=13333
2011-12-23 21:49:13 +00:00
Michael Drake
081217a321 Add core options to disable fetch of foreground & background images.
Remove broken background image option from RISC OS front end.

svn path=/trunk/netsurf/; revision=13332
2011-12-23 19:48:09 +00:00
Steve Fryatt
67501d5dfc Provide a generic fall-back scroll event handler for scroll wheels.
svn path=/trunk/netsurf/; revision=13300
2011-12-19 23:27:10 +00:00
Steve Fryatt
648fdafe82 Fix comments.
svn path=/trunk/netsurf/; revision=13298
2011-12-18 23:53:20 +00:00
Steve Fryatt
7fb38a3e79 Lose unnecessary intermediate variable assignments.
svn path=/trunk/netsurf/; revision=13297
2011-12-18 23:46:30 +00:00
Steve Fryatt
433e1fd796 Pass Page Up/Down info to the core for scrolling.
svn path=/trunk/netsurf/; revision=13296
2011-12-18 23:36:54 +00:00
Steve Fryatt
a40b9fbecd Implement Home and End scroll functionality.
svn path=/trunk/netsurf/; revision=13292
2011-12-18 11:18:52 +00:00
Steve Fryatt
1631f3a4cb Don't allow framesets to scroll out of view.
svn path=/trunk/netsurf/; revision=13291
2011-12-17 23:25:06 +00:00
Steve Fryatt
b61670510f Use correct RISC OS filetype for PNG when identifying native format.
svn path=/trunk/netsurf/; revision=13290
2011-12-17 22:36:50 +00:00
Steve Fryatt
35d62200ea Standardise code for mouse and keyboard scrolling of browser window.
Pass keyboard scroll details on to the core when applicable.

svn path=/trunk/netsurf/; revision=13289
2011-12-17 22:01:40 +00:00
Steve Fryatt
f2531d5083 Provisional core scroll-wheel support - supports scroll events only.
svn path=/trunk/netsurf/; revision=13288
2011-12-17 19:16:56 +00:00
Steve Fryatt
dc082c96cb Look toolbar handles up directly from event data.
svn path=/trunk/netsurf/; revision=13286
2011-12-17 17:57:16 +00:00
Steve Fryatt
80249f5f2a Make scroll event handling module specific.
svn path=/trunk/netsurf/; revision=13285
2011-12-17 17:31:35 +00:00
Michael Drake
c673ba6c23 Disable rendering of interactive features when exporting as Drawfile.
svn path=/trunk/netsurf/; revision=13249
2011-12-06 19:28:14 +00:00
John Mark Bell
f2993e6ed0 content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +00:00
Michael Drake
7bd9158f18 Remove render/box.h include.
svn path=/trunk/netsurf/; revision=13224
2011-12-03 19:51:55 +00:00
Michael Drake
54408f6360 Fix select menu item selection in frames. Note: the API for front end select menus is a mess ATM.
svn path=/trunk/netsurf/; revision=13223
2011-12-03 19:39:36 +00:00
Michael Drake
ae222acbca Use core handling of file drop over browser window.
svn path=/trunk/netsurf/; revision=13216
2011-12-01 23:51:37 +00:00
Chris Young
24486e342a Update frontends for r13185. Enabled new functionality, where it is not logical it
can be switched off.

svn path=/trunk/netsurf/; revision=13186
2011-11-27 20:09:10 +00:00
Steve Fryatt
747c66c982 Don't pass already handled keys to the URL Complete code.
Don't scroll browser windows when the toolbar has focus.

svn path=/trunk/netsurf/; revision=13157
2011-11-20 18:38:33 +00:00
Steve Fryatt
98378081a7 Revert r13155 and re-implement fix properly.
svn path=/trunk/netsurf/; revision=13156
2011-11-20 18:18:30 +00:00
Steve Fryatt
49f583ba6e Remember page content handle when refreshing browser menu (bug #3420985).
svn path=/trunk/netsurf/; revision=13155
2011-11-20 14:39:49 +00:00