Commit Graph

8641 Commits

Author SHA1 Message Date
turbocat
8d70017a77 kolibri-libc:
- Added new symbols
- Added build.sh for loader

git-svn-id: svn://kolibrios.org@8641 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-09 10:11:53 +00:00
turbocat
549ba491fa kolibri-libc:
- Added mkexp binary
- Deleted exports.c
- Fixed mkexp and added to Makefile

git-svn-id: svn://kolibrios.org@8640 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-09 09:09:11 +00:00
Magomed Kostoev (mkostoevr)
c28876a891 clink: Remove unuseful binary file
git-svn-id: svn://kolibrios.org@8639 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-06 15:10:01 +00:00
Kenshin
587ffa7b37 Shell: docs are updated
git-svn-id: svn://kolibrios.org@8638 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-06 13:08:17 +00:00
Kenshin
c70708415f SHELL: shell.inc now suports sc_ping & sc_pid functions
git-svn-id: svn://kolibrios.org@8637 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-06 13:01:41 +00:00
maxcodehack
c0a1d61a57 [klibc][kgcc] Undef 'linux' and define 'kolibri'
git-svn-id: svn://kolibrios.org@8636 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-04 19:46:14 +00:00
turbocat
c1e6562f35 kolibri-libc:
- Added shell_ping
- Added shell_get_pid
- Fixed malloc in stdlib.h
- Added check during SHELL init (uses shell_ping)
- getc is used like fgetc

git-svn-id: svn://kolibrios.org@8635 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-04 09:01:18 +00:00
turbocat
cae5f61bc5 SHELL:
- Added new SC_PING api
- Renamed from SC_GET_PID to SC_PID 

git-svn-id: svn://kolibrios.org@8634 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-04 08:50:03 +00:00
turbocat
1a73ba1001 SHELL:
- Added new API: SC_GET_PID
- Fixed data type pid - unsigned int. 
- Fixed cmd_ps output pid; 

git-svn-id: svn://kolibrios.org@8633 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-03 21:14:44 +00:00
turbocat
504bda29b5 kolibri-libc:
- Added shell_printf
- Added shell functions to export table.
- Fixed  libc.obj build(use mingw)
- Removed generated libc.obj-loader files

git-svn-id: svn://kolibrios.org@8632 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-03 20:00:50 +00:00
maxcodehack
4bd8e1a084 [klibc] Add mkexp tool
git-svn-id: svn://kolibrios.org@8631 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-03 19:45:47 +00:00
maxcodehack
3a0151f2ae [klibc] remove asm inc duplicates
git-svn-id: svn://kolibrios.org@8630 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-03 17:09:00 +00:00
turbocat
781f3f0fab kolibri-libc:
- Added shell apis(shell_api.h)
- Added functions  for working with a named shared memory area(ksys.h).
- Fixed itoa

git-svn-id: svn://kolibrios.org@8629 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-03 14:56:26 +00:00
turbocat
7d923337f0 kolibri-libc:
- Fix fputs and fgets  fs error names(added KSYS prefix instead KOS)
- Added enum KSYS_MOUSE_POS

git-svn-id: svn://kolibrios.org@8628 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-02 21:28:51 +00:00
turbocat
b3dd287ea0 kolibri-libc:
- Fix fwrite and fread working with a void pointer.

git-svn-id: svn://kolibrios.org@8627 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-02 20:49:28 +00:00
turbocat
5f69e793ff ktcc:
- deleted libc.obj loader

git-svn-id: svn://kolibrios.org@8626 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-02 20:30:18 +00:00
turbocat
728d0ab126 kolibri-libc:
- Added example program
- Delete trash files
- Added libc.obj loader (will be removed from ktcc)

git-svn-id: svn://kolibrios.org@8625 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-02 20:22:37 +00:00
Magomed Kostoev (mkostoevr)
162d919194 kolibri-libc: Reimplement fgets, fputc, fputs, fread and fwrite
Now it follows the POSIX specification better.

git-svn-id: svn://kolibrios.org@8624 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-02 18:57:57 +00:00
Magomed Kostoev (mkostoevr)
23ada42423 kolibri-libc: Add fs error codes to ksys.h
git-svn-id: svn://kolibrios.org@8623 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-02 18:52:19 +00:00
Magomed Kostoev (mkostoevr)
1f4d74f500 Relocate kolibri-libc from GitHub
git-svn-id: svn://kolibrios.org@8622 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-02 17:58:11 +00:00
turbocat
95e70a7b8c libc.obj.a(ktcc) :
- Added makefile
- Added mklib tools
- Fixed build

git-svn-id: svn://kolibrios.org@8621 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-01 21:52:10 +00:00
Magomed Kostoev (mkostoevr)
519b298e48 [clink] Return zero (success)
git-svn-id: svn://kolibrios.org@8620 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-01 17:26:41 +00:00
maxcodehack
9b45138bf2 uPDF: move libjbig2dec and libopenjpeg to sdk/sources
git-svn-id: svn://kolibrios.org@8619 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-28 17:09:15 +00:00
Magomed Kostoev (mkostoevr)
bbfb3b311f [clink] Fill BSS section by zeroes
git-svn-id: svn://kolibrios.org@8618 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-28 15:28:03 +00:00
maxcodehack
07643c3fde minizip: Use zlib as dynamic lib (smaller program's size)
git-svn-id: svn://kolibrios.org@8617 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-25 18:19:40 +00:00
maxcodehack
11a6284c41 Fix build and smaller size (-Os)
git-svn-id: svn://kolibrios.org@8616 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-25 15:59:52 +00:00
maxcodehack
34193c54d8 Add minizip and miniunz
git-svn-id: svn://kolibrios.org@8615 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-25 15:48:52 +00:00
maxcodehack
afa32a2a13 Upload minizip (http://www.winimage.com/zLibDll/minizip.html) unzipper port
git-svn-id: svn://kolibrios.org@8614 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-25 15:35:02 +00:00
ConLenov
72917ede9c Skins: add Aigul by ConLenov
git-svn-id: svn://kolibrios.org@8613 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-25 09:04:26 +00:00
ConLenov
829e33572e Skins: add Aigul by ConLenov
git-svn-id: svn://kolibrios.org@8612 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-24 12:36:31 +00:00
maxcodehack
bf7d612d7b sys/kos.h: more neat +sysfn36 +ZPOS
git-svn-id: svn://kolibrios.org@8611 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-24 09:25:50 +00:00
maxcodehack
4657dec23b Add new syscall wrapper - sys/kos.h
Fridge: improve and move to sys/kos.h

git-svn-id: svn://kolibrios.org@8610 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-24 08:40:54 +00:00
Magomed Kostoev (mkostoevr)
c7fc4ec5b4 Update TCC binary
git-svn-id: svn://kolibrios.org@8609 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-23 22:05:15 +00:00
Magomed Kostoev (mkostoevr)
b9c2c188c5 Update autoimporting libraries to put specific data at the end if the executable file
git-svn-id: svn://kolibrios.org@8608 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-23 21:44:40 +00:00
Magomed Kostoev (mkostoevr)
0fa9abba42 Update make.bat for librasterworks.a
It needed to be fully rewritten

git-svn-id: svn://kolibrios.org@8607 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-23 21:04:20 +00:00
Magomed Kostoev (mkostoevr)
7fc2d33833 Update librasterworks.a making batch (output file name)
git-svn-id: svn://kolibrios.org@8606 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-23 21:01:10 +00:00
Magomed Kostoev (mkostoevr)
32a9e36b93 Put imports into ".imp.@." sections.
Now it's not necessary to put linking of these libraries at the end of tcc command line.

git-svn-id: svn://kolibrios.org@8605 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-23 20:59:07 +00:00
Magomed Kostoev (mkostoevr)
521bee47b1 Make TCC write ".imp.@." section at the end of the file.
Now it's possible to write import table at the end of file without need to put linking of autoimporting libraries at the very end of command line.

git-svn-id: svn://kolibrios.org@8604 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-23 16:37:49 +00:00
Magomed Kostoev (mkostoevr)
ccc434de43 Add libc.obj wrapper for autoimport
git-svn-id: svn://kolibrios.org@8603 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-22 15:41:44 +00:00
Magomed Kostoev (mkostoevr)
a7a6e91ff1 Add missing file for testing
git-svn-id: svn://kolibrios.org@8602 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-22 08:24:55 +00:00
Magomed Kostoev (mkostoevr)
0b8e3382ef Add one more clink's dependency
git-svn-id: svn://kolibrios.org@8601 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-22 08:19:58 +00:00
Magomed Kostoev (mkostoevr)
2b98571951 Add unexisted dependencies
git-svn-id: svn://kolibrios.org@8600 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-21 20:36:10 +00:00
da8b70d99e fixed same vulnerability in sysfn 48.3
git-svn-id: svn://kolibrios.org@8599 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-21 11:03:16 +00:00
d82e0a30b4 fixed vulnerabilities in sysfn 18.11 and 36, now user applications cannot corrupt kernel memory via invalid buffer address
git-svn-id: svn://kolibrios.org@8598 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-21 09:59:47 +00:00
turbocat
50415dcf52 Wolfenstein 3D:
- Fixed too long delay in the menu.

git-svn-id: svn://kolibrios.org@8597 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-18 21:15:28 +00:00
turbocat
119ae0b605 Wolfenstein 3D:
- Added missing sources
- The window now opens in the center of the screen.

git-svn-id: svn://kolibrios.org@8596 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-16 19:38:40 +00:00
turbocat
f634cb76dd - Fix max_screen_size() function in kos32sys.h
git-svn-id: svn://kolibrios.org@8595 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-16 19:31:15 +00:00
Kirill Lipatov (Leency)
031ccc8bf9 WebView: fix images
git-svn-id: svn://kolibrios.org@8594 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-16 15:38:55 +00:00
c39db73416 taskman.inc: fixed two vulnerabilities which caused kernel memory corruption on attempt to run apps with illegal addresses in MENUET0x header
git-svn-id: svn://kolibrios.org@8593 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-14 13:21:22 +00:00
1351c15bd0 taskman.inc: add comments for unobvious things, no code changes
git-svn-id: svn://kolibrios.org@8592 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-13 23:42:08 +00:00