| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
-Wstrict-aliasing for lpu or hubbub.
svn path=/trunk/netsurf/; revision=6673
|
|
|
|
|
|
| |
thread, and the loop in another to avoid a deadlock in replicants... hope nobody minds.
svn path=/trunk/netsurf/; revision=5586
|
|
|
|
|
|
|
|
| |
to call it from elsewhere to embed NetSurf in another application.
The netsurf_embedded bool remembers it for later (like, we shouldn't probably save the hotlist and preferences in that case).
svn path=/trunk/netsurf/; revision=5579
|
|
|
|
|
|
| |
locale to "C" in the first place. The issues listed in the commit log for r4153 still apply. This should fix the core's parsing of floats in locales that use something other than '.' as the decimal separator.
svn path=/trunk/netsurf/; revision=5568
|
|
|
|
|
|
| |
now call it no more frequently than once every 5 seconds. Additionally, we cache the result of talloc_total_size() in content_clean() rather than calculating it twice. On large documents, this function took 25% of CPU time. This makes the fetching/rendering/scrolling/redrawing of large documents over twice as fast.
svn path=/trunk/netsurf/; revision=4527
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Do not change the locale globally, else things will break in weird and
wonderful ways.
Introduce utils/locale.[ch], which provide locale-specific wrappers for various
functions (currently just the <ctype.h> ones).
Fix up the few places I can see that actually require that the underlying
locale is paid attention to.
Some notes:
1) The GTK frontend code has not been touched. It is possible that reading of
numeric values (e.g. from the preferences dialogue) may break with this
change, particularly in locales that use something other than '.' as their
decimal separator.
2) The search code is left unchanged (i.e. assuming a locale of "C").
This may break case insensitive matching of non-ASCII characters.
I doubt that ever actually worked, anyway. In future, it should use
Unicode case conversion to achieve the same effect.
3) The text input handling in the core makes use of isspace() to detect
word boundaries. This is fine for western languages (even in the C locale,
which it's currently assuming). It will, however, break for CJK et. al.
(this has always been the case, rather than being a new issue)
4) text-transform uses locale-specific variants of to{lower,upper}. In future
this should probably be performing Unicode case conversion. This is the
only part of the core code that makes use of locale information.
In future, if you require locale-specific behaviour, do the following:
setlocale(LC_<whatever>, "");
<your operation(s) here>
setlocale(LC_<whatever>, "C");
The first setlocale will change the current locale to the native environment.
The second setlocale will reset the current locale to "C".
Any value other than "" or "C" is probably a bug, unless there's a really
good reason for it.
In the long term, it is expected that all locale-dependent code will reside in
platform frontends -- the core being wholly locale agnostic (though assuming
"C" for things like decimal separators).
svn path=/trunk/netsurf/; revision=4153
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=4144
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3775
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3638
|
|
|
|
|
|
| |
contain appropriate licence text
svn path=/trunk/netsurf/; revision=3486
|
|
|
|
|
|
|
|
|
| |
* Tested on Solaris Express: Developer Edition,
which is between Solaris 10 and 11.
* Used gcc, libmng etc packages using pkg-get and blastwave's resources.
* Had to build lemon and re2c manually.
svn path=/trunk/netsurf/; revision=3350
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in includes
NetSurf includes are now done with ""s and other system includes with <>s as C intended.
The scandeps tool has been updated to only look for ""ed includes, and to verify that the
files exist in the tree before adding them to the dependency lines. The depend rule has
therefore been augmented to make sure the autogenerated files are built before it is run.
This is untested under self-hosted RISC OS builds. All else tested and works.
svn path=/trunk/netsurf/; revision=3307
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3306
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3268
|
|
|
|
|
|
| |
potential stability issues.
svn path=/trunk/netsurf/; revision=3160
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3156
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3115
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=3073
|
|
|
|
| |
svn path=/trunk/netsurf/; revision=2906
|
|
|
|
|
|
| |
No longer need urldb_init; remove it.
svn path=/trunk/netsurf/; revision=2643
|
|
|
|
|
|
| |
still need implementing.
svn path=/trunk/netsurf/; revision=2632
|
|
|
|
|
|
| |
Cache previous iconv conversion descriptor
svn path=/import/netsurf/; revision=1792
|
|
|
|
|
|
| |
Stop toolbar scrolling by 1px, make theme saving use leafnames, improve error handling
svn path=/import/netsurf/; revision=1499
|
|
|
|
|
|
| |
Stop crashes during buffered rendering freezing RISC OS
svn path=/import/netsurf/; revision=1494
|
|
|
|
|
|
| |
Improve !Boot file and support protocol fallback positions.
svn path=/import/netsurf/; revision=1287
|
|
|
|
|
|
| |
die() doesn't need extra ().
svn path=/import/netsurf/; revision=1252
|
|
|
|
|
|
| |
Implement content_quit() and ro_gui_window_quit() to free resources on quit.
svn path=/import/netsurf/; revision=1164
|
|
|
|
|
|
| |
Implement gui_init2() and move RISC OS-specific code in main() to it. Use intro page if option_homepage_url is "".
svn path=/import/netsurf/; revision=1158
|
|
|
|
|
|
| |
Renamed curl_memdebug() to memdebug_memdebug().
svn path=/import/netsurf/; revision=1157
|
|
|
|
|
|
| |
Updated to support new config options (homepage, open on startup). Bug fixes with new config pane window (sticky selected radio icon bug!). Also includes up-to-date French templates.
svn path=/import/netsurf/; revision=1150
|
|
|
|
|
|
| |
Remove unnecessary declaration of external function.
svn path=/import/netsurf/; revision=1100
|
|
|
|
| |
svn path=/import/netsurf/; revision=1097
|
|
|
|
|
|
| |
Tidier hotlist code. URL normalisation. Redraw uses Tinct.
svn path=/import/netsurf/; revision=1063
|
|
|
|
|
|
| |
Using UTF-8 instead of Latin1 encoding.
svn path=/import/netsurf/; revision=1049
|
|
|
|
|
|
| |
Merge memory cache into content module.
svn path=/import/netsurf/; revision=986
|
|
|
|
|
|
| |
Log version on startup.
svn path=/import/netsurf/; revision=972
|
|
|
|
|
|
| |
Compiler warning purge
svn path=/import/netsurf/; revision=954
|
|
|
|
|
|
| |
Add global content list. Better error handling in content code. Improved code documentation. Remove some obsolete functions. Implement debug window listing contents.
svn path=/import/netsurf/; revision=951
|
|
|
|
|
|
| |
Log in stderr on which machine NetSurf was running.
svn path=/import/netsurf/; revision=930
|
|
|
|
|
|
| |
Move save_complete_init() call to gui_init()
svn path=/import/netsurf/; revision=818
|
|
|
|
|
|
| |
Minimal fixes to allow compilation with Norcroft
svn path=/import/netsurf/; revision=813
|
|
|
|
|
|
| |
Call save_complete_init().
svn path=/import/netsurf/; revision=678
|
|
|
|
|
|
| |
Remove unused nsjpeg_init().
svn path=/import/netsurf/; revision=657
|
|
|
|
|
|
| |
Add setlocale() call in init for better toupper etc. for text-transform.
svn path=/import/netsurf/; revision=622
|
|
|
|
|
|
| |
Disable clean_cookiejar() due to reliability problems.
svn path=/import/netsurf/; revision=612
|
|
|
|
|
|
| |
Add new url functions and modify to use them.
svn path=/import/netsurf/; revision=578
|
|
|
|
|
|
| |
Clean up and rewrite options code.
svn path=/import/netsurf/; revision=536
|
|
|
|
|
|
|
| |
Add jpeglib 6b based rendering. Attempts to use the OS routines first as
they're faster.
svn path=/import/netsurf/; revision=503
|
|
|
|
|
|
|
| |
Add ability to turn off browser features in build.
This may be useful when hunting down bugs.
svn path=/import/netsurf/; revision=480
|
|
|
|
|
|
|
|
|
|
|
| |
Remove expired cookies from the cookiejar.
Cookies are removed every time a window is closed and when NetSurf is
quit.
/me slaps libcurl for not doing it itself.
Make cookie_create() read the cookie jar location from the messages file.
svn path=/import/netsurf/; revision=463
|