Michael Drake
7338f3ce88
nsurl: Remove redundant code path.
2017-03-27 18:09:29 +01:00
Michael Drake
8b4df800be
nsurl: Use ascii header for hex to value conversion.
2017-03-27 15:40:08 +01:00
Michael Drake
0e7ebb4ee0
ASCII: Add function for converting two hex chars to value.
2017-03-27 15:37:25 +01:00
Michael Drake
b14aa97a2a
ASCII: Add hex char to value conversion function.
2017-03-27 15:35:59 +01:00
Michael Drake
8caae83d35
ASCII: Split out a-f test.
2017-03-27 14:57:56 +01:00
Michael Drake
3ec522429a
ASCII: Split out A-F test.
2017-03-27 14:50:36 +01:00
Michael Drake
8e96e9bc27
nsurl: Don't allow credentials or host for file: URLs.
2017-03-27 12:20:33 +01:00
Michael Drake
372df59f28
nsurl: Set path of "/" for file: URLs with empty path.
2017-03-27 12:11:16 +01:00
Michael Drake
465ad9f0ab
nsurl: Add detection of "file:" URL schemes.
2017-03-27 12:09:45 +01:00
Michael Drake
b605270d42
nsurl: Add "file:" entry to enum of known URL schemes.
2017-03-27 12:05:11 +01:00
Vincent Sanders
6fb654d356
rework corestring implementation
...
This removes special casing for some strings and importantly the
multiple huge lists of variables in code.
2017-03-19 14:27:05 +00:00
Vincent Sanders
0f69965805
clean up some of the doxygen generation warnings
2017-02-19 11:32:17 +00:00
Michael Drake
3f5d8d1a2e
nsurl: Tidy up shared components code.
2017-02-08 17:27:13 +00:00
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