Commit Graph

7169 Commits

Author SHA1 Message Date
John Mark Bell
26a1bb7718 Use S_IRWXU where appropriate
svn path=/trunk/netsurf/; revision=13439
2012-02-10 20:02:13 +00:00
John Mark Bell
6d8cb05732 Fix Debian bug #659376: .netsurf must not be world readable
svn path=/trunk/netsurf/; revision=13438
2012-02-10 19:41:02 +00:00
Vincent Sanders
4dd1b4d80b fix the popup menu entry signal attaching to attach the correct handler functions. as the prototype changes depending on signal type and we were using the non menu function prototype for menu entries.
svn path=/trunk/netsurf/; revision=13437
2012-02-08 02:45:03 +00:00
John Mark Bell
3e2e110a86 Bypass full type sniffer if only images are acceptable
svn path=/trunk/netsurf/; revision=13436
2012-02-08 00:52:16 +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
John Mark Bell
b75a3960fc Fix gui_window_drag_start
svn path=/trunk/netsurf/; revision=13418
2012-02-05 08:16:41 +00:00
Ole Loots
132ebb7dd9 Mouse button holding wasn't reported to the browser because of drag optimization, resulting in internal scrollbars which only reacted on click, not mouse holding down.
svn path=/trunk/netsurf/; revision=13415
2012-02-03 00:05:37 +00:00
John Mark Bell
0fad29846b Treat image/x-png as a synonym for image/png
svn path=/trunk/netsurf/; revision=13414
2012-01-29 20:43:59 +00:00
Ole Loots
f3aa0a5179 Default to "not rendering" when setting GUI poll priority.
svn path=/trunk/netsurf/; revision=13408
2012-01-25 22:44:00 +00:00
Ole Loots
2300b8adab Added key shortcut for bookmark, handle menut item "Hide Toolbars"
svn path=/trunk/netsurf/; revision=13407
2012-01-25 22:42:03 +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
Ole Loots
3e9983abf2 Added functions to hide/show the toolbar.
svn path=/trunk/netsurf/; revision=13400
2012-01-11 20:35:50 +00:00
Ole Loots
a5a0b8d955 Removed non declared and unused "cookies_update" function ( some frontends still define the functions), added missing prototypes.
svn path=/trunk/netsurf/; revision=13399
2012-01-11 20:35:14 +00:00
Michael Drake
2c7a54013d Constify rect param to browser_window_set_drag_type.
svn path=/trunk/netsurf/; revision=13398
2012-01-11 16:48:59 +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
d2253eee8f Don't need root bw here any more.
svn path=/trunk/netsurf/; revision=13396
2012-01-11 14:29:44 +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
c08ee82076 Allow drag handlers to inform browser window layer of any pointer range constraints.
svn path=/trunk/netsurf/; revision=13394
2012-01-10 22:02:19 +00:00
Chris Young
411a707e3e Italian translation update from Samir Hawamdeh
svn path=/trunk/netsurf/; revision=13393
2012-01-09 18:37:26 +00:00
Ole Loots
ca893cd1af set monochrom option on save was missing
svn path=/trunk/netsurf/; revision=13392
2012-01-07 00:28:35 +00:00
Michael Drake
31f221e84f Remove search init function.
svn path=/trunk/netsurf/; revision=13391
2012-01-06 23:42:22 +00:00
Michael Drake
24b7ae1bf4 Browser window destruction destroys search context.
svn path=/trunk/netsurf/; revision=13390
2012-01-06 23:32:38 +00:00
Ole Loots
cc2b4477b0 Updated resources ( mainmenu and settings dialog updated for background_images, foreground_images, font_monochrom )
svn path=/trunk/netsurf/; revision=13389
2012-01-06 23:30:59 +00:00
Ole Loots
2ee9f1d925 fix enable/disable of checkbox when font renderer is changed.
svn path=/trunk/netsurf/; revision=13388
2012-01-06 23:29:58 +00:00
Ole Loots
be2d2b4cea Added menu items for foreground_images,background_images for fast access.
svn path=/trunk/netsurf/; revision=13387
2012-01-06 23:23:31 +00:00
Ole Loots
4259392e19 Added settings for: foreground_images, background_images, monochrom glyph rendering.
svn path=/trunk/netsurf/; revision=13386
2012-01-06 23:22:08 +00:00
Michael Drake
fc3de8814c Search-as-you-type.
svn path=/trunk/netsurf/; revision=13385
2012-01-06 23:10:04 +00:00
Ole Loots
3b492b4842 Removed unused source files.
svn path=/trunk/netsurf/; revision=13384
2012-01-06 22:15:56 +00:00
Ole Loots
03cd3ac72b Updated docs.
svn path=/trunk/netsurf/; revision=13383
2012-01-06 22:12:20 +00:00
Ole Loots
af89069dad Added missing prototypes.
svn path=/trunk/netsurf/; revision=13382
2012-01-06 22:10:10 +00:00
Ole Loots
b5a9e93d55 Added flag for monochrom font rendering.
svn path=/trunk/netsurf/; revision=13381
2012-01-06 22:06:31 +00:00
Ole Loots
ede3e647d9 Fixed warning.
svn path=/trunk/netsurf/; revision=13380
2012-01-06 22:04:55 +00:00
Ole Loots
b0827f8377 Added schedule stats.
svn path=/trunk/netsurf/; revision=13379
2012-01-06 22:04:23 +00:00
Ole Loots
d5d0289010 Only set opaque on initial alloc, add flag for clearing buffer on realloc.
svn path=/trunk/netsurf/; revision=13378
2012-01-06 21:57:42 +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
Michael Drake
767f40dc72 Simplify frameset distribution calcs.
svn path=/trunk/netsurf/; revision=13376
2012-01-06 14:44:01 +00:00
Michael Drake
b4bf069099 Set drag type correctly for page drag.
svn path=/trunk/netsurf/; revision=13375
2012-01-06 12:41:24 +00:00
Ole Loots
097800ff47 Fix rectangle fill, only add/subtract stroke_width when the rectangle has an outline.
svn path=/trunk/netsurf/; revision=13374
2012-01-05 22:38:02 +00:00
Ole Loots
1beb016c47 Reverted last change and only apply color conversion for alpha channel glyphs.
svn path=/trunk/netsurf/; revision=13373
2012-01-03 23:38:51 +00:00
Ole Loots
68466df8a2 Fix clipping and only apply color conversion for hicolor systems.
svn path=/trunk/netsurf/; revision=13372
2012-01-03 23:29:25 +00:00
Ole Loots
5cdfd5a086 It's now possible to render fonts in monochrom mode.
svn path=/trunk/netsurf/; revision=13371
2012-01-03 23:05:27 +00:00
Ole Loots
08e2052c09 removed comment.
svn path=/trunk/netsurf/; revision=13370
2012-01-03 23:03:09 +00:00
Ole Loots
224d882c03 Fixed font plotter init and added flag for monochrom glyph rendering.
svn path=/trunk/netsurf/; revision=13369
2012-01-03 23:02:38 +00:00
Ole Loots
0977543316 Made internal font plotter compatible with 256 colors.
svn path=/trunk/netsurf/; revision=13367
2012-01-02 14:29:16 +00:00
Michael Drake
aac69e6478 s/s/S/
svn path=/trunk/netsurf/; revision=13366
2012-01-02 13:42:51 +00:00
John Mark Bell
b5acf7db9d Prevent use after free in cookie update
svn path=/trunk/netsurf/; revision=13365
2012-01-02 13:20:11 +00:00
John Mark Bell
f91dcf7308 Fix build with GTK <2.16
svn path=/trunk/netsurf/; revision=13364
2012-01-02 12:11:07 +00:00