Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Prevent integer overflow due to fontstat | Tatsuya Kinoshita | 2021-04-24 | 1 | -7/+14 |
| | |||||
* | Return Str from base64_encode, fix extraction of first gif frame for ↵ | bptato | 2021-04-04 | 1 | -5/+1 |
| | | | | animations in put_image_kitty | ||||
* | Limit size and number of tables to prevent integer overflow | Tatsuya Kinoshita | 2021-04-03 | 1 | -2/+2 |
| | |||||
* | Nested <dl>s | bptato | 2021-02-13 | 1 | -5/+8 |
| | |||||
* | Fix <dl compact> | bptato | 2021-02-13 | 1 | -15/+31 |
| | |||||
* | Improve description list rendering | bptato | 2021-02-13 | 1 | -8/+22 |
| | |||||
* | Support brotli content encoding | bptato | 2021-02-10 | 1 | -6/+15 |
| | |||||
* | Some cleanup for base64_encode | bptato | 2021-02-02 | 1 | -1/+5 |
| | |||||
* | Support iTerm2 graphics protocol, replace encodeB with base64_encode | bptato | 2021-02-02 | 1 | -1/+1 |
| | |||||
* | Disable <section> behaves as <hr> | Tatsuya Kinoshita | 2021-01-18 | 1 | -1/+0 |
| | | | | | Because displaying horizontal rules are redundantly and unneeded, especially when sections are nested. | ||||
* | q_level was never initialized, causing random test failures. This should fix ↵ | Ambrose Li | 2020-12-18 | 1 | -0/+1 |
| | | | | that | ||||
* | Fix Gopher binaries causing w3m to be stuck in download mode; try to guess ↵ | bptato | 2020-12-02 | 1 | -3/+19 |
| | | | | Gopher image type and fallback to png | ||||
* | Add support for Gopher items 5 and I | bptato | 2020-12-02 | 1 | -0/+10 |
| | |||||
* | Fix compilation errors when USE_GOPHER and not USE_M17N | Tatsuya Kinoshita | 2020-11-11 | 1 | -4/+14 |
| | |||||
* | Remove unnecessary file_unquote call | bptato | 2020-11-07 | 1 | -1/+1 |
| | |||||
* | Support Gopher items search (7) and binary file (9) | bptato | 2020-11-07 | 1 | -1/+45 |
| | |||||
* | Moved back filetype indicator to the beginning of file names | bptato | 2020-10-21 | 1 | -5/+7 |
| | |||||
* | Improved gopher directory display | bptato | 2020-10-21 | 1 | -3/+18 |
| | |||||
* | Improved gopher support | bptato | 2020-10-21 | 1 | -7/+16 |
| | |||||
* | Merge pull request #147 from acli/20200825_section | Tatsuya Kinoshita | 2020-08-30 | 1 | -0/+1 |
|\ | | | | | Rudimentary support for the section tag | ||||
| * | wip from about a week ago. Need to stash these away for now to check the q ↵ | Ambrose Li | 2020-08-29 | 1 | -0/+1 |
| | | | | | | | | branch | ||||
* | | Merge pull request #146 from acli/20200821_a_CLEANED | Tatsuya Kinoshita | 2020-08-30 | 1 | -3/+22 |
|\ \ | | | | | | | Patch to make w3m’s handling of the a element HTML5 compatible (when the stream is HTML5) | ||||
| * | | In HTML5 anchors should not be closed when encountering divs, for example, ↵ | Ambrose Li | 2020-08-25 | 1 | -3/+22 |
| |/ | | | | | | | | | | | but should be closed when encountering buttons, for example. Many sites that use HTML5-style anchors end up having links displayed with zero-length link texts. The proposed patch correct this behaviour by detecting whether the document is HTML5, then suppressing the close-anchor action in CLOSE_A if it's an HTML5 document. A new macro handles the HTML5-specific cases where anchors are not already always closed. This also fixes a bug in the tokenizing FSM in etc.c that prevented the !doctype element from being recognized; the fix is necessary because HTML5 detection depends on checking the !doctype element. | ||||
* | | Somehow the wrong quotes were used. This should fix the failing tests. | Ambrose Li | 2020-08-29 | 1 | -2/+2 |
| | | |||||
* | | Cleaned version of 20200823_q branch. Changes the behaviour of the q tag ↵ | Ambrose Li | 2020-08-24 | 1 | -0/+18 |
|/ | | | | | | (when m17n and Unicode are configured) to use "smart" quotes if the display charset can handle them. Falls back to old behaviour (ASCII quotes with left/right quote semantics for 6/0 and 2/6) if display charset is us-ascii. Also changes the behaviour of conv_entity() to convert left/right quotes and some dashes because named entities are needed for the new code for the q tag. | ||||
* | Rudimentary support for figure, figcaption | Ambrose Li | 2020-08-21 | 1 | -0/+4 |
| | |||||
* | Add error handling code for fopen | Jia Zhouyang | 2018-03-04 | 1 | -2/+6 |
| | | | Check the return value of fopen, and add proper error handling code. | ||||
* | file.c: compute correct base URL when not absolute | Kyle J. McKay | 2017-08-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | When a server makes use of the PATH_INFO feature in a CGI, the returned pages may often have a <base href="..." /> tag specifying the URL of the CGI itself as the base. However, to avoid hard-coding the scheme and host into such a base href, the href value will often omit the scheme, host and port. Make sure that when parsing any such base href value that any omitted components are taken from the current URL rather than taken as being from a bare, absolute file:/// URL. Signed-off-by: Kyle J. McKay <mackyle@gmail.com> | ||||
* | Prevent heap-use-after-free read in HTMLlineproc0() | Tatsuya Kinoshita | 2016-12-17 | 1 | -1/+1 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/81 | ||||
* | Prevent infinite loop in feed_textarea() | Tatsuya Kinoshita | 2016-12-17 | 1 | -1/+3 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/85 | ||||
* | Prevent overflow beyond the end of string in caller of get_mclen() | Tatsuya Kinoshita | 2016-12-15 | 1 | -1/+1 |
| | | | | | | | | | | | Bug-Debian: https://github.com/tats/w3m/issues/59 Bug-Debian: https://github.com/tats/w3m/issues/73 Bug-Debian: https://github.com/tats/w3m/issues/74 Bug-Debian: https://github.com/tats/w3m/issues/76 Bug-Debian: https://github.com/tats/w3m/issues/79 Bug-Debian: https://github.com/tats/w3m/issues/80 Bug-Debian: https://github.com/tats/w3m/issues/83 Bug-Debian: https://github.com/tats/w3m/issues/84 | ||||
* | Revert "Prevent overflow beyond the end of string in proc_mchar()" | Tatsuya Kinoshita | 2016-12-15 | 1 | -6/+1 |
| | | | | This reverts commit 512ed467d12615f5ef40d0d28272e5662d8438ea. | ||||
* | Revert "Prevent overflow beyond the end of string in proc_mchar()" | Tatsuya Kinoshita | 2016-12-15 | 1 | -6/+5 |
| | | | | This reverts commit e79d0ec2a00369a6af24007a1f2bb5e876e2c847. | ||||
* | Prevent overflow beyond the end of string in proc_mchar() | Tatsuya Kinoshita | 2016-12-13 | 1 | -5/+6 |
| | | | | | Bug-Debian: https://github.com/tats/w3m/issues/80 cf. https://github.com/tats/w3m/issues/59 | ||||
* | Prevent heap-use-after-free in HTMLlineproc0() | Tatsuya Kinoshita | 2016-12-07 | 1 | -1/+2 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/65 | ||||
* | Prevent negative values for offset and pos in push_link() | Tatsuya Kinoshita | 2016-12-07 | 1 | -2/+6 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/64 | ||||
* | Prevent overflow beyond the end of string in proc_mchar() | Tatsuya Kinoshita | 2016-12-07 | 1 | -1/+6 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/59 | ||||
* | Prevent negative array index in process_textarea() | Tatsuya Kinoshita | 2016-12-05 | 1 | -1/+1 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/58 | ||||
* | Prevent negative array index for marks in HTMLlineproc2body() | Tatsuya Kinoshita | 2016-12-05 | 1 | -1/+1 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/61 | ||||
* | Prevent negative value of row for pushTable() in HTMLlineproc0() | Tatsuya Kinoshita | 2016-12-05 | 1 | -0/+2 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/67 | ||||
* | Prevent negative array index in getMetaRefreshParam() | Tatsuya Kinoshita | 2016-12-05 | 1 | -2/+3 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/63 | ||||
* | fix uninitialized variable in process_img(). fix #44 | Kuang-che Wu | 2016-11-27 | 1 | -1/+1 |
| | |||||
* | Prevent deref null pointer in HTMLlineproc0() | Tatsuya Kinoshita | 2016-11-17 | 1 | -5/+5 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/42 | ||||
* | Prevent infinite recursion with nested table and textarea | Tatsuya Kinoshita | 2016-11-15 | 1 | -0/+1 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/20#issuecomment-260590257 | ||||
* | Prevent null pointer deref due to bad form id | Tatsuya Kinoshita | 2016-11-14 | 1 | -1/+4 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/39 | ||||
* | Prevent array index out of bounds for symbol | Tatsuya Kinoshita | 2016-11-14 | 1 | -1/+1 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/38 | ||||
* | Prevent null pointer dereference in HTMLlineproc2body for textarea_int | Tatsuya Kinoshita | 2016-11-13 | 1 | -1/+1 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/32#issuecomment-260170163 | ||||
* | Prevent infinite recursion in HTMLlineproc0 | Tatsuya Kinoshita | 2016-11-07 | 1 | -8/+8 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/36 | ||||
* | Prevent crash after allocate string of negative size | Tatsuya Kinoshita | 2016-11-07 | 1 | -0/+6 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/33 | ||||
* | Prevent memory exhausted due to repeat appending "</table>" | Tatsuya Kinoshita | 2016-11-06 | 1 | -0/+3 |
| | | | | Bug-Debian: https://github.com/tats/w3m/issues/23 |