Commit Graph

322 Commits

Author SHA1 Message Date
Michael Drake 5c7ca39ada Remove tree_url_node module. Had to disable treeview scanning in amiga and cocoa front ends. Amiga front end very likely broken. 2013-09-02 14:17:09 +01:00
Michael Drake 2dc99f9ae7 Allow the other front ends to use the hotlist test too. 2013-08-16 08:25:25 +01:00
Michael Drake eaae716989 Move old hotlist out of the way. 2013-08-13 12:41:04 +01:00
Michael Drake 68078d7ea7 Fix up for cookies_old rename. 2013-07-22 10:21:37 +01:00
Michael Drake 3f45e53539 s/history_core/local_history/ 2013-07-10 11:55:42 +01:00
Vincent Sanders b918f63f3e fixup atari option names 2013-05-28 17:00:55 +01:00
Vincent Sanders e6539c51b3 move cocoa to new option API 2013-05-28 14:16:11 +01:00
Vincent Sanders ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Vincent Sanders 35dacc3671 move the logging initialisation out to be call by frontends
This allows each frontend to pass a distinct callback to configure the
output file stream appropriately for their use.
2013-05-23 11:50:57 +01:00
Michael Drake 631265ef6b Front ends have no reason to include desktop/selection.h now. 2013-05-10 12:16:05 +01:00
Michael Drake 9644d0594c Remove struct selection from gui_drag_save_selection, so gui.h doesn't need it now. 2013-05-10 11:54:26 +01:00
Michael Drake 3afd9c9731 Remove search context from browser window, simplify search interface for front ends.
Added content interface for search.

Removed bw->cur_search search context. Desktop layer now does nothing
except pass search requests from front end onto the bw's current_content
via the content interface.

Search API reduced to a pair of functions at each level:
  {desktop|content|html|textplain}_search
and
  {desktop|content|html|textplain}_search_clear

Updated front ends to use simplified search API.  Only tested GTK and RO builds.

These confine the search stuff to render/.  However search still uses struct
selection.  The handling for which is still spread over desktop/ and render/.
Also the render/search code itself still fiddles inside html and textplain
privates.
2013-05-07 14:41:40 +01:00
Vincent Sanders 98369b74e2 fixup message splitting with updated tool 2013-05-02 09:24:18 +01:00
Michael Drake 037beb44fb Pass caret clip rect out to front ends. (Nothing actually using them yet.) 2013-03-05 22:54:51 +00:00
Michael Drake c7e136d9d7 Various warning squashes and fixes. 2013-02-22 14:53:57 +00:00
Michael Drake 9c13d352c7 Fixup for core changes. (Selection and errorcode.) 2013-02-22 14:44:13 +00:00
Vincent Sanders 0eb0798873 fix errors introduced in refactor 2013-02-18 12:24:49 +00:00
Vincent Sanders 529ca251fc rename flags for browser_window routines to be shorter 2013-02-18 11:51:42 +00:00
Vincent Sanders b112dec78d change browser_window_create and refactor all callsites 2013-02-18 11:23:48 +00:00
Vincent Sanders 3bfb5b96a7 browser_window_navigate refactor 2013-02-18 11:23:27 +00:00
Michael Drake 0767e590fd Remove unused function. 2013-01-08 17:54:55 +00:00
Michael Drake fe210c5d58 Fixups. 2013-01-08 17:52:12 +00:00
Michael Drake 94f13d8555 Untested update for new clipboard API. 2013-01-08 17:06:37 +00:00
Vincent Sanders 484fa8b110 move common include path setup to core Makefile 2012-12-20 15:27:07 +00:00
Vincent Sanders c87cbe5655 split target defaults out 2012-12-13 19:26:24 +00:00
Vincent Sanders 45906b9dc2 make macro name more correct 2012-12-13 16:31:05 +00:00
John-Mark Bell 617d655c7b Remove libxml 2012-11-10 00:11:57 +00:00
John-Mark Bell f824ab8af4 Port save complete to libdom. 2012-11-03 23:19:45 +00:00
Vincent Sanders e0f17a8d35 fix cocoa Message generation 2012-11-03 16:27:31 +00:00
Michael Drake 35eb251244 Fix "error setting certificate verify locations" problem when the Choices file doesn't exist. Now there's a single place for front ends to set options overrides. Fix nsoption_setnull_charp leak. 2012-10-17 14:20:18 +01:00
Vincent Sanders b40fd3a88a use correct flags with cp for mac os directory copying 2012-10-15 16:15:14 +01:00
Vincent Sanders 42657ea9a4 bodge the makefile version extraction. 2012-10-15 16:04:51 +01:00
Vincent Sanders 248fc0acc9 add packaging objects to clean target 2012-10-15 15:49:52 +01:00
Vincent Sanders c9fe400353 remove -a from cp command as mac os x 10.5 cp does not have the switch 2012-10-15 15:11:15 +01:00
Michael Drake d88a839937 Remove suspension of bmp/gif images. It's completely redundant with the convert on demand core image cache. 2012-10-14 20:03:18 +01:00
Michael Drake 5d2d7d579e Squash warning. 2012-10-11 12:58:11 +01:00
Michael Drake 9219e90587 Pass right URL to urldb. 2012-10-11 12:56:47 +01:00
Michael Drake 8c8e9cc7e6 lwc_string_isequal takes a bool for result. 2012-10-11 12:52:47 +01:00
Michael Drake e2a714acb0 Fix warnings. 2012-10-11 12:48:15 +01:00
Michael Drake 045905b93e Fix some build warnings. 2012-10-11 12:09:48 +01:00
Michael Drake eecb074f7b Fixup for URLdb. 2012-10-11 12:03:36 +01:00
Michael Drake d9e7d58106 Fix up ripples from urldb change. 2012-10-11 11:20:02 +01:00
Vincent Sanders c1671f37b1 reduce talloc usage to box tree layout only 2012-10-03 19:26:17 +01:00
Vincent Sanders e237ebac8f Split install and package targets.
Install target is for installing on the local machine and package generates a package
2012-08-23 11:46:31 +01:00
Michael Drake 5787323b2c Include browser_private.h. 2012-08-22 12:38:16 +01:00
Michael Drake f478ee4db7 Remove a bunch of unused includes. 2012-08-20 18:54:57 +01:00
Michael Drake b51816c222 Clean up search gui callbacks. 2012-08-14 13:41:30 +01:00
Michael Drake d106091d6e Pass font plot style out to front end clipboard append function. 2012-08-13 14:43:04 +01:00
Michael Drake 42e176097c Use selection_copy_to_clipboard instead of peering into core. 2012-08-02 15:17:18 +01:00
Vincent Sanders d3b8809020 add libdom 2012-07-26 18:01:29 +01:00
Vincent Sanders 0a9b28d3e0 add missing include 2012-07-26 17:55:19 +01: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
Michael Drake fa7c872567 Fix for options refactor.
svn path=/trunk/netsurf/; revision=13576
2012-03-24 08:56:14 +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
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
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 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
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
Michael Drake 817841eab3 Fix up for nsurl changes. Untested.
svn path=/trunk/netsurf/; revision=12930
2011-10-03 16:49:55 +00:00
Michael Drake 57547f7b1e Make llcache_handle_get_url return a nsurl.
svn path=/trunk/netsurf/; revision=12905
2011-09-28 14:21:35 +00:00
Vincent Sanders 07d140f0f1 make cocoa build use pkg-config properly and build release tarballs (primarily jmb I just made it link)
svn path=/trunk/netsurf/; revision=12879
2011-09-26 10:04:29 +00:00
John Mark Bell f27d5a3e15 Remove gui_multitask
svn path=/trunk/netsurf/; revision=12828
2011-09-21 00:25:09 +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
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
Michael Drake 074cf6f162 Port cocoa front end to browser_window_get_contextual_content.
svn path=/trunk/netsurf/; revision=12759
2011-09-06 19:18:09 +00:00
Michael Drake 4ef33d143d Remove chained self-assignment.
svn path=/trunk/netsurf/; revision=12751
2011-09-06 12:32:38 +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 34fe2531f2 Remove gui_window_get_browser_window from core. Remove unused implementations from front ends. Rename the GTK front end implementation to nsgtk_get_browser_window and change the GTK front end to use that.
svn path=/trunk/netsurf/; revision=12737
2011-09-05 13:28:17 +00:00
Michael Drake 39e572e8e7 Delete frame creation handling.
svn path=/trunk/netsurf/; revision=12735
2011-09-05 12:38:56 +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
Vincent Sanders 5af7a9c03c add Mac OS X .dmg instalelr file build rules
svn path=/trunk/netsurf/; revision=12689
2011-08-31 13:49:14 +00:00
Vincent Sanders c35b92acc1 fix apple image content handler
svn path=/trunk/netsurf/; revision=12687
2011-08-31 12:18: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
Michael Drake d7b46332a8 Include missing header.
svn path=/trunk/netsurf/; revision=12685
2011-08-31 11:55:02 +00:00
Michael Drake adbc2b0315 Avoid name clash.
svn path=/trunk/netsurf/; revision=12684
2011-08-31 11:52:08 +00:00
Michael Drake ca162211f5 Use API to find out if a browser window has a selection.
svn path=/trunk/netsurf/; revision=12683
2011-08-31 11:47:02 +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 c263a77d36 Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12657
2011-08-24 13:39:28 +00:00
Michael Drake 1625022882 Cocoa changes for core search update (r12646). Note: untested.
svn path=/trunk/netsurf/; revision=12648
2011-08-24 12:32:13 +00:00
Michael Drake 810fb1a919 Fix up Cocoa for r12574 API change.
svn path=/trunk/netsurf/; revision=12578
2011-07-06 12:48:45 +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 673a51a0e5 Fix up apple image content handler.
svn path=/trunk/netsurf/; revision=12540
2011-06-29 08:15:52 +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
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
Sven Weidauer ed7e65c74b Netsurf now appears in the 'Open with' menu for HTML files.
svn path=/trunk/netsurf/; revision=12435
2011-05-19 16:04:54 +00:00
Sven Weidauer 65dc81668c Importing UTI types for HTML and CSS.
svn path=/trunk/netsurf/; revision=12434
2011-05-19 16:04:11 +00:00
Sven Weidauer 3cae7a7d86 Handling animations in apple_image.m. Loop counts are ignored for now
svn path=/trunk/netsurf/; revision=12433
2011-05-19 13:18:01 +00:00
Sven Weidauer 658959bc88 Reverting r12367, cannot get incremental image loading to work correctly.
svn path=/trunk/netsurf/; revision=12432
2011-05-19 13:17:58 +00:00
Sven Weidauer 830da3a915 Fixing warning about unused result of expression.
svn path=/trunk/netsurf/; revision=12431
2011-05-19 11:47:57 +00:00
Sven Weidauer 3d71976607 Replacing deprecated method createDirectoryAtPath:attributes: with non-deprecated version createDirectoryAtPath:withIntermediateDirectories:attributes:error:
svn path=/trunk/netsurf/; revision=12430
2011-05-19 11:47:53 +00:00
Sven Weidauer eb0570f39d Adding quarantine attributes to downloaded files.
svn path=/trunk/netsurf/; revision=12429
2011-05-19 07:27:21 +00:00
François Revel 6dbb38cac9 Italian OSX localized strings, contributed by Samir Hawamdeh.
svn path=/trunk/netsurf/; revision=12426
2011-05-17 20:06:38 +00:00
Vincent Sanders 6c2977ec29 If you do not have xcode installed many critical mime mappings (like css and html) are missing so this adds rudimentry filename extension mappings so teh browser does not explode on non develoepr machines.
svn path=/trunk/netsurf/; revision=12411
2011-05-14 15:11:16 +00:00
Vincent Sanders a7a2759ec9 Fix Segfault at start if ca resource bundle path cannot be found
svn path=/trunk/netsurf/; revision=12410
2011-05-14 15:09:19 +00:00
François Revel eafcb685c4 Add netsurf.png to the OSX resources.
svn path=/trunk/netsurf/; revision=12406
2011-05-14 00:16:40 +00:00
François Revel 092c62f0e0 Add code to open the source file into Xcode. Currently called by the context menu because I didn't want to dig the .xib files, feel free to move it to the View main menu.
svn path=/trunk/netsurf/; revision=12387
2011-05-12 17:31:55 +00:00