Michael Drake
5c8f4c9c8c
nsurl: Rationalise debug build option.
2017-02-08 17:27:13 +00:00
Michael Drake
91a7fffd56
nsurl: Tidy up component helper macros.
2017-02-08 17:27:13 +00:00
Michael Drake
2acd90e28a
nsurl: Consolidate conversion to string.
2017-02-08 17:27:13 +00:00
Michael Drake
95e5ede775
nsurl: Split out URL parsing.
2017-02-08 17:27:13 +00:00
Michael Drake
4c47f9c046
nsurl: Split internal structure out into private header.
2017-02-08 17:27:13 +00:00
Michael Drake
299a85fa7a
nusrl: Move into utils/nsurl directory.
2017-02-08 17:27:13 +00:00
Daniel Silverstone
108cc0cebd
Support fixed nsgenbind bindings
2017-02-05 11:20:08 +00:00
Vincent Sanders
6075feb487
create netsurf inttypes header to have portable integer formatting macros
2017-01-21 14:20:55 +00:00
Vincent Sanders
70d700b26c
rationalise use of utils/utils.h header
2017-01-19 21:15:08 +00:00
Vincent Sanders
7dab7cb43d
move plot style header to netsurf include directory
...
move plotter style header and adjust all callers to use only what they
actually require.
2017-01-13 10:03:24 +00:00
Vincent Sanders
7a5b50be94
move test script into utils
2016-12-16 14:45:16 +00:00
Chris Young
407e58406b
Remove nonsense comments
2016-12-11 17:33:31 +00:00
Chris Young
4ad375c3b0
Ensure memory used by Messages is freed on exit
2016-12-11 16:43:48 +00:00
Michael Drake
67b7854737
IDNA: Update to upstream-compatible utf8proc API.
2016-11-23 15:43:37 +00:00
Daniel Silverstone
1fb06929d9
Remove internal BASE64 in favour of nsutils' one
2016-11-19 14:40:10 +00:00
Vincent Sanders
43e91251ad
windows frontend netsurf options
2016-10-19 23:07:43 +01:00
Michael Drake
b42d253f86
Table cell nowrap attribute is presentational hint, not UA style.
2016-10-13 12:44:27 +01:00
Vincent Sanders
22d917c92d
allow gtk3 target in CI system
2016-10-08 20:32:15 +01:00
Vincent Sanders
a2396edde4
complete transition to locale independant core operation
...
The netsurf core no longer uses any locale dependant operations
excepting the mall number or cases where such operations are
explicitly wanted.
the netsurf_init now calls setlocale with the empty string and lets
the c library setup as per its specific implementation.
any core functionality that specificaly processes ascii text must use
the utils/ascii.h header to do so.
2016-09-29 22:37:10 +01:00
Michael Drake
f89ec1df37
Utils: Remove redundant genpubsuffix.pl (using libnspsl now).
2016-09-26 10:15:05 +01:00
Vincent Sanders
608a18caff
remove junk references to old javascript implementations
2016-09-19 22:02:51 +01:00
Vincent Sanders
c830d14d0b
cleanup seevral doxygen warnings
2016-09-13 09:16:31 +01:00
Michael Drake
30646c3145
Time: Micro-optimisation: Put GMT first in timezone list.
2016-08-17 09:07:44 +01:00
Vincent Sanders
02360ec7be
add some corestrings API tests and fix corestrings fini.
2016-08-14 23:49:53 +01:00
Michael Drake
f23405f667
Time: Add date string to time_t parser.
2016-08-13 13:11:48 +01:00
Michael Drake
a1668f6c1e
url: Use ascii module, rather than ctype for locale safetly.
2016-08-13 12:05:55 +01:00
Michael Drake
efeeacca86
nsurl: Update to use ascii_* helper functions.
2016-08-13 12:05:55 +01:00
Michael Drake
16b66d3af5
Utils: Add a set of ASCII string parsing helpers.
...
These are not affected by the current locale.
2016-08-13 12:05:54 +01:00
Michael Drake
477b65eac0
Time: Expose arrays of weekday and month names.
2016-08-13 12:05:54 +01:00
Michael Drake
1457a049bb
Treeview: Add treeview_font_size
to options.
...
Default is 11pt, and RISC OS overrides to 12pt.
2016-08-11 08:15:21 +01:00
Michael Drake
655b619fd4
Add header that may be needed for Windows build. (CI fix attempt.)
2016-08-08 15:17:56 +01:00
Michael Drake
4394587ab0
Utils: Split time handling functions out of utils.c
into time.c
.
2016-08-07 15:22:13 +01:00
Michael Drake
0e76523e4c
Indentation: spaces to tabs.
2016-08-07 14:54:46 +01:00
Vincent Sanders
c0f4bbb308
remove erroneous parameter check to nsoption_snoptionf
...
The API check and bounds check for option indexes was from an unsigned
enum so checking for negative numbers was causing "comparison is always
false" errors in compilation.
2016-08-06 10:27:32 +01:00
Vincent Sanders
62b76bf31a
improve option test coverage futher
2016-08-06 01:20:37 +01:00
Vincent Sanders
afc79d5912
Improve user option testing and API parameter checking
2016-08-05 22:34:44 +01:00
Vincent Sanders
e8df81fdb3
add tests for utility string handling
2016-08-04 00:19:48 +01:00
Vincent Sanders
eb5e0599af
Improve percent escaping testing, parameter checking and documentation
2016-08-03 15:04:28 +01:00
Michael Drake
0c7649d030
URL escape: Improve API documentation.
2016-07-25 09:04:35 +01:00
Michael Drake
a122b94efd
URL escape: Simplify to avoid unnecessary allocation.
...
This removes the toskip parameter, which was only used by the RISC OS
front end. The toskip param was used to skip 8 characters which did
not need to be escaped from the start of the URL. The RISC OS front
end now orders the steps of its URL construction to avoid the need
for this.
2016-07-25 09:04:35 +01:00
Michael Drake
7417a21bb1
Improve comments.
2016-07-24 19:48:03 +01:00
Michael Drake
e88d82f87f
URL module: Remove unused curl #include.
2016-07-24 14:16:12 +01:00
Michael Drake
b4e21b76fd
URL unescape: Calculate new_len at end, rather than maintaining it.
2016-07-24 14:03:28 +01:00
Michael Drake
fa2e3b7784
URL unescape: return the new length to the caller.
...
The avoids situations were we threw away the length, only for
the caller to have to strlen the returned string.
Note, there seems to be a case of the amiga front end writing
beyond end of allocation. Added a TODO for now.
2016-07-24 14:03:16 +01:00
Michael Drake
cf753f20cc
Avoid using curl for URL unescaping.
...
This moves us towards working without curl.
2016-07-24 13:29:01 +01:00
Michael Drake
a543206075
URL unescape: Use size_t for length.
2016-07-24 12:33:51 +01:00
Michael Drake
90a260a2cc
Doxygen: Fix instance of bad function comment syntax.
2016-07-24 12:21:23 +01:00
Vincent Sanders
c313524998
reduce curl usage to fetcher, url unescaping and time parsing
2016-06-29 23:06:53 +01:00
Vincent Sanders
aa5090c85b
move utf8 header into public API
2016-05-30 11:20:15 +01:00
Vincent Sanders
5061687867
store toolbar config in standard options instead of a separate file
2016-05-21 12:17:49 +01:00