Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | To avoid namespace conflicts with ncurses add NetSurf key prefix. | Witold Filipczyk | 2015-03-27 | 3 | -41/+41 |
| | | | | Adds a NetSurf key code prefix of NS_ to all key codes. | ||||
* | Remove url from content thumbnailers API | Vincent Sanders | 2015-03-15 | 1 | -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 semicolon | Vincent Sanders | 2014-11-21 | 1 | -1/+1 |
| | |||||
* | Shouldn't need browser_private.h now. | Michael Drake | 2014-11-21 | 1 | -1/+1 |
| | |||||
* | Use browser_window_stop_available() | Michael Drake | 2014-11-21 | 1 | -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 Drake | 2014-11-21 | 1 | -1/+1 |
| | |||||
* | Use API to get current scale. | Michael Drake | 2014-11-21 | 1 | -3/+3 |
| | |||||
* | Remove usage of browser private interfaces | Vincent Sanders | 2014-11-21 | 2 | -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 internals | Vincent Sanders | 2014-11-13 | 2 | -9/+9 |
| | |||||
* | make the form select menu API smaller. | Vincent Sanders | 2014-11-13 | 1 | -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 string | Vincent Sanders | 2014-11-02 | 1 | -2/+2 |
| | |||||
* | fix errors introuced with previous header cleanup. | Vincent Sanders | 2014-11-02 | 3 | -5/+8 |
| | |||||
* | fix typo in cocoa frontend context cleanup | Vincent Sanders | 2014-11-02 | 1 | -1/+1 |
| | |||||
* | Change contextual content retrieval to browser features. | Vincent Sanders | 2014-11-02 | 1 | -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_user | Vincent Sanders | 2014-10-29 | 1 | -1/+2 |
| | |||||
* | Clean up saving as PDF | Vincent Sanders | 2014-10-26 | 1 | -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 Sanders | 2014-10-26 | 2 | -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 Drake | 2014-10-24 | 1 | -1/+0 |
| | |||||
* | Move create_form_select_menu to window gui table. | Michael Drake | 2014-10-24 | 1 | -1/+1 |
| | |||||
* | fix cocoa browser private dereferences | Vincent Sanders | 2014-10-19 | 1 | -9/+11 |
| | |||||
* | improve cocoa frontend to use proper API for browser_window access | Vincent Sanders | 2014-10-19 | 4 | -11/+9 |
| | |||||
* | update cocoa frontend to cope with split operation tables | Vincent Sanders | 2014-10-16 | 6 | -16/+16 |
| | |||||
* | Cocoa front end calls bw browser. | Michael Drake | 2014-10-16 | 1 | -1/+1 |
| | |||||
* | Attempt Objective-C fix. | Michael Drake | 2014-10-16 | 1 | -2/+3 |
| | |||||
* | Fix core create_form_select_menu API to pass gw, rather than bw out to front ↵ | Michael Drake | 2014-10-16 | 1 | -2/+2 |
| | | | | ends. | ||||
* | remove unecessary css includes from fronetends | Vincent Sanders | 2014-10-13 | 2 | -3/+0 |
| | |||||
* | split version info into its own header and remove unnecessary nesurf.h includes | Vincent Sanders | 2014-10-13 | 1 | -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 API | Vincent Sanders | 2014-10-13 | 1 | -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 DPI | Vincent Sanders | 2014-10-13 | 1 | -2/+2 |
| | |||||
* | remove use of deprecated netsurf_quit variable in cocoa | Vincent Sanders | 2014-10-12 | 2 | -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 place | Vincent Sanders | 2014-10-03 | 2 | -3/+1 |
| | |||||
* | As we no longer build the PPC version the default SDK version should be 10.6 ↵ | Vincent Sanders | 2014-10-03 | 1 | -1/+1 |
| | | | | for snow leopard compatability | ||||
* | Pull warning flags out into variables that can be overriden seperately for C ↵ | Vincent Sanders | 2014-09-05 | 1 | -2/+1 |
| | | | | and C++ | ||||
* | fixup missing includes | Vincent Sanders | 2014-07-06 | 2 | -0/+2 |
| | |||||
* | fixup merge of scheduled reformat | Vincent Sanders | 2014-07-06 | 1 | -1/+1 |
| | |||||
* | change reformat to be driven from the scheduler like redraw | Vincent Sanders | 2014-07-01 | 2 | -30/+16 |
| | |||||
* | convert all frontends to scheduled fetch operation | Vincent Sanders | 2014-06-26 | 1 | -1/+1 |
| | |||||
* | make launch_url core operation use nsurl | Vincent Sanders | 2014-05-27 | 1 | -2/+3 |
| | |||||
* | rework path to url mapping functions to convert from and to nsurl | Vincent Sanders | 2014-05-26 | 3 | -25/+3 |
| | |||||
* | add backing store storage path to browser initialisation | Vincent Sanders | 2014-05-13 | 1 | -1/+1 |
| | |||||
* | ensure operations tables are registered as early as possible. | Vincent Sanders | 2014-05-10 | 1 | -2/+7 |
| | |||||
* | remove unecessary utils/url.h includes | Vincent Sanders | 2014-05-09 | 1 | -1/+0 |
| | |||||
* | make download_context_get_url() return an nsurl and adapt callers to cope | Vincent Sanders | 2014-05-08 | 1 | -1/+1 |
| | |||||
* | add file operations table and make all frontends use it. | Vincent Sanders | 2014-05-07 | 1 | -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 handling | Vincent Sanders | 2014-04-30 | 1 | -1/+1 |
| | |||||
* | fix formatting of defaults makefiles | Vincent Sanders | 2014-03-20 | 2 | -70/+68 |
| | |||||
* | add missing include to cocoa search | Vincent Sanders | 2014-03-18 | 1 | -0/+1 |
| | |||||
* | move page search gui callbacks to their own operations table | Vincent Sanders | 2014-03-18 | 3 | -5/+8 |
| | |||||
* | fixup missing includes from schedule changes | Vincent Sanders | 2014-03-09 | 1 | -0/+2 |
| | |||||
* | move scheduleing into browser operation table | Vincent Sanders | 2014-03-09 | 4 | -16/+36 |
| |