Commit Graph

1254 Commits

Author SHA1 Message Date
superturbocat2001
1dab73b754 - Added macros X_W and Y_H and deleted debug kos32sys1.h
- Moved debug functions to libc.a
- Removed console.h since libcon no longer exists
- Added tcc_http_demo to build_all.sh
(Applies to ktcc)

git-svn-id: svn://kolibrios.org@8464 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-21 18:08:02 +00:00
IgorA
e532373af8 libimg: can save 32 bit png
git-svn-id: svn://kolibrios.org@8463 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-21 13:58:19 +00:00
maxcodehack
91ae0dee0b kosjs: replace libmujs.a with sources; if argc = 0, see "usage"
git-svn-id: svn://kolibrios.org@8456 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-20 08:45:42 +00:00
maxcodehack
2a45e4a7f7 Upload kosjs interpreter
git-svn-id: svn://kolibrios.org@8455 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-20 07:57:39 +00:00
Rustem Gimadutdinov (rgimad)
51f9df912f ktcc: http_tcp_demo refactoring & net/network.h small fix
git-svn-id: svn://kolibrios.org@8450 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-18 22:44:07 +00:00
Ivan Baravy
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
Rustem Gimadutdinov (rgimad)
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
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
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
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
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
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
Ivan Baravy
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
Ivan Baravy
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
Ivan Baravy
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
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
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
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
Kirill Lipatov (Leency)
de4468272c IMG: clean up in folders, mostly in /DEMOS/ and /DEVELOP/, move examples to /DEVELOP/EXAMPLES/
asciivju: add font type switcher


git-svn-id: svn://kolibrios.org@8365 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-11 13:33:32 +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
superturbocat2001
bed1d7841c Changed parameters of "socketpair" function in libck (ktcc)
git-svn-id: svn://kolibrios.org@8344 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-08 18:36:23 +00:00
Ivan Baravy
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
Ivan Baravy
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
4c90768ccb - network.obj loader has been moved to a separate libnetwork.a library
git-svn-id: svn://kolibrios.org@8338 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-07 23:36:57 +00:00
superturbocat2001
1094e71a7d - added network.obj loader
- added _ksys_kill_process function
in libck.a ktcc

git-svn-id: svn://kolibrios.org@8337 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-07 21:19:51 +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
superturbocat2001
195c220c21 fixed socketpair() function in libck
git-svn-id: svn://kolibrios.org@8317 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-04 06:40:20 +00:00
superturbocat2001
818c477d6f - Added functions for working with sockets in libck tcc
git-svn-id: svn://kolibrios.org@8315 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-03 17:27:05 +00:00
superturbocat2001
e303140339 Removed duplicate #define PATH_MAX
git-svn-id: svn://kolibrios.org@8290 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-01 16:30:24 +00:00
superturbocat2001
5451715e39 - Added "lsdir" function to libck ktcc.
- Added "fs" folder to build.bat in libck for tcc.
- Updated libck and dir_example

git-svn-id: svn://kolibrios.org@8289 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-01 16:19:41 +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
maxcodehack
3ffe214e13 Add Makefile to kos32-tcc sample programs
git-svn-id: svn://kolibrios.org@8282 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-30 07:38:09 +00:00
superturbocat2001
5941f0e334 - Added 4 functions to libck: getcwd, setcwd, mkdir, rmdir.
- Fixed Makefile for building "libck" under tcc. 
- Added example to new functions

git-svn-id: svn://kolibrios.org@8280 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-29 22:05:50 +00:00
superturbocat2001
dc1e174943 Disabled static linking when building Linux version of TCC.
git-svn-id: svn://kolibrios.org@8274 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-28 20:57:58 +00:00
superturbocat2001
2f517f2ecb Fixed Makefile.kos32 in TCC (New path to ld script)
git-svn-id: svn://kolibrios.org@8273 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-28 19:43:51 +00:00
superturbocat2001
dbc1c764b1 - Added compress target to Makefile.linux32 (Uses UPX)
- Fixed TCC for linux bug: does not find library and headers as well as start.o
- Updated kos32-tcc

git-svn-id: svn://kolibrios.org@8272 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-28 19:19:06 +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
4f3226cf94 heed: fix open & edit null file
git-svn-id: svn://kolibrios.org@8255 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-26 22:02:39 +00:00
superturbocat2001
2e992f24ea - Added TEAtool source files
- Compressed kos32-tcc
- Changed the paths of the output files in buid_all.sh

git-svn-id: svn://kolibrios.org@8251 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-24 15:13:42 +00:00
superturbocat2001
36b26f112a - Fixed ktcc build for linux
- Added Makefile.linux32
- Added TEAtool and fixed console title
- Fixed crash of THashView

git-svn-id: svn://kolibrios.org@8250 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-24 14:40:29 +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
Kirill Lipatov (Leency)
9b502d851f rename libmelibc.a_ into libmelibc.a
git-svn-id: svn://kolibrios.org@8234 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-21 15:30:09 +00:00
maxcodehack
f75ba1987d Add example to TCC melibc #2
git-svn-id: svn://kolibrios.org@8231 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-11-21 13:31:00 +00:00