⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changelog

📁 一个利用SDL语言来实现svgalib函数的示例程序
💻
📖 第 1 页 / 共 2 页
字号:
2005-01-28  Russell Marks  <russell.marks@ntlworld.com>	* Version 5.9.	* src/rcfile.c (usage_help): changed `fullscreen' option's default	to on, so you now have to use `--fullscreen=off' (or similar	config file option) to disable it. This keeps the SDL backend's	behaviour closer to the svgalib one.2005-01-23  Russell Marks  <russell.marks@ntlworld.com>	* src/readgif.c (read_gif_file): made the width/height check	for multi-image (animated) GIFs a bit less harsh, it was	previously refusing to view animations with a particularly	large `screen size'. Now it should allow anything where the	individual images are smaller than 4MB once loaded (that's as	generous as I can be while keeping the maths easy :-)).2005-01-20  Russell Marks  <russell.marks@ntlworld.com>	* Added SDL mouse support, and modified mouse support to work in a	delta-based way friendier to non-svgalib backends. Thanks to	Dimitar Zhekov for both of these.2005-01-05  Russell Marks  <russell.marks@ntlworld.com>	* src/readgif.c (read_gif_multi): the height-limiting changes	exposed a long-standing bug with `im->image' in this. Thanks to	Mikulas Patocka for the fix.2004-12-17  Russell Marks  <russell.marks@ntlworld.com>	* src/readpnm.c (read_pnm_main): fixed possible hang when reading	corrupted non-raw PBM files.	* src/readgif.c (readimagehed): fixed possible hang when reading	GIF files with corrupted ext. blocks. Thanks to Mikulas Patocka	for finding this.2004-12-16  Russell Marks  <russell.marks@ntlworld.com>	* src/zgv_io.c (zgv_io_timer_stop): fixed a timer-related bug with	the SDL version, where it could leave the timer-interrupt flag on	after the timer was disabled. Thanks to Dimitar Zhekov for	spotting this one.2004-11-02  Russell Marks  <russell.marks@ntlworld.com>	* doc/zgv.texi (Invoking zgv): fixed "walk" typo.	(Showing More Files): 20 thumbnails are shown by default, not 12.2004-10-31  Russell Marks  <russell.marks@ntlworld.com>	* Added width/height limits to all picture readers,	32767x32765 is now the maximum image size supported	(essentially consistent with xzgv). This is a crude (albeit	effective) fix for heap overflow bugs - there may yet be more	subtle problems, but I can't really fix them until I know	they're there. :-) Thanks to Luke Macken for letting me know	about the heap overflow problems. I suppose I should also	thank "infamous41md" for publishing the original	advisory/exploit, even if he didn't bother emailing me or	anything.	* src/readxpm.c (read_xpm_file): fix for exploitable malloc() arg	overflow. There are several more of these in zgv, but this is the	easiest to fix.2004-07-08  Russell Marks  <russell.marks@ntlworld.com>	* src/readgif.c (read_gif_file): added more multiple-image (e.g.	animated) GIF brokenness checks than before. Previously it was	possible to get a segfault with the `right' file, despite there	already being various range checks. Thanks to Mikulas Patocka for	spotting this.2004-03-29  Russell Marks  <russell.marks@ntlworld.com>	* Version 5.8.	* src/zgv_io.c (zgv_io_fixfsmode): the SDL backend is now a lot	more sensible about automatically picking a file selector mode,	and should have a better chance of working when using a	single-mode VESA framebuffer. Thanks to David Matthews for	indirectly spotting this problem.	* src/zgv_io.c (zvga_init): the SDL backend will now only ever use	SDL's emulation for 8-bit modes. This should improve picture	quality when only 8-bit modes are available, and make all modes	other than 24/32-bit quite a bit faster. Thanks to David Matthews	for inspiring this change.	* src/vgadisp.c: changed 15/16-bit dithering - instead of using a	rather poor dither pattern in an attempt to use up every last	`extra' bit of colour information, it now uses 2 bits from each	channel in a much nicer (and smaller) pattern.	* INSTALL: added comment on stdout problem with FreeBSD, which	seems to affect the current svgalib 1.4.3 port at least.2004-02-21  Russell Marks  <russell.marks@ntlworld.com>	* Added FreeBSD support, thanks to Radim Kolar for contributing	this. The changes involved aren't too big really, `just' different	key-reading and console-allocating routines.	* config.mk (RCFILE): default location for zgv.conf is now	/usr/local/etc rather than /etc, which seems more appropriate	given that the default PREFIX is now /usr/local.2004-01-05  Russell Marks  <russell.marks@ntlworld.com>	* src/vgadisp.c: added support for dithering in 15/16-bit modes.	It's slower than I'd hoped, so it's not enabled by default, but it	seems to work well enough. You can toggle it in the viewer by	pressing `F', or add `dither-hicol on' to a config file. Thanks to	Stephane ODUL for suggesting this.	* src/vgadisp.c: moved `fake-cols' toggle key from `F' to `G'.2003-10-20  Russell Marks  <russell.marks@ntlworld.com>	* src/bdf2h.c (main): removed embedded LFs. Thanks to Dimitar	Zhekov for the patch.2003-10-04  Russell Marks  <russell.marks@ntlworld.com>	* Added `fullscreen' option, to override possible use of a	windowed display with non-svgalib backends in some situations, the	obvious example being the SDL backend running under X. This isn't	necessarily what you'd want, and has problems like not being able	to fill the screen in modes it doesn't support natively under	svgalib. And SDL seems to cause further problems from what I've	seen, e.g. display glitching and a briefly-visible mouse pointer	when changing modes fullscreen under X.	* src/zgv_io.c (zvga_setmode): fixed missing-picture-update bug	when doing certain mode changes under SDL.	* config.mk (PREFIX): finally changed this to /usr/local. `make	install' now removes any existing program and documentation in the	old default locations.	* src/vgadisp.c (animate_gif): `x' now aborts GIF animation like	Esc does. Thanks to Thomas M. Ott for pointing out the	inconsistency. Note that I don't consider supporting this slightly	pointless alternative to Esc to be terribly important (e.g.	dialogs don't support it and never have, and they've been in zgv	since 1993), and couldn't add it everywhere even if I wanted to	(e.g. change-to-arbitrary-directory dialog).	* src/zgv_io.c: added timer start/stop to backend code, so now	timer-based stuff (most notably GIF animation) works ok under	SDL. While doing this I removed support for a repeat-timer	setting of "-1" (i.e. constantly reload the image), which had	been broken previously anyway.2003-09-16  Russell Marks  <russell.marks@ntlworld.com>	* src/vgadisp.c (redrawgif): fixed long-standing bug with	interpolation (fix ported from xzgv). In xzgv the bug could have	caused segfaults, but I don't believe this was the case in zgv due	to the way it allocates memory.2003-07-31  Russell Marks  <russell.marks@ntlworld.com>	* src/zgv_io.c: added SDL getbox routine, fixing one of the	display glitches (dialogs not restoring previous screen contents).	Also stopped the putbox routine using memcpy(), as you're not	supposed to make library calls when an SDL surface is locked.	(native_col_to_sdl): fixed colour glitches in dialogs.2003-07-07  Russell Marks  <russell.marks@ntlworld.com>	* Version 5.7.	* src/readpng.c (read_png_file): don't set background colour	to black for mono PNG files, where this may cause problems.	Thanks to Morten Bo Johansen for spotting this.2003-06-30  Russell Marks  <russell.marks@ntlworld.com>	* New `--auto-mode-fit-diff' option, allows you to specify a pixel	width/height to be disregarded when zgv picks a mode to use and	auto-mode-fit is enabled. So e.g. a 330x250 image would be shown	in 320x240 mode if auto-mode-fit-diff is 10. Thanks to Dimitar	Zhekov for this.	* src/mousecur.c: fixed mouse cursor appearance in 32-bit modes.	Thanks to Dimitar Zhekov for the patch.2003-04-10  Russell Marks  <russell.marks@ntlworld.com>	* src/rcfile.c (usage_help): similar changes to usage help.	* doc/zgv.texi: restored documentation for `-r', `-s', and `-w'	options, which was mistakenly dropped when I added long-option	support.2003-04-05  Russell Marks  <russell.marks@ntlworld.com>	* Added support for display backends other than svgalib,	largely done by defining the svgalib functions used when	svgalib isn't the backend. These are clearly never going to be	*better* than the svgalib backend, as zgv was written for that	- but if svgalib isn't available or whatever, at least this	gives you the possibility of running zgv some other way.	Currently the only other backend is for SDL - it works (albeit	with some display glitches), but it's intended mainly as a	proof-of-concept. Though it does give you the faintly ironic	choice of whether to use xzgv or X zgv... :-)	* doc/makeman.awk: fixed some bugs which became apparent when run	with gawk 3.1.2003-03-15  Russell Marks  <russell.marks@ntlworld.com>	* src/readgif.c (decompress): removed similar comment, which was	wrong anyway since outputstring() hasn't been recursive for a year	or two now.	* src/vgadisp.c: removed silly, dated comments about slowness of	passing some things as parameters. It was true in 1993 to some	extent, but certainly not now. Thanks to "Mitchell" for	questioning this.2002-07-02  Russell Marks  <russell.marks@ntlworld.com>	* doc/zgv.texi (Invoking zgv): added mention of selector mode	being forced to 8-bit in documentation for `--fs-start-mode'.	(Config Variables): fixed severe thinko (mode-bad where I meant	mode-good) in documentation for mode-all-bad. :-)	* src/rcfile.c (modematch): fixed to allow 32-bit modes, which	previously couldn't be specified on the command-line. Thanks to	"kscott" for spotting this one.2002-05-05  Russell Marks  <russell.marks@ntlworld.com>	* Version 5.6.	* src/modesel.c: added 15/16/24/32-bit 320x240 modes. Thanks to	Michal Svec for suggesting this. Currently only the 24/32-bit mode	is selectable directly (using `^', on the assumption that it's	shift-6 - unshifted 6 selects 320x240x8).2002-04-15  Russell Marks  <russell.marks@ntlworld.com>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -