Commit Graph

68 Commits

Author SHA1 Message Date
GerdtR
a461856fa1 Fix bug: add at the end of the ini-file of the empty line, otherwise new section is added wrong
git-svn-id: svn://kolibrios.org@4422 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-01 12:32:09 +00:00
Ivan Baravy
0a44c9a5ca libimg: check raw pnm payload size (broken files)
git-svn-id: svn://kolibrios.org@4229 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-11-14 11:12:21 +00:00
Marat Zakiyanov (Mario79)
c6da9f0129 Fixed a memory leak. Author of fix - GerdtR.
git-svn-id: svn://kolibrios.org@3920 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-09-21 12:01:31 +00:00
GerdtR
848a76b6e9 Fixed a bug when deleting section
git-svn-id: svn://kolibrios.org@3859 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-08-06 19:40:30 +00:00
GerdtR
ab10e61dba Fixed bug with recording negative Int and added function ini_del_section
git-svn-id: svn://kolibrios.org@3832 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-07-24 19:15:08 +00:00
Ivan Baravy
ccaf3a054b libimg:
add new image types (Image.bpp2i, Image.bpp4i); update to_rgb, flip, rotate functions
decode .bpp2i and .bpp4i tiff images
disable memory limit for decoded images


git-svn-id: svn://kolibrios.org@3503 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-11 21:31:21 +00:00
Ivan Baravy
a524093376 libimg: pcx: unpack scanlines, not color planes
git-svn-id: svn://kolibrios.org@3499 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-10 12:28:39 +00:00
CleverMouse
fdad5bfed3 revert libio-related changes from r3130 and do the fix in the correct place
git-svn-id: svn://kolibrios.org@3131 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-12-21 19:26:30 +00:00
IgorA
55f8d8856f 1) fix in 'libio'
2) small optimize 'editbox'

git-svn-id: svn://kolibrios.org@3130 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-12-21 18:57:14 +00:00
Ivan Baravy
bef68cee11 libini: fix typo (allow f and f1-f12 shortcuts)
git-svn-id: svn://kolibrios.org@3112 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-12-15 14:00:13 +00:00
Ivan Baravy
9e218440da add convert.asm (fix previous revision)
git-svn-id: svn://kolibrios.org@3056 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-11-18 16:12:36 +00:00
Ivan Baravy
e9998d7f13 libimg:
introduce img.convert + example
update tga decoder
img.to_rgb and img.to_rgb2 are deprecated


git-svn-id: svn://kolibrios.org@3055 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-11-18 16:10:28 +00:00
Ivan Baravy
9fcea4ddbf libimg: new scale type (tile), some fixes
git-svn-id: svn://kolibrios.org@3053 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-11-17 13:24:10 +00:00
Ivan Baravy
a34e834d07 libimg: img.scale prototype and simple example
git-svn-id: svn://kolibrios.org@3036 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-11-13 19:16:23 +00:00
Ivan Baravy
0cc349060f merge mem.inc to dll.inc
place dll.inc in /programs
delete all the other dll.inc and mem.inc files
correct some programs to use common dll.inc


git-svn-id: svn://kolibrios.org@3014 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-11-09 10:42:30 +00:00
Ivan Baravy
e049b4d610 libimg:
read lzw-encoded tiff images
handle predictor tag in tiff files


git-svn-id: svn://kolibrios.org@2992 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-10-29 16:17:45 +00:00
Ivan Baravy
185caf04b2 libimg:
new image type: grayscale (Image.bpp9)
tiff fixes for grayscale+alpha images
xcf regression bug fixed (screen mode blending, r2388)


git-svn-id: svn://kolibrios.org@2733 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-06-04 03:54:14 +00:00
Ivan Baravy
735d94c630 libimg: bmp 24/32bpp encoding
git-svn-id: svn://kolibrios.org@2692 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-05-27 00:00:29 +00:00
Ivan Baravy
ef860d6920 libimg:
img.flip.layer fix for images of scanline width less than 4 bytes
bmp: check for more InfoHeader types


git-svn-id: svn://kolibrios.org@2691 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-05-26 18:26:46 +00:00
Ivan Baravy
91051dc850 libs-dev: libimg encode example
git-svn-id: svn://kolibrios.org@2685 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-05-25 23:04:20 +00:00
Ivan Baravy
0f1707c32e libimg: encode API; pnm (pbm, pgm, ppm) encoding in raw mode
git-svn-id: svn://kolibrios.org@2684 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-05-25 23:02:44 +00:00
Ivan Baravy
85b76b0477 libs-dev: new example. libio + libimg, img.to_rgb2, applying simple filter to RGB data
git-svn-id: svn://kolibrios.org@2680 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-05-25 13:15:55 +00:00
hidnplayr
f10b2375d4 prevented get.int function in libini from destroying edx
git-svn-id: svn://kolibrios.org@2603 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-12 10:13:30 +00:00
hidnplayr
729f5e776a Fixed a bug in libio (concerned file.find functions in particular)
Also, added a file to ease debugging in the future

git-svn-id: svn://kolibrios.org@2570 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-05 11:27:23 +00:00
Ivan Baravy
9fea37d376 libio: description of file.size changed to correspond the code (return value is in ebx)
git-svn-id: svn://kolibrios.org@2406 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-25 20:16:12 +00:00
Ivan Baravy
7a8e2e79f9 libs-dev: made test002 program (simple image viewer) not to crash
git-svn-id: svn://kolibrios.org@2405 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-25 18:15:52 +00:00
Ivan Baravy
852732a9b1 libimg: tiff fix (packbits); pcx old code optimizing and fix (even byte)
git-svn-id: svn://kolibrios.org@2397 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-24 17:47:42 +00:00
Ivan Baravy
d8340e0c31 libimg: wbmp support (easy programming example)
git-svn-id: svn://kolibrios.org@2392 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-23 22:49:04 +00:00
Ivan Baravy
0808796ed5 libimg:
1. tiff (baseline) support
2. pnm (portable anymap) bilevel, grayscale (8bpp), pixmap (24bpp) support
3. xcf: optional layer merging/blending with sse (default is mmx)
4'. new formatting for my old code. more readable for now


git-svn-id: svn://kolibrios.org@2388 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-23 22:09:09 +00:00
Ivan Baravy
d8fd58b4f5 libimg: icon related bug fixed (reported by Leency)
git-svn-id: svn://kolibrios.org@2284 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-10-09 10:14:44 +00:00
Ivan Baravy
6537174613 libimg: basic xcf support (reading)
git-svn-id: svn://kolibrios.org@1921 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-05-02 17:26:50 +00:00
CleverMouse
909f14782c fix compilation in linux
git-svn-id: svn://kolibrios.org@1728 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-12-27 12:29:39 +00:00
Ivan Baravy
23b7fbd318 libimg: 1bpp (monochrome) images support,
pcx.asm now uses 1bpp functions too, pcx code optimization


git-svn-id: svn://kolibrios.org@1593 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-25 14:59:27 +00:00
Evgeny Grechnikov (Diamond)
5a26b0c156 libimg: fixed typo in pcx.asm
git-svn-id: svn://kolibrios.org@1580 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-23 20:45:03 +00:00
Evgeny Grechnikov (Diamond)
5736af21d8 revert changes in libini+libio from rev. 1573
git-svn-id: svn://kolibrios.org@1574 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-20 23:29:50 +00:00
IgorA
be3cceaea6 'libio' and 'libini': function 'get_color' not spoil register 'ecx'
game 'Nu_pogodi': revised

git-svn-id: svn://kolibrios.org@1573 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-20 10:31:17 +00:00
Ivan Baravy
7ea3c78d40 libimg: PCX v3.0 image format support - grayscale and monochrome (through converting to 8bit) decoding
git-svn-id: svn://kolibrios.org@1572 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-19 20:22:50 +00:00
Ivan Baravy
a01a8d3da4 libimg: begin of PCX image format support (version 3.0 24bit only for now)
git-svn-id: svn://kolibrios.org@1569 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-16 22:01:31 +00:00
Evgeny Grechnikov (Diamond)
5990ba6772 libini: abort infinite loop on write error
git-svn-id: svn://kolibrios.org@1568 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-15 21:41:43 +00:00
Evgeny Grechnikov (Diamond)
1f30a976a3 libimg: fix in check of very small files for TGA format
git-svn-id: svn://kolibrios.org@1426 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-02-28 19:09:17 +00:00
Evgeny Grechnikov (Diamond)
28318762d1 libini: ini_get_shortcut added
git-svn-id: svn://kolibrios.org@1327 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-20 23:35:51 +00:00
Evgeny Grechnikov (Diamond)
421700a8b0 libimg: interlaced PNG
git-svn-id: svn://kolibrios.org@1308 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-06 14:02:44 +00:00
Evgeny Grechnikov (Diamond)
71fc5965d7 readd libini with correct history
git-svn-id: svn://kolibrios.org@1295 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-28 15:28:17 +00:00
Evgeny Grechnikov (Diamond)
16745f1eb9 remove libini without history
git-svn-id: svn://kolibrios.org@1294 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-28 15:27:09 +00:00
vkos
c81e27d3e4 1) LibIni downgraded to revision 1233 due to license problems
2) Created GPL 3+ fork of it (libconfig) with all functions from last libini revision



git-svn-id: svn://kolibrios.org@1291 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-28 11:43:35 +00:00
Evgeny Grechnikov (Diamond)
b599c0a70c procedure img.draw fixed
git-svn-id: svn://kolibrios.org@1252 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-07 16:33:23 +00:00
vkos
6e1bd03300 Added function ini_get_bool
git-svn-id: svn://kolibrios.org@1240 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-27 10:49:19 +00:00
vkos
7ccd9d85bb Fix for previos revision
git-svn-id: svn://kolibrios.org@1235 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-25 19:53:18 +00:00
vkos
61550b1595 Added function get_option_str: read string, compare with list of possible & return its' number
git-svn-id: svn://kolibrios.org@1234 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-25 18:43:31 +00:00
Evgeny Grechnikov (Diamond)
2d1fa49773 libimg: small fix in 8bpp -> 24bpp translation
git-svn-id: svn://kolibrios.org@1152 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-07 20:40:12 +00:00