Michael Drake
6ee760dea3
Start URL bar hotlist indicator button implementation.
...
- Clicking to hotlist add/remove doesn't work.
- Doesn't update while typing in URL bar.
2013-11-22 11:21:52 +00:00
Michael Drake
1c85232a63
Improve responsiveness of drags.
2013-10-27 18:48:58 +00:00
Vincent Sanders
f29306cc9a
improve gtk source save to use gtk overwrite protection feature coverity 1109873
2013-10-25 21:25:56 +01:00
Michael Drake
f5bdd4b109
Move BITMAP_SAVE_FULL_ALPHA out of core to RISC OS front end, where it belongs.
2013-10-03 21:11:54 +01:00
Michael Drake
ff480312fe
Remove BITMAP_READY flag.
2013-10-03 21:07:29 +01:00
Michael Drake
138d8c4677
Remove unused structure member.
2013-10-03 20:53:50 +01:00
Michael Drake
c720ecf449
Remove old debug window template.
2013-10-03 20:04:29 +01:00
Michael Drake
92ea400bd3
Optimise treeview redraw. It draws its own background, so don't need white background in the template.
2013-10-03 19:45:02 +01:00
Michael Drake
8850d40cec
Remove unused image cache config window template.
2013-10-03 19:34:01 +01:00
Michael Drake
43e4cb2ad7
Remove image memory options.
2013-10-03 19:28:15 +01:00
Michael Drake
143e553593
Remove redundant bitmap compression/decompression/dropping-to-disc. The core now has a converted bitmap cache that is pruned more agressively.
2013-10-03 19:25:01 +01:00
Michael Drake
d041594fd9
Lose forward declaration.
2013-10-03 17:04:19 +01:00
Michael Drake
dba846b5b8
Remove unused function.
2013-10-03 16:56:05 +01:00
Michael Drake
b22adee6fc
Add undo (F8) and redo (F9) keys. If caret is not in textarea, F8 is still view source.
2013-10-01 13:40:38 +01:00
Michael Drake
65a658769e
Set treeview text size to 12pt.
2013-09-09 22:19:18 +01:00
Michael Drake
f13a11e31f
Destroy treeviews.
2013-09-08 19:04:45 +01:00
Steve Fryatt
683ff4d1b5
Remove dotted box from treeview move drags, as core draws location arrow for us.
2013-09-08 16:26:18 +01:00
Steve Fryatt
bf3bea5874
Correct constraining rectangle for treeview drags so that pointer can't leave window.
2013-09-08 16:24:21 +01:00
Steve Fryatt
f3f2c5b481
gui_current_drag_type now only used for data transfer protocol routing; fix button bar drag handler.
...
Remove all references to gui_current_drag_type outside of gui.c which are not related to routing DataSaveAck messages.
Update button bar drag code so that it uses ro_mouse.
2013-09-08 15:51:29 +01:00
Steve Fryatt
ee8fb6f39f
Allow ro_mouse to enable null polls; remove unused global variables.
...
Implement ro_mouse_poll_interval() to allow ro_mouse to influence null polling.
Remove unused calls to drag type globals.
2013-09-08 13:27:11 +01:00
Steve Fryatt
a00e0f91c7
Move all mouse tracking into ro_mouse module.
...
Add Pointer Entering Window events to wimp_event module and add handlers to all modules requiring mouse tracking.
Updated: Treeview, URL Complete, History and GUI Window.
Delete all handling for Pointer Entering/Leaving from ro_gui.
2013-09-08 11:55:21 +01:00
Steve Fryatt
e87596ad1f
Restructure handling of DragEnd events.
...
Add ro_mouse module to process mouse events during drags and on null polls.
Implement support in ro_mouse for tracking the mouse during drags and passing on DragEnd events.
Remove ro_gui_drag_end() and update all of its clients so that they use ro_mouse.
Remove the unused ro_gui_window_frame_resize_end().
Termination of save drags with Escape is unimplemented, but appears broken anyway.
The use of gui_drag_type is still required to handle Message_DatasaveAck processing.
Mouse tracking is still handled via gui.c.
2013-09-08 00:47:55 +01:00
Michael Drake
1658554437
Don't allow what treeview initialisation sets as the dimensions to be overwritten with defaults of 0.
2013-09-03 17:12:08 +01:00
Michael Drake
f2b4a7a997
Port to new recursive expand/contract functions.
2013-09-03 12:36:55 +01:00
Michael Drake
cf8ffa412a
Remove old hotlist, cookies, and history_global_core modules.
...
New versions of expand/collapse node functions for these modules aren't yet implemented.
2013-09-02 22:41:04 +01:00
Michael Drake
e9f65ff9cb
Remove cookies, history_global, and hotlist_old _initialise and _cleanup functions.
2013-09-02 18:57:43 +01:00
Michael Drake
4473f4b8a8
Remove tree icon_name globals from all the front ends.
2013-09-02 16:39:46 +01:00
Michael Drake
49c7994d05
Remove bulk of old treeview implementation.
2013-09-02 16:19:16 +01:00
Michael Drake
46e569c481
Use TREE_HOTLIST directly.
2013-09-02 14:42:53 +01:00
Michael Drake
9f35fd3fee
Use TREE_HISTORY directly.
2013-09-02 14:39:04 +01:00
Michael Drake
128fdbec43
Select TREE_COOKIES directly.
2013-09-02 14:33:53 +01:00
Michael Drake
5c7ca39ada
Remove tree_url_node module. Had to disable treeview scanning in amiga and cocoa front ends. Amiga front end very likely broken.
2013-09-02 14:17:09 +01:00
Michael Drake
c3ca5ab979
Fix treeview code's inconsistant application of the plot origin. (Fixes various redraw glitches.)
2013-08-16 10:05:21 +01:00
Michael Drake
8a87058dc2
Remove pointless clipping. Move some calculations out of function call params to make them more readable.
2013-08-16 09:49:59 +01:00
Michael Drake
c716a53bed
Make the no_font_blending toggle.
2013-08-16 09:28:56 +01:00
Michael Drake
2b0a98bd47
Avoid background blending overhead for treeview text.
2013-08-16 09:15:50 +01:00
Michael Drake
46c74777a2
Pass mouse coords to treeview during drag. Note, we now get a warning when mouse leaves window during drag.
2013-08-16 08:25:26 +01:00
Michael Drake
2dc99f9ae7
Allow the other front ends to use the hotlist test too.
2013-08-16 08:25:25 +01:00
Michael Drake
4a01ef9e7a
Avoid sslcert_get_tree_flags.
2013-08-13 13:48:53 +01:00
Michael Drake
eaae716989
Move old hotlist out of the way.
2013-08-13 12:41:04 +01:00
Michael Drake
7b8a2a0db7
Use new SSL certificate viewer.
2013-08-12 11:44:13 +01:00
Michael Drake
68078d7ea7
Fix up for cookies_old rename.
2013-07-22 10:21:37 +01:00
Michael Drake
3f45e53539
s/history_core/local_history/
2013-07-10 11:55:42 +01:00
Michael Drake
42bbc16fa8
Remove unused options and default to not stripping file extenstions.
2013-05-28 21:39:36 +01:00
Vincent Sanders
9d00f63ff4
actually set the option we compute
2013-05-28 19:09:47 +01:00
Michael Drake
cbe8d1c125
Try the variant that passes "TRUE" in R2.
2013-05-28 18:34:55 +01:00
Vincent Sanders
a92e5930ff
fixup issues with new options API merge
2013-05-28 16:44:46 +01:00
Vincent Sanders
15598b5790
move riscos to new option API
2013-05-28 15:01:15 +01:00
Vincent Sanders
63d7247a9c
fix mismatched option name and variable names
...
block_ads should be block_advertisments to match option name
toolbar_status_width should be toolbar_status_size to match option name
2013-05-28 14:16:11 +01:00
Vincent Sanders
ee6e6eec05
move options include
2013-05-28 14:16:10 +01:00
Vincent Sanders
a5355ec557
change all core and frontend options headers to new format
2013-05-28 14:16:10 +01:00
Vincent Sanders
35dacc3671
move the logging initialisation out to be call by frontends
...
This allows each frontend to pass a distinct callback to configure the
output file stream appropriately for their use.
2013-05-23 11:50:57 +01:00
Michael Drake
631265ef6b
Front ends have no reason to include desktop/selection.h now.
2013-05-10 12:16:05 +01:00
Michael Drake
9644d0594c
Remove struct selection from gui_drag_save_selection, so gui.h doesn't need it now.
2013-05-10 11:54:26 +01:00
Michael Drake
3afd9c9731
Remove search context from browser window, simplify search interface for front ends.
...
Added content interface for search.
Removed bw->cur_search search context. Desktop layer now does nothing
except pass search requests from front end onto the bw's current_content
via the content interface.
Search API reduced to a pair of functions at each level:
{desktop|content|html|textplain}_search
and
{desktop|content|html|textplain}_search_clear
Updated front ends to use simplified search API. Only tested GTK and RO builds.
These confine the search stuff to render/. However search still uses struct
selection. The handling for which is still spread over desktop/ and render/.
Also the render/search code itself still fiddles inside html and textplain
privates.
2013-05-07 14:41:40 +01:00
Michael Drake
74a82e2ab0
Fix menu shading of copy/cut/paste options when more than one of them should be made available.
2013-03-18 22:48:15 +00:00
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
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
Steve Fryatt
527330eb4a
Remove unused variable declaration.
...
svn path=/trunk/netsurf/; revision=13154
2011-11-20 14:01:08 +00:00
Steve Fryatt
81e596a070
Remove unnecessary duplicate call to Wimp_OpenMenu.
...
svn path=/trunk/netsurf/; revision=13153
2011-11-20 13:26:21 +00:00
Steve Fryatt
bb4a0946ba
Implement user interface for external hotlist app details.
...
svn path=/trunk/netsurf/; revision=13151
2011-11-19 23:33:37 +00:00
Steve Fryatt
78181f7d4e
Config to enable external hotlist app to be launched via toolbar and menus.
...
svn path=/trunk/netsurf/; revision=13150
2011-11-19 21:59:46 +00:00
Steve Fryatt
67c9262403
Ensure file content is terminated (bug #1866212 ).
...
svn path=/trunk/netsurf/; revision=13070
2011-10-18 21:41:45 +00:00
Steve Fryatt
0ed0dfdc3b
Add GUI option for external hotlist support.
...
Reinstate list #ifdef from en template source.
svn path=/trunk/netsurf/; revision=13043
2011-10-13 22:06:07 +00:00
Steve Fryatt
797838270e
Bring external hotlist support in line with Bookmaker's interpretation.
...
svn path=/trunk/netsurf/; revision=13042
2011-10-13 20:40:52 +00:00
John Mark Bell
1badc58b83
Clean up signal handling -- all the signals we handle are fatal, so exit immediately.
...
Stop assertion failures generating duplicate error dialogues.
svn path=/trunk/netsurf/; revision=13038
2011-10-12 00:50:21 +00:00
Steve Fryatt
2a58f4c752
Properly bounds check buffers during save dialogue initialisation.
...
svn path=/trunk/netsurf/; revision=13037
2011-10-11 21:15:44 +00:00
Steve Fryatt
08969b4786
Make external hotlist support default to off.
...
svn path=/trunk/netsurf/; revision=13033
2011-10-11 08:51:39 +00:00
Michael Drake
9a3c573b9b
Remove dead debugwin code.
...
svn path=/trunk/netsurf/; revision=13028
2011-10-10 12:23:53 +00:00
Steve Fryatt
17cf5fab71
Add support for external hotlist utilities.
...
svn path=/trunk/netsurf/; revision=13022
2011-10-09 13:32:43 +00:00
Steve Fryatt
d21bdf16fc
Adjust icon sizes to recommended widths for non-standard fonts.
...
svn path=/trunk/netsurf/; revision=13021
2011-10-09 13:08:55 +00:00
Michael Drake
426df17ff4
Set fallback favicon.
...
svn path=/trunk/netsurf/; revision=13016
2011-10-09 10:41:20 +00:00
Michael Drake
65943b7a67
Remove plugin.h too.
...
svn path=/trunk/netsurf/; revision=12968
2011-10-06 11:38:32 +00:00
Michael Drake
149ac31cac
Remove old plugin.c.
...
svn path=/trunk/netsurf/; revision=12967
2011-10-06 10:21:50 +00:00
Michael Drake
22f2ffeeea
Don't need to url_normalise, since the core is nsurl based.
...
svn path=/trunk/netsurf/; revision=12966
2011-10-06 10:16:11 +00:00
Michael Drake
22a34841f7
Don't need to url_normalise, since the core is nsurl based.
...
svn path=/trunk/netsurf/; revision=12965
2011-10-06 10:07:33 +00:00
Michael Drake
291307d64e
Terminate raw resource URL string.
...
svn path=/trunk/netsurf/; revision=12954
2011-10-05 11:54:15 +00:00
John Mark Bell
d5bb9d98e7
Build resource: map at start time
...
Remove stylesheet url globals -- the core will always use resource:{default,quirks,adblock}.css as appropriate
svn path=/trunk/netsurf/; revision=12949
2011-10-05 08:32:52 +00:00
Michael Drake
bba4c426f3
Update for content_get_url returning a nsurl.
...
svn path=/trunk/netsurf/; revision=12927
2011-10-03 16:30:08 +00:00
Michael Drake
58225862c2
fetch_can_fetch takes a nsurl now.
...
svn path=/trunk/netsurf/; revision=12900
2011-09-27 12:02:15 +00:00
John Mark Bell
e7c67e8bb8
Fix fallout from r12733
...
svn path=/trunk/netsurf/; revision=12864
2011-09-23 00:02:14 +00:00
John Mark Bell
f27d5a3e15
Remove gui_multitask
...
svn path=/trunk/netsurf/; revision=12828
2011-09-21 00:25:09 +00:00
Michael Drake
60f641bc44
Call sslcert_cleanup module on quit.
...
svn path=/trunk/netsurf/; revision=12805
2011-09-18 11:50:34 +00:00
John Mark Bell
339bed7272
Virtualise content handler finalisation calls. Remove pointless implementations.
...
svn path=/trunk/netsurf/; revision=12797
2011-09-15 22:47:50 +00:00
John Mark Bell
3d71da088b
Clean up content_factory_register_handler API -- content handlers no longer use the mime type, so don't require it to be interned up front
...
svn path=/trunk/netsurf/; revision=12796
2011-09-15 22:31:16 +00:00
Michael Drake
5af1284c73
Port RISC OS front end to browser_window_get_contextual_content. Adds support for saving link pointed to from imagemap. Fixes behaviour with frames.
...
svn path=/trunk/netsurf/; revision=12758
2011-09-06 19:06:04 +00:00
Michael Drake
0401d52f51
Remove gui_window_frame_resize_start() functions.
...
svn path=/trunk/netsurf/; revision=12738
2011-09-05 15:35:34 +00:00
Michael Drake
1bb727a68b
Remove various bits of dead frames handling.
...
svn path=/trunk/netsurf/; revision=12733
2011-09-05 11:44:11 +00:00
Michael Drake
01b2101e93
Remove frames handling from ro_msg_dataload function.
...
svn path=/trunk/netsurf/; revision=12732
2011-09-05 11:10:21 +00:00
Michael Drake
8edf1fe86f
Dig out more dead frames stuff.
...
svn path=/trunk/netsurf/; revision=12722
2011-09-05 09:47:52 +00:00
Michael Drake
9856bc0923
Delete redundant browser_window_type test.
...
svn path=/trunk/netsurf/; revision=12716
2011-09-04 19:18:01 +00:00
Michael Drake
5be6bd452d
Remove gui_window_position_frame() definition from core and remove all implementations from front ends.
...
svn path=/trunk/netsurf/; revision=12711
2011-09-04 18:20:24 +00:00
Michael Drake
bd94e21aed
Purge dead code out of gui_create_browser_window().
...
svn path=/trunk/netsurf/; revision=12710
2011-09-04 18:05:54 +00:00
John Mark Bell
9ee4f6146e
Remove mime_type parameter from content handler content_type callback API
...
svn path=/trunk/netsurf/; revision=12704
2011-09-03 09:27:42 +00:00
Michael Drake
a7d4f08b77
Remove redundant bw->current_content check.
...
svn path=/trunk/netsurf/; revision=12696
2011-09-01 12:37:46 +00:00
Vincent Sanders
cd554e6f1e
make image content handlers build conditional from teh makefile
...
svn path=/trunk/netsurf/; revision=12673
2011-08-28 14:29:15 +00:00
Michael Drake
6291e4e398
Don't need to set current_redraw_browser any more.
...
svn path=/trunk/netsurf/; revision=12656
2011-08-24 13:38:09 +00:00
Michael Drake
c25692c8ae
RISC OS changes for core search update (r12646).
...
svn path=/trunk/netsurf/; revision=12651
2011-08-24 13:14:16 +00:00
Michael Drake
9c91893028
Fix selection for non-gui browser windows (iframes).
...
Selection no longer uses current_redraw_browser.
Fix long-standing selection bugs on platforms that use action on release behaviour.
svn path=/trunk/netsurf/; revision=12598
2011-07-13 13:20:26 +00:00
Michael Drake
1832155b7c
Caret position is already scaled in core.
...
svn path=/trunk/netsurf/; revision=12597
2011-07-11 10:34:30 +00:00
Michael Drake
e9b0a3ffb4
Fix build.
...
svn path=/trunk/netsurf/; revision=12588
2011-07-07 18:35:03 +00:00
Michael Drake
b9ff7f39ae
Remove pointless content_msg_data.
...
svn path=/trunk/netsurf/; revision=12585
2011-07-06 16:01:53 +00:00
Michael Drake
b9544e7e5d
Fix up RISC OS for r12574 API change.
...
svn path=/trunk/netsurf/; revision=12582
2011-07-06 12:59:26 +00:00
Michael Drake
a7d41d3ac2
Pass correct plotter table for Drawfile export.
...
svn path=/trunk/netsurf/; revision=12567
2011-07-03 15:03:13 +00:00
Michael Drake
a6d4f9cb30
Function to find out if browser window has a selection. Front ends should use this API. RISC OS front end updated.
...
svn path=/trunk/netsurf/; revision=12556
2011-07-02 16:43:20 +00:00
Chris Young
4147c185c8
When launching multiple URLs from a treeview, allow to open one window with multiple
...
tabs instead of one window per URL. Make compatible frontends do this by default.
svn path=/trunk/netsurf/; revision=12552
2011-07-02 11:41:06 +00:00
Michael Drake
9c4b9f5c94
Fix up RISC OS front end.
...
svn path=/trunk/netsurf/; revision=12545
2011-06-30 17:51:58 +00:00
Michael Drake
eddae6af06
Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
...
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
50bd90c84a
Fix up Artworks content handler.
...
svn path=/trunk/netsurf/; revision=12536
2011-06-28 21:49:46 +00:00
Michael Drake
3128ecf2a5
Unify content_redraw params in content_redraw_data struct. Core and RISC OS content handlers updated.
...
svn path=/trunk/netsurf/; revision=12529
2011-06-28 20:17:39 +00:00
Michael Drake
b57c2e0bee
Move rectangle type to utils/types.h
...
svn path=/trunk/netsurf/; revision=12525
2011-06-28 15:18:48 +00:00
Michael Drake
2bedf4d88f
Frond ends signal end of drag with call to browser_window_mouse_track.
...
svn path=/trunk/netsurf/; revision=12515
2011-06-27 17:45:17 +00:00
Michael Drake
311080ff54
Simplify browser_window_mouse_drag_end calls.
...
svn path=/trunk/netsurf/; revision=12513
2011-06-27 16:16:21 +00:00
Michael Drake
5fb349e4de
Fix crash when scaling pages with iframes on RISC OS.
...
svn path=/trunk/netsurf/; revision=12501
2011-06-24 11:50:06 +00:00
Michael Drake
0bc058df5c
Delete commented out code.
...
svn path=/trunk/netsurf/; revision=12500
2011-06-24 10:50:43 +00:00
Michael Drake
12be95517e
Replace iframe stuff with asserts for now.
...
svn path=/trunk/netsurf/; revision=12499
2011-06-24 10:48:29 +00:00
Michael Drake
5a4c8916ef
If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust.
...
svn path=/trunk/netsurf/; revision=12497
2011-06-24 09:30:33 +00:00
Vincent Sanders
83f9e707eb
refactor content handler initilisation to use named initialisors
...
svn path=/trunk/netsurf/; revision=12341
2011-05-09 15:32:34 +00:00
Michael Drake
2ec96e508c
Put RISC OS filetype content handlers in their own directory.
...
svn path=/trunk/netsurf/; revision=12336
2011-05-09 09:57:40 +00:00
Michael Drake
044018739b
Fix Drawfile content handler build.
...
svn path=/trunk/netsurf/; revision=12335
2011-05-09 08:48:49 +00:00
Michael Drake
05945ebf1d
Fix Artworks content handler build.
...
svn path=/trunk/netsurf/; revision=12334
2011-05-09 08:46:12 +00:00
Michael Drake
37b389e699
Untested fix and tile implementation for Sprite.
...
svn path=/trunk/netsurf/; revision=12333
2011-05-09 08:42:49 +00:00
Michael Drake
2d6c0e99ec
Fix for new content_redraw API.
...
svn path=/trunk/netsurf/; revision=12332
2011-05-09 08:38:56 +00:00
Michael Drake
e24fa186bb
Fix for new content redraw API.
...
svn path=/trunk/netsurf/; revision=12331
2011-05-09 08:31:45 +00:00
Michael Drake
962fe1849c
Fix for new content redraw API.
...
svn path=/trunk/netsurf/; revision=12330
2011-05-09 08:28:56 +00:00
John Mark Bell
e71691bae8
Merge branches/jmb/content-factory to trunk
...
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Steve Fryatt
2249dbaf9a
Restore some Adjust-double-click functionality to RO treeviews.
...
svn path=/trunk/netsurf/; revision=12201
2011-04-18 23:03:45 +00:00
Steve Fryatt
229f70fa76
Fix bug #3156695 : apply scrollbar from r12128 to all treeview windows.
...
svn path=/trunk/netsurf/; revision=12142
2011-03-28 21:49:24 +00:00
Steve Fryatt
1c91a23c77
Force SSLCert pane to have a horizontal scroll bar and ensure initial extent calculation.
...
svn path=/trunk/netsurf/; revision=12128
2011-03-24 00:09:49 +00:00
John Mark Bell
8ea109784c
Fix bug #3238151 : reinstate filename sanitisation and extension stripping
...
svn path=/trunk/netsurf/; revision=12127
2011-03-23 20:59:43 +00:00
Michael Drake
a70c32422a
gui_find_resource --> gui_get_resource_url.
...
svn path=/trunk/netsurf/; revision=12089
2011-03-17 11:57:09 +00:00
Michael Drake
e2155ca50b
Help menu options for about:credits and about:licence to replace old about NetSurf entry.
...
svn path=/trunk/netsurf/; revision=12071
2011-03-16 12:24:01 +00:00
Michael Drake
74cd7a9b60
Pedantic wrap.
...
svn path=/trunk/netsurf/; revision=12070
2011-03-16 12:22:02 +00:00
Michael Drake
ffc8d17a0f
Simple language directory handling.
...
svn path=/trunk/netsurf/; revision=12069
2011-03-15 23:23:27 +00:00
Michael Drake
b69816ff79
Fix in case of malloc failure.
...
svn path=/trunk/netsurf/; revision=12067
2011-03-15 21:31:44 +00:00
Michael Drake
89ee13de70
Add simple resource: path handler. Lacks language support for now.
...
svn path=/trunk/netsurf/; revision=12066
2011-03-15 21:26:33 +00:00
John Mark Bell
408f78b737
Move schedule.h to utils/
...
svn path=/trunk/netsurf/; revision=12039
2011-03-13 22:50:54 +00:00
Daniel Silverstone
93e9bfe323
Shunt the schedule function definitions to desktop/schedule.h. Shunt the hlcache/llcache to using schedule to get their cleanups run.
...
svn path=/trunk/netsurf/; revision=12029
2011-03-13 18:26:46 +00:00
John Mark Bell
1edcef6141
Remove redundant parameter from content_open API
...
svn path=/trunk/netsurf/; revision=11964
2011-03-10 23:13:03 +00:00
Michael Drake
55fd1d0133
Front ends don't need to call thumbnail_get_redraw_scale() now.
...
svn path=/trunk/netsurf/; revision=11946
2011-03-09 21:04:15 +00:00
Michael Drake
b46e69fe22
Purge ro_plot_set_scale() and ro_plot_scale global, as front ends nolonger need to maintain scale for plotting.
...
svn path=/trunk/netsurf/; revision=11942
2011-03-09 16:20:55 +00:00
Michael Drake
95916ab99d
nsfont_paint doesn't take scale.
...
svn path=/trunk/netsurf/; revision=11940
2011-03-08 19:02:19 +00:00
Michael Drake
5412d7c1b0
Don't scale text plots in front end (RISC OS).
...
svn path=/trunk/netsurf/; revision=11937
2011-03-08 18:48:23 +00:00
John Mark Bell
de688b59e1
Fix text selection
...
svn path=/trunk/netsurf/; revision=11927
2011-03-06 18:04:13 +00:00
Steve Fryatt
47d67cdbcb
Fix bug #3200899 : Don't claim keypresses we don't handle.
...
svn path=/trunk/netsurf/; revision=11925
2011-03-06 14:09:42 +00:00
Chris Young
5ac45472c7
Fix broken CONTENT_PLUGIN API.
...
Add a default content handler for Amiga using the plugin interface, which passes
unknown files (currently images only) through DataTypes.
svn path=/trunk/netsurf/; revision=11924
2011-03-06 13:58:02 +00:00
Steve Fryatt
bfadf01482
Test correct items before preparing selection save dialogue.
...
svn path=/trunk/netsurf/; revision=11923
2011-03-06 12:42:11 +00:00
Vincent Sanders
9660442e92
remove obsolete, unused gui_window_redraw API
...
svn path=/trunk/netsurf/; revision=11870
2011-03-01 14:31:54 +00:00
John Mark Bell
86a2e0076d
Fix bug #3194007 : stop emitting duplicate READY/DONE events.
...
* Make content handlers responsible for setting READY/DONE state & emitting events.
* Stop content_convert doing this when there is a registered convert function for the content type.
svn path=/trunk/netsurf/; revision=11850
2011-02-27 20:11:39 +00:00
Steve Fryatt
a34cd9c8c6
Take CSS System Colours from the RISC OS Desktop palette at start and on mode/palette change.
...
Need to revisit and confirm some of the mappings.
svn path=/trunk/netsurf/; revision=11814
2011-02-25 23:26:36 +00:00
Steve Fryatt
79d9d6abab
Get download filenames from the core.
...
svn path=/trunk/netsurf/; revision=11774
2011-02-23 22:36:47 +00:00
Vincent Sanders
0231675abf
add resource handling
...
move gtk and framebuffer to use generic resource handling
svn path=/trunk/netsurf/; revision=11772
2011-02-23 22:27:55 +00:00
Steve Fryatt
bf77abd2f5
Fix bug #3189352 : ensure vertical extent of toolbars is set correctly.
...
svn path=/trunk/netsurf/; revision=11762
2011-02-22 21:19:23 +00:00
Steve Fryatt
b077f15485
Reduce redraw flicker when changing URL bar extent.
...
svn path=/trunk/netsurf/; revision=11752
2011-02-21 23:50:40 +00:00
Steve Fryatt
cd9c0998e9
Merge branches/stevef/toolbars to trunk.
...
svn path=/trunk/netsurf/; revision=11741
2011-02-20 23:16:33 +00:00
Vincent Sanders
675a07083a
add options display to about: scheme
...
svn path=/trunk/netsurf/; revision=11733
2011-02-20 21:04:53 +00:00
Michael Drake
a66575dfeb
Remove thumbnail_create() from browser.h. Make RO front end use the core thumbnail_redraw function. Make other front ends include the right header for thumbnail_create().
...
svn path=/trunk/netsurf/; revision=11716
2011-02-19 22:17:54 +00:00
Michael Drake
94e7b44ebc
Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct.
...
svn path=/trunk/netsurf/; revision=11683
2011-02-14 22:05:39 +00:00
John Mark Bell
f42ed976e5
Constify
...
svn path=/trunk/netsurf/; revision=11680
2011-02-14 19:17:08 +00:00
Michael Drake
5cefc9584a
Pass clip rect to browser_window_redraw as pointer.
...
svn path=/trunk/netsurf/; revision=11672
2011-02-13 23:04:26 +00:00
Michael Drake
fe7921a387
Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
...
svn path=/trunk/netsurf/; revision=11670
2011-02-13 22:25:11 +00:00
Michael Drake
2d69afeec6
Fix broken plotting on RO with locked contents and buffered rendering.
...
svn path=/trunk/netsurf/; revision=11667
2011-02-13 16:44:32 +00:00
Michael Drake
22d4d640e8
Remove RO white background fill.
...
svn path=/trunk/netsurf/; revision=11666
2011-02-13 15:56:48 +00:00
Michael Drake
fedcbf6656
Pass clip rect to browser_window_redraw as struct.
...
svn path=/trunk/netsurf/; revision=11648
2011-02-11 19:36:33 +00:00
John Mark Bell
18a4d2deec
Unilaterally clear background to white before redraw
...
svn path=/trunk/netsurf/; revision=11644
2011-02-11 08:48:40 +00:00
Vincent Sanders
98095f8f7a
change risc os frontend to use browser_window_redraw (r=jmb)
...
svn path=/trunk/netsurf/; revision=11643
2011-02-11 08:28:15 +00:00
John Mark Bell
86c2948eb4
Fix copying text/plain to clipboard
...
svn path=/trunk/netsurf/; revision=11636
2011-02-09 20:31:34 +00:00
Vincent Sanders
fbb1139214
add default system colour handlers to each frontend
...
svn path=/trunk/netsurf/; revision=11530
2011-01-30 13:40:47 +00:00
Daniel Silverstone
699f0cb344
Make the tree icon dir a non-option
...
svn path=/trunk/netsurf/; revision=11422
2011-01-20 14:05:13 +00:00
John Mark Bell
f929155a40
Require Iconv 0.11
...
svn path=/trunk/netsurf/; revision=11204
2011-01-04 20:04:20 +00:00
Michael Drake
0d04658544
When fetching a local file of type data, examine the extension to determine mime type.
...
svn path=/trunk/netsurf/; revision=11123
2010-12-27 14:03:45 +00:00
Steve Fryatt
333d202068
Remove unnecessary duplicate parameter.
...
svn path=/trunk/netsurf/; revision=11103
2010-12-19 18:22:09 +00:00
Steve Fryatt
ae920bfb34
Track pointer on all treeview windows.
...
svn path=/trunk/netsurf/; revision=11102
2010-12-19 18:16:14 +00:00
Steve Fryatt
2820ff0d6f
Use dashed boxes for treeview drags.
...
svn path=/trunk/netsurf/; revision=11095
2010-12-19 10:45:13 +00:00
Steve Fryatt
6cc0f1b24b
Give macro expansion less potential for ambiguity.
...
svn path=/trunk/netsurf/; revision=11094
2010-12-19 10:33:14 +00:00
Steve Fryatt
cef10de11b
Don\'t pass spurious drag event data to the core treeview.
...
svn path=/trunk/netsurf/; revision=11090
2010-12-17 17:13:34 +00:00
Steve Fryatt
689123822a
Apply simple weighted averaging to download rate calculations.
...
svn path=/trunk/netsurf/; revision=11081
2010-12-16 22:09:10 +00:00
Michael Drake
d2b8d00cd3
Remove redundant code from drag browser_mouse_state setup.
...
svn path=/trunk/netsurf/; revision=11080
2010-12-16 21:38:42 +00:00
Michael Drake
ccdafcc4d7
Document RISC OS front end's setup of browser_mouse_state.
...
svn path=/trunk/netsurf/; revision=11079
2010-12-16 21:33:19 +00:00
Michael Drake
4960449811
Don't require CTRL or ALT for treeview window to claim input focus on click.
...
svn path=/trunk/netsurf/; revision=11078
2010-12-16 21:31:14 +00:00
Michael Drake
c84ab4b21e
Pass adjust double clicks to the core too.
...
svn path=/trunk/netsurf/; revision=11074
2010-12-16 19:26:23 +00:00
Michael Drake
a2a0e25382
Ensure mouse button press events are sent to the core for treeview type windows. Keep track of both select and adjust drags, and inform the core which is being held during a drag.
...
svn path=/trunk/netsurf/; revision=11066
2010-12-15 22:02:27 +00:00
Michael Drake
95870c95dd
Give caret for alt and ctrl since both start an edit.
...
svn path=/trunk/netsurf/; revision=11064
2010-12-15 21:53:38 +00:00
Vincent Sanders
60c840628f
Small refactor to change icon names to being passed in from frontends instead of core treeview globals
...
svn path=/trunk/netsurf/; revision=11053
2010-12-14 00:18:24 +00:00
Michael Drake
5eaeaed909
Remove Hubbub and Wapcaplet initialisation and finalisation.
...
svn path=/trunk/netsurf/; revision=10980
2010-12-04 20:14:33 +00:00
Michael Drake
17542373bd
Remove excess indentation.
...
svn path=/trunk/netsurf/; revision=10942
2010-11-08 11:28:58 +00:00
Vincent Sanders
802f58f10d
Futher simplification of the makefile
...
Use target makefiles to set build sources
svn path=/trunk/netsurf/; revision=10916
2010-10-29 00:54:27 +00:00
Vincent Sanders
72cf3adc78
Beginning of NetSurf build infrastructure cleanup
...
Provide makefile fragment for each target, isolates the target makefile changes into one place simplifying the top level makefile
svn path=/trunk/netsurf/; revision=10910
2010-10-27 18:39:24 +00:00
Steve Fryatt
3529ead319
Restore toolbar menus in RO treeview windows.
...
svn path=/trunk/netsurf/; revision=10908
2010-10-24 23:17:21 +00:00
Steve Fryatt
a1194cd03f
Re-enable toolbar editing and button selection in RO treeview windows.
...
svn path=/trunk/netsurf/; revision=10907
2010-10-24 21:52:16 +00:00
Steve Fryatt
ba197f29c7
Partially re-enable toolbar buttons in RO treeview windows.
...
svn path=/trunk/netsurf/; revision=10906
2010-10-24 20:00:45 +00:00
Steve Fryatt
ed8f37dbef
Assert is more appropriate; tidy up.
...
svn path=/trunk/netsurf/; revision=10877
2010-10-10 09:13:18 +00:00
John Mark Bell
6173bb0e6c
Merge treeview-redux to trunk
...
svn path=/trunk/netsurf/; revision=10865
2010-10-05 19:14:46 +00:00
John Mark Bell
91a0ef0622
Fix riscos path_add_part, to cope with the fact that newpart is unix-format
...
svn path=/trunk/netsurf/; revision=10767
2010-09-13 18:20:08 +00:00
James Bursa
cd1afc2063
Fix indirected text size for theme author.
...
svn path=/trunk/netsurf/; revision=10766
2010-09-13 00:02:04 +00:00
Vincent Sanders
8900d3a803
missing declaration
...
svn path=/trunk/netsurf/; revision=10757
2010-09-11 20:51:08 +00:00
Vincent Sanders
faca1687ce
hell with it, heres a version which should result in fewer portability complaints
...
svn path=/trunk/netsurf/; revision=10756
2010-09-11 18:47:36 +00:00
Steve Fryatt
3cca3861ca
Enable sideways print option.
...
svn path=/trunk/netsurf/; revision=10666
2010-07-27 22:50:51 +00:00
Chris Young
004aee8281
Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging
...
selections within NetSurf window to text fields (does not work across windows).
todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is
putting something on the clipboard which causes a crash when pasting it back
svn path=/trunk/netsurf/; revision=10660
2010-07-24 16:39:37 +00:00
Steve Fryatt
9201eac26e
Force browser window redraw after printing to restore screen layout.
...
svn path=/trunk/netsurf/; revision=10643
2010-07-15 21:06:10 +00:00
Steve Fryatt
57ddeea19b
Work around apparent register corruption after printing.
...
svn path=/trunk/netsurf/; revision=10640
2010-07-14 23:03:08 +00:00
Michael Drake
513793a060
Fix inventory file leafname.
...
svn path=/trunk/netsurf/; revision=10624
2010-07-09 21:36:55 +00:00
Chris Young
1510bbd3ad
Check the last character for a path separator, rather than the NULL string termination.
...
svn path=/trunk/netsurf/; revision=10622
2010-07-09 19:55:13 +00:00
Chris Young
d6eb28d5de
Replace unnecessarily complicated path concatenation with something simpler and
...
easily adaptable to different platform path structures.
svn path=/trunk/netsurf/; revision=10621
2010-07-09 19:45:44 +00:00
Michael Drake
b010a25771
+ Refactor input handling from browser window code into content
...
handlers.
+ Disentangle all box tree manipulation from browser window
code and put it where it belongs.
+ Move other content specific and other irrelevant code from
browser window handling to appropriate places.
+ Put mouse state enum in new mouse header, since it's not just
used by browser window code, and it is used by treeview
windows on the treeview branch.
svn path=/trunk/netsurf/; revision=10561
2010-06-04 09:35:08 +00:00
Steve Fryatt
d8b440a426
Lay out to correct paper width for printing.
...
svn path=/trunk/netsurf/; revision=10542
2010-05-02 10:50:46 +00:00
Daniel Silverstone
5e887908b3
Consolidate several 'myrealloc' functions into ns_realloc, rename one which *is* different, thereby eliminating the word 'myrealloc' from the NS codebase
...
svn path=/trunk/netsurf/; revision=10530
2010-04-30 16:06:03 +00:00
John Mark Bell
000e6ad3de
It turns out that realloc(ptr, 0) --> free(ptr) is not actually required by the C standard (whereas realloc(NULL, size) --> malloc(size) is).
...
Therefore, explicitly model the behaviour expected by our libraries (that realloc of 0 size is equivalent to free).
svn path=/trunk/netsurf/; revision=10524
2010-04-30 07:00:58 +00:00
Vincent Sanders
2fd1476f8c
The schedule_run function is only called by the frontends so remove it from the core header and add its definition to the frontend headers.
...
Alter the framebuffer schedule_run to return the time untill the next event.
svn path=/trunk/netsurf/; revision=10512
2010-04-28 22:39:37 +00:00
Michael Drake
c65ca7035c
Bump max memory cache size from 6.4MB to 64MB.
...
svn path=/trunk/netsurf/; revision=10506
2010-04-28 11:58:37 +00:00
John Mark Bell
023167651a
Squash warnings in RISC OS build.
...
Replace use of strnlen with strlen and max.
svn path=/trunk/netsurf/; revision=10479
2010-04-24 21:25:08 +00:00
Vincent Sanders
03bb3e8636
remove _GNU_SOURCE define from everywhere.
...
strndup is not standard so provide an implementation.
svn path=/trunk/netsurf/; revision=10474
2010-04-24 15:22:17 +00:00
Michael Drake
a2d204814a
Fix bracket missmatch.
...
svn path=/trunk/netsurf/; revision=10421
2010-04-17 09:16:42 +00:00
Vincent Sanders
448b0275ae
Fix file: handling on risc os, gtk, windows and framebuffer frontends
...
svn path=/trunk/netsurf/; revision=10419
2010-04-16 23:56:53 +00:00
John Mark Bell
b5b280dc96
Fix RISC OS build
...
svn path=/trunk/netsurf/; revision=10405
2010-04-15 22:49:22 +00:00
John Mark Bell
1a5b039115
Fix double free of title
...
svn path=/trunk/netsurf/; revision=10386
2010-04-12 22:39:21 +00:00
John Mark Bell
6f8a8495c6
I don't understand the full_redraw flag, or the optimisation gained from not using it.
...
No frontend other than RISC OS ever used it, so stop the RO frontend using it, too.
svn path=/trunk/netsurf/; revision=10380
2010-04-11 23:32:38 +00:00
John Mark Bell
952682b906
Implement draw_clone()
...
svn path=/trunk/netsurf/; revision=10379
2010-04-11 23:11:40 +00:00
John Mark Bell
dcd33c3798
Port to hlcache-enabled core
...
svn path=/trunk/netsurf/; revision=10377
2010-04-11 23:04:06 +00:00
John Mark Bell
9e8849c04c
Take the easy way out wrt loading messages files: leave it to the RISC OS frontend to do this.
...
svn path=/trunk/netsurf/; revision=10374
2010-04-11 22:40:41 +00:00
Michael Drake
0613700c5e
Debug window is now black on white.
...
svn path=/trunk/netsurf/; revision=10337
2010-04-09 23:26:27 +00:00
Michael Drake
fee9e16636
Change rendering to use plotter functions. Purge loads of magic numbers. Make the content table look prettier. Separate content table creation and rendering code from RISC OS front end code. The debug window can now trivially be moved to the core. Debug window still currently disabled as it does not work with new cache.
...
svn path=/trunk/netsurf/; revision=10336
2010-04-09 23:22:30 +00:00
Daniel Silverstone
6c9e4bea8e
Purge FETCH_TYPE which is unused throughout NetSurf. Clearing a todo in llcachec.
...
svn path=/trunk/netsurf/; revision=10300
2010-04-08 12:16:52 +00:00
Michael Drake
fb8fdb4db1
More fixing for new cache.
...
svn path=/trunk/netsurf/; revision=10292
2010-04-07 19:52:23 +00:00
Michael Drake
26f75ad18f
More fixing for new cache.
...
svn path=/trunk/netsurf/; revision=10291
2010-04-07 19:40:27 +00:00
Michael Drake
a3977f1521
More fixing for new cache.
...
svn path=/trunk/netsurf/; revision=10290
2010-04-07 19:23:53 +00:00
Michael Drake
6381200226
More fixing for new cache.
...
svn path=/trunk/netsurf/; revision=10289
2010-04-07 19:06:48 +00:00
Michael Drake
d334b18386
More fixing for new cache.
...
svn path=/trunk/netsurf/; revision=10288
2010-04-07 18:54:44 +00:00
Michael Drake
9a28ace52b
Start fixing for new cache.
...
svn path=/trunk/netsurf/; revision=10286
2010-04-07 18:04:55 +00:00
Michael Drake
b9e32a9750
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10285
2010-04-07 18:01:29 +00:00
Michael Drake
61fd8d1240
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10284
2010-04-07 17:46:19 +00:00
Michael Drake
6a55bafba8
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10283
2010-04-07 17:42:21 +00:00
Michael Drake
ec2f35cb6f
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10282
2010-04-07 17:37:54 +00:00
Michael Drake
cffb7ea77b
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10281
2010-04-07 17:33:58 +00:00
Michael Drake
2975e1df84
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10280
2010-04-07 17:29:40 +00:00
Michael Drake
95b859c2eb
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10279
2010-04-07 17:05:50 +00:00
Michael Drake
43094a146d
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10278
2010-04-07 17:01:27 +00:00
Michael Drake
832daf49fa
hlcache_handle is typedeffed.
...
svn path=/trunk/netsurf/; revision=10276
2010-04-07 16:39:24 +00:00
Michael Drake
111920ad95
Fix for new cache.
...
svn path=/trunk/netsurf/; revision=10275
2010-04-07 16:08:24 +00:00
Michael Drake
4119cc50b4
More new cache fixing.
...
svn path=/trunk/netsurf/; revision=10274
2010-04-07 15:34:01 +00:00
Michael Drake
c147001a17
More new cache fixing.
...
svn path=/trunk/netsurf/; revision=10273
2010-04-07 14:14:44 +00:00