Commit Graph

4621 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
045e0dbdd2 ktcc: added sample http_tcp_demo - working with http using only tcp sockets
git-svn-id: svn://kolibrios.org@8448 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-18 18:38:07 +00:00
Kirill Lipatov (Leency)
1b9dbc2232 WebView 3.15: no more static buffers for parsing tag, some fixes, update page not found
git-svn-id: svn://kolibrios.org@8445 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-18 15:39:38 +00:00
Kirill Lipatov (Leency)
408000706a WebView 3.14: fix critical regression with file download
git-svn-id: svn://kolibrios.org@8444 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-18 12:55:55 +00:00
Kirill Lipatov (Leency)
becbfa3198 WebView 3.12: bugfix for colors (always set alpha to 0xff)
git-svn-id: svn://kolibrios.org@8443 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-18 11:41:33 +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
Kirill Lipatov (Leency)
4c60cafcc0 WebView 3.11: refactoring tag parse
git-svn-id: svn://kolibrios.org@8440 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-18 01:47:36 +00:00
Kirill Lipatov (Leency)
64a81df7e7 WebView: refactoring
git-svn-id: svn://kolibrios.org@8439 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-17 23:01:09 +00:00
superturbocat2001
3b4f58dac4 TinyHashView 2.5:
- Added launch of OpenDialog if the program is launched without parameters.
- Macros are used for convenient work with the clipboard

git-svn-id: svn://kolibrios.org@8430 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-16 20:10:09 +00:00
superturbocat2001
18fd7921cf - Added libdialog binary
- Fixed buid_all.sh

git-svn-id: svn://kolibrios.org@8428 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-16 18:13:19 +00:00
Kirill Lipatov (Leency)
bb56998236 TASKBAR: change lang by a single Ctrl+Shift (thanks Mihail Serebryakov for the bugreport)
git-svn-id: svn://kolibrios.org@8427 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-16 18:12:57 +00:00
superturbocat2001
826c0501b8 - Added libdialog.a (proc_lib loader) and sample
- Deleted old console example (replacement: consoleio)
- Added RGB struct to kos32sys1.h
(applies to ktcc)

git-svn-id: svn://kolibrios.org@8426 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-16 17:15:39 +00:00
Kirill Lipatov (Leency)
6cb7bf1eb6 WebView: fixed memory leak in cache.add(), give system memory back each time parse ends
git-svn-id: svn://kolibrios.org@8425 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-16 16:30:39 +00:00
Kirill Lipatov (Leency)
15ad016d59 Netsurf: upload binnaries, add to ISO
NSINST: run app if exists on TPM, ISO, if not the download

git-svn-id: svn://kolibrios.org@8418 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-16 12:05:35 +00:00
Kirill Lipatov (Leency)
c987c0d2d5 WebView: fix issues with anchors
Eolite: use Shift+Enter to open all selected files

git-svn-id: svn://kolibrios.org@8417 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-16 10:23:59 +00:00
Kirill Lipatov (Leency)
5b3ac273b6 WebView: no page scroll to the top when download a file, autoopen images
git-svn-id: svn://kolibrios.org@8413 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-15 15:39:54 +00:00
Kirill Lipatov (Leency)
feeb972821 WebView 3.01: bugfixes (thanks Mihail Serebryakov and rgimad for reports), refactor URL parse
git-svn-id: svn://kolibrios.org@8410 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-15 02:08:04 +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
Kirill Lipatov (Leency)
eac740c648 APP_PLUS: revert last change: so it can handle param again
C-- LIBIMG: fix memory leak
SYSMON: always on top now
WebView: fix: remove garbage on the top of the UTF pages

git-svn-id: svn://kolibrios.org@8407 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 15:54:00 +00:00
superturbocat2001
561e5c5b1c - Fixed math.h
git-svn-id: svn://kolibrios.org@8406 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 15:18:31 +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
superturbocat2001
5b3b09698f - Removed melibc in ktcc
git-svn-id: svn://kolibrios.org@8404 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 12:27:58 +00:00
superturbocat2001
ccc4de1b67 - Removed non existing functions from math.h.
- Added "sys_change_window" function to kos32sys1.h. 
- Installed "pragma pack" for the structure in kolibrisys.h.

git-svn-id: svn://kolibrios.org@8403 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 12:19:25 +00:00
Kirill Lipatov (Leency)
6ef7a12f1c searchap: allow user to give the path to mount
git-svn-id: svn://kolibrios.org@8400 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-14 01:55:05 +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
Kirill Lipatov (Leency)
e001af7afe okay enough
git-svn-id: svn://kolibrios.org@8398 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 20:59:29 +00:00
Kirill Lipatov (Leency)
a4ded7351f ups fix
git-svn-id: svn://kolibrios.org@8397 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 20:58:48 +00:00
Kirill Lipatov (Leency)
adea6f05e9 WebView 3.0 Gold: IMG support!
No page blinking on scroll, proper alpha-channel blend (PNG 32bpp), local images support, base64 images support* (only small ones yet). Need code refactoring.

git-svn-id: svn://kolibrios.org@8396 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 20:52:56 +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
maxcodehack
751768c3c2 Fix '-v' option
git-svn-id: svn://kolibrios.org@8393 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 14:33:14 +00:00
Kirill Lipatov (Leency)
e52ed5b883 c-- apps: never use libio
Eolite: fixed bug that file or folder was not selected in case when it had to

git-svn-id: svn://kolibrios.org@8392 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 12:31:53 +00:00
maxcodehack
91fe30428d Fix autobuild
git-svn-id: svn://kolibrios.org@8391 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 11:50:48 +00:00
maxcodehack
a2cc72148f Fix autobuild
git-svn-id: svn://kolibrios.org@8390 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 11:48:41 +00:00
Kirill Lipatov (Leency)
adf7624efe avoid using libio in img.load()
git-svn-id: svn://kolibrios.org@8389 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 11:48:29 +00:00
maxcodehack
1469a8e53d Fix autobuild
git-svn-id: svn://kolibrios.org@8388 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 11:47:17 +00:00
maxcodehack
9df944e105 Add tte to autobuild
git-svn-id: svn://kolibrios.org@8387 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 11:46:08 +00:00
maxcodehack
5689be824b Fix -O2 bug in TTE
git-svn-id: svn://kolibrios.org@8386 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 11:41:03 +00:00
maxcodehack
4d1d99f255 Add GCC to tte makefile
git-svn-id: svn://kolibrios.org@8385 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 09:09:28 +00:00
Kirill Lipatov (Leency)
9d28bd0e9d decrease c-- app size
git-svn-id: svn://kolibrios.org@8383 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 01:21:31 +00:00
Kirill Lipatov (Leency)
afa42a24be fixed memory leak
git-svn-id: svn://kolibrios.org@8382 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 00:48:13 +00:00
Kirill Lipatov (Leency)
82dc2376da CMM APPS: use img_file_load (at least mblocks -1 sector)
git-svn-id: svn://kolibrios.org@8381 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 00:32:34 +00:00
superturbocat2001
99103794f2 - Added simple function "getopt" in stdlib (tcc)
git-svn-id: svn://kolibrios.org@8380 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-12 20:09:30 +00:00
maxcodehack
fc647254c0 Fix autobuild
git-svn-id: svn://kolibrios.org@8379 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-12 16:51:50 +00:00
maxcodehack
e6e99fe316 Fridge: code refactoring
git-svn-id: svn://kolibrios.org@8378 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-12 16:49:35 +00:00
superturbocat2001
cfd4d26cef - Added definitions for clipboard functions.
- Added DATA macro for convenient memory access by offset.
- Removed kos32sys1beta.h since it is not used anywhere
(applicable to ktcc)

git-svn-id: svn://kolibrios.org@8374 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-11 21:05:55 +00:00
superturbocat2001
5fdc73661c - Fixed cursor in THashView
git-svn-id: svn://kolibrios.org@8373 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-11 20:34:18 +00:00
superturbocat2001
14e3d78c64 - Changed libgb assembly and added libcryptal (implementation of cryptoalgorithms from Brad Conte).
- Changed build libgb.
- Added memory.h for compatibility.

git-svn-id: svn://kolibrios.org@8367 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-11 17:07:49 +00:00
maxcodehack
c3410b755e Add bat script to bcc32 newlib example
git-svn-id: svn://kolibrios.org@8366 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-11 16:43:44 +00:00