summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* REWORK: DODGY CRAP FOR VINCEDaniel Silverstone2015-07-1820-3/+77973
|
* Fix IDL update from specVincent Sanders2015-07-171-5/+9
|
* Fix build on 64-bit HaikuAdrien Destugues2015-07-144-12/+4
| | | | | | | - Fix path to look for libnetwork to work also on non-hybrid systems - Remove references to /boot/common as it is not used anymore - Fix a few type errors - Use compiler provided va_copy when available
* Update jenkins build script to cope with arm linux buildsVincent Sanders2015-07-131-37/+17
|
* Complete hash table tests and clean up ineterface.Vincent Sanders2015-07-125-200/+237
|
* Add initial tests for hash table.Vincent Sanders2015-07-122-9/+161
|
* add some more nsurl compare unit tests to improve coverageVincent Sanders2015-07-101-0/+20
|
* Complete API coverage in nsurl unit testVincent Sanders2015-07-101-2/+147
|
* Add nsurl unit tests for the component handling parts of the APIVincent Sanders2015-07-101-0/+86
|
* Improve nsurl unit test to exercise the compare APIVincent Sanders2015-07-101-0/+60
|
* Extend bloom filter test to check item count is correctVincent Sanders2015-07-101-0/+4
|
* Add unit test for bloom filterVincent Sanders2015-07-103-59/+202
| | | | | | | Adds check based unit test for teh bloom filter implementation. This is based on Roberts original test code in utils/bloom.c and uses /usr/share/dict as a source of strings to check bloom creation, no false negatives and the false positive rate is below 15%.
* Add tests for all asserts in nsurl API and for access and access_leafVincent Sanders2015-07-092-179/+481
|
* Add asserts to ensure operations not passed bad pointersVincent Sanders2015-07-091-0/+4
|
* Improve component documentation.Michael Drake2015-07-091-3/+12
|
* Add some basic API assert check tests to ensure bad parameters are caughtVincent Sanders2015-07-091-1/+317
|
* Fix mention of nsurl_destroy.Michael Drake2015-07-091-6/+6
|
* remove unused sources from urldb testVincent Sanders2015-07-091-3/+2
|
* add libidn to test pkgconfigVincent Sanders2015-07-091-2/+2
|
* Add coverage to the unit test makefile targetsVincent Sanders2015-07-083-48/+83
| | | | | | The tests now only require that the test name is added to the TESTS variable and a testname_SRCS is set with a list of required sources to compile.
* convert nsurl tests to use check unit test frameworkVincent Sanders2015-07-083-217/+290
|
* Restructure test makefile to be called from main makefileVincent Sanders2015-07-074-42/+153
| | | | | | This changes the make test to be executed from the main netsurf makefile instead of being standalone. It also fixes up the urldbtest to run.
* make nsurl unit test work againVincent Sanders2015-07-076-11/+21
|
* Allow a fallback font for characters above 0xFFFF to be specified. There is ↵Chris Young2015-07-065-5/+33
| | | | no scanning of this range as most fonts don't have any characters here. Symbola is selected if it is installed.
* Support UTF-16 surrogates. This enables Emoji to be displayed if an ↵Chris Young2015-07-061-6/+24
| | | | | | appropriate font is installed. NB: Currently surrogate glyphs are not able to use the fallback font. The wrong glyphs may be displayed if you use an "old font engine".
* Split UTF-16 char length check into a separate functionChris Young2015-07-061-17/+16
|
* Correct broken ifdefChris Young2015-07-051-1/+1
|
* Fix logging to stderr if verbose_log was set before nslog_init was calledVincent Sanders2015-07-051-2/+5
|
* Fix a signed comparison error in nsurl parsing.Vincent Sanders2015-07-041-1/+1
| | | | | | | | | | | | | | | | | | | In utils/nsurl.c the function nsurl__create_from_section() has a section dealing with non-redundant ports (starting line 973). lwc_intern_string() was being called with negative lengths and as it takes a size_t (unsigned) so is getting passed a very large length which causes a segfault. this is supposed to be protected by the flag setting on line 969 however the arithmetic is all *unsigned* so the condition never matches (gdb) p length - (colon - pegs->at + skip) $9 = 18446744073709551608 changing the check arithmetic to be a simple comparison against length prevents this issue and reduces the amount of computation required.
* split out windows file operations into a separeate moduleVincent Sanders2015-06-307-265/+333
|
* Improve gtk scaffolding documentationVincent Sanders2015-06-301-35/+48
|
* Ensure gtk windows have a default favicon at creation.Vincent Sanders2015-06-301-4/+11
| | | | | | | This ensures newly created gtk gui windows have a default favicon set. This is necessary because new tab creation displays the new windows contents before an icon has been set and the icon will not be changed from the previously viewed tabs icon.
* Fix missing unistd includes to allow building with older headersVincent Sanders2015-06-292-1/+3
|
* Add missing include to gtk scaffoldingVincent Sanders2015-06-291-0/+1
| | | | Without unistd access, close and unlink were not properly defined
* fix glib resource API usage even when gresource was disabledVincent Sanders2015-06-291-0/+9
|
* Improve resource code to not try and use g_resource calls when disabled.Vincent Sanders2015-06-291-1/+5
|
* Allow gtk preferences language selection resource to be inlineVincent Sanders2015-06-252-41/+138
| | | | | | | This allows the languages resource to be read from file or from inline data. Additionally it fixes a bug where the language combo box would always be reset to en as the default regardless of what was currently configured.
* Fix error reporting from fetch_startVincent Sanders2015-06-244-47/+79
| | | | | | | Any fetch start error was being reported as "out of memory" which was clearly insufficient. Foe example bad urls (reported was file:// with a missing /) were causing a warn_user with out of memory. This change now at least causes a "bad url" message.
* Update GTK url bar completion to navigate on selectionVincent Sanders2015-06-233-60/+142
|
* Change gtk message and language handling to use resource namesVincent Sanders2015-06-238-39/+62
| | | | | | | | | | The GTK resource handling can now provide the path to resources rather than having to compute them separately. This reduces run time allocation and allows for the resources to be built in if required. Additionally this tweaks the resource scheme handling to redirect favicon.ico to resource:favicon.png instead of rewriting directly to file scheme path allowing the favicon to be a compiled in resource.
* Allow GTK to include inline resources for default cssVincent Sanders2015-06-222-0/+6
|
* fix unused variable warning in framebuffer Message loadingVincent Sanders2015-06-221-1/+4
|
* Scale cached favicons before they are cached. This avoids the need to scale ↵Chris Young2015-06-223-2/+10
| | | | icons on menu creation.
* Remove the overwrite check in bitmap_save as it causes duplicate overwrite ↵Chris Young2015-06-221-4/+0
| | | | requesters.
* Add an appropriate file extension when saving, or leave the existing if ↵Chris Young2015-06-221-3/+30
| | | | we're saving source. This fixes the remainder of #2185
* Don't need gtkdefault.css now.Michael Drake2015-06-223-14/+1
|
* Consolidate default style.Michael Drake2015-06-222-20/+8
|
* fixup missing lincludes from messages API updateVincent Sanders2015-06-223-0/+3
|
* Allow translation messages to be compiled in as GTK resourcesVincent Sanders2015-06-216-31/+192
|
* This moves message loading out of netsurf_init into each frontendVincent Sanders2015-06-2114-31/+90
| | | | | | | | | | The translated message loading is dependant on configuration of resource location in each frontend, additionally they should have the ability to deal with errors in this loading in a implementation specific manner. This also extends the message loading API to be capable of loading from an inline memory buffer instead of from a file.