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