aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add overflow detectionScarlett2015-01-156-17/+51
| | | | | | | | | | | | | Origin: http://marc.info/?l=openbsd-ports&m=142090828929750&w=2 * main.c: Call exit(1) when out of memory to avoid dereferencing null pointers when gc's malloc fails. * alloc.h: Replacements for w3m's allocation macros which add overflow detection and concentrate the macros in one file. * indep.h, libwc/charset.c, libwc/status.c, matrix.c: Use the overflow-detecting allocation macros from alloc.h.
* Merge branch 'bug/printf'Tatsuya Kinoshita2015-01-153-4/+4
|\
| * Do not use C99 printf format specifiers and asprintfTatsuya Kinoshita2015-01-153-23/+99
| |
| * Correct printf arguments and use asprintfScarlett2015-01-154-101/+25
|/ | | | | | | | | | | | | | | Origin: http://marc.info/?l=openbsd-ports&m=142090828929750&w=2 * Str.c: Use asprintf() instead of rolling our own printf string length detection. * cookie.c: Pass the char pointer in the string struct to printf %s instead of the string struct itself. Print time_t using %lld instead of %ld to allow for 64-bit time_t. * main.c: Print a long int using the correct format specifier. * map.c: Print size_t using the correct format specifier.
* Merge branch 'bug/changelog'Tatsuya Kinoshita2014-12-091-0/+203
|\
| * Update ChangeLogTatsuya Kinoshita2014-12-091-0/+203
|/
* Merge branch 'feature/remoteimg'Tatsuya Kinoshita2014-12-069-38/+555
|\
| * Add README.sixel. W3M_IMG2SIXEL environmental variable enables to specify ↵Araki Ken2014-12-062-16/+58
| | | | | | | | options of img2sixel.
| * * Add n_terminal_image argument to put_image_{sixel|osc5379}(). * Use struct ↵Araki Ken2014-12-062-15/+16
| | | | | | | | winsize to calculate ppc and ppl.
| * If SCREEN_VARIANT=sixel on GNU screen, exec img2sixel without -P option.Araki Ken2014-12-061-1/+2
| |
| * ttymode_set() -> ttymode_reset().Araki Ken2014-12-061-3/+17
| |
| * Fix.Araki Ken2014-12-061-1/+1
| |
| * Support GNU screen.Araki Ken2014-12-061-2/+9
| |
| * Show GIF (except animation GIF) correctly.Araki Ken2014-12-061-2/+2
| |
| * img2sixel exits by Ctrl+C. Enable GIF Animation if 'I' is pressed to show it.Araki Ken2014-12-062-12/+50
| |
| * Add declaration of get_pixel_per_cell().Araki Ken2014-12-061-0/+2
| |
| * Show the first frame of animation gif files.Araki Ken2014-12-061-0/+87
| |
| * system() -> fork()&execvp()Araki Ken2014-12-061-7/+32
| |
| * Draw underline on anchor which contains cboth text and images.Araki Ken2014-12-061-4/+9
| |
| * Remove close_tty() from setup_child() because close_tty() sometimes ↵Araki Ken2014-12-061-0/+6
| | | | | | | | interrupts loadGeneralFile() in loadImage() and corrupt image data can be cached in ~/.w3m.
| * Minor fix.Araki Ken2014-12-061-1/+2
| |
| * Cache image files if at all possible and convert them to sixel when -sixel ↵Araki Ken2014-12-061-1/+1
| | | | | | | | option is specified.
| * Init pixel_per_{char|line}_i if get_pixel_per_cell() fails.Araki Ken2014-12-061-0/+4
| |
| * Add -sixel option which supports image processing by img2sixel.Araki Ken2014-12-066-60/+43
| |
| * Don't download image files whose size is specified in <img> tag.Araki Ken2014-12-061-7/+15
| |
| * Minor fixes of parseImageHeader().Araki Ken2014-12-061-1/+2
| |
| * Determine the format of an image file by its header data not by its file ↵Araki Ken2014-12-061-65/+51
| | | | | | | | name suffix.
| * Read width and height from jpeg, png and gif files directly instead of ↵Araki Ken2014-12-061-0/+91
| | | | | | | | executing w3mimgdisplay -size.
| * * display.c: Draw underline on anchor text which is not overlapped with any ↵Araki Ken2014-12-061-6/+5
| | | | | | | | image.
| * * terms.c: Clear fd_set by FD_ZERO() before select().Araki Ken2014-12-061-8/+7
| |
| * * file.c: nw and ni are rounded up instead of rounded off to show every ↵Araki Ken2014-12-061-2/+8
| | | | | | | | corner of images.
| * * terms.c: Change time to wait for the response of "\x1b[14t\x1b[18t" from ↵Araki Ken2014-12-063-15/+18
| | | | | | | | | | | | | | | | | | | | 0.1 sec to 0.5 sec. * image.c: - clearImage() works. - Use cached image files created by w3m in getImage(). * file.c: Hack for alignment.
| * - Adjust the image size to the terminal cell size. - If the image size is ↵Araki Ken2014-12-063-31/+53
| | | | | | | | specified in html source, skip to load the image.
| * Support remote image by OSC 5379 show_picture sequence.Araki Ken2014-12-066-20/+206
|/
* Merge branch 'bug/parsetagx-crash'Tatsuya Kinoshita2014-12-061-0/+1
|\
| * Fix crash in parse_tag() during every startOlaf Hering2014-12-061-0/+1
|/ | | | Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-parsetagx-crash.patch?expand=1
* Merge branch 'bug/no-ascii-default'Tatsuya Kinoshita2014-12-061-1/+1
|\
| * Change the default to alt_entity=0Olaf Hering2014-12-061-1/+1
|/ | | | | | | | change the default for the option "Use ASCII equivalents to display entities" from YES to NO. Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-0.5.1-no-ASCII-equivalents-by-default.patch?expand=1 Bug-Novell: https://bugzilla.novell.com/show_bug.cgi?id=247397
* Merge branch 'bug/uninitialized'Tatsuya Kinoshita2014-12-064-2/+4
|\
| * Fix a few harmless uninitialized variablesOlaf Hering2014-12-064-2/+4
|/ | | | Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-uninitialized.patch?expand=1
* Merge branch 'bug/textarea-segfault'Tatsuya Kinoshita2014-12-061-1/+2
|\
| * Prevent segfault when editing a textarea field with viPeter Poeml2014-12-061-1/+2
|/ | | | | | | | add fix for segfault that can occur when editing a textarea field with vi, and returning to w3m (it seems to happen if the terminal is not writable, as when using w3m after 'su - some_user') Origin: https://build.opensuse.org/package/view_file/openSUSE:Factory/w3m/w3m-0.4.1-textarea-segfault.dif?expand=1
* Merge branch 'feature/w3m-img-freebsd'Tatsuya Kinoshita2014-12-031-1/+1
|\
| * Follow updated configureTatsuya Kinoshita2014-12-031-1/+1
| |
* | Merge branch 'feature/w3m-img-freebsd'Tatsuya Kinoshita2014-12-034-2/+431
|\|
| * Support FreeBSD framebufferYusuke Baba2014-12-034-2/+431
|/ | | | | Origin: http://www.ac.auone-net.jp/~baba/w3m-img/index.html Bug-FreeBSD: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=122673
* Merge branch 'bug/gdk-pixbuf'Tatsuya Kinoshita2014-12-014-10/+10
|\
| * Depend on gdk-pixbuf instead of gtk when gtk2Naohiro Aota2014-12-014-10/+10
|/ | | | Origin: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/www-client/w3m/files/w3m-0.5.3-gdk-pixbuf.patch?revision=1.1
* Merge branch 'bug/tinfo'Tatsuya Kinoshita2014-12-012-4/+4
|\
| * Add tinfo to with_termlibJeroen Roovers2014-12-012-4/+4
|/ | | | | | | Fix building against sys-libs/ncurses[tinfo]. Origin: https://504588.bugs.gentoo.org/attachment.cgi?id=372650 Bug-Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=504588