summaryrefslogtreecommitdiff
path: root/cocoa
Commit message (Collapse)AuthorAgeFilesLines
* This moves message loading out of netsurf_init into each frontendVincent Sanders2015-06-211-1/+3
| | | | | | | | | | 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.
* Fix cocoa_bitmap_modified scope error introduced in cleanupVincent Sanders2015-06-181-1/+1
|
* Fix several warnings in cocoa frontendVincent Sanders2015-06-185-121/+116
|
* Change LOG() macro to be varadicVincent Sanders2015-05-283-8/+8
| | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging.
* Convert cocoa to use bitmap render APIVincent Sanders2015-04-243-101/+84
|
* Remove webp image handlingVincent Sanders2015-04-211-4/+0
| | | | | | | | | | | | | | | | The bitmap and image handling interfaces have changed within NetSurf and the webp image handling has not been fixed up appropriately to cope. After discussion with the other developers it has been decided that the webp support is not worth the necessary development effort to rewrite and maintain. The webp format is not in wide usage and Mozilla, Microsoft and Apple have not adopted it. This means the removal will not adversely impact NetSurf. Resolves:2310
* move the mandantory library config for libcss and libdom to core makefileVincent Sanders2015-04-171-4/+1
|
* fix forward reference in cocoa bitmap handlingVincent Sanders2015-04-171-21/+21
|
* convert cocoa frontend to bitmap operation tableVincent Sanders2015-04-163-2/+22
|
* 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
|