Commit Graph

116 Commits

Author SHA1 Message Date
turbocat
aae3ae86cc Newlib:
- Added missing basename.c;
- Added original dirname.c;
- Added getcwd (extension of POSIX.1 standard, as in the original NewLib).

git-svn-id: svn://kolibrios.org@9989 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-07 20:39:33 +00:00
turbocat
43e723374e Newlib: Added enviroment emulation via the file /sys/settings/system.env
git-svn-id: svn://kolibrios.org@9959 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-14 01:52:02 +00:00
turbocat
75cc884573 NewLib:
Added missing dirent impl

git-svn-id: svn://kolibrios.org@9955 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-12 23:03:49 +00:00
turbocat
6e3276cb4b NewLib:
- Added basic support for dirent.h;
- Added memory.h for compatibility;
- Added ftruncate() function;
- Fixed date and time structures in ksys_file_info_t.

git-svn-id: svn://kolibrios.org@9954 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-12 23:01:16 +00:00
turbocat
9562f01892 NewLib:
- Duplicate functionality files removed;
- Refactoring of file handling functions;
- Removed broken impliments.
Gears (C + TinyGL):
- Removed because it duplicates an existing example on Fasm and uses unsupported wrappers on the KOS API.
KosJS:
- Removed. The MuJS port is too old and not used anywhere. Support is not profitable.
Backy:
- Removed useless GCC version. Support is not profitable.
DGen-SDL and SQLite3
- Fix after removing broken "dirent.h".
Fridge:
- Moving the KOS API wrapper to avoid compilation errors.
Udis86, uARM and 8086tiny:
- Fix after removing redundant "kos_LoadConsole.h".


git-svn-id: svn://kolibrios.org@9952 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-04 22:20:35 +00:00
turbocat
6c347146ee newlib: Try to unify wrappers. And get rid of kos32sys.h
git-svn-id: svn://kolibrios.org@9874 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-09-01 19:19:27 +00:00
turbocat
c36e767724 newlib ksys.h synchronized with libc.obj
git-svn-id: svn://kolibrios.org@9865 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-08-01 05:22:28 +00:00
turbocat
a0f200534d ksys.h:
- Fixed formatting;
 - Added wrapper for sysfunction 65.

git-svn-id: svn://kolibrios.org@9836 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-15 10:45:06 +00:00
vitalkrilov
b66e372685 ksys.h:
- KSYS_SLOT_STATE_FREE has right value (9, not 6) now
- few style changes (snake_case)

git-svn-id: svn://kolibrios.org@9830 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-05 08:46:07 +00:00
vitalkrilov
c48822e03e sysfuncr.txt: added missing docs for SysFn77.10, SysFn77.11, SysFn77.13 from wiki
ksys.h:
- libc.obj's file synced with newlib's (r9788)
- added scancodes enum
- added wrappers for SysFn66.4 and SysFn66.5 (sys. hotkeys)
- added wrappers for SysFn77.0 -- SysFn77.3 (futexes)

git-svn-id: svn://kolibrios.org@9829 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-04 22:48:35 +00:00
turbocat
d3e724b908 ksys.h:
- Added SF 68.1 and SF 68.14 wrappers
 - Added SLOT_STATE enum.

git-svn-id: svn://kolibrios.org@9788 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-26 07:57:42 +00:00
turbocat
2f58880d77 ksys.h:
- Fixed thread info struct;
 - Added SF 63.3 wrapper;
 - Added SF 18.19 universal wraper;
 - Fixed ksys_pos_t.

git-svn-id: svn://kolibrios.org@9784 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-25 19:08:45 +00:00
turbocat
56ff702799 ksys.h:
- Added to Newlib and should be in sync with the file from libc.obj; 
- Added new wrappers.

git-svn-id: svn://kolibrios.org@9767 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-15 14:02:43 +00:00
maxcodehack
4fae618b2c Refactoring sys/kos.h
git-svn-id: svn://kolibrios.org@9757 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-06 14:37:19 +00:00
turbocat
4633866c71 Newlibc: Added wrapper for all console.obj functions.
git-svn-id: svn://kolibrios.org@9716 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-13 13:51:56 +00:00
vitalkrilov
8800305655 Fixed all misuse of "/rd/1" (changed to "/sys"; all except "/programs/*" and "/kernel/*")
ati2d: fixed log creation

git-svn-id: svn://kolibrios.org@9583 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-06 19:34:04 +00:00
turbocat
2a13666707 Newlibc: Added con_set_title wrapper
git-svn-id: svn://kolibrios.org@9354 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-02 19:24:53 +00:00
Coldy
603b599e0e newlib: fixed incorrect work with relative path
(previously /sys/open.c buildpath added an extra slash
after the current working directory)

git-svn-id: svn://kolibrios.org@9346 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-29 11:39:21 +00:00
turbocat
5f997bdf39 Newlibc:
- Added a wrapper over con_init (for set console title);

git-svn-id: svn://kolibrios.org@8930 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-23 21:32:10 +00:00
turbocat
4dd5094597 Newlibc:
Update Tupfile

git-svn-id: svn://kolibrios.org@8880 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-19 20:30:16 +00:00
turbocat
0d7bb871e6 Newlibc:
Added getcwd and dirname

git-svn-id: svn://kolibrios.org@8879 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-19 20:17:05 +00:00
turbocat
707de77a80 Newlibc:
- Fixed bug with input to the console (when clicking on "backspace" characters were not deleted).
- Added _NO_STDERR macro for redirecting "stderr" to the console

git-svn-id: svn://kolibrios.org@8777 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-07 16:51:13 +00:00
turbocat
2287b1e29b newlibc:
Added new functions:
- dir.h: mkdir, rmdir, chdir
- dirent.h:  alphasort, opendir, closedir, readdir, rewinddir, seekdir, telldir, scandir

git-svn-id: svn://kolibrios.org@8759 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-02 00:58:56 +00:00
64e1e52eba Autobuild: use (only?) double dots operator to interpolate strings
git-svn-id: svn://kolibrios.org@8723 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-22 18:02:57 +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
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
superturbocat2001
d5cfdf6d55 - Rollback to revision 8543
git-svn-id: svn://kolibrios.org@8580 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-05 21:27:59 +00:00
superturbocat2001
0d9f2bb886 Fixed date in time() function newlibc
git-svn-id: svn://kolibrios.org@8573 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-04 15:26:06 +00:00
superturbocat2001
cef20686d6 - Added enumeration of kolibri events
git-svn-id: svn://kolibrios.org@8544 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-24 19:42:41 +00:00
superturbocat2001
59994f2adb svn commit -m " newlibc reverted to revision 8522"
git-svn-id: svn://kolibrios.org@8538 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-16 08:18:15 +00:00
superturbocat2001
f4bcacd66c - Fixed error codes for socket.h
git-svn-id: svn://kolibrios.org@8537 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-15 22:25:11 +00:00
superturbocat2001
08edaac2b6 - Fixed network headers in newlibc and C_layer
git-svn-id: svn://kolibrios.org@8522 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-05 16:19:36 +00:00
maxcodehack
62a646eb18 Fix autobuild
git-svn-id: svn://kolibrios.org@8519 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-05 10:07:02 +00:00
maxcodehack
27aa766598 kos32sys.h improvement
git-svn-id: svn://kolibrios.org@8453 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-19 17:58:43 +00:00
maxcodehack
fe8377e2c7 kos32sys.h: Add proc_info struct for SysFn 9 and system_color struct for get system colors
git-svn-id: svn://kolibrios.org@8441 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-18 08:46:40 +00:00
superturbocat2001
72b4b057f0 Added functions for working with sockets in newlibc (socket.h)
git-svn-id: svn://kolibrios.org@8343 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-08 18:10:26 +00:00
Sergey Semyonov (Serge)
df2b9b2d5a and again
git-svn-id: svn://kolibrios.org@7171 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-03-04 01:54:56 +00:00
Sergey Semyonov (Serge)
7d178cae81 newlib: fix autobuild
git-svn-id: svn://kolibrios.org@7170 a494cfbc-eb01-0410-851d-a64ba20cac60
2018-03-04 01:37:55 +00:00
ashmew2
7efe02d623 Add heap_init() for Netsurf (and others)
git-svn-id: svn://kolibrios.org@6897 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-15 20:30:49 +00:00
siemargl
01700771dd add set_fileinfo()
git-svn-id: svn://kolibrios.org@6777 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-30 22:22:54 +00:00
Sergey Semyonov (Serge)
f46d948b97 newlib: fix static build again
git-svn-id: svn://kolibrios.org@6765 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-26 18:03:31 +00:00
Sergey Semyonov (Serge)
6d4a497b51 newlib: fix static build
git-svn-id: svn://kolibrios.org@6749 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-23 15:06:04 +00:00
siemargl
2af7a3394b fix fopen handle leak, static build
git-svn-id: svn://kolibrios.org@6744 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-23 11:13:09 +00:00
Sergey Semyonov (Serge)
dfcd8352e3 newlib: now supported CP437, CP720, CP737, CP775, CP850, CP852, CP855, CP857, CP858, CP862, CP866,
CP874, CP1125, CP1250, CP1251, CP1252, CP1253, CP1254, CP1255, CP1256, CP1257, CP1258,
CP20866, CP21866, CP101 (GEORGIAN-PS), CP102 (PT154 Kazakhstan)

git-svn-id: svn://kolibrios.org@6714 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-15 20:10:29 +00:00
Sergey Semyonov (Serge)
a1e1e82444 newlib: update
git-svn-id: svn://kolibrios.org@6666 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-04 06:30:55 +00:00
Sergey Semyonov (Serge)
a3c61f5039 newlib: close streams on exit
git-svn-id: svn://kolibrios.org@6664 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-11-03 19:02:07 +00:00
Sergey Semyonov (Serge)
0f191361f2 newlib: add wcsftime()
git-svn-id: svn://kolibrios.org@6628 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-28 09:29:54 +00:00
Sergey Semyonov (Serge)
c48b963b16 newlib: limited unicode support
git-svn-id: svn://kolibrios.org@6627 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-28 02:28:17 +00:00
Sergey Semyonov (Serge)
67d979178e newlib: remove mbstowcs duplicate
git-svn-id: svn://kolibrios.org@6626 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-27 23:38:00 +00:00