Commit Graph

662 Commits

Author SHA1 Message Date
459cb3ec5b libimg: Improve support of transparent PNG images.
* Support grayscale images with alpha channel.
* Support rgb images with transparent color.
* Process 'tRNS' chunk (simple transparency).

Transparent png images were already supported for color type 6, which
is RGBA. Now indexed images (color type 3) can also have transparency
via 'tRNS' chunk data.

git-svn-id: svn://kolibrios.org@8449 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-18 22:08:51 +00:00
IgorA
d72fcc2942 tinygl.obj: add some functions,
load_img.inc: delete old file load_lib

git-svn-id: svn://kolibrios.org@8442 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-18 10:03:16 +00:00
IgorA
e63d25e33e fix test_array1.asm
git-svn-id: svn://kolibrios.org@8409 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 16:53:31 +00:00
IgorA
9a54fc6aed tinygl: add some double functions, add bcc32 example
libimg: small optimize

git-svn-id: svn://kolibrios.org@8408 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 16:48:32 +00:00
superturbocat2001
e3dcd433b3 - Added TinyGL for ktcc
- Added TinyGL example "gears"

git-svn-id: svn://kolibrios.org@8405 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 14:38:38 +00:00
eb01893ff6 libimg: fix transparency in indexed png images.
git-svn-id: svn://kolibrios.org@8399 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 21:26:28 +00:00
11e69b4021 libimg: export img.resize_data
git-svn-id: svn://kolibrios.org@8395 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 18:07:49 +00:00
201cf02d85 libimg: transparency fixes.
img.convert doesn't make opaque pixels transparent.
gif decoder considers palette pixels opaque.

git-svn-id: svn://kolibrios.org@8394 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 17:22:19 +00:00
Kirill Lipatov (Leency)
5d3b2a031a libimg: img.decode now checks that length is not null
WebView: img tag: proceed data-src= if src= is empty, fix crash

git-svn-id: svn://kolibrios.org@8363 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-11 03:05:01 +00:00
IgorA
5f41a75e27 box_lib.obj: clear code
git-svn-id: svn://kolibrios.org@8346 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-08 21:01:35 +00:00
a19ce6df66 Add img.blend example, add libimg examples to autobuild
git-svn-id: svn://kolibrios.org@8342 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-08 17:50:26 +00:00
263f2855f2 libimg: Add and export img.blend function
git-svn-id: svn://kolibrios.org@8341 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-08 17:40:34 +00:00
superturbocat2001
18d1174514 Added a mechanism for closing the parent process
git-svn-id: svn://kolibrios.org@8328 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-05 15:50:32 +00:00
IgorA
e34d1445df update ColorDialog
git-svn-id: svn://kolibrios.org@8288 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-01 09:58:10 +00:00
IgorA
712b555519 animage use ColorDialog
git-svn-id: svn://kolibrios.org@8271 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-28 17:05:52 +00:00
IgorA
2ef1505e27 t_edit: fix open null file
git-svn-id: svn://kolibrios.org@8262 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-27 14:30:47 +00:00
IgorA
661760d504 fix rev 8236
git-svn-id: svn://kolibrios.org@8237 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-22 13:20:56 +00:00
IgorA
faf7939a32 1) some programs use new macros load_lib.mac
2) bcc32 add example use libimg.obj

git-svn-id: svn://kolibrios.org@8236 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-22 13:13:45 +00:00
IgorA
4982b912eb update macros @use_library
git-svn-id: svn://kolibrios.org@8219 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-18 18:11:43 +00:00
IgorA
f5228c717f tinygl: fix struct ZBuffer, clean code
git-svn-id: svn://kolibrios.org@8174 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-11 20:32:44 +00:00
a2700ea35c Replace some hardcoded /rd/1 paths with /sys.
git-svn-id: svn://kolibrios.org@8088 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-02 12:33:16 +00:00
IgorA
06339c5e4e update 'load_lib.mac', update 'info3ds', fix 'kol_f_edit'
git-svn-id: svn://kolibrios.org@8083 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-09-29 19:58:14 +00:00
IgorA
d3fd66f14b possible smooth buffer resizing,
fix and clean code,
fix and update examples

git-svn-id: svn://kolibrios.org@8069 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-09-19 19:57:00 +00:00
IgorA
51fcac25ee optimize, clean code
git-svn-id: svn://kolibrios.org@8063 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-09-16 06:59:01 +00:00
IgorA
185996ac6b add function 'glOrtho', small optimize, clean code
git-svn-id: svn://kolibrios.org@8062 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-09-14 21:31:00 +00:00
IgorA
5531c1c36c add function 'gluPerspective',
fix function 'glFrustum'

git-svn-id: svn://kolibrios.org@8059 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-09-09 11:56:39 +00:00
IgorA
12edb27757 t_edit: new algoritm text selection
img_transform: update program

git-svn-id: svn://kolibrios.org@8036 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-06-10 14:53:12 +00:00
hidnplayr
dc181a9b21 Always set connection closed flag after server closed connection and close from our end as well.
git-svn-id: svn://kolibrios.org@8023 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-06-05 21:03:35 +00:00
hidnplayr
e167f0de89 bugfix
git-svn-id: svn://kolibrios.org@7971 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-22 22:46:40 +00:00
hidnplayr
ed82b4c1bb HTTP lib: experimental support for ring buffers
git-svn-id: svn://kolibrios.org@7969 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-22 15:49:00 +00:00
Kirill Lipatov (Leency)
baa8e3dca2 boxlib/tree_list: react on double click as on enter
ftpc: set default user and server (kolibrios.org), some cosmetic improvements
beat and playnote: add to ISO

git-svn-id: svn://kolibrios.org@7959 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-20 13:15:53 +00:00
Kirill Lipatov (Leency)
12a6b7f2fb menuetlibc: fix e_exp.s by Bughunter
git-svn-id: svn://kolibrios.org@7958 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-20 08:53:42 +00:00
IgorA
6ac952ed64 new program 'img_transform',
small fix in 'tinygl.obj'

git-svn-id: svn://kolibrios.org@7929 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-16 14:36:52 +00:00
Kirill Lipatov (Leency)
e8665a7cf1 editbox update by Prohor N.
git-svn-id: svn://kolibrios.org@7919 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-14 19:14:14 +00:00
Kirill Lipatov (Leency)
6d14f374a8 SysMon: show all tmp disks, reparate general tab into two, precise calculation of rd disk empty space
git-svn-id: svn://kolibrios.org@7906 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-10 01:44:40 +00:00
Kirill Lipatov (Leency)
d4d33ff3c1 fix prior
git-svn-id: svn://kolibrios.org@7905 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-09 21:02:10 +00:00
Kirill Lipatov (Leency)
80a6eb4355 editbox: remove selection if element was deactivated
git-svn-id: svn://kolibrios.org@7904 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-09 20:59:51 +00:00
Kirill Lipatov (Leency)
6db54831c3 editbox: move cursor to the end of the inserted string by Prohor Nikiforov and me
git-svn-id: svn://kolibrios.org@7903 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-09 17:27:59 +00:00
IgorA
c82fc5ccb8 t_edit:
fixed color highlighting at the end of the file,
 scrolling with the mouse wheel 3 lines.

git-svn-id: svn://kolibrios.org@7877 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-06 14:30:11 +00:00
IgorA
e74d295b71 buf2d.obj: update function 'buf2d_bit_blt'
git-svn-id: svn://kolibrios.org@7861 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-04 11:55:42 +00:00
Kirill Lipatov (Leency)
d79ae6398f easyshot v1.3, console: new scrollbar
git-svn-id: svn://kolibrios.org@7783 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-04-13 21:08:28 +00:00
a0a18277da libimg: tiff: Don't rely on EOI tag at the end of the strip.
Reference implementation (libtiff) has a workaround: precalculate data
size of the strip and don't rely on EOI tag of specific bit length.

This allow to read some invalid TIFF LZW images by my old scanner.

git-svn-id: svn://kolibrios.org@7735 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-03-07 12:54:18 +00:00
633d75c969 libini: Fix ini.del_section to not lose the last byte of a file.
git-svn-id: svn://kolibrios.org@7705 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-12-04 22:44:16 +00:00
b51d135d5c libcrash: Sync with upstream.
* Add oneshot wrappers.
* Move tables to data section.
* Add/rename macros and fix their use in ssh.

git-svn-id: svn://kolibrios.org@7698 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-10-21 22:33:41 +00:00
bb04fe3a77 boxlib/progressbar: Fix imul overflow, use 32*32 mul.
git-svn-id: svn://kolibrios.org@7671 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-06-18 19:24:22 +00:00
Kirill Lipatov (Leency)
1203d7f120 compress images by Andrey Oskin
git-svn-id: svn://kolibrios.org@7670 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-06-10 08:44:54 +00:00
IgorA
2ef19ac48c add new functions in open dialog,
fix programs info3ds, info3ds_u

git-svn-id: svn://kolibrios.org@7616 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-03-23 08:31:59 +00:00
IgorA
a6277573f7 tedit: add case sensitive
git-svn-id: svn://kolibrios.org@7583 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-02-05 21:02:30 +00:00
IgorA
c30f9415d3 t_edit:
1) add keys Ctrl+H, Ctrl+G
2) update panels code

git-svn-id: svn://kolibrios.org@7579 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-01-29 20:02:48 +00:00
IgorA
cb0f3625e7 t_edit: add function ted_but_replace, fix code
git-svn-id: svn://kolibrios.org@7577 a494cfbc-eb01-0410-851d-a64ba20cac60
2019-01-23 22:08:19 +00:00