Commit Graph

9968 Commits

Author SHA1 Message Date
François Revol 17ecb818ad beos: Fix build (missing include) 2014-02-04 23:34:41 +01:00
Vincent Sanders 25bc5b2b8c remove unecessary desktop/browser.h includes 2014-02-04 15:30:53 +00:00
Vincent Sanders fba58ad4b0 remove unecessary include 2014-02-04 15:19:46 +00:00
Vincent Sanders 7b380d0982 fix sign extension issue on 64bit platforms (coverity 1109898) 2014-02-04 13:24:25 +00:00
Vincent Sanders dc33cb1418 atari fix for undefined PATH_MAX 2014-02-03 18:50:06 +00:00
Vincent Sanders 8d9e8791d9 try to make atari limits.h set PATH_MAX 2014-02-03 18:47:34 +00:00
Vincent Sanders 59fe9e09ac atari limits include 2014-02-03 18:37:32 +00:00
Vincent Sanders 17231603db fix atari PATH_MAX include 2014-02-03 18:31:53 +00:00
Vincent Sanders abb37ba148 fix remaining include errors 2014-02-03 18:23:02 +00:00
Vincent Sanders 59eaaf3015 fixup missing includes 2014-02-03 18:12:44 +00:00
Vincent Sanders 3455d66921 reduce desktop/browser.h unecessary includes 2014-02-03 17:56:24 +00:00
Vincent Sanders 6799f68bcc stop monkey pulling in headers from gtk 2014-02-03 17:00:10 +00:00
Vincent Sanders 6a7ca8b2a8 remove unecessary includes 2014-02-03 16:57:45 +00:00
Vincent Sanders 9da892c579 ensure documentation includes c++ and objective c files 2014-02-03 14:31:51 +00:00
François Revol 4fab874d4f beos: Drop unneeded desktop/gui.h include 2014-02-03 01:50:06 +01:00
François Revol dba69de613 beos: Fix build (missing includes) 2014-02-02 16:58:56 +01:00
Vincent Sanders 0b50b8f3f7 add missing stddef include for size_t 2014-02-02 15:48:26 +00:00
Vincent Sanders 236e135d63 fix missing stdlib include 2014-02-01 22:56:23 +00:00
Vincent Sanders 7798dae86a fix missing includes 2014-02-01 22:44:43 +00:00
Vincent Sanders 886a3106db move utf8 local conversion operations to table 2014-02-01 22:17:36 +00:00
Vincent Sanders 427f127fa9 remove further extraneous includes 2014-02-01 14:23:58 +00:00
Vincent Sanders 00bdf39dc2 remove unnecessary includes 2014-02-01 13:06:51 +00:00
Vincent Sanders 8bb0e87b1a make clipboard table operations static and remove unecessary includes 2014-02-01 12:41:23 +00:00
Vincent Sanders 1f62b5a980 make the clipboard operation table and members static to textselection module and cleanup unnecessary includes 2014-02-01 10:45:20 +00:00
Vincent Sanders 356461244e Merge remote-tracking branch 'origin/stevef/menus' 2014-01-31 18:46:45 +00:00
Vincent Sanders f99b17ae89 bump the maximum number of nodes in the doxygen documentation and fix a couple of small documentation errors 2014-01-29 23:58:41 +00:00
Vincent Sanders aaecf9e1af add missing include for neturf_quit symbol 2014-01-29 23:36:59 +00:00
Vincent Sanders d5a971c281 move verbose log global into logging module and remove netsurf.h include 2014-01-29 23:20:19 +00:00
Vincent Sanders e353973518 fix missing includes 2014-01-29 21:58:46 +00:00
Vincent Sanders db33103fa3 clean up desktop/gui.h include usage 2014-01-29 21:35:53 +00:00
Steve Fryatt 0114cc825d Provide a dedicated interface for destroying open menus.
Add ro_gui_menu_destroy(), so that this specific task does not share the same code as the more general task of tidying up after menus have been closed by other means.
The original ro_gui_menu_closed() now simply cleans up from a known (or assumed) closure, without forcing a closure itself.
2014-01-29 16:54:34 +00:00
Vincent Sanders 829b4fd454 Merge remote-tracking branch 'origin/stevef/menus' 2014-01-29 09:57:46 +00:00
François Revol 0d2a3618f1 env.sh: Add ns-pkgman-install to install Haiku dev packages
It is now provided as a specific package.
2014-01-29 09:53:03 +00:00
François Revol ab2f5ccb4b env.sh: Use a more portable way of counting online processors
getconf _NPROCESSORS_ONLN should be available on Linux, FreeBSD
and OSX at least:

http://linux.die.net/man/1/getconf
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/getconf.1.html

getconf NPROCESSORS_ONLN is BSD variant which Haiku provides.

One might want to handle Solaris too some day...
cf. https://gist.github.com/jj1bdx/5746298
2014-01-29 09:51:03 +00:00
Steve Fryatt 849bb5911c Don't poll when converting a menu to a dialogue, as the resulting Message_MenusDeleted no longer kills any newly-opened menus. 2014-01-28 23:59:51 +00:00
Steve Fryatt 654b25ffa1 Improve handling of Message_MenusDeleted so that we don't close whatever menu tree is open at the time. 2014-01-28 23:58:42 +00:00
Vincent Sanders 7cb0619fe8 fix dumb typos from utf8 error return refactor 2014-01-28 22:39:25 +00:00
Vincent Sanders 654da2ffb5 move utf8 conversion routines to use nserror instead of their own error enum 2014-01-28 21:40:13 +00:00
François Revol 4b760c7e49 beos: Fix build
Add missing header due to moved function.
2014-01-28 15:15:49 +01:00
François Revol 443d6f3e04 beos: Account for change in atomic_add() prototype in Haiku
Since the scheduler branch merge, atomic_add() takes a pointer
to int32, doesn't require the target to be volatile anymore.
2014-01-28 15:14:34 +01:00
Steve Fryatt 27fdcb90f2 Update copyright dates in modified files. 2014-01-26 16:28:56 +00:00
Steve Fryatt cdc4041942 Add belt and braces to ensure that URL Bar content is always cleanly terminated. 2014-01-26 15:15:49 +00:00
Steve Fryatt def97156d3 Make Open URL dialogue allocate memory for the URL field.
Add global constant for URL length, to manage both URL Bar and Open URL.
2014-01-26 14:35:57 +00:00
Steve Fryatt 89992958d2 Increase maximum size of a URL in the URL Bar to 2047 characters plus terminator. 2014-01-26 13:41:41 +00:00
Steve Fryatt 0ab5fe7c02 Improve URL handling in URL Bar.
Rationalise handling of UTF8, so that URLs are always converted into local encoding even if there is no URL icon present.
In addition, make preliminary hotlist test in set_url() use local encoding, in line with all subsequent checks.
Make handling of over-length URLs more sensible: warn user and completely blank the URL bar.
2014-01-26 13:30:08 +00:00
Vincent Sanders dc074042e9 fix errors in url_to_path tfetch table changes 2014-01-25 23:21:28 +00:00
Vincent Sanders 8ce0a10670 move path_to_url and url_to_path to fetch operation table 2014-01-25 23:01:32 +00:00
Michael Drake 46b8fbaeac Use corestring. 2014-01-25 10:00:33 +00:00
Michael Drake 96e5368d34 Use corestring. 2014-01-25 09:53:54 +00:00
Michael Drake ae6874d308 Just ref a corestring. 2014-01-24 23:19:46 +00:00