Commit Graph

10005 Commits

Author SHA1 Message Date
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
Kirill Lipatov (Leency)
d91cb7946f https://board.kolibrios.org/viewtopic.php?p=79329#79912
NTFS fix for sf 70.3 by Pathoswithin (non-tested) => Doczom please check if you can

git-svn-id: svn://kolibrios.org@9953 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-12 01:11:26 +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
c6d4aab9c5 [DRIVERS] Fixed linux MSR functions in ddk
git-svn-id: svn://kolibrios.org@9951 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-12-28 14:06:06 +00:00
turbocat
bbee219bab [KERNEL] Use PAT if supported. Otherwise MTRR
git-svn-id: svn://kolibrios.org@9950 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-12-26 18:33:21 +00:00
Doczom
b9d43b416f fix bug in sysfn 7
git-svn-id: svn://kolibrios.org@9949 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-23 12:53:06 +00:00
Doczom
6643206b73 [KERNEL] fixed bug in sysfn 39.3
git-svn-id: svn://kolibrios.org@9948 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-12 21:52:14 +00:00
ace_dent
52ed04f5cc Update docs/README.TXT and rename to CREDITS
- Rename to `CREDITS.TXT` for clarity.
- Improve text of opening paragraph. Thanks to various translators.
- Reformat to use headings, removing excessive whitespace characters (~2.5KiB).
- Sort list of contributors alphabetically; easier to maintain.
- Add missing contributors and remove from `kernel.asm`. Thanks to @rgimad.
- Minor formatting and whitespace cleanup.

git-svn-id: svn://kolibrios.org@9947 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-01 21:53:34 +00:00
Anton Krotov
9398cd7961 CEdit:
- added line spacing setting
- disabled highlighting of anonymous labels


git-svn-id: svn://kolibrios.org@9946 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-01 12:50:05 +00:00
Doczom
9ab6258bfe Added new driver for mount raw disk images.
- Added driver virt_disk.sys
 - Added the program "virtdisk" which allows you to add, delete and view virtual disks.

git-svn-id: svn://kolibrios.org@9945 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-01 08:47:52 +00:00
ace_dent
244de0059e Refine distr_data/readme text
- Improve English translation for distribution readme.
- Make use of `KolibriOS` (no space) consistent.

git-svn-id: svn://kolibrios.org@9944 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-10-01 01:28:37 +00:00
turbocat
2c2132e24d Fixed typo in "blue screen"
git-svn-id: svn://kolibrios.org@9943 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-22 20:38:13 +00:00
turbocat
e4362a1edc Fixed a "blue screen" hang when trying to write a configuration to a read-only device
git-svn-id: svn://kolibrios.org@9942 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-22 19:17:33 +00:00
Doczom
69f5ec5ac7 [KERNEL] Graphics subsystem has been redesigned:
- removed the old cursor and the code for its operation
 - minor fixes in other kernel modules
 - new fields have been added to the display_t structure for further refactoring of the graphics subsystem.

git-svn-id: svn://kolibrios.org@9941 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-22 16:31:40 +00:00
IgorA
d9820a5748 bcc32: add rasterworks example
git-svn-id: svn://kolibrios.org@9940 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-22 07:12:51 +00:00
Kirill Lipatov (Leency)
f09b60cdf3 move dgen to a proper place of Tupfile (by turbocat)
git-svn-id: svn://kolibrios.org@9939 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-21 20:45:54 +00:00
Kirill Lipatov (Leency)
cc4e120366 Starting Blue screen:
- The next message was improved: "New settings have been applied. Do you want to record them for the future boots? Answer 'yes' only if your booting device is writable." to avoid users saving changes on CD. This is a bug 'cos normally such behaviour must be handeled in the code http://board.kolibrios.org/viewtopic.php?p=80012#p80012
- Hide option "Create blank image" which is outdated now

git-svn-id: svn://kolibrios.org@9938 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-13 23:43:36 +00:00
Kirill Lipatov (Leency)
ec85113589 Add DGEN (Sega) emulator to menu.dat of actual builds
git-svn-id: svn://kolibrios.org@9937 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-13 23:29:37 +00:00
6527c2c475 Rename TUPFILE.LUA to Tupfile.lua
Yes, autobuild is case-sensitive.

git-svn-id: svn://kolibrios.org@9936 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-11 20:28:44 +00:00
spaceraven
f995ff85cd Deleting binary; correcting small mistakes in ScreenRuler.asm
git-svn-id: svn://kolibrios.org@9935 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-11 19:10:09 +00:00
spaceraven
8a7de6d31d New program - Screen Ruler, for measuring distance between 2 pixel on screen.
git-svn-id: svn://kolibrios.org@9934 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-11 17:29:39 +00:00
31d2901d78 [taskbar] Add LCtrl+Esc hotkey to open/close menu
git-svn-id: svn://kolibrios.org@9933 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-09-02 01:57:02 +00:00
Doczom
d0acf78f92 [KERNEL] cleared the code of unnecessary comments
git-svn-id: svn://kolibrios.org@9932 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-20 21:54:50 +00:00
Magomed Kostoev (mkostoevr)
0932401978 [KERNEL][TEST] Run UMKa tests if enabled.
Before this commit UMKa was downloaded, but none of its tests had been executed. Now it executes all the tagged UMKa tests (41 for now). Some tags had been excluded, like #acpi, because the ACPI subsystem is still under development.



git-svn-id: svn://kolibrios.org@9931 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-20 10:40:03 +00:00
Doczom
0a5beb0bc0 [KERNEL] The window subsystem has been redesigned:
-extended WDATA structures up to 128 bytes
-added the background_windows constant
-the draw_data array has been deleted
-APPDATA.window and WDATA.thread fields added
-minor fixes in the operation of external file system drivers

git-svn-id: svn://kolibrios.org@9930 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-18 20:51:33 +00:00
Magomed Kostoev (mkostoevr)
48e0317921 [KERNEL] Trigger GitHub mirror sync.
git-svn-id: svn://kolibrios.org@9929 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-14 18:55:18 +00:00
boppan
5b64340319 [WS] Make run.py work on modern qemu
git-svn-id: svn://kolibrios.org@9928 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-06 19:45:59 +00:00
boppan
18f26e7cf9 [clink] Make it able to read and write more than 64k - 1 COFF relocation
These are changes from two commits from the upstream clink repo (https://github.com/mkostoevr/clink) and one commit from the upstream epep repo (https://github.com/mkostoevr/epep).

clink:

    Commit e63ed12ead17e47d77e848da0e7b9f4dd3ad5127
    Bugfix: Make it able to write more than 64k - 1 COFF relocations
    
    If the relocation count is greater than 0xffff then it can't fit
    in the NumberOfRelocations field of a section header. In order to
    specify greater relocation count IMAGE_SCN_LNK_NRELOC_OVFL flag
    should be added to Characteristics and the actual relocation count
    should be written into VirtualAddress field of the first COFF
    relocation.
    
    Commit 328fc3112a30fcaa808f2cad34028a6507d602a3
    Bugfix: Make it able to read more than 64k - 1 COFF relocations
    
    New EPEP API allows to read more than 64k - 1 relocations. Use it
    when reading relocation count for filling SectionInfo and when
    reading relocations for wriring the output file.

epep:

    Commit 3bed4e348a486c346d0a452c58c1d85e1805c09d
    Feature: Higher-level COFF relocations API
    
    Number of COFF relocations of a section is stored in the 16-bit
    NumberOfRelocations field of a section header. If a COFF object has
    more than 2^16 - 1 relocations, then the value does not fit in the
    field.
    
    To solve this problem, IMAGE_SCN_LNK_NRELOC_OVFL flag of a section
    header has been introduced. If this flag is set for the section,
    then the actual number of relocations is stored in the
    VirtualAddress field of the first relocation.
    
    If the flag is set, then NumberOfRelocations field of the section
    header should be equal to 0xffff, othervice the linker should give
    an error.
    
    So this patch introduces few functions adressing this mechanism.
    
    epep_section_contains_extended_relocations:
    
        Checks whether the section has more than 2^16 - 1 relocations.
        Retrns error if the IMAGE_SCN_LNK_NRELOC_OVFL flag is set, but
        the NumberOfRelocations field is not equal to 0xffff.
    
    epep_get_section_extended_number_of_relocations:
    
        Reads the number of COFF relocations from the VirtualAddress
        field of the first COFF relocation.
    
    epep_get_section_number_of_relocations_x:
    
        Gives the number of meaningful relocations of the section.
    
        If the section has less than 2^16 relocations, then returns the
        value of the NumberOfRelocations field of the section header,
        othervice reads the number of relocations from the first COFF
        relocation, but: since the first relocation in this case is not
        meaningful, gives the actual number of relocations minus one.
        This is used in the function documented below.
    
        Returns 1 in the last argument if the section contains extended
        number of relocations, 0 othervice.
    
    epep_get_section_relocation_by_index_x:
    
        If the section has less than 2^16 relocations, then just reads
        a relocation by the given index. In case if the section has
        extended number of relocations, the first relocation is not
        meaningful, so it is skipped, and the relocation at index + 1
        is read instead.



git-svn-id: svn://kolibrios.org@9927 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-08-06 14:41:09 +00:00
Doczom
9a2d26f2a7 [KERNEL] the window subsystem was refactored, WDATA structures were expanded and magic numbers were replaced with constants
git-svn-id: svn://kolibrios.org@9926 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-25 16:42:10 +00:00
Doczom
76202213a1 [KERNEL] fixed a bug in rev 9917
git-svn-id: svn://kolibrios.org@9925 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-22 03:32:33 +00:00
Doczom
91a9743099 [SDHCI] Added new driver on SD host controller
git-svn-id: svn://kolibrios.org@9924 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-20 15:14:42 +00:00
Magomed Kostoev (mkostoevr)
09ebacf1ef [KERNEL][TEST] Download and build UMKa if enabled.
git-svn-id: svn://kolibrios.org@9923 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 18:36:53 +00:00
Magomed Kostoev (mkostoevr)
add3113b8b [KERNEL][TEST] Initialize tup if it is not.
git-svn-id: svn://kolibrios.org@9922 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 15:07:58 +00:00
Magomed Kostoev (mkostoevr)
21392e4c9b [KERNEL][TEST] Fix tests fail for new qemu.
git-svn-id: svn://kolibrios.org@9921 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 13:48:44 +00:00
Magomed Kostoev (mkostoevr)
8b6c817da7 [KERNEL][TEST] Print informative message on test fail.
git-svn-id: svn://kolibrios.org@9920 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 13:47:38 +00:00
Magomed Kostoev (mkostoevr)
82d8c58e1e [KERNEL][TEST] Fail on prematurely finished qemu.
git-svn-id: svn://kolibrios.org@9919 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-18 12:44:38 +00:00
Magomed Kostoev (mkostoevr)
0a2a7aa344 Tests: Fix testing kernel build
The test system used a custom command to build the testing kernel.
Make it use the tup system.



git-svn-id: svn://kolibrios.org@9918 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-17 20:07:12 +00:00
Doczom
cd441e7929 [KERNEL]: Replaced magic numbers with constants and cleaned code
git-svn-id: svn://kolibrios.org@9917 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-17 18:40:54 +00:00
Doczom
7f50e02fca FTPd: added the DELE and STOR functions, fixed the output code for the new connection
git-svn-id: svn://kolibrios.org@9916 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-06-08 05:55:41 +00:00
Anton Krotov
653161d498 CEdit: added [shift+mouse wheel] for horizontal scrolling;
search improved.


git-svn-id: svn://kolibrios.org@9915 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-05-07 17:19:42 +00:00
qullarwee
3dc259f833 Upload "mousepos" utility
git-svn-id: svn://kolibrios.org@9914 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-05-01 11:40:31 +00:00
Anton Krotov
d23a080c99 CEdit: bugfix
git-svn-id: svn://kolibrios.org@9913 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-04-13 19:16:45 +00:00
Anton Krotov
21c201190a FB2 Reader: fixed rolling up
git-svn-id: svn://kolibrios.org@9912 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-04-11 21:53:43 +00:00
Doczom
7028e04565 [KERNEL] cleaned code and added description of some functions
git-svn-id: svn://kolibrios.org@9911 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-04-09 18:19:13 +00:00
Doczom
cf0e9867b0 [KERNEL] updated local labels in functions and other small changes
git-svn-id: svn://kolibrios.org@9910 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-04-08 21:24:05 +00:00
Anton Krotov
fbb49920de CEdit:
- highlight @@:/@f/@b/@r
- numpad support


git-svn-id: svn://kolibrios.org@9909 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-03-28 22:27:10 +00:00
Doczom
77a4688f6d Updated dll.load. Added support for loading the library using the full path.
Fixed makefile for Whether  

git-svn-id: svn://kolibrios.org@9908 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-03-28 16:39:08 +00:00
Anton Krotov
3ade12b666 CEdit: fixed whole word search
git-svn-id: svn://kolibrios.org@9907 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-03-18 12:35:25 +00:00
Anton Krotov
f8df2f2297 CEdit: minor fix
git-svn-id: svn://kolibrios.org@9906 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-03-05 21:40:21 +00:00