summaryrefslogtreecommitdiff
path: root/cocoa
Commit message (Collapse)AuthorAgeFilesLines
* To avoid namespace conflicts with ncurses add NetSurf key prefix.Witold Filipczyk2015-03-273-41/+41
| | | | Adds a NetSurf key code prefix of NS_ to all key codes.
* Remove url from content thumbnailers APIVincent Sanders2015-03-151-3/+1
| | | | | | | | | | | | | | | | The content thumbnailers for each frontend were being provided the contents url. This was only ever used to call the urldb thumbnail setting API. This changes it so the single callsite that passed a valid url adds the bitmap to that url itself in desktop_history.c instead of forcing every frontend to require the urldb API. Additionally the old API could pass the url as NULL which was causing asserts where this was not an expected parameter value. Because of this this fixes bug #2286 which was also present in the monkey frontend as both called nsurl_access() on the url without the NULL check and caused an assertion.
* fix missing semicolonVincent Sanders2014-11-211-1/+1
|
* Shouldn't need browser_private.h now.Michael Drake2014-11-211-1/+1
|
* Use browser_window_stop_available()Michael Drake2014-11-211-1/+1
| | | | | Looking at bw->loading_content was bad and wrong in the cases of frames, and object fetches.
* Use API to get content for view source.Michael Drake2014-11-211-1/+1
|
* Use API to get current scale.Michael Drake2014-11-211-3/+3
|
* Remove usage of browser private interfacesVincent Sanders2014-11-212-12/+11
| | | | | | | | The cocoa frontend was directly acessing browser internals instead of using the API. In the case of gui.m there was a check for the browser window not being root (browser->parent != NULL) . As gui windows can only ever be associated with the root brower window (i.e. its parent will always be NULL) this was completely redundant.
* Fix cocoa usage of render internalsVincent Sanders2014-11-132-9/+9
|
* make the form select menu API smaller.Vincent Sanders2014-11-131-1/+2
| | | | | | By hiding all but the form selection menu option structure from code outside of render this reduces the API to the absolute minimum to support this feature.
* change url setting api to take an nsurl instead of a text stringVincent Sanders2014-11-021-2/+2
|
* fix errors introuced with previous header cleanup.Vincent Sanders2014-11-023-5/+8
|
* fix typo in cocoa frontend context cleanupVincent Sanders2014-11-021-1/+1
|
* Change contextual content retrieval to browser features.Vincent Sanders2014-11-021-4/+4
| | | | | | | | | | | | | Update the API which allows frontends to acquire the page features (images, link urls or form elements) present at the given coordinates within a browser window. By making this an explicit browser_window API and using the browser.h header for the associated data structure with a more appropriate API naming the usage is much more obvious and contained. Additionally the link url is now passed around as a nsurl stopping it being converted from nsurl to text and back again several times.
* Update url setting API to return nserror code instead of calling warn_userVincent Sanders2014-10-291-1/+2
|
* Clean up saving as PDFVincent Sanders2014-10-261-9/+0
| | | | | | | | | | | | This removes the global PDF_Password interface that had completely bitrotted and moves it into the standard misc operation table with a sensible defualt implementation. This also cleans up and fixes the gtk frontend implementation of the pdf password callback so it compiles. Finally this moves the implementation to a sensible place alongside the other exporters reducing target makefile complexity futher.
* remove the die API from the core.Vincent Sanders2014-10-262-4/+12
| | | | | | | | 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
* Doesn't look bw internals are used here.Michael Drake2014-10-241-1/+0
|
* Move create_form_select_menu to window gui table.Michael Drake2014-10-241-1/+1
|
* fix cocoa browser private dereferencesVincent Sanders2014-10-191-9/+11
|
* improve cocoa frontend to use proper API for browser_window accessVincent Sanders2014-10-194-11/+9
|
* update cocoa frontend to cope with split operation tablesVincent Sanders2014-10-166-16/+16
|
* Cocoa front end calls bw browser.Michael Drake2014-10-161-1/+1
|
* Attempt Objective-C fix.Michael Drake2014-10-161-2/+3
|
* Fix core create_form_select_menu API to pass gw, rather than bw out to front ↵Michael Drake2014-10-161-2/+2
| | | | ends.
* remove unecessary css includes from fronetendsVincent Sanders2014-10-132-3/+0
|
* split version info into its own header and remove unnecessary nesurf.h includesVincent Sanders2014-10-131-1/+0
| | | | | | | | | The netsurf.h header should *only* contain the registration, core initialisation and finalisation methods. Version information is best placed in its own header. Also remove any unneeded inclusion of this header limiting it to solely the places the relevant API is required.
* Put the font operations table alongside all the other core APIVincent Sanders2014-10-131-2/+2
| | | | | | | | | | | | The netsurf core is driven from numerous operation tables most of which are now set through a common netsurf_register() interface. The font and plotting interfaces are currently separate and unlike all the other operation tables are modified for differing contexts. This change moves the font operations alongside all the other operations table and remove unnecessary interaction with the renderers font internals. Further this also removes the need for css internals to be visible in frontends.
* add API to set DPIVincent Sanders2014-10-131-2/+2
|
* remove use of deprecated netsurf_quit variable in cocoaVincent Sanders2014-10-122-32/+41
| | | | | | 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.
* update default mac os X version in the correct placeVincent Sanders2014-10-032-3/+1
|
* As we no longer build the PPC version the default SDK version should be 10.6 ↵Vincent Sanders2014-10-031-1/+1
| | | | for snow leopard compatability
* Pull warning flags out into variables that can be overriden seperately for C ↵Vincent Sanders2014-09-051-2/+1
| | | | and C++
* fixup missing includesVincent Sanders2014-07-062-0/+2
|
* fixup merge of scheduled reformatVincent Sanders2014-07-061-1/+1
|
* change reformat to be driven from the scheduler like redrawVincent Sanders2014-07-012-30/+16
|
* convert all frontends to scheduled fetch operationVincent Sanders2014-06-261-1/+1
|
* make launch_url core operation use nsurlVincent Sanders2014-05-271-2/+3
|
* rework path to url mapping functions to convert from and to nsurlVincent Sanders2014-05-263-25/+3
|
* add backing store storage path to browser initialisationVincent Sanders2014-05-131-1/+1
|
* ensure operations tables are registered as early as possible.Vincent Sanders2014-05-101-2/+7
|
* remove unecessary utils/url.h includesVincent Sanders2014-05-091-1/+0
|
* make download_context_get_url() return an nsurl and adapt callers to copeVincent Sanders2014-05-081-1/+1
|
* add file operations table and make all frontends use it.Vincent Sanders2014-05-071-16/+0
| | | | | | | | | | | | | This rationalises the path construction and basename file operations. The default implementation is POSIX which works for all frontends except windows, riscos and amiga which have differeing path separators and rules. These implementations are significantly more robust than the previous nine implementations and also do not use unsafe strncpy or buffers with arbitrary length limits. These implementations also carry full documentation comments.
* improve iconv library handlingVincent Sanders2014-04-301-1/+1
|
* fix formatting of defaults makefilesVincent Sanders2014-03-202-70/+68
|
* add missing include to cocoa searchVincent Sanders2014-03-181-0/+1
|
* move page search gui callbacks to their own operations tableVincent Sanders2014-03-183-5/+8
|
* fixup missing includes from schedule changesVincent Sanders2014-03-091-0/+2
|
* move scheduleing into browser operation tableVincent Sanders2014-03-094-16/+36
|