Commit Graph

56 Commits

Author SHA1 Message Date
Vincent Sanders
f90ed33501 update cocoa frontend to use font layout table 2016-04-24 21:13:20 +01:00
Vincent Sanders
33c7df0c40 complete the rename of the gui browser table
When the operations tables were created the browser table was renamed
to miscellaneous except the actual rename patch was never applied,
this fixes that situation.
2016-04-16 23:50:21 +01:00
Vincent Sanders
eadd589f63 cleanup cocoa application run method
This fixes several warnings and cleans up automatic pool cleanup
handling in the run method. Additionally this is a whitespace cleanup.
2016-02-10 15:35:28 +00:00
Vincent Sanders
67ded2a02a This moves message loading out of netsurf_init into each frontend
The translated message loading is dependant on configuration of
resource location in each frontend, additionally they should have the
ability to deal with errors in this loading in a implementation
specific manner.

This also extends the message loading API to be capable of loading
from an inline memory buffer instead of from a file.
2015-06-21 23:27:22 +01:00
Vincent Sanders
8dc2a8f0b2 convert cocoa frontend to bitmap operation table 2015-04-16 23:52:19 +01:00
Vincent Sanders
14e2829489 remove the die API from the core.
The die() API for abnormal termination does not belong within the core
of netsurf and instead errors are propogated back to the callers.

This is the final part of this change and the API is now only used within
some parts of the frontends
2014-10-26 12:42:53 +00:00
Vincent Sanders
73eb9f49b5 update cocoa frontend to cope with split operation tables 2014-10-16 23:25:28 +01:00
Vincent Sanders
30f118a86d remove unecessary css includes from fronetends 2014-10-13 15:45:51 +01:00
Vincent Sanders
a726860d4e remove use of deprecated netsurf_quit variable in cocoa
The core no longer needs to run the event polling loop as fetches are now
scheduler driven. This is part of a series which will ultimately remove
netsurf_poll callback altogether.
2014-10-12 23:35:09 +01:00
Vincent Sanders
64f607760b add backing store storage path to browser initialisation 2014-05-13 15:53:06 +01:00
Vincent Sanders
16b11e7238 ensure operations tables are registered as early as possible. 2014-05-10 10:22:10 +01:00
Vincent Sanders
2326d3c503 remove unecessary utils/url.h includes 2014-05-09 10:15:42 +01:00
Vincent Sanders
4d4d74c8cd move page search gui callbacks to their own operations table 2014-03-18 22:32:52 +00:00
Michael Drake
a38a63a37e Make history internal to browser_window module. 2014-02-15 18:44:50 +00:00
Michael Drake
af014bce99 Allow tab creation without history clone. Changes browser_window_create and browser_window_navigate flags. 2014-02-10 14:08:45 +00:00
Vincent Sanders
dc074042e9 fix errors in url_to_path tfetch table changes 2014-01-25 23:21:28 +00:00
Vincent Sanders
8ce0a10670 move path_to_url and url_to_path to fetch operation table 2014-01-25 23:01:32 +00:00
Vincent Sanders
0475693394 create table for fetcher operations and move all operations into it 2014-01-23 00:00:18 +00:00
Vincent Sanders
aaa6b558a9 fix typo in cocoa import 2014-01-16 15:26:48 +00:00
Vincent Sanders
b1bb708d4f fix cocoa build 2014-01-16 15:23:11 +00:00
Vincent Sanders
bd065d4a43 split browser gui operations up 2014-01-15 19:37:05 +00:00
Vincent Sanders
8dfe225153 move download operations to download table 2014-01-14 16:04:02 +00:00
Vincent Sanders
d3c392c3d3 Initial conversion of netsurf gui to callback vtable 2014-01-11 14:20:30 +00: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
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
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
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
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
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
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
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
John Mark Bell
e71691bae8 Merge branches/jmb/content-factory to trunk
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
François Revel
d0e7a5ecac Skip command line arguments starting with - (including the annoying -psn_0_... one when launched from Finder).
svn path=/trunk/netsurf/; revision=12242
2011-04-26 22:40:17 +00:00
François Revel
06f80d731f Accept urls as arguments to the OSX binary and open them in different windows.
svn path=/trunk/netsurf/; revision=12240
2011-04-26 15:38:28 +00:00
Sven Weidauer
5c091d5be9 Adding ca-bundle to the resources
svn path=/trunk/netsurf/; revision=11895
2011-03-03 14:36:44 +00:00
Sven Weidauer
e66c7f9313 Setting path for tree icons when tree class is initialized.
svn path=/trunk/netsurf/; revision=11853
2011-02-28 15:23:56 +00:00
Sven Weidauer
d84f818887 Adding icons for tree views.
svn path=/trunk/netsurf/; revision=11842
2011-02-27 13:21:46 +00:00
Sven Weidauer
bccdea6026 Implemented gui_find_resource and using resource: URIs for builtin stylesheets.
svn path=/trunk/netsurf/; revision=11819
2011-02-26 09:43:48 +00:00
Sven Weidauer
ba20058f2c Saving bookmarks before quitting NetSurf.
svn path=/trunk/netsurf/; revision=11794
2011-02-25 15:31:48 +00:00
Sven Weidauer
81e295d8c9 Using real path from options for the bookmarks file instead of hardcoded test string.
svn path=/trunk/netsurf/; revision=11580
2011-02-01 10:37:13 +00:00
Sven Weidauer
28da79c796 Reorganized includes.
svn path=/trunk/netsurf/; revision=11567
2011-01-31 19:12:00 +00:00
Sven Weidauer
66b9d5476e Implemented search window.
svn path=/trunk/netsurf/; revision=11563
2011-01-31 15:13:38 +00:00