Commit Graph

396 Commits

Author SHA1 Message Date
Vincent Sanders
d8b6de50d6 remove unecessary include causing build faliure. 2016-04-24 20:44:16 +01:00
Vincent Sanders
9ce01d2024 fixup errors in font layout table conversion 2016-04-24 20:38:30 +01:00
Vincent Sanders
5c567d4f20 update beos to use font layout table 2016-04-24 20:17:52 +01:00
Vincent Sanders
cdd53bcffb make bitmap operations static to avoid warnings 2016-04-22 00:04:26 +01:00
Vincent Sanders
a74778302f fixup haiku brakage from header changes 2016-04-21 22:47:15 +01:00
Vincent Sanders
7d9c9dba36 Split utils header into string functions and everything else
split out the string handling API from the rest of the utils header
and fix up all the fallout.
2016-04-21 22:36:21 +01:00
Vincent Sanders
759c34b324 fix missing includes caused by content_protected header cleanup 2016-04-19 23:28:54 +01:00
Vincent Sanders
7dee1cb7d6 fix missing misc table fixup on beos 2016-04-17 09:37:37 +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
3a5b4571b4 update version info for next development cycle 2016-04-06 12:01:07 +01:00
Adrien Destugues
18c8cb0f85 UI fixes for search bar and cookie manager
- 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.
2016-02-01 23:21:24 +00:00
Vincent Sanders
54c153246c fix call to cookie manager initialisation for haiku 2016-01-19 15:31:56 +00:00
Vincent Sanders
7caaa86d75 fix haiku web search bar initalisation 2016-01-19 15:16:32 +00:00
Adrián Arroyo Calle
0a5f63abf1 Add cookie management for Haiku frontend 2016-01-19 14:07:57 +00:00
Adrián Arroyo Calle
9a64e9302e Add web search bar to haiku frontend 2016-01-19 14:03:18 +00:00
Vincent Sanders
f266eb1c5d make search engines resource common between gtk and beos 2016-01-19 13:51:54 +00:00
Adrien Destugues
d97958a973 BeOS/Haiku: implement some of the Help menu. 2015-10-12 21:11:48 +01:00
Adrien Destugues
a182bb5501 BeOS/Haiku: Remove obsolete "messages" file. 2015-10-12 21:11:42 +01:00
Adrien Destugues
5546a3dbcd BeOS/Haiku: improve menus management
* 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
2015-10-12 21:11:25 +01:00
Adrien Destugues
af66ed3194 BeOS/Haiku: use Haiku native dialog box.
* Looks better than a standard alert.
2015-10-12 21:11:21 +01:00
Adrien Destugues
15777ee750 BeOS/Haiku: Disable replicant dragger
* 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.
2015-10-12 21:09:44 +01:00
Adrien Destugues
0e606ac64b BeOS/Haiku: use cross-platform "select" code.
Fixes http://bugs.netsurf-browser.org/mantis/view.php?id=2165.
2015-10-12 21:09:07 +01:00
Adrien Destugues
2071c2a91b Fix BeOS build
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
2015-10-12 21:08:25 +01:00
Adrien Destugues
989bc6e190 Fix build on 64-bit Haiku
- 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
2015-07-14 09:12:44 +01: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
20d29c0537 fixup logging macros that incorrectly override the LOG() macro name 2015-05-28 17:33:18 +01:00
Vincent Sanders
0d811963c1 fixup all the remaining logging macro callsites
The semantic patch tool appears to have missed some difficult to
reason about callsites which have now been manually cleaned up
2015-05-28 17:06:18 +01:00
Vincent Sanders
c105738fa3 Change LOG() macro to be varadic
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.
2015-05-28 16:08:46 +01:00
Vincent Sanders
217aa3adc1 Convert beos to bitmap render API 2015-04-24 13:52:39 +01:00
Vincent Sanders
19abe9bddf remove unecessary include from beos bitmap header 2015-04-20 23:14:19 +01:00
Vincent Sanders
402d740137 fix missing comma in beos operations table 2015-04-17 00:29:58 +01:00
Vincent Sanders
e36907c5e1 add missing extern from struct declaration. 2015-04-17 00:24:00 +01:00
Vincent Sanders
839f15fc72 convert beos to bitmap operation table 2015-04-16 23:47:10 +01:00
Vincent Sanders
a6b02680a7 update beos meakfile to filter split messages 2015-04-07 00:44:44 +01:00
Vincent Sanders
d3c4eb7363 Move some beos specific make rules into its MAkefile.target 2015-04-05 14:53:59 +01:00
Vincent Sanders
ea9a2ff01d Fix up some doxygen errors 2015-04-03 00:28:22 +01:00
Witold Filipczyk
befa5e6ed3 To avoid namespace conflicts with ncurses add NetSurf key prefix.
Adds a NetSurf key code prefix of NS_ to all key codes.
2015-03-27 09:36:19 +00:00
Vincent Sanders
8a99b045bc Remove url from content thumbnailers API
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.
2015-03-15 00:00:45 +00:00
Michael Drake
4402bcf779 Need nsurl. 2015-02-26 16:31:29 +00:00
Michael Drake
30909f8ed5 Move FILE_SCHEME_PREFIX to corestrings. 2015-02-26 16:14:23 +00:00
Vincent Sanders
cd2e336449 Try using -pipe on beos/haiku as temporary file access may be slow 2014-11-24 13:18:52 +00:00
Vincent Sanders
79e501075a make the form select menu API smaller.
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.
2014-11-13 21:52:08 +00:00
Vincent Sanders
5562c9a553 Continue doxygen error cleanup. 2014-11-08 22:08:29 +00:00
Vincent Sanders
a325634882 fix errors in change url setting api to take an nsurl instead of a text string 2014-11-02 22:44:20 +00:00
Vincent Sanders
03abea12a7 fix errors introuced with previous header cleanup. 2014-11-02 20:39:15 +00:00
Vincent Sanders
ad343eccb1 remove unecessary utils/types.h
This cleans up this header and moves the functionality into more
useful places while reducing the include complexity but only pulling
in whats required.
2014-11-02 20:10:32 +00:00
Vincent Sanders
847e1111bc fix beos url setting function to return error code 2014-10-29 00:37:35 +00:00
Vincent Sanders
7ace528729 Update url setting API to return nserror code instead of calling warn_user 2014-10-29 00:18:12 +00: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
Michael Drake
3d52312d96 BeOS front end doesn't need browser_private any more. 2014-10-25 15:09:41 +01:00