2661 Commits

Author SHA1 Message Date
Sweetbread cd8cfe2630 refactor/links: update obsolote WebSVN links (fix #66, #67, ref #77) (#163)
Replaces obsolete links to the retired SVN / WebSVN infrastructure with their current Gitea equivalents across the repo, and refreshes the bundled application table.

Changes:
- `data/common/templates/table_apps(rus).csv` - WebSVN URLs → Gitea; dropped the dead /trunk path segment (flattened during the Git migration); unified the whole file to http:// (it is opened from within KolibriOS, whose network stack has no HTTPS); normalized forum/wiki columns and updated several app entries (descriptions, moved paths, new charsets).
- `kernel/**/asmxygen.py` - link_root now points to Gitea instead of WebSVN.
- Source & readme references - converted remaining `svn://kolibrios.org/…` and `svn:\…` pseudo-paths to Gitea URLs in `gif.asm`, `tinypad.asm`, `amon`/`gmon` readmes, and ktcc `http.h`/`conio.h`.
- `flappybird/README.md`, `ha/ReadMe.txt` - WebSVN → Gitea.

Out of scope:
- SVN keyword tags (`$Revision$`/`$Id$`, ~1000 files) and `kolibri-n.org` links — left for separate PRs.

---------

Co-authored-by: Burer <burer@kolibrios.org>
Reviewed-on: #163
Reviewed-by: Ivan B <1+dunkaist@noreply.localhost>
Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com>
Co-authored-by: Sweetbread <sweetbread@coders-squad.com>
Co-committed-by: Sweetbread <sweetbread@coders-squad.com>
2026-06-02 08:58:36 +00:00
Matou1306 779ea18d4e fs/ext2: support legacy Rev0 superblocks (#421)
Ext2 Rev0 superblocks lack dynamic fields.
Add fallback logic to check for EXT2_GOOD_OLD_REV and
manually populate in-memory inodeSize (128) and firstInode (11). 

Introduce standard EXT2_GOOD_OLD_* constants aligning with
Linux kernel approach for the same issue.

This aligns with [what the Linux Kernel does](https://github.com/torvalds/linux/blob/master/fs/ext2/super.c#L1036-L1039).

Reviewed-on: #421
Reviewed-by: Ivan B <1+dunkaist@noreply.localhost>
Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com>
Co-authored-by: Mathieu Morcos <mathieubotros@gmail.com>
Co-committed-by: Mathieu Morcos <mathieubotros@gmail.com>
2026-05-30 05:07:19 +00:00
dunkaist 310999dcc4 fs/ext: Fix the return value of f70.1 (readdir)
Build system / Check kernel codestyle (pull_request) Successful in 23s
Build system / Build (pull_request) Successful in 9m37s
Return ERROR_END_OF_FILE instead of ERROR_SUCCESS when
less files were read than requested.
2026-05-17 19:45:29 +00:00
dunkaist bb769cbf85 xfs: Support (ignore) new feature flags
Build system / Check kernel codestyle (pull_request) Successful in 48s
Build system / Build (pull_request) Successful in 10m14s
Our XFS driver works in read-only mode. Therefore flags
that are related only to writing can be safely ignored.
2026-05-17 18:53:34 +00:00
nitinsoni4115 9b9f10b231 Fix #65: Replace WebSVN links with Gitea URLs in asmxygen.py (#393)
Updates the link_root variable to point to the new Gitea repository
instead of the old WebSVN links:
- Old: http://websvn.kolibrios.org/filedetails.php?repname=Kolibri+OS&path=/kernel/trunk
- New: https://git.kolibrios.org/KolibriOS/kolibrios/src/branch/main

Also updates the line anchor format to match Gitea's format:
- Old: #line-{line_number}
- New: #L{line_number}

---------

Co-authored-by: nitinsoni4115 <nitinsoni4115@gmail.com>
Reviewed-on: #393
Reviewed-by: Ivan B <1+dunkaist@noreply.localhost>
Reviewed-by: Burer <burer@kolibrios.org>
Co-authored-by: nitinsoni4115 <nitinsoni2704@gmail.com>
Co-committed-by: nitinsoni4115 <nitinsoni2704@gmail.com>
2026-05-17 14:01:27 +00:00
Matou1306 e1a30a4f14 fs/ext: implement symlink support (#414)
Implement support for reading fast and slow symlinks to files and directories in the ext driver.

Add handling for nested symlinks and absolute/relative paths, with a max depth limit of 40.
Add `ERROR_TOO_MANY_LINKS = 40` to `fs_lfn.inc`.
Fix the driver to ignore multiple slashes in the path.

Reviewed-on: #414
Reviewed-by: Ivan B <1+dunkaist@noreply.localhost>
Reviewed-by: hidnplayr <hidnplayr@gmail.com>
Co-authored-by: Matou <mathieubotros@gmail.com>
Co-committed-by: Matou <mathieubotros@gmail.com>
2026-05-15 19:21:30 +00:00
ian 641603693f extfs: report unsupported incompatible features (#368)
Report unsupported ext incompatible features to the system board before mount failure.

Changes:
- add ext incompat feature bit constants
- replace one-by-one checks with a loop over a feature table
- keep fallback logging for unknown incompat bits

---------

Co-authored-by: Ian Choi <workhard2464@gmail.com>
Reviewed-on: #368
Reviewed-by: Ivan B <1+dunkaist@noreply.localhost>
Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com>
Co-authored-by: ianjchoi8701 <ianjchoi8701@gmail.com>
Co-committed-by: ianjchoi8701 <ianjchoi8701@gmail.com>
2026-05-11 12:05:36 +00:00
ace-dent f7a26ece7a kernel/sec_loader: Post-SVN tidy (#435)
- Move source code from `trunk` into root directory. Changes mirrored in old `branch` copies for parity.
- Checked build files and ASM include paths; no changes required.

(Work towards [#75](#75), point 3)

Reviewed-on: #435
Reviewed-by: Ivan B <1+dunkaist@noreply.localhost>
Reviewed-by: Burer <burer@kolibrios.org>
Co-authored-by: Andrew <dent.ace@gmail.com>
Co-committed-by: Andrew <dent.ace@gmail.com>
2026-04-21 15:45:54 +00:00
TensorCraft 0b4562bac4 net: fix mutex leak in ipv4_connect
Build system / Check kernel codestyle (pull_request) Successful in 1m42s
Build system / Build (pull_request) Successful in 12m27s
2026-03-31 10:41:12 -07:00
Burer 06c1497624 system/docs: update docs and SF constants to match actual kernel (#306)
- Update sysfuncs.txt and sysfuncr.txt to match actual kernel code:
  - Add missing SF's info
  - Add missing constants
  - Fix some mistakes
- Update KOSfuncs.inc to match actual kernel code:
  - Remove obsolete constants
  - Add missing constants
  - Rename some constants to match their names in docs

Reviewed-on: #306
Reviewed-by: Max Logaev <maxlogaev@proton.me>
Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com>
Co-authored-by: Burer <burer@kolibrios.org>
Co-committed-by: Burer <burer@kolibrios.org>
2026-02-26 17:25:16 +00:00
ace-dent d50642ce1f general: Fix brand name to КолибриОС (#280)
- Ensure consistent brand name`КолибриОС`; update Docs and source code. Fixes #6.
- Minimal whitespace clean-up; remove some trailing space from end of lines.

Reviewed-on: #280
Reviewed-by: Burer <burer@noreply.localhost>
Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com>
Co-authored-by: Andrew <dent.ace@gmail.com>
Co-committed-by: Andrew <dent.ace@gmail.com>
2025-09-25 16:39:01 +02:00
Doczom 6aff7b8c02 Kernel: Fixed bug in iso9660
Build system / Check kernel codestyle (pull_request) Successful in 1m33s
Build system / Build (pull_request) Successful in 7m3s
Fixed a bug of outputting erroneous file names in iso9660 (not juliet)
2025-06-23 12:54:22 +02:00
Doczom e0d724286f Kernel: Fixed magic numbers and constants in iso9660 2025-06-23 12:54:22 +02:00
keXa aef0b3a6a7 Return four space indents in kermel Makefile
Build system / Check kernel codestyle (pull_request) Successful in 1m31s
Build system / Build (pull_request) Successful in 12m22s
2025-06-13 18:19:10 +02:00
keXa 6181afd33d Updated kernel Makefile
Build system / Check kernel codestyle (pull_request) Successful in 1m40s
Build system / Build (pull_request) Successful in 11m51s
TBH it worked even without this but okay.
2025-06-13 18:04:59 +02:00
keXa c112873dbd Fixed kernel's Makefile by removing bootbios target
Build system / Check kernel codestyle (pull_request) Successful in 1m7s
Build system / Build (pull_request) Successful in 12m30s
2025-06-13 12:32:32 +02:00
ace-dent a7ada1c586 kernel: Remove SVN tags (#247)
Build system / Check kernel codestyle (pull_request) Successful in 1m49s
Build system / Build (pull_request) Successful in 10m10s
- Delete directories (and files) for SVN tags, as these are captured by Git tags: https://git.kolibrios.org/KolibriOS/kolibrios/tags.

(Work towards #75, point 1)

Reviewed-on: #247
Reviewed-by: Burer <burer@noreply.localhost>
Reviewed-by: Ivan B <dunkaist@noreply.localhost>
Co-authored-by: Andrew <dent.ace@gmail.com>
Co-committed-by: Andrew <dent.ace@gmail.com>
2025-06-12 20:00:14 +02:00
Doczom 51b150c9aa Kernel: Fixed bug #221 - accept does not fill sockaddr 2025-05-05 18:14:22 +02:00
dunkaist 55d641b0da kernel: Clean up svn-related code and data
Build system / Check kernel codestyle (pull_request) Successful in 40s
Build system / Build (pull_request) Successful in 6m9s
* Rearrange sf18.13 version structure to
  + mention git hash and release offset,
  + separate OS release and kernel ABI numbers,
  + include an optional debug tag.
* Update the boot log and the blue screen to print the new fields.
* Update docs.
* No breaking changes.

Resolves #99.
2025-03-17 20:07:46 +01:00
leency 83a8240eb8 GoogleTranslate Jurgen's commit from sysfuncr.txt to sysfuncs.txt
SHA-1: 34d6f8189f
git-svn-id: svn://kolibrios.org@9976 a494cfbc-eb01-0410-851d-a64ba20cac60
2025-02-23 03:25:55 +02:00
dunkaist e633ea8eac Fix extended_primary_loader for native CD boot
When the extended primary loader for CD was introduced in 2008-2009 it
used to load a relatively small secondary loader. Later the secondary
loader was integrated into the kernel, hence the primary loader had to
load the kernel which is 100kB+. The EDD BIOS specification allows to
read less than 0x80 sectors at once using Int 0x13 0x42 service. For a
512-byte sector this is less than 0x10000 bytes which is a 64kB limit.
The same limit of 64kB is reached on a CD with only 0x20 sectors,
because the sector size is 2048 bytes here. This commit changes the
maximum number of sectors that can be read by the loader at once from
0x7f to 0x20, i.e. reading is done in 64kB blocks now.
2025-02-22 20:03:24 +00:00
dunkaist 17eebff188 Fix a kernel crash on a CD, with 512MB RAM
CDDataBuf was considered a free memory. It was then allocated for other
kernel structures what eventually caused the crash.

The bug report: https://www.youtube.com/watch?v=tXMD9_gEUcA
2025-02-09 19:38:30 +00:00
dunkaist d235c8914c Fix ghost threads in CPU
* kernel: Make sf9 return TSTATE_FREE for invalid slots: 0, >255, free.
* menu: Ignore free slots even if other fields of proc_info look valid.
        Documentation (sysfuncs.txt) clearly states all the other info
        as invalid when slot_state is TSTATE_FREE.
* taskbar: Same as menu.
* cmm/lib/*: Same as menu.
* programs/macros.inc: Add TSTATE_* macros.
2025-02-01 03:32:16 +00:00
Doczom 4cfb1a27b5 Krn: Fixed the calling convention for the "load_pe_driver" function 2025-01-19 19:26:48 +05:00
dunkaist 4a166ede82 Another fix for locale names 2024-07-11 09:00:28 +01:00
dunkaist 46e816c366 Fix locale codes for kernel build scripts 2024-07-10 17:42:26 +01:00
ace-dent 4f08d0ad8b [Boot] Update for locales
- Fixes for new locale codes.
- Some whitespace clean-up.
2024-06-05 10:00:06 +01:00
dunkaist b6a0bf7729 Fix autobuild text on the blue boot screen 2024-06-03 04:03:51 +01:00
dunkaist 4dac8068a5 [docs] Replace cyrillic 'с' with latin 'c' in register names
git-svn-id: svn://kolibrios.org@10074 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-06-01 02:17:20 +00:00
dunkaist d470cce4d8 Fix language codes in the kernel
git-svn-id: svn://kolibrios.org@10073 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-06-01 01:37:18 +00:00
ace-dent f80a8960b0 Fix EN comments in kernel
- Minor tweaks and translations from RU.
- Includes work by @rgimad.

git-svn-id: svn://kolibrios.org@10070 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-30 21:54:55 +00:00
ace-dent 48bd92cda2 Fix EN comments in kernel
- Minor tweaks.
- Includes work by @rgimad.

git-svn-id: svn://kolibrios.org@10069 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-30 21:16:43 +00:00
ace-dent 09cb62069d Fix EN typos
- Corrections for en_US language.
- Some whitespace sanitation.

git-svn-id: svn://kolibrios.org@10068 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-30 20:45:33 +00:00
ace-dent 349dbb6edf Fix EN typos
Small corrections for grammar and fluency [en_US].

git-svn-id: svn://kolibrios.org@10058 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-28 14:15:26 +00:00
dunkaist 85276ce3ee Fix language paths for git autobuild
git-svn-id: svn://kolibrios.org@10056 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-27 18:22:11 +00:00
Doczom 07d896f571 Krn: Added a new driver for the iso9660 file system
Added a new driver for the iso9660 file system. The driver supports the current version of the disk subsystem and is intended for further translation of IDE ATAPI devices to this driver. The basic version of ISO9660 and the Joliet extension are supported.

git-svn-id: svn://kolibrios.org@10053 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-26 15:22:48 +00:00
ace-dent 55296eb7c8 Fix EN typo flippy
git-svn-id: svn://kolibrios.org@10052 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-25 21:40:51 +00:00
ace-dent 4165acdf83 Remove $Revision$ from kernel file headers
- To better support git, remove SVN dependant `$Revision$` from file headers. This does *not* remove: the use of `__REV__` macro in `boostr.inc` and `kernel.asm`
- Header Copyright notices updated to 2024.
- Minimal white space cleanup (trailing spaces automatically removed).
- Note: `asmxygen.py` has a *large* amount of whitespace cleanup, due to incorrect line endings.

git-svn-id: svn://kolibrios.org@10051 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-22 15:15:14 +00:00
ace-dent 51ac7f789b Tweak EN language for boot screen
Minimal changes for improved fluency:
- Tweak language.
- Fix URL link.
- Remove SVN $Revision$.

git-svn-id: svn://kolibrios.org@10050 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-22 10:50:32 +00:00
ace-dent a7816e7613 Consistent use of KolibriOS name
- Ensure consistent naming for brand integrity.

git-svn-id: svn://kolibrios.org@10049 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-22 10:10:18 +00:00
dunkaist e9e08c56b6 Update Tupfile.lua's for tup-0.8
git-svn-id: svn://kolibrios.org@10042 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-21 14:45:21 +00:00
Doczom 9b1c982736 Krn: Fixed definition of local variables in the "create_cursor" function
git-svn-id: svn://kolibrios.org@10039 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-20 18:05:20 +00:00
Doczom 6fbd7cd2f9 Krn: Fixed the disk size output function
and fixed the "end if" position when compiling extended_primary_loader

git-svn-id: svn://kolibrios.org@10016 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-09 14:47:16 +00:00
Doczom d8b8010bbd Krn: Fixed the number of functions in the file system drivers
git-svn-id: svn://kolibrios.org@10015 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-09 14:22:13 +00:00
Doczom 566428b0cc Krn: Removed outdated MIDI interface
Delete sysfn 20, 21.1, 26.1 

git-svn-id: svn://kolibrios.org@10010 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-04-08 20:15:57 +00:00
Doczom 6345e58caa Kernel: Deleted support MENUET00 header of executable files;
Updated process_information structure.

git-svn-id: svn://kolibrios.org@10008 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-04-07 16:15:57 +00:00
dunkaist 31193af81e [xfs] Fix lookup of v5 dirs
git-svn-id: svn://kolibrios.org@10007 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-04-01 02:38:53 +00:00
Jurgen 5eb750c289 1. Edit procedure check exception 12 (overflow stack)
2. Edit func 68,24
3. Add proc "control exception"
4. Add subfuncs func 51 (GetPriorityThread, SetPriorityThread,GetCurrentThreadId)
5. Add info in ReferenceFunc(rus)

git-svn-id: svn://kolibrios.org@10002 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-23 19:19:24 +00:00
Doczom 6f5f626500 Update documentation, added wirnings for oldated functions
git-svn-id: svn://kolibrios.org@9995 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-16 22:49:35 +00:00
Doczom fe3924b288 fixed bad commit(rev9976) of Jergen
git-svn-id: svn://kolibrios.org@9993 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-15 12:11:28 +00:00