Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rewrite form_successful_controls_dom as form_dom_to_data | Vincent Sanders | 2018-09-29 | 1 | -556/+883 |
| | | | | | | | | | | | | | | | | | | | | | | | | Trying to reason about error propagation and resource leakage within the form submission code was impossible because of the form_successful_controls_dom function. This function was over six hundred lines long, had twenty six top level local variables and six levels of indent in places. This commit splits it out into thirteen shorter and more obvious functions. The resulting operation is identical except errors are properly propagated (all failures were reported as out of memory) and resource management can be reasoned about. The compiler appears to inline the entirety of the code from form_submit() down excepting a handful of leaf functions. This results in similar code output size as previous implementation. The new implementation has a greater number of variables passed to sub functions than desirable because multiple character sets are required to encode names and values in the multipart data list. However as noted the compiler effectively inlines all these functions so this does not actually become a major problem. | ||||
* | Add a TODO for history context menu | Chris Young | 2018-09-27 | 1 | -0/+1 |
| | |||||
* | Quick fix to convert helphints to correct charset | Chris Young | 2018-09-27 | 2 | -3/+5 |
| | | | | We should probably have our own strings for these | ||||
* | Convert find window messages to local charset | Chris Young | 2018-09-27 | 1 | -30/+52 |
| | |||||
* | Stop using the same large list of gadget constants everywhere | Chris Young | 2018-09-26 | 5 | -98/+123 |
| | | | | Saves a small amount of memory | ||||
* | gcc on openbsd is unable to reason about res variable usage and generates ↵ | Vincent Sanders | 2018-09-26 | 1 | -1/+1 |
| | | | | bogus warning | ||||
* | fix url encoding to be compatible with nsurl API changes. | Vincent Sanders | 2018-09-26 | 5 | -158/+177 |
| | | | | | As part of this fix the form submission error handling and reporting has been improved. | ||||
* | improve nsurl query handling. | Vincent Sanders | 2018-09-26 | 5 | -44/+77 |
| | | | | | | | | | | | Alter the handling of query values within nsurl to be like fragments. This ensures callers never have to care about the query punctuation, e.g. the question mark This also means the strings generated will no longer have trailing question marks which now conforms to behaviour in whatwg url spec on url serializing in section 4.5 | ||||
* | squash clang warning about increased alignment requirements. | Vincent Sanders | 2018-09-26 | 1 | -1/+2 |
| | |||||
* | Change logging back to INFO | Chris Young | 2018-09-09 | 1 | -5/+5 |
| | |||||
* | Fix compiler version comparison test | Vincent Sanders | 2018-09-07 | 1 | -1/+1 |
| | |||||
* | stop overriding non test warning flags | Vincent Sanders | 2018-09-07 | 1 | -4/+4 |
| | |||||
* | allow comments to supress implicit fallthrough warnings | Vincent Sanders | 2018-09-07 | 3 | -6/+11 |
| | |||||
* | fix framebuffer BUILD libpng flags on freebsd | Vincent Sanders | 2018-09-07 | 1 | -2/+7 |
| | |||||
* | Change BUILD compiler target to cc | Vincent Sanders | 2018-09-07 | 2 | -15/+24 |
| | | | | | | | | The use of gcc explicitly does not work on systems where the local building system only has the clang compiler. Framebuffer was the only user of the BUILD_CC target for local tooling and its handling of flags was also improved. | ||||
* | correctly setup feature flags | Vincent Sanders | 2018-09-06 | 1 | -7/+14 |
| | |||||
* | _XOPEN_SOURCE needs defining to avoid warnings on BSD | Vincent Sanders | 2018-09-06 | 1 | -0/+1 |
| | |||||
* | seems freebsd needs _XOPEN_SOURCE for math.h macros to be defined | Vincent Sanders | 2018-09-06 | 1 | -0/+1 |
| | |||||
* | stop defining _XOPEN_SOURCE | Vincent Sanders | 2018-09-06 | 4 | -5/+2 |
| | | | | | This is necessary with some libc as it overrides _POSIX_C_SOURCE and removes definitions of scandir etc. | ||||
* | Log version numbers of opened libraries | Chris Young | 2018-09-02 | 1 | -4/+10 |
| | | | | Log open failures as ERROR instead of INFO | ||||
* | fix up package version on haiku | Vincent Sanders | 2018-08-29 | 1 | -1/+1 |
| | |||||
* | Update version for next development cycle | Vincent Sanders | 2018-08-29 | 1 | -3/+3 |
| | |||||
* | Merge branch 'heads/releasing/3.8' | Vincent Sanders | 2018-08-29 | 0 | -0/+0 |
|\ | |||||
| * | Update version files for releaserelease/3.8 | Vincent Sanders | 2018-08-29 | 1 | -7/+2 |
|/ | |||||
* | update copyright years and versions in docs and readme | Vincent Sanders | 2018-08-29 | 9 | -29/+29 |
| | |||||
* | remove use of strcpy | Vincent Sanders | 2018-08-29 | 2 | -5/+11 |
| | |||||
* | remove a warning on openbsd | Vincent Sanders | 2018-08-28 | 2 | -2/+6 |
| | |||||
* | update certificate bundle | Vincent Sanders | 2018-08-28 | 1 | -543/+211 |
| | |||||
* | HTML: Don't try to finish an HTML document's conversion twice. | Michael Drake | 2018-08-27 | 1 | -0/+16 |
| | |||||
* | GTK: Remove logging during window resize. | Michael Drake | 2018-08-27 | 1 | -1/+0 |
| | |||||
* | fixup usage of gvalue init macro | Vincent Sanders | 2018-08-26 | 2 | -3/+8 |
| | |||||
* | fix gtk 3 deprication warnings | Vincent Sanders | 2018-08-26 | 5 | -9/+46 |
| | |||||
* | remove depricated gtk 3 interfaces | Vincent Sanders | 2018-08-24 | 1 | -1/+16 |
| | |||||
* | remove warning by replacing sprintf snprintf | Vincent Sanders | 2018-08-24 | 1 | -1/+5 |
| | |||||
* | remove warning by replacing strcpy with safer strncpy | Vincent Sanders | 2018-08-24 | 1 | -5/+11 |
| | |||||
* | make ssize_t type available on some platforms | Vincent Sanders | 2018-08-23 | 1 | -0/+1 |
| | |||||
* | make "Help" string available in all frontends | Vincent Sanders | 2018-08-21 | 1 | -5/+5 |
| | |||||
* | Haiku: use the native locale API to get the language name | François Revol | 2018-08-21 | 1 | -5/+27 |
| | | | | | We used getenv() on LC_MESSAGES but we currently set it incorrectly anyway... We keep this as a fallback. | ||||
* | pass PACKAGER variable to pakage build target | Vincent Sanders | 2018-08-21 | 1 | -4/+2 |
| | |||||
* | do not use strlen as a variable name | Vincent Sanders | 2018-08-21 | 1 | -4/+4 |
| | |||||
* | ignore generated Messages files | Vincent Sanders | 2018-08-21 | 1 | -10/+4 |
| | |||||
* | Update windows frontend to use windows resources | Vincent Sanders | 2018-08-21 | 18 | -71/+184 |
| | |||||
* | Improve GTK login dialog | Vincent Sanders | 2018-08-19 | 4 | -391/+322 |
| | |||||
* | make the login dialog password control obscure input | Vincent Sanders | 2018-08-18 | 1 | -1/+1 |
| | |||||
* | fix size_t format specifiers | Vincent Sanders | 2018-08-18 | 3 | -26/+41 |
| | |||||
* | add win32 http authentication dialog | Vincent Sanders | 2018-08-18 | 10 | -13/+432 |
| | |||||
* | add login dialog | Vincent Sanders | 2018-08-16 | 5 | -259/+311 |
| | |||||
* | Convert user/pass from/to UTF-8 | Chris Young | 2018-08-15 | 1 | -6/+20 |
| | | | | Haven't successfully logged in with credentials featuring UTF-8 characters, but ASCII run through the conversion is working and UTF-8 usernames display correctly when the user is re-prompted. | ||||
* | Convert user/pass to UTF-8 for submission | Chris Young | 2018-08-15 | 1 | -5/+14 |
| | |||||
* | Convert login UI strings from UTF-8 before display | Chris Young | 2018-08-15 | 1 | -9/+32 |
| |