Chris Young
f0dbe1d689
Return a colour (ABGR) from gui_system_colour_char() rather than a
...
css_color (ARGB)
svn path=/trunk/netsurf/; revision=13744
2012-03-27 19:25:02 +00: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
Chris Young
103c8703ec
Expose tree_setup_colours so it can be called from frontends if the system
...
colour scheme changes.
svn path=/trunk/netsurf/; revision=13730
2012-03-26 21:13:00 +00:00
Chris Young
307df869c3
fix build
...
svn path=/trunk/netsurf/; revision=13729
2012-03-26 20:25:10 +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
Chris Young
a11aa89b64
More reasonable tile size defaults
...
svn path=/trunk/netsurf/; revision=13506
2012-03-03 15:59:52 +00:00
Chris Young
3db30dfd84
Fix scaled fast scrolling. Curiously this has solved the form select menu
...
problem :S
svn path=/trunk/netsurf/; revision=13505
2012-03-03 15:50:05 +00:00
Chris Young
2cd44ec454
Fix offsets when page scaled and scrolled
...
svn path=/trunk/netsurf/; revision=13504
2012-03-03 15:41:14 +00:00
Chris Young
3e77ceeb81
allow both x and y dimensions of redraw tiles to be configured
...
svn path=/trunk/netsurf/; revision=13502
2012-02-29 19:09:55 +00:00
Chris Young
f7f2fa8993
revert r13281, meant to put it in 2.9 branch
...
svn path=/trunk/netsurf/; revision=13499
2012-02-28 19:02:16 +00:00
Chris Young
e997d45410
Readme for 2.9
...
svn path=/trunk/netsurf/; revision=13498
2012-02-28 18:54:34 +00:00
Chris Young
956cb41f7c
Disable print menu option
...
svn path=/trunk/netsurf/; revision=13497
2012-02-28 18:51:26 +00:00
Chris Young
b7f7293802
random changes
...
svn path=/trunk/netsurf/; revision=13474
2012-02-26 15:44:14 +00:00
Chris Young
2951735e2f
adjust scrolbars when window is resized
...
svn path=/trunk/netsurf/; revision=13473
2012-02-26 14:40:34 +00:00
Chris Young
bb17cc2529
Don't do schedule message handling on a while loop.. it sometimes causes
...
long pauses in user input.
svn path=/trunk/netsurf/; revision=13472
2012-02-26 11:03:09 +00:00
Chris Young
b375a6a293
Convert treeview to tiled draw
...
svn path=/trunk/netsurf/; revision=13471
2012-02-26 10:42:15 +00:00
Chris Young
c2afcf4453
Documentation update
...
svn path=/trunk/netsurf/; revision=13470
2012-02-25 19:21:38 +00:00
Chris Young
6696f7d160
Fix thumbnails
...
svn path=/trunk/netsurf/; revision=13469
2012-02-25 19:13:41 +00:00
Chris Young
79c5485e27
Add tiled refresh, with tiles of max size option_redraw_tile_size. This
...
reduces the size of our off-screen bitmap and associated memory.
Only works with browser windows at present. History and treeviews still
have full window refresh/bitmap.
Setting the option to 0 brings back the old behaviour.
svn path=/trunk/netsurf/; revision=13468
2012-02-25 18:42:33 +00:00
Chris Young
20e825c8f4
More simple refresh. This would work (provided the user hasn't scrolled),
...
however we appear to be losing events (refresh and menu events are not
always being received)
svn path=/trunk/netsurf/; revision=13466
2012-02-24 23:18:24 +00:00
Chris Young
ce0d219328
typo
...
svn path=/trunk/netsurf/; revision=13465
2012-02-24 20:03:38 +00:00
Chris Young
b517cf331a
option_screen_compositing to enable switching compositing for NetSurf's own
...
screen on/off.
Some experimentation with compositing and simple/smart refresh reveals that
simple refresh windows with compositing on for the screen behave the same
as smart refresh windows. Smart refresh windows with compositing off use
more gfx memory than when compositing is on. Simple refresh windows with
compositing off will probably be more memory efficient, as we are using
an off-screen bitmap to render the browsing area anyway. However due to
this bitmap being re-used over multiple tabs/windows, it does not always
reflect what should be on the window, so performing a redraw of damaged
areas may be the only option. Need to read damaged regions from layer
(probably through struct Region *DamageList) and check on performance vs
memory or make the window refresh type configurable. Simple refresh code
#ifdefed out for now for further investigation later.
svn path=/trunk/netsurf/; revision=13464
2012-02-24 20:00:51 +00:00
John Mark Bell
9478f01828
Fix bug #3481624 : this was needlessly complex
...
svn path=/trunk/netsurf/; revision=13463
2012-02-23 21:22:37 +00:00
Chris Young
b0b08b4eaf
Remove "NetSurf" from release version string, that's on the splash anyway.
...
svn path=/trunk/netsurf/; revision=13443
2012-02-12 18:02:49 +00:00
Chris Young
0410b0d640
Don't break the clipboard when copying 'nothing'.
...
Don't touch clipboard contents when copying 'nothing'.
svn path=/trunk/netsurf/; revision=13442
2012-02-12 17:56:25 +00:00
Chris Young
9c7ced69d2
Shift status bar text over by a pixel and reposition the frame slightly.
...
Don't use WBorBottom as that is not particulary relevant to what we're
trying to do.
svn path=/trunk/netsurf/; revision=13441
2012-02-11 23:17:47 +00:00
Chris Young
f3e0dd578e
8*4=32, NOT 24. Copied UTF-8 text will now paste correctly into RA-OWB.
...
svn path=/trunk/netsurf/; revision=13405
2012-01-15 16:37:36 +00:00
Chris Young
676cb962ce
Accept codeset 1 (undefined) as 106 (UTF-8) when pasting from the
...
clipboard. This should allow us to at least paste from broken ports of
MorphOS apps.
svn path=/trunk/netsurf/; revision=13404
2012-01-15 15:58:26 +00:00
Chris Young
efa55dd3f1
Fix build
...
svn path=/trunk/netsurf/; revision=13403
2012-01-15 15:57:02 +00:00
Chris Young
9f08a052d0
Allow confining the pointer to part of the window during drags. Actually
...
we aren't acting on this for any current drag types, but if we need to do
so in the future (eg. frame resizing), this is the code to do it. The trap
lasts 10 IntuiTicks so is re-asserted on every mouse move when an active
drag is in effect. Drag type must be set to GDRAGGING_NONE to clear.
svn path=/trunk/netsurf/; revision=13401
2012-01-11 21:41:55 +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
Chris Young
7314d12cba
Default X and Y aspect ratio to 0. This will make NetSurf assume that the screen has
...
square pixels, which is true in 99% of cases on OS4.
svn path=/trunk/netsurf/; revision=13377
2012-01-06 18:55:30 +00:00
Chris Young
15fb70844d
When dragging text selections to WB, pass the selection pointer to the save routine.
...
svn path=/trunk/netsurf/; revision=13363
2012-01-02 12:03:45 +00:00
Chris Young
13a2ceb766
Remove unnecessary cache of scroll position
...
svn path=/trunk/netsurf/; revision=13344
2011-12-24 13:24:09 +00:00
Chris Young
d9a50a1744
Stop ELF binary sections aligning to 64K boundaries
...
svn path=/trunk/netsurf/; revision=13343
2011-12-24 13:20:01 +00:00
Chris Young
56b6970c92
Search for DejaVu Serif Italic before DejaVu Serif Oblique, this fixes the fonts used
...
on the splash screen if newer DejaVu fonts have been installed and the old ones
removed.
svn path=/trunk/netsurf/; revision=13342
2011-12-24 12:57:42 +00:00
Chris Young
135a11db35
Fix scrollbar scroll
...
svn path=/trunk/netsurf/; revision=13341
2011-12-24 12:49:55 +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
Chris Young
879383e21e
Pass keyboard scroll events to the core
...
svn path=/trunk/netsurf/; revision=13334
2011-12-23 22:14:00 +00:00
Chris Young
43bb22b968
Complete treeview context menu.
...
Fix mouse trapping.
Remove remaining buttons (from non-SSL trees). May return as a graphical toolbar at
some point, but for now I'm glad to be rid of them. All the options are in the
context menu.
svn path=/trunk/netsurf/; revision=13295
2011-12-18 17:59:23 +00:00
Chris Young
0ed26d727f
Start popuating treeview context menu
...
Remove add folder/bookmark buttons from hotlist
svn path=/trunk/netsurf/; revision=13287
2011-12-17 18:47:35 +00:00
Chris Young
6cfe625874
Add some missing UTF-8 conversion
...
svn path=/trunk/netsurf/; revision=13284
2011-12-16 12:43:42 +00:00
Chris Young
328ce66d7e
More prep for treeview context menus
...
svn path=/trunk/netsurf/; revision=13283
2011-12-16 12:33:05 +00:00
Chris Young
3228e0c4d9
Install "if equals" comparisons are = not ==
...
svn path=/trunk/netsurf/; revision=13281
2011-12-16 00:00:13 +00:00
Chris Young
359bf3ccd6
Check if launch-handler config already has NetSurf
...
svn path=/trunk/netsurf/; revision=13274
2011-12-15 22:32:42 +00:00
Chris Young
61a36faf7f
Add proposed small caps "x" and "q" mappings.
...
svn path=/trunk/netsurf/; revision=13247
2011-12-05 20:08:17 +00:00
Chris Young
71a08da397
Support small caps using the font's designed characters.
...
TODO: fallback to generated characters.
svn path=/trunk/netsurf/; revision=13245
2011-12-04 23:39:22 +00:00
Chris Young
ccbca43457
Avoid memory leak when requested font cannot be opened.
...
svn path=/trunk/netsurf/; revision=13243
2011-12-04 20:06:53 +00:00