Commit Graph

36 Commits

Author SHA1 Message Date
turbocat
ec9a93aa6a libc.obj:
- now using vsscanf from BaseLibc;
 - delete extra pragma
 - disable sort includes(clang-format)

git-svn-id: svn://kolibrios.org@9868 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-08-02 13:30:05 +00:00
turbocat
7a21f11ebd Rollback to 9861.
git-svn-id: svn://kolibrios.org@9863 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-07-26 08:57:22 +00:00
turbocat
1e116c9679 libc.obj : Try fix "%o" scanf bug.
git-svn-id: svn://kolibrios.org@9862 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-07-26 08:32:48 +00:00
eastorwest
b3232bd390 fix sscanf
git-svn-id: svn://kolibrios.org@9861 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-07-23 15:02:09 +00:00
turbocat
cf7da98be8 libc.obj set "tan" as global
git-svn-id: svn://kolibrios.org@9846 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-19 19:27:38 +00:00
turbocat
3f52f417fc libc.obj: remove gcc dependency from tupfile.
git-svn-id: svn://kolibrios.org@9844 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-19 15:51:48 +00:00
turbocat
4f75a74c2c libc.obj: now builded to kos32-tcc
git-svn-id: svn://kolibrios.org@9843 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-19 15:47:00 +00:00
turbocat
2a2a059aa9 libc.obj: added tan.asm
git-svn-id: svn://kolibrios.org@9775 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-20 19:10:24 +00:00
turbocat
82646d764b libc.obj:
- Added inttypes header;
 - Fixed warnings in mouse api wrappers;
 - Preparation for build only via tcc+fasm.


git-svn-id: svn://kolibrios.org@9774 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-20 19:07:54 +00:00
vitalkrilov
eeb3d0e5b9 libc.obj: updated libc.def, fixed bug with log10
git-svn-id: svn://kolibrios.org@9773 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-20 17:30:33 +00:00
vitalkrilov
fda5ad66db libc.obj: added log2, log10, round functions
git-svn-id: svn://kolibrios.org@9772 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-20 17:08:10 +00:00
turbocat
cde4fa851d libc.obj:
- Formatted by clang-format (WebKit-style).
- Removed unnecessary errno linux. 
- Added KOS error codes. 
- String functions have been replaced with more optimal ones for x86. 
- Changed wrappers for 70 sysfunction.

git-svn-id: svn://kolibrios.org@9765 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-15 09:00:55 +00:00
vitalkrilov
705c0883ac libc.obj: added missing sqrt, cosh functions
libc.def: added sqrt, cosh, sin, tan functions

git-svn-id: svn://kolibrios.org@9761 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-10 23:56:16 +00:00
turbocat
36918e3217 libc.obj:
- Update crt0 
 - Removed autoloader generation(use libc.def).

git-svn-id: svn://kolibrios.org@9666 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-24 17:43:00 +00:00
turbocat
0d9c69c2a0 libc.obj:
- Unified stdcall and cdecl;
 - Fixed clayer to use def format;
 - Fixed build examples.


git-svn-id: svn://kolibrios.org@9620 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-12 18:09:37 +00:00
turbocat
e08c6968ef ktcc: rollback to r9529
git-svn-id: svn://kolibrios.org@9558 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-02 12:16:17 +00:00
turbocat
b91e4571a3 ktcc: fixed crt0.asm build and added to lib folder
git-svn-id: svn://kolibrios.org@9556 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:53:09 +00:00
turbocat
c62ef7970d libc.obj: Use crt0.asm by Coldy as default
git-svn-id: svn://kolibrios.org@9554 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-01 16:38:32 +00:00
IgorA
ee947e3840 fix 'sscanf' by vitalkrilov
git-svn-id: svn://kolibrios.org@9529 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-30 16:45:04 +00:00
turbocat
cfde3b082c libc.obj: added missing sin and tan
git-svn-id: svn://kolibrios.org@9515 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-28 18:17:27 +00:00
turbocat
9257d2c34c libc.obj:
- Added basename() and  dirname()
 - libc_test all tabs -> spaces

git-svn-id: svn://kolibrios.org@9262 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-12 22:45:22 +00:00
turbocat
f0928164bd libc.obj: fixed asctime() format and UTC mktime() bug.
git-svn-id: svn://kolibrios.org@9260 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-07 19:29:12 +00:00
turbocat
82ddf447d5 libc.obj: Fixed div, ldiv, lldiv ( problem with the compatibility of returned structures in functions between tcc and gcc) thanks to Boppan).
git-svn-id: svn://kolibrios.org@9233 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-02 21:29:04 +00:00
turbocat
bd8a5b6e8e libc.obj:
- added strtod();
 - added "+" to fopen mode; 

git-svn-id: svn://kolibrios.org@9230 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-01 14:46:28 +00:00
turbocat
2076a4a777 libc.obj:
- Added vsprintf to export
 - Added sdltest.c example

git-svn-id: svn://kolibrios.org@9204 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-26 17:55:43 +00:00
turbocat
4918685b4a libc.obj: Fixed calloc function
git-svn-id: svn://kolibrios.org@9189 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-13 19:02:24 +00:00
turbocat
109befa1e4 libc.obj:
- fixed fread bug  

git-svn-id: svn://kolibrios.org@9165 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-29 18:27:24 +00:00
turbocat
785dcb3341 libc.obj:
- fixed return fwrite and fread as well as eof

git-svn-id: svn://kolibrios.org@9156 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-26 20:35:11 +00:00
turbocat
e7ec006b8b libc.obj:
- Added atof function
- Added example for working with threads

git-svn-id: svn://kolibrios.org@9137 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-08-15 20:21:32 +00:00
turbocat
52dd2872bf libc,obj:
- changed wrapper names

git-svn-id: svn://kolibrios.org@9094 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-27 00:20:54 +00:00
turbocat
e10c8c25cc libc.obj:
- restructured ksys.h

git-svn-id: svn://kolibrios.org@9093 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-26 23:42:35 +00:00
turbocat
8fa851ddb6 libc.obj:
strtol.с  - removed existing definitions;
fgets.c - uses fread() to read;
gets.c  - added additional check;

git-svn-id: svn://kolibrios.org@9081 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-24 21:28:39 +00:00
turbocat
678de81f24 kolibri-libc:
- added qsort and assert
- delete junk files
- updated libc loader


git-svn-id: svn://kolibrios.org@9013 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-06 18:18:46 +00:00
turbocat
de30a03cac Fixed build libc.obj
git-svn-id: svn://kolibrios.org@8803 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 16:02:15 +00:00
turbocat
29ae440741 libc.obj
Fixed build

git-svn-id: svn://kolibrios.org@8794 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 14:40:17 +00:00
turbocat
b5b499b8c8 kolibri-libc:
Move to folder with tcc. Part 1

git-svn-id: svn://kolibrios.org@8793 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-10 14:37:44 +00:00