Commit Graph

425 Commits

Author SHA1 Message Date
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 13a2ceb766 Remove unnecessary cache of scroll position
svn path=/trunk/netsurf/; revision=13344
2011-12-24 13:24:09 +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
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 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 b14c4f0a0b Revert r13138
svn path=/trunk/netsurf/; revision=13144
2011-11-10 14:22:02 +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 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 c1afe81e06 Complete extended context menus
svn path=/trunk/netsurf/; revision=13076
2011-10-23 13:15:44 +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
Chris Young ad8a965548 Start to consolidate user file operation into one file
svn path=/trunk/netsurf/; revision=13062
2011-10-15 14:09:35 +00:00
Chris Young 70aad31df6 Default search ico should only come from theme
svn path=/trunk/netsurf/; revision=13011
2011-10-08 13:49:31 +00:00
Chris Young 3bb98823f7 correct filename
svn path=/trunk/netsurf/; revision=12996
2011-10-07 23:26:39 +00:00
Chris Young 39b490d1f0 Add favicon to iconification icon
svn path=/trunk/netsurf/; revision=12995
2011-10-07 23:12:12 +00:00
Chris Young f9ca9f3595 comment removal
svn path=/trunk/netsurf/; revision=12988
2011-10-07 21:53:35 +00:00
Chris Young c8d9e012e5 favicon fixes
svn path=/trunk/netsurf/; revision=12985
2011-10-07 21:41:31 +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
Chris Young b9a40d8e47 Fix crash when switching tabs
svn path=/trunk/netsurf/; revision=12932
2011-10-03 18:08:52 +00:00
Michael Drake e52aaecd7a Fix up for nsurl changes. Untested.
svn path=/trunk/netsurf/; revision=12928
2011-10-03 16:41:55 +00:00
Chris Young 87ba84abfe Disable RAmiga-U temporarily as ActivateGadget() is causing a bizarre but fatal
interaction with context menus.

svn path=/trunk/netsurf/; revision=12913
2011-09-29 22:13:13 +00:00
Chris Young 5d7c1caffe Also read mimetype mappings from mimetypes.user
svn path=/trunk/netsurf/; revision=12876
2011-09-25 17:03:37 +00:00
Chris Young 4573560c61 increase keyboard scroll speed to 10px
svn path=/trunk/netsurf/; revision=12875
2011-09-25 10:08:23 +00:00
Chris Young 215c31ac0d When pressing mouse button don't try to go forwards in history first... instead make
releasing mouse button 5 go forwards in history.

svn path=/trunk/netsurf/; revision=12873
2011-09-24 15:20:05 +00:00
John Mark Bell f27d5a3e15 Remove gui_multitask
svn path=/trunk/netsurf/; revision=12828
2011-09-21 00:25:09 +00:00
Chris Young 9bb586769a Remove AMINS_FRAME
svn path=/trunk/netsurf/; revision=12801
2011-09-16 18:00:39 +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
Chris Young 049a3eb80a Fix search icon disappearing when layout size bar dragged
svn path=/trunk/netsurf/; revision=12790
2011-09-12 22:38:51 +00:00
Chris Young 6a5b10c685 Convert keypresses to UCS4. Fixes issue with typing Euro symbol (¤). Probably fixes
other characters in more exotic character sets.

svn path=/trunk/netsurf/; revision=12789
2011-09-12 21:56:15 +00:00
Chris Young f5d91344b7 Change option to get accepted languages from Locale into a checkbox so it updates at
startup

svn path=/trunk/netsurf/; revision=12787
2011-09-11 14:53:33 +00:00
Chris Young 9d952f2ae2 Setting screen signals this late doesn't work, so revert r12486 completely and return
to busy-looping (but a bit friendlier this time, waiting 1 second between attempts)

svn path=/trunk/netsurf/; revision=12785
2011-09-10 23:25:49 +00:00
Chris Young 8e67ad8051 Select fonts, sizes and colours for splash screen text rather than relying on system
default

svn path=/trunk/netsurf/; revision=12776
2011-09-07 23:01:53 +00:00
Chris Young 98a0c25344 Use Michael Drake's proper splash screen
svn path=/trunk/netsurf/; revision=12773
2011-09-07 18:38:08 +00:00
Chris Young 0f79ab2c19 Avoid button flicker
svn path=/trunk/netsurf/; revision=12761
2011-09-06 20:58:26 +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
Chris Young 330227d87a Remove more checks for browser_window_type
svn path=/trunk/netsurf/; revision=12719
2011-09-04 22:35:11 +00:00
Chris Young 985bf9e191 Remove browser_window type from ami_create_menu()
Remove DrawInfo too, as only there for image menus which never worked.

svn path=/trunk/netsurf/; revision=12718
2011-09-04 22:26:24 +00:00
Michael Drake 235bc41941 Fix indentation.
svn path=/trunk/netsurf/; revision=12714
2011-09-04 18:53:54 +00:00