Commit Graph

980 Commits

Author SHA1 Message Date
John Mark Bell
3d71da088b Clean up content_factory_register_handler API -- content handlers no longer use the mime type, so don't require it to be interned up front
svn path=/trunk/netsurf/; revision=12796
2011-09-15 22:31:16 +00:00
Chris Young
6bd1800ef6 Partially convert to use browser_window_contextual_content
svn path=/trunk/netsurf/; revision=12793
2011-09-13 18:42:23 +00:00
Chris Young
64f0938e8b If the prefs window is already open ad Edit Prefs is called from the menu, bring the
already-opened prefs window to the front and make it active.

svn path=/trunk/netsurf/; revision=12792
2011-09-13 16:56:59 +00:00
Chris Young
715a753810 updated kb shortcuts (credit: samir)
svn path=/trunk/netsurf/; revision=12791
2011-09-13 16:42:48 +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
b2d5492b84 Correct Code2000 address
svn path=/trunk/netsurf/; revision=12788
2011-09-11 18:09:46 +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
8f09c239af Initialise bitmap ptr to NULL
svn path=/trunk/netsurf/; revision=12780
2011-09-08 19:21:02 +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
95dfffb3df Copy a non-iconv.library version of parserutils into the archive in case anybody wants
to save 1MB

svn path=/trunk/netsurf/; revision=12764
2011-09-06 21:37:58 +00:00
Chris Young
8f451932d1 Stop plugin_hack objects crashing when not embedded into a page
svn path=/trunk/netsurf/; revision=12763
2011-09-06 21:03:36 +00:00
Chris Young
0f79ab2c19 Avoid button flicker
svn path=/trunk/netsurf/; revision=12761
2011-09-06 20:58:26 +00:00
Chris Young
d225054ecf Swap position of context menu and behaviour options
svn path=/trunk/netsurf/; revision=12760
2011-09-06 20:49:48 +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
Michael Drake
ffeb8bc389 Delete some dead frames stuff.
svn path=/trunk/netsurf/; revision=12723
2011-09-05 09:53:54 +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
Michael Drake
202f972199 Delete a whole bunch of redundant tests for browser_window_type. Front ends now only ever have any connection to browser windows of type BROWSER_WINDOW_NORMAL. Still a couple of uses in there; ami_menu_create() shouldn't need take a browser_window_type param now.
svn path=/trunk/netsurf/; revision=12713
2011-09-04 18:50:46 +00:00
Michael Drake
5be6bd452d Remove gui_window_position_frame() definition from core and remove all implementations from front ends.
svn path=/trunk/netsurf/; revision=12711
2011-09-04 18:20:24 +00:00
John Mark Bell
9ee4f6146e Remove mime_type parameter from content handler content_type callback API
svn path=/trunk/netsurf/; revision=12704
2011-09-03 09:27:42 +00:00
John Mark Bell
4539f8836e Squash compiler warnings
svn path=/trunk/netsurf/; revision=12703
2011-09-02 22:10:20 +00:00
John Mark Bell
a54b88fc90 Add missing include
svn path=/trunk/netsurf/; revision=12702
2011-09-02 22:09:37 +00:00
John Mark Bell
4b189ab0bc Squash warnings resulting from mismatched type expectations
svn path=/trunk/netsurf/; revision=12701
2011-09-02 22:09:23 +00:00
John Mark Bell
f233d41f26 Fix erroneous API usage
svn path=/trunk/netsurf/; revision=12700
2011-09-02 22:07:07 +00:00
John Mark Bell
23c336cba9 Search for librosprite when cross compiling for Amiga platforms
svn path=/trunk/netsurf/; revision=12699
2011-09-02 20:42:42 +00:00
Chris Young
25fea2721d Avoid calling AllocSignal() until the last minute, as it causes PM_OPEN to initiate
an Intuition or Input deadlock.
Re-enable context menus as they are now safe.
Remove sticky context menus option as this can be set in GUI prefs as a global option.

svn path=/trunk/netsurf/; revision=12698
2011-09-02 17:31:47 +00:00
Chris Young
1cb60828ea Don't refresh buttons when enabling/disabling. Fixes bitmap alpha/overprinting
problem (thanks to Simon Archer)

svn path=/trunk/netsurf/; revision=12694
2011-08-31 19:53:34 +00:00
Chris Young
b6d7b3cf36 fix build
svn path=/trunk/netsurf/; revision=12693
2011-08-31 19:44:25 +00:00
Vincent Sanders
2348b13492 refactor bitmap out of generic content structure
svn path=/trunk/netsurf/; revision=12686
2011-08-31 12:12:41 +00:00
Chris Young
cffbd0e9ba #ifdef this properly
svn path=/trunk/netsurf/; revision=12679
2011-08-30 19:32:29 +00:00
Chris Young
935c66cac4 Disable the DataTypes animation handler for now as it doesn't work properly
svn path=/trunk/netsurf/; revision=12676
2011-08-29 15:14:45 +00:00
Vincent Sanders
cd554e6f1e make image content handlers build conditional from teh makefile
svn path=/trunk/netsurf/; revision=12673
2011-08-28 14:29:15 +00:00
Michael Drake
42467f16dd Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12654
2011-08-24 13:33:58 +00:00
Michael Drake
f3deebaa8e Amiga changes for core search update (r12646). Note: untested.
svn path=/trunk/netsurf/; revision=12650
2011-08-24 12:33:15 +00:00
Chris Young
79268e6d83 use human_friendly_bytesize
svn path=/trunk/netsurf/; revision=12619
2011-07-23 15:34:52 +00:00
Chris Young
7f6b694732 Show existing file size when file already exists on download
svn path=/trunk/netsurf/; revision=12618
2011-07-23 15:19:27 +00:00
Chris Young
9cd5974868 Fill in conspiciusly-empty else; fix warnings
svn path=/trunk/netsurf/; revision=12617
2011-07-23 14:10:01 +00:00
Chris Young
39e5c04da7 Fix warnings
svn path=/trunk/netsurf/; revision=12616
2011-07-23 14:06:13 +00:00
Chris Young
cd21f4035f Fix ASL hook function
svn path=/trunk/netsurf/; revision=12615
2011-07-23 14:05:08 +00:00
Chris Young
11b3bb228a Correct aspect ratio correctly and support widescreen displays
svn path=/trunk/netsurf/; revision=12607
2011-07-17 14:48:19 +00:00
Chris Young
31d1313944 Ensure buttons update (stop button activates) when new URL starts to load
svn path=/trunk/netsurf/; revision=12606
2011-07-16 13:53:22 +00:00
Michael Drake
3651831963 Fix up Amiga front end.
svn path=/trunk/netsurf/; revision=12601
2011-07-13 13:38:38 +00:00
Michael Drake
ed8778ddb3 Fix up Amiga for r12574 API change.
svn path=/trunk/netsurf/; revision=12575
2011-07-06 12:42:17 +00:00
Chris Young
b1e425a967 Correctly select FILLPEN or FOREGROUNDPEN for scroller knob colour
svn path=/trunk/netsurf/; revision=12569
2011-07-03 18:20:18 +00:00
Chris Young
d253daa020 Pick scroller gadget colours from the screen's DrawInfo pens
svn path=/trunk/netsurf/; revision=12568
2011-07-03 17:22:23 +00:00
Chris Young
4e65935385 Fix an issue with GETTITLE returning an incorrect string on occasion
Fix warnings

svn path=/trunk/netsurf/; revision=12566
2011-07-03 15:01:56 +00:00
Chris Young
b6cc0550cd Don't crash when freeing diskobject
svn path=/trunk/netsurf/; revision=12565
2011-07-03 11:54:43 +00:00
Chris Young
9d30f67d54 Fix AppIcons for non-HTML contents
svn path=/trunk/netsurf/; revision=12564
2011-07-03 11:47:54 +00:00
Chris Young
aa8e6de67d Make AmiDock icon behave a little more sensibly when all windows are iconified.
svn path=/trunk/netsurf/; revision=12563
2011-07-03 11:20:00 +00:00
Chris Young
e3447be7a3 Iconfication; only enabled when running on WB screen at present
svn path=/trunk/netsurf/; revision=12562
2011-07-03 11:05:18 +00:00
Chris Young
bb7408a56e When opening new tabs next to the active one, open them sequentially until the tab is
switched away from.  This is more akin to how Firefox etc do it.  Make this the
default.

svn path=/trunk/netsurf/; revision=12561
2011-07-02 22:40:45 +00:00
Chris Young
18ca27a56f Don't prompt for build selection if there is no static build present
svn path=/trunk/netsurf/; revision=12560
2011-07-02 22:21:20 +00:00
Chris Young
bdc0d994c1 Add an option to open new tabs next to the current tab. Needs some additional logic
as opening multiple tabs results in the new tabs being in reverse order to that
expected.

svn path=/trunk/netsurf/; revision=12559
2011-07-02 22:04:51 +00:00
Chris Young
910c6d314f Put a search icon where the old search favicon was
svn path=/trunk/netsurf/; revision=12558
2011-07-02 19:38:54 +00:00
Chris Young
b415e6dabc Update to new API
svn path=/trunk/netsurf/; revision=12557
2011-07-02 17:41:25 +00:00
Chris Young
4147c185c8 When launching multiple URLs from a treeview, allow to open one window with multiple
tabs instead of one window per URL.  Make compatible frontends do this by default.

svn path=/trunk/netsurf/; revision=12552
2011-07-02 11:41:06 +00:00
Chris Young
e9d4b68e28 Formatting changes
svn path=/trunk/netsurf/; revision=12549
2011-06-30 19:25:03 +00:00
Chris Young
6fd47035c1 Fix compilation
svn path=/trunk/netsurf/; revision=12547
2011-06-30 18:58:52 +00:00
Michael Drake
eddae6af06 Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
8577895dc1 Fix up amiga content handlers.
svn path=/trunk/netsurf/; revision=12541
2011-06-29 08:33:28 +00:00
Chris Young
079c138721 Update shortcuts
svn path=/trunk/netsurf/; revision=12527
2011-06-28 17:50:07 +00:00
Michael Drake
2bedf4d88f Frond ends signal end of drag with call to browser_window_mouse_track.
svn path=/trunk/netsurf/; revision=12515
2011-06-27 17:45:17 +00:00
Chris Young
f747bbb79e Shortcut backspace = go back one page in history
svn path=/trunk/netsurf/; revision=12506
2011-06-25 16:00:02 +00:00
Michael Drake
dea7683985 Remove gui_window_set_scale().
svn path=/trunk/netsurf/; revision=12502
2011-06-24 12:01:24 +00:00
Michael Drake
5a4c8916ef If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust.
svn path=/trunk/netsurf/; revision=12497
2011-06-24 09:30:33 +00:00
Chris Young
93941435b8 Decouple context menus from gui_window, ensure they get disposed on exit
svn path=/trunk/netsurf/; revision=12496
2011-06-23 17:35:35 +00:00
Chris Young
b6b1744b8e fix memory leak
svn path=/trunk/netsurf/; revision=12493
2011-06-19 11:25:59 +00:00
Chris Young
afa2198a16 translate / to - when guessing mime types
svn path=/trunk/netsurf/; revision=12492
2011-06-19 11:24:22 +00:00
Chris Young
548e1f2f77 Ensure the WB screen gets unlocked, avoid passing a NULL to CloseScreen
svn path=/trunk/netsurf/; revision=12491
2011-06-19 11:16:48 +00:00
Chris Young
e61ad6326a screen type should be PUBLICSCREEN not CUSTOMSCREEN
svn path=/trunk/netsurf/; revision=12490
2011-06-18 17:58:36 +00:00
Chris Young
2dd8fcd6d0 initialise context menus regardless of user's preferences on startup
svn path=/trunk/netsurf/; revision=12489
2011-06-18 17:40:27 +00:00
Chris Young
ac4342ca36 missing include
svn path=/trunk/netsurf/; revision=12488
2011-06-17 22:49:20 +00:00
Chris Young
1797118cbe disable context menus until i figure out why they have suddenly started crashing
svn path=/trunk/netsurf/; revision=12487
2011-06-17 22:49:01 +00:00
Chris Young
66b52c0af0 Reinstate waiting for visitor windows to close if the public screen could not be
closed.  Do it properly this time, with signals.

svn path=/trunk/netsurf/; revision=12486
2011-06-16 18:46:43 +00:00
Chris Young
790bdf2e2a convert from mimetype to filetype rather than simple content type to filetype, where
available

svn path=/trunk/netsurf/; revision=12484
2011-06-15 21:53:49 +00:00
Chris Young
26101a1af6 remove zlib update
svn path=/trunk/netsurf/; revision=12483
2011-06-15 17:42:01 +00:00
Chris Young
a7c9fbfa04 remove no_iframes
svn path=/trunk/netsurf/; revision=12482
2011-06-15 17:40:36 +00:00
Chris Young
dd99b8a461 avoid crash
svn path=/trunk/netsurf/; revision=12481
2011-06-15 17:40:12 +00:00
Chris Young
936baddaba Only show external app context menu item if an external app is actually defined
svn path=/trunk/netsurf/; revision=12470
2011-06-09 22:29:46 +00:00
Chris Young
a5d1f01d19 missing double-quotes
svn path=/trunk/netsurf/; revision=12468
2011-06-06 22:29:05 +00:00
Chris Young
dee3127d79 Don't modify the DataType name within the structure.
Update mimetypes file a bit, add some more descriptive text.

svn path=/trunk/netsurf/; revision=12467
2011-06-06 22:27:10 +00:00
Chris Young
baf3b8e0f3 Sound DataTypes implementation. Currently has no interface, so only
autoplay/autoStart objects will play.

svn path=/trunk/netsurf/; revision=12466
2011-06-05 23:07:10 +00:00
Chris Young
6b3955404f Avoid compiling arexx.c more than necessary
svn path=/trunk/netsurf/; revision=12465
2011-06-05 12:37:44 +00:00
Chris Young
b5d8f9b25e plugin_hack loose ends
svn path=/trunk/netsurf/; revision=12464
2011-06-05 11:49:50 +00:00
Chris Young
ed00b6a1e9 Make GUI update when back/forward commands used from ARexx
svn path=/trunk/netsurf/; revision=12455
2011-06-03 18:20:56 +00:00
Chris Young
f2ef7ba6ba up = down and down = up
svn path=/trunk/netsurf/; revision=12454
2011-06-03 18:11:19 +00:00
Chris Young
4270e80d7a Make 4th mouse button go back in history, and 5th go forward. Untested.
svn path=/trunk/netsurf/; revision=12453
2011-06-03 18:08:17 +00:00
Chris Young
61138b0133 don't unref pointer
svn path=/trunk/netsurf/; revision=12452
2011-05-30 21:06:36 +00:00
Chris Young
0c9ca84e42 Remove ami_datatype_to_mimetype
svn path=/trunk/netsurf/; revision=12451
2011-05-30 21:03:57 +00:00
Chris Young
e2ef8df4d7 Guess MIME type from DataType only if there isn't already a valid entry in the list
svn path=/trunk/netsurf/; revision=12450
2011-05-30 20:52:31 +00:00
Chris Young
f214d3ecc8 Allow mixing of AmigaOS and NetSurf command line options
svn path=/trunk/netsurf/; revision=12449
2011-05-30 18:17:09 +00:00
Chris Young
9397f392c0 Convert the supplied MIME type to the DefIcons type *before* doing the comparison
svn path=/trunk/netsurf/; revision=12448
2011-05-30 16:16:48 +00:00
Chris Young
ca8d2c9feb update variable names
svn path=/trunk/netsurf/; revision=12382
2011-05-11 18:34:43 +00:00
Chris Young
45be35677c Allow users to register external applications for plugin contents, and run from
context menu

svn path=/trunk/netsurf/; revision=12381
2011-05-11 18:33:31 +00:00
Chris Young
255c858c43 Restrict Object context submenu to CONTENT_IMAGE
svn path=/trunk/netsurf/; revision=12377
2011-05-10 23:10:53 +00:00
Chris Young
8def2d6932 fix copy/paste error
svn path=/trunk/netsurf/; revision=12376
2011-05-10 22:09:32 +00:00