| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Fix handling of controls with no value - should fix 1424022.
svn path=/import/netsurf/; revision=2056
|
|
|
|
|
|
| |
Fix comment typo.
svn path=/import/netsurf/; revision=1948
|
|
|
|
|
|
| |
Fix submitting of forms with more than one image button.
svn path=/import/netsurf/; revision=1856
|
|
|
|
|
|
| |
Fix strndup() compiler warnings.
svn path=/import/netsurf/; revision=1840
|
|
|
|
|
|
| |
Fix erroneous attempt to uppercase address of character instead of the character itself
svn path=/import/netsurf/; revision=1802
|
|
|
|
|
|
|
| |
Improve clarity of use of utf8_to_enc.
Remove use of curl_escape - url_escape does similar things, just better.
svn path=/import/netsurf/; revision=1766
|
|
|
|
|
|
|
|
| |
Move acceptable character set determination to form submission time, rather thanat box tree creation time.
Use UTF-8 encoding, if specified, else use first specified encoding.
Improve use of utf8_to_enc - falling back to document encoding then 8859-1 where appropriate.
svn path=/import/netsurf/; revision=1765
|
|
|
|
|
|
|
| |
Lose cnv_str_local_enc and friends.
UTF-8 conversion functions now return an enumerated type allowing for fallbacks, if appropriate.
svn path=/import/netsurf/; revision=1744
|
|
|
|
|
|
| |
Fix textarea submission
svn path=/import/netsurf/; revision=1740
|
|
|
|
|
|
| |
Fix issue with erroneously appending a space to the end of every line of textarea input - should we actually be examining box->space here, instead?
svn path=/import/netsurf/; revision=1724
|
|
|
|
|
|
| |
Correctly handle submitting forms via pressing return in a text input (the first declared submit button should be used)
svn path=/import/netsurf/; revision=1719
|
|
|
|
|
|
| |
Fix for default checkbox submit value.
svn path=/import/netsurf/; revision=1718
|
|
|
|
|
|
| |
Don't append a space to the end of textarea input
svn path=/import/netsurf/; revision=1654
|
|
|
|
|
|
|
|
|
|
|
|
| |
Split out UTF-8 handling functions.
Submit URL-encoded forms in sensible encoding:
* First entry in accept-charset list, if present
* Document encoding, otherwise
We may want to explicitly look for UTF-8, to save converting.
Convert cnv_str_local_enc/cnv_local_enc_str to use iconv (they're now veneers for utf8_[to/from]_enc).
Provide mechanism for looking up local system charset (derived from system alphabet, under RISC OS)
svn path=/import/netsurf/; revision=1647
|
|
|
|
|
|
| |
Move HTML contents almost fully over to talloc(), simplifying code. Improvements to title attributes, broken forms, cellpadding. Reorder functions in box_construct.c.
svn path=/import/netsurf/; revision=1608
|
|
|
|
|
|
| |
Add form_new() and form_add_option().
svn path=/import/netsurf/; revision=1400
|
|
|
|
|
|
| |
Work around issue with selected radio buttons/checkboxes having no current value
svn path=/import/netsurf/; revision=1308
|
|
|
|
|
|
| |
Restrict last change to hidden inputs only - breaks sf.net bug tracker otherwise
svn path=/import/netsurf/; revision=1243
|
|
|
|
|
|
|
| |
Fix issue with hidden inputs having no value property
Log on memory error to aid debugging
svn path=/import/netsurf/; revision=1242
|
|
|
|
|
|
| |
Fix form submitting with an empty file upload. Update form_textarea_value(). Purge xcalloc() etc from form.c and handle memory exhaustion.
svn path=/import/netsurf/; revision=1195
|
|
|
|
|
|
|
|
|
|
| |
form.h (struct form_control): renamed caret_char_offset to caret_box_offset; Added caret_form_offset & length.
form.c: initialise new entries in struct form_control; form_successful_controls() : code reshuffling to improve readibility.
box.h: TABing.
box.c (box_input): init struct form_control::length.
browser.c (browser_window_input_callback): UTF-8 support. Text area code needs similar changes.
svn path=/import/netsurf/; revision=1117
|
|
|
|
|
|
| |
Revert accidental checkin.
svn path=/import/netsurf/; revision=916
|
|
|
|
|
|
| |
Update calls to layout_document() for error handling.
svn path=/import/netsurf/; revision=915
|
|
|
|
|
|
| |
Fix and clean code for radio and checkbox inputs.
svn path=/import/netsurf/; revision=884
|
|
|
|
|
|
| |
Add form_new_control() and form_free_control().
svn path=/import/netsurf/; revision=878
|
|
|
|
|
|
| |
Implement dragging files into <input type="file" ...>.
svn path=/import/netsurf/; revision=821
|
|
|
|
|
|
|
| |
Improve keypress handling in form text boxes.
Note: Not yet implemented for textareas as these need more work anyway.
svn path=/import/netsurf/; revision=740
|
|
|
|
|
|
| |
Fix bug with submission of forms with no successful controls.
svn path=/import/netsurf/; revision=696
|
|
|
|
|
|
|
| |
Fix for SparkFS causing problems with uploading zip files.
Map filetypes to mimetype properly.
svn path=/import/netsurf/; revision=646
|
|
|
|
|
|
|
| |
<input type="file" support>
Broken in places.
svn path=/import/netsurf/; revision=645
|
|
|
|
|
|
| |
Submit textarea contents.
svn path=/import/netsurf/; revision=386
|
|
|
|
|
|
| |
URL encoded POST support.
svn path=/import/netsurf/; revision=375
|
|
Split out and clean up form submit code.
svn path=/import/netsurf/; revision=374
|