Commit Graph

263 Commits

Author SHA1 Message Date
Markus Hiereth
d4dfc5cec5 Update German translation
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=783383
2015-04-29 16:49:18 +09:00
Tatsuya Kinoshita
abb41b0812 Update PO strings for display_borders 2015-04-29 16:39:49 +09:00
Tatsuya Kinoshita
779cfe4011 Update ChangeLog 2015-04-26 21:32:44 +09:00
Tatsuya Kinoshita
c732061466 Merge pull request #1 from yshl/gc-7.1
cannot built the master branch with gc-7.1
2015-04-26 21:26:10 +09:00
yshl
e0641028c7 for gc-7.1 2015-04-26 18:38:08 +09:00
Tatsuya Kinoshita
324de85584 Update ChangeLog 2015-02-03 00:02:53 +09:00
Tatsuya Kinoshita
f269b9c5a0 Update PO 2015-02-03 00:02:25 +09:00
Tatsuya Kinoshita
57faeb29c6 Update ChangeLog 2015-02-02 23:10:50 +09:00
Tatsuya Kinoshita
0efbaf15c3 New option "display_borders" to display 0 pixel table borders.
cf. http://d.hatena.ne.jp/rubikitch/20101120
2015-02-02 23:09:34 +09:00
Tatsuya Kinoshita
605aaef47d Merge branch 'bug/changelog' 2015-01-24 01:17:47 +09:00
Tatsuya Kinoshita
ee5008c7c5 Update ChangeLog 2015-01-24 01:17:38 +09:00
Tatsuya Kinoshita
2aa424b3fe Merge branch 'feature/debian-version' 2015-01-24 01:13:56 +09:00
Tatsuya Kinoshita
03f0556443 Update to 0.5.3+gitYYYYMMDD (generate from ChangeLog) 2015-01-24 01:13:37 +09:00
Tatsuya Kinoshita
ae73004cae Merge branch 'bug/changelog' 2015-01-15 21:24:23 +09:00
Tatsuya Kinoshita
6cfe730369 Update ChangeLog 2015-01-15 21:22:52 +09:00
Tatsuya Kinoshita
ffc254ab38 Merge branch 'bug/alloc' 2015-01-15 20:52:51 +09:00
Tatsuya Kinoshita
ee0405c689 Drop C99 features 2015-01-15 20:50:16 +09:00
Scarlett
cbec7032ee Add overflow detection
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.
2015-01-15 19:38:11 +09:00
Tatsuya Kinoshita
fde71b37d2 Merge branch 'bug/printf' 2015-01-15 19:14:08 +09:00
Tatsuya Kinoshita
5e9545756b Do not use C99 printf format specifiers and asprintf 2015-01-15 19:13:51 +09:00
Scarlett
ec8272d8fe Correct printf arguments and use asprintf
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.
2015-01-15 18:58:35 +09:00
Tatsuya Kinoshita
dae53252fb Merge branch 'bug/changelog' 2014-12-10 00:24:08 +09:00
Tatsuya Kinoshita
1f9ea2a559 Update ChangeLog 2014-12-10 00:23:19 +09:00
Tatsuya Kinoshita
b86f4cfe83 Merge branch 'feature/remoteimg' 2014-12-06 20:51:51 +09:00
Araki Ken
2e8def7ab6 Add README.sixel. W3M_IMG2SIXEL environmental variable enables to specify options of img2sixel. 2014-12-06 20:47:05 +09:00
Araki Ken
982a8feab0 * Add n_terminal_image argument to put_image_{sixel|osc5379}(). * Use struct winsize to calculate ppc and ppl. 2014-12-06 20:47:05 +09:00
Araki Ken
f64d6bb899 If SCREEN_VARIANT=sixel on GNU screen, exec img2sixel without -P option. 2014-12-06 20:47:05 +09:00
Araki Ken
df84882eb3 ttymode_set() -> ttymode_reset(). 2014-12-06 20:47:05 +09:00
Araki Ken
78ae4478df Fix. 2014-12-06 20:47:05 +09:00
Araki Ken
3f3906151b Support GNU screen. 2014-12-06 20:47:05 +09:00
Araki Ken
0c25fd96f7 Show GIF (except animation GIF) correctly. 2014-12-06 20:47:05 +09:00
Araki Ken
4459dbe26e img2sixel exits by Ctrl+C. Enable GIF Animation if 'I' is pressed to show it. 2014-12-06 20:47:05 +09:00
Araki Ken
75e89acd80 Add declaration of get_pixel_per_cell(). 2014-12-06 20:47:05 +09:00
Araki Ken
4a9c976e32 Show the first frame of animation gif files. 2014-12-06 20:47:05 +09:00
Araki Ken
e8b2d47358 system() -> fork()&execvp() 2014-12-06 20:47:05 +09:00
Araki Ken
1eabd79f5b Draw underline on anchor which contains cboth text and images. 2014-12-06 20:47:05 +09:00
Araki Ken
09ececc3b7 Remove close_tty() from setup_child() because close_tty() sometimes interrupts loadGeneralFile() in loadImage() and corrupt image data can be cached in ~/.w3m. 2014-12-06 20:47:05 +09:00
Araki Ken
622bdafb59 Minor fix. 2014-12-06 20:47:05 +09:00
Araki Ken
de942f3abf Cache image files if at all possible and convert them to sixel when -sixel option is specified. 2014-12-06 20:47:05 +09:00
Araki Ken
9504d18d0a Init pixel_per_{char|line}_i if get_pixel_per_cell() fails. 2014-12-06 20:47:05 +09:00
Araki Ken
2fe66f3a6f Add -sixel option which supports image processing by img2sixel. 2014-12-06 20:47:05 +09:00
Araki Ken
98b4d10ce4 Don't download image files whose size is specified in <img> tag. 2014-12-06 20:47:04 +09:00
Araki Ken
08811e76fd Minor fixes of parseImageHeader(). 2014-12-06 20:47:04 +09:00
Araki Ken
e6856f2329 Determine the format of an image file by its header data not by its file name suffix. 2014-12-06 20:47:04 +09:00
Araki Ken
0c0d4b5f38 Read width and height from jpeg, png and gif files directly instead of executing w3mimgdisplay -size. 2014-12-06 20:47:04 +09:00
Araki Ken
0d99209d9f * display.c: Draw underline on anchor text which is not overlapped with any image. 2014-12-06 20:47:04 +09:00
Araki Ken
f941b1d562 * terms.c: Clear fd_set by FD_ZERO() before select(). 2014-12-06 20:47:04 +09:00
Araki Ken
0640eca05c * file.c: nw and ni are rounded up instead of rounded off to show every corner of images. 2014-12-06 20:47:04 +09:00
Araki Ken
a95a178971 * terms.c: Change time to wait for the response of "\x1b[14t\x1b[18t" from 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.
2014-12-06 20:47:04 +09:00
Araki Ken
147ef0048b - Adjust the image size to the terminal cell size. - If the image size is specified in html source, skip to load the image. 2014-12-06 20:47:04 +09:00