Commit Graph

1017 Commits

Author SHA1 Message Date
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
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
Chris Young a06678dabf Don't use a designed font for oblique, only italic.
svn path=/trunk/netsurf/; revision=13226
2011-12-04 01:45:31 +00:00
Chris Young 0ce6fc409c Global list for diskfont.library fontengine cache
svn path=/trunk/netsurf/; revision=13225
2011-12-04 01:10:19 +00:00
Chris Young ce37fdb128 Support dragging from global history to hotlist
svn path=/trunk/netsurf/; revision=13219
2011-12-02 13:24:40 +00:00
Chris Young 8d685d7ac0 Use core file drop.
Loop through entire list of dropped files.
If multiple files are dropped and not handled by core, open in tabs;
Activate the window on first file drop to workaround a bug where the window needed to
be clicked before the file would appear.
As using core functionality, DataTypes no longer used to parse dropped files (likely
to be rarely needed anyway).


svn path=/trunk/netsurf/; revision=13218
2011-12-02 12:47:11 +00:00
Chris Young a7af4ba0c1 Pass mouse scrollwheel events to the core first
svn path=/trunk/netsurf/; revision=13201
2011-11-29 20:58:57 +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
Chris Young 388acaba40 Propagate mouse position during drags down to the core (needed for redraw events
during drags, eg. selection bounding box, indication of node drop location, etc)

svn path=/trunk/netsurf/; revision=13147
2011-11-13 17:41:56 +00:00
Chris Young dd267bd90a Trap RMB and select the node under the pointer if no other node selected
svn path=/trunk/netsurf/; revision=13146
2011-11-11 13:09:12 +00:00
Chris Young 36599a09ce Clicks become drags only after 2px
svn path=/trunk/netsurf/; revision=13145
2011-11-10 18:58:47 +00:00
Chris Young b14c4f0a0b Revert r13138
svn path=/trunk/netsurf/; revision=13144
2011-11-10 14:22:02 +00:00
Chris Young 10237e0bde Amiga frontend update for r13139
svn path=/trunk/netsurf/; revision=13140
2011-11-10 12:23:52 +00:00
Chris Young 87c5f14c08 Update the title of the initial tab, even when the tab bar is hidden (ensures the
correct title will be present if it is made visible)

svn path=/trunk/netsurf/; revision=13138
2011-11-09 19:22:49 +00:00
Chris Young a98fb7c4dd Reimplement the previous hotlist menu refresh code, as the bug causing the previous
problems was fixed ages ago.  Make the timing configurable for now but default to off.

svn path=/trunk/netsurf/; revision=13135
2011-11-07 18:51:08 +00:00
Chris Young 4cbe7d9d94 Remove any need for LangNames to be imported as a Messages file
svn path=/trunk/netsurf/; revision=13099
2011-10-29 14:14:13 +00:00
Chris Young b84ebeed36 Stop abusing Messages with continual load of LangNames
svn path=/trunk/netsurf/; revision=13098
2011-10-29 13:51:19 +00:00
Chris Young d0ad76a77a Simplify
svn path=/trunk/netsurf/; revision=13097
2011-10-29 13:35:55 +00:00
Chris Young 4a0de7cd5c Allow usage of a resource.map file to map resource: requests to other files.
svn path=/trunk/netsurf/; revision=13096
2011-10-29 13:32:53 +00:00
Chris Young 62900af515 Search the current theme dir for resources.
svn path=/trunk/netsurf/; revision=13091
2011-10-29 11:24:29 +00:00
Chris Young 110ba21d52 Only one of these save ops needs the file opened here
svn path=/trunk/netsurf/; revision=13086
2011-10-27 21:04:56 +00:00
Chris Young c1afe81e06 Complete extended context menus
svn path=/trunk/netsurf/; revision=13076
2011-10-23 13:15:44 +00:00
Chris Young 4bb6da7cd3 Revert r13074 - doesn't actually fix the problem
svn path=/trunk/netsurf/; revision=13075
2011-10-22 14:26:56 +00:00
Chris Young 35bc321993 Fix the plotting of tiled bitmaps. EraseRect() appears to have a bug where it won't
draw anything if ymin==ymax

svn path=/trunk/netsurf/; revision=13074
2011-10-22 14:16:03 +00:00
Chris Young a7f2cfa521 Fix save_complete
svn path=/trunk/netsurf/; revision=13073
2011-10-22 14:03:47 +00:00
Chris Young a4f14eb0e9 Avoid horizontal pixel-height lines of the background appearing when "fast scrolling"
down the page.  There is a similar problem with scrolling up pages which may be a bug
in ami_do_redraw_limits or plotters (probably bitmap tile plotter), as drawing
additional pixel lines after scrolling is not redrawing the affected area.
Example sites where this problem is apparent:
http://www.nintendolife.com (border pattern does not redraw)
http://www.amigaos.net/content/72/supported-hardware (clouds show through the main
text area)

svn path=/trunk/netsurf/; revision=13072
2011-10-22 13:52:13 +00:00
Chris Young 6959a30b26 Move non-requester user file operations to file.c
svn path=/trunk/netsurf/; revision=13065
2011-10-15 15:27:56 +00:00
Chris Young c3fafd63f8 Move all main file req save ops to file.c
svn path=/trunk/netsurf/; revision=13064
2011-10-15 14:55:03 +00:00