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
Michael Drake
5787f8335e
Simplify and optimise icon handling.
2014-01-24 23:13:18 +00:00
Michael Drake
dab6d7961e
Actually use the fact scheme is interned.
2014-01-24 22:00:25 +00:00
Chris Young
d64754aca4
Ensure the screen actually gets closed before NetSurf quits.
2014-01-24 20:35:31 +00:00
Michael Drake
2075ad7ff4
Use corestrings.
2014-01-24 20:19:20 +00:00
Michael Drake
0a6e5fcb6d
Use corestring.
2014-01-24 20:14:26 +00:00
Michael Drake
14238615a4
Use corestrings for "about", "data", and "resource".
2014-01-24 20:08:41 +00:00
Michael Drake
e32dc31b04
Use corestring ref.
2014-01-24 19:58:51 +00:00
Michael Drake
178f3945b8
Just use corestring refs.
2014-01-24 19:31:50 +00:00
Michael Drake
c4e2fff5a4
Use corestrings for fetch module's lwc strings.
2014-01-24 19:25:07 +00:00
Michael Drake
72510f550b
Use corestrings in box construction.
2014-01-24 18:58:12 +00:00
Michael Drake
20e789955d
Ensure first option gets selected when the markup doesn't specify any options as selected.
2014-01-24 17:32:49 +00:00
Michael Drake
f07a04126d
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2014-01-24 16:45:52 +00:00
Michael Drake
05dc1c1305
Fix Coverity-spotted issue. (Fixes behaviour for multiple selects.) Also minor optimisation.
2014-01-24 14:21:27 +00:00
Vincent Sanders
b7e372cf84
ensure imagemap lists are freed on error paths (coverity 1109880)
2014-01-24 12:11:10 +00:00
Vincent Sanders
b38dfd7939
ensure monkey command dispatch frees argument vector (coverity 1127054)
2014-01-24 11:54:53 +00:00