- Make the "Utilities" menu enabled again, since the cookie manager is
there,
- Bigger default size for the cookie manager window, and activate it
when shown,
- Fix the layout of the top bar so the search field is visible, and
make it send the search request to the right place.
* Embed language resources in executable, so they can be used without
installing
* Add a few strings we want to use
* Remove most menus since they are not implemented yet
Fixes http://bugs.netsurf-browser.org/mantis/view.php?id=2164
* While making NetSurf replicable is nice, it doesn't work at all
* The dragger is not useful: the main interest of replicability is apps
programmatically embedding NetSurf, rather than manually dragging it
around.
* I leave this around if mmu_man wants to fix and re-enable it, but
under a define so it doesn't get in the way for release builds.
Fixes http://bugs.netsurf-browser.org/mantis/view.php?id=2163.
Mainly C/C++ conflicts:
* Designated initializer are not part of C++
* C++ already defines min() and max()
* Force C99 and remove -O0 since we now use a decent compiler
- Fix path to look for libnetwork to work also on non-hybrid systems
- Remove references to /boot/common as it is not used anymore
- Fix a few type errors
- Use compiler provided va_copy when available
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.
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.
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.
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.
This cleans up this header and moves the functionality into more
useful places while reducing the include complexity but only pulling
in whats required.
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