100 Commits
Author SHA1 Message Date
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
dunkaist f7a3e34289 Fix build of ps2mouse4d driver
The previous commit removed the trunk directory, fix Tupfile.lua too.
2026-04-09 06:07:03 +00:00
dunkaist cd1c2ce969 Fix docpack shortcut for sysfuncs in text editors
Build system / Check kernel codestyle (pull_request) Successful in 28s
Build system / Build (pull_request) Successful in 6m54s
Docpack app has several help files included. Tinypad and CEdit run the
app to show one of sysfuncs.txt/sysfuncr.txt files. The text editors
pass a one-letter argument to specify the text file. It used to be 'f'
for sysfuncs, it has become 'e' recently. Update this one-letter
argument both in tinypad and cedit.

Resolve #216
2025-04-30 01:50:46 +01:00
dunkaist 32466e31f4 programs/shell: Show new fields of the sf18.13 struct
Build system / Check kernel codestyle (pull_request) Successful in 41s
Build system / Build (pull_request) Successful in 6m3s
Kfetch command now reports
 - kernel ABI,
 - git hash (aka commit id),
 - release offset,
 - debug tag.

No svn revision anymore.
2025-03-17 23:22:45 +01: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
dunkaist a11466d56b Fix libimg to execute emms after mmx code
Also, remove an emms hack from Dino game.
Fix #98.
2025-02-24 01:40:31 +00:00
dunkaist 54669d62b4 Rename tup.config's for disabled builds 2025-02-23 17:43:16 +00:00
dunkaist 9f5dd6cbdd Switch CD image to the native boot
No floppy emulation anymore. No attempts to save changed settings on
the blue screen.
2025-02-22 20:03:31 +00: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 195f996c1b Fix icon search function in box_lib/filebrowser
Consider a config file with the following two lines:
abc=1
c=2

Previously, the first line matched *.c files, because it had the 'c=1'
substring. Now we skip until the next line as soon as 'abc' doesn't
match 'c'.
2025-02-11 20:44:41 +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 84bc176353 menu: Use less hardcoded numbers, more constants 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
dunkaist 6933ee64cd Ger rid of some 'trunk' dirs in /programs/games 2025-01-20 14:40:21 +00:00
dunkaist c8e9e5a2a7 Fix autobuild for dino 2025-01-11 20:32:29 +00:00
dunkaist 2d9007da32 Add charset_checker to autobuild 2025-01-11 00:34:15 +00: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
dunkaist 65239bc359 [taskbar] Fix context menu strings 2024-07-10 05:02:08 +01:00
dunkaist b6a0bf7729 Fix autobuild text on the blue boot screen 2024-06-03 04:03:51 +01:00
dunkaist 412e42a342 Most of language code fixes 2024-06-03 00:34:02 +01:00
dunkaist 66816d7a7e More language code fixes
I commit in several commits to check autobuild
2024-06-02 04:51:22 +01:00
dunkaist e23778f306 Fix language tags for cmm programs
ru -> ru_RU
2024-06-02 03:56:38 +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
dunkaist c0607ba4f5 [taskbar] Fix language codes e.g. "et_EE"
git-svn-id: svn://kolibrios.org@10071 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-31 23:21: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
dunkaist 3997519acd [autobuild] Rename language dirs according to ISO-639 and ISO-3166-1
git-svn-id: svn://kolibrios.org@10055 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-27 17:26:00 +00:00
dunkaist d6a40ce092 Fix rus autobuild
git-svn-id: svn://kolibrios.org@10045 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-21 16:25:16 +00:00
dunkaist 142ed3aef0 Fix autobuild for games/c4 (nasm)
git-svn-id: svn://kolibrios.org@10044 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-21 15:44:29 +00:00
dunkaist 8f444289e0 Trigger tup-0.8 autobuild (minor Tupfile.lua changes)
git-svn-id: svn://kolibrios.org@10043 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-21 14:55:01 +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
dunkaist 0eabeee0d3 Rename fontRasterWorks(unicode) to fontRasterWorks_unicode
This is needed to migrate to tup-0.8.
I'm sure it was possible to workaround this and keep the name,
but it was easier to rename.

git-svn-id: svn://kolibrios.org@10041 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-21 14:44:37 +00:00
dunkaist 917cebdce1 [cmm] New option /OPATH to specify output file name
This is needed to migrate to tup-0.8.

git-svn-id: svn://kolibrios.org@10040 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-05-21 14:42:21 +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
dunkaist 6c4f535ed8 Fix autobuild for nasm
nasm requires a slash for include directories. At least its man says so.
On some platforms it worked, on some didn't. Maybe old versions of nasm
are more strict. Now it should work everywhere.

git-svn-id: svn://kolibrios.org@10006 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-04-01 02:29:53 +00:00
dunkaist c6fff882d8 Fix a typo in skin name: Yark-dark -> Yaru-dark
git-svn-id: svn://kolibrios.org@10005 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-03-31 21:27:25 +00:00
dunkaist e1bea992de Revert the length of uglobals buffer (fix r9968)
This is a magic number again, but it is reported to work.

git-svn-id: svn://kolibrios.org@9969 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-16 05:39:27 +00:00
dunkaist bd4ac33731 kernel, sf9: zero data buffer for empty slots
Now sf9 doesn't read uninitialized memory when called for an empty slot.
Also, applications don't get stale data after sf9 anymore.

git-svn-id: svn://kolibrios.org@9968 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-16 02:44:48 +00:00
dunkaist 7b51a89852 Use process_information structure in the kernel
Copied from the userspace macros.inc

git-svn-id: svn://kolibrios.org@9967 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-15 05:16:31 +00:00
dunkaist e9719d21a3 Fix autobuild timestamp offset on the blue screen
git-svn-id: svn://kolibrios.org@9966 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-15 03:58:48 +00:00
dunkaist 14bea4fd50 Update demos/gears to use sys/ksys.h
git-svn-id: svn://kolibrios.org@9965 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-15 03:32:24 +00:00
dunkaist 0572b0fbf6 Fix sf9 to ignore slot 0
It used to read uninitialized data at SLOT_BASE[0].

git-svn-id: svn://kolibrios.org@9964 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-14 19:34:21 +00:00
dunkaist 034dd79f43 Switch to the unified (BIOS and UEFI) kernel image
The initial patch by bzt with my minor edits.

git-svn-id: svn://kolibrios.org@9958 a494cfbc-eb01-0410-851d-a64ba20cac60
2024-01-14 01:39:36 +00:00
dunkaist 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
dunkaist 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
dunkaist aae65fd398 Unhardcode some PAGE_SIZE related numbers
4096 is PAGE_SIZE
not 4095 is -PAGE_SIZE
etc

git-svn-id: svn://kolibrios.org@9899 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-02-12 21:37:30 +00:00
dunkaist 59315b183d [kernel] Fix reading from empty board buffer (sf63.2)
Syscall 63.2, reading from the board buffer, was overwriting registers
edx and ebp when the buffer was empty. Now it sets eax and ebx according
to the kernel API.

Because of this ancient bug BOARD checks the status of sf63.2 syscall
this way:
        mcall   63, 2
        cmp     ebx, 1
        jne     no_data
        ; when the buffer is empty, ebx is untouched, i.e. still 2, haha
        ; edx and ebp are destroyed, the code is lucky not to use them

By the way, the bug was found using umka tool.

git-svn-id: svn://kolibrios.org@9897 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-30 03:33:03 +00:00
dunkaist 679a138dd7 [xfs] Fix a file lookup bug in btree dirs
Literally, an off-by-one error.

git-svn-id: svn://kolibrios.org@9890 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-02 00:58:36 +00:00
dunkaist 06d05066a3 [xfs] Support XFS nrext64 feature bit
This feature is _not_ enabled by default by mkfs.xfs at the moment.
That said, make KolibriOS ready for the future. By the way, fix two
bugs in support of XFSv5 disk format.

git-svn-id: svn://kolibrios.org@9889 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-02 00:55:53 +00:00
dunkaist df7f78788c [xfs] Support XFS bigtime feature bit
Current version of mkfs.xfs enables this feature by default.
Now KolibriOS can read such partitions too.

git-svn-id: svn://kolibrios.org@9888 a494cfbc-eb01-0410-851d-a64ba20cac60
2023-01-02 00:53:31 +00:00
dunkaist a9d195b964 Rename fields in SYSCALL_STACK struct: _eax -> eax, etc
git-svn-id: svn://kolibrios.org@9831 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-06-05 14:41:51 +00:00
dunkaist aa4154894c [kernel] Add is_string_userspace func, like is_region_userspace
git-svn-id: svn://kolibrios.org@9823 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-31 07:27:00 +00:00
dunkaist 3111bdaa18 Sync language names and IDs for @taskbar, kernel and docs
git-svn-id: svn://kolibrios.org@9822 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-29 19:36:19 +00:00
dunkaist f483bc78e4 Move weather.json config to /kolibrios
Weather app was moved to /kolibrios a year ago, move its config there
too. There is no reason for the config to be in img since nobody in img
uses it.

Also, update Weather to look for its config not only in /sys but also
in /kolibrios.

git-svn-id: svn://kolibrios.org@9820 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-23 22:47:22 +00:00
dunkaist bcd3970446 Replace Checkers with FlappyBird on the desktop
Checkers was removed from img more than a year ago in r8503, and its
desktop icon has been broken since then. There were two options: to
return Checkers and to replace it on the desktop with another game.
I have chosen the latter one.

Perhaps, a more suitable icon should be used for FlappyBird, but I
haven't found one. Feel free to add it.

git-svn-id: svn://kolibrios.org@9819 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-05-23 21:31:22 +00:00
dunkaist f8e67e0dd1 [autobuild] Fix asm-only and no-gcc build
git-svn-id: svn://kolibrios.org@9797 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-26 22:06:46 +00:00
dunkaist df15574e00 Translate documentation of sf68.31 into English
git-svn-id: svn://kolibrios.org@9796 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-26 20:55:37 +00:00
dunkaist 396446108e [autobuild] Split command list even more to avoid 'execl: Argument list too long'
git-svn-id: svn://kolibrios.org@9795 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-04-26 17:22:33 +00:00
dunkaist e07e44044e Fix call to edit_box_key_safe in Eolite (fix r9719)
git-svn-id: svn://kolibrios.org@9724 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-21 15:55:35 +00:00
dunkaist db0f7a7b77 libimg: Implement more bit depth conversion routines
git-svn-id: svn://kolibrios.org@9713 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-02-10 00:50:25 +00:00
dunkaist 473a315c3e Fix a typo in data/Tupfile.lua: BUGHBROT -> BUDHBROT
git-svn-id: svn://kolibrios.org@9609 a494cfbc-eb01-0410-851d-a64ba20cac60
2022-01-10 17:00:44 +00:00
dunkaist 5275eb360a autobuild: fix execl: Argument list too long
Put copying of raw_files into separate script.

git-svn-id: svn://kolibrios.org@9429 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-16 20:52:20 +00:00
dunkaist 3ba48914da autobuild: fix 'execl: Argument list too long'
Make a command to build kolibri.raw a few kB shorter.

git-svn-id: svn://kolibrios.org@9427 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-16 18:54:50 +00:00
dunkaist 0dc168b130 uefi64kos: Fix reporting of file size
git-svn-id: svn://kolibrios.org@9286 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-17 23:17:45 +00:00
dunkaist c3b7833e72 libimg: Avoid SSE pinsrw instruction in blend_mmx.asm
pinsrw can act on MMX registers, but it is still an SSE instruction.

git-svn-id: svn://kolibrios.org@9273 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-15 21:20:52 +00:00
dunkaist e44770ac18 uefi64kos: Fix stack alignment on function calls.
It is a formal requirement of UEFI spec that the stack is to be aligned
on 16 bytes on all calls to service routines. I changed eficall macro to
fstcall one in my previous commit. Due to differences in macro logic
that change broke UEFI boot on some platforms that do care about stack
alignment. This commit should fix the issue.

git-svn-id: svn://kolibrios.org@9253 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-05 02:17:31 +00:00
dunkaist 707e7037f0 uefi64kos: Detect last PCI bus, use fastcall macro.
* Detect last PCI bus via PCI Root Bridge IO protocol (uefi64kos only).
 * fastcall macro by Tomasz is much cleaner than eficall from osdev board.

git-svn-id: svn://kolibrios.org@9227 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-11-01 02:04:30 +00:00
dunkaist 83176ac8ef kernel: Fix window redraw after 1px move.
If
 - window A is above window B, and
 - window A has been moved,
then window B receives a redraw event.

But if that move was 1px right or down, window B didn't receive an event
because of off-by-one error. Now it's fixed.

git-svn-id: svn://kolibrios.org@9221 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-18 16:23:18 +00:00
dunkaist 553742f877 libcrash: sync with upstream.
* Implement new algorithms:
  - MACs: Poly1305, HMAC (SHA2_256, SHA2_512),
  - ciphers: ChaCha20, AES256CTR, AES256CBC.
* Remove MD4 hash.
* Change API (it happens).
* Update crashtest example.


git-svn-id: svn://kolibrios.org@9216 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-15 00:52:46 +00:00
dunkaist 34050385a4 Autobuild: fix autobuild without GCC.
mtar.obj is compiled with GCC. Move it to the corresponding section of a
Tupfile to not break asm-only builds.


git-svn-id: svn://kolibrios.org@9215 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-10-15 00:32:35 +00:00
dunkaist 7763a294f3 pcidev: fix output of the last bus #, increase window height
git-svn-id: svn://kolibrios.org@9196 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-20 10:20:43 +00:00
dunkaist cf3af4b4ed kernel: fix export of file_system_lfn_protected.
This function returns values not in registers but in their images on
stack. Therefore we have to wrap a call with pushad/popad.

git-svn-id: svn://kolibrios.org@9185 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-09-09 22:37:00 +00:00
dunkaist b6f769987c kernel: Check for base+len overflow in is_region_userspace
git-svn-id: svn://kolibrios.org@9045 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 09:22:44 +00:00
dunkaist 6beb99fc30 kernel: Implement sf70.5 for default FS stub
Only get partition size, not its label.

Information of a block device and FS on it should be reported by
different system calls.

git-svn-id: svn://kolibrios.org@9043 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 03:20:12 +00:00
dunkaist ff0e7d844d docs: Update INSTALL.TXT to mention UEFI mode
git-svn-id: svn://kolibrios.org@9002 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-05 23:51:22 +00:00
dunkaist 807afdadb8 kernel: Fix memory corruption of clipboard data.
There were a few off-by-one errors in window size calculation.
As a result, winmap update code corrupted clipboard structures.

git-svn-id: svn://kolibrios.org@8928 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-23 10:07:36 +00:00
dunkaist 23f728b028 unz: Fix password dialog.
git-svn-id: svn://kolibrios.org@8900 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-20 22:37:20 +00:00
dunkaist 6341ddfde8 kernel: Unhardcode a few values in hid/keyboard.inc.
git-svn-id: svn://kolibrios.org@8892 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-19 23:36:32 +00:00
dunkaist 406e1da18a board: Revert r8560 until #138 is fixed.
Nothing personal, I just needed reliable debug output.

git-svn-id: svn://kolibrios.org@8891 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-19 23:36:03 +00:00
dunkaist 347719fb25 uefi4kos: Disable debug output by default.
git-svn-id: svn://kolibrios.org@8864 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-15 22:20:16 +00:00
dunkaist 1cff99b570 Autobuild: Don't copy SHELL to img if NO_TCC is set.
git-svn-id: svn://kolibrios.org@8862 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-15 19:53:33 +00:00
dunkaist 188fe71c10 Fix autobuild.
git-svn-id: svn://kolibrios.org@8771 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-06 01:51:04 +00:00
dunkaist 870958f71d kiv: remove debug code overriding mouse settings.
git-svn-id: svn://kolibrios.org@8753 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-29 19:45:34 +00:00
dunkaist f4298f364a tup: Fix asm-only build.
git-svn-id: svn://kolibrios.org@8748 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-26 15:52:32 +00:00
dunkaist bb845a71ca Fix autobuild.
git-svn-id: svn://kolibrios.org@8724 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-22 19:09:11 +00:00
dunkaist 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
dunkaist e4622b9d20 Remove empty dirs.
git-svn-id: svn://kolibrios.org@8667 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-06 11:46:57 +00:00
dunkaist 9ecf33afac Upload View3ds 0.72 by macgub.
git-svn-id: svn://kolibrios.org@8666 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-04-04 00:28:11 +00:00
dunkaist 1948481489 Remove more leftover files (trigger autobuild).
git-svn-id: svn://kolibrios.org@8658 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-31 21:24:56 +00:00
dunkaist 159e4cbd6c Remove leftover files (trigger autobuild).
git-svn-id: svn://kolibrios.org@8657 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-31 20:29:11 +00:00
dunkaist af53d12ef9 uefi4kos: Make sure 32bit trampoline is below 4GiB
This fixes booting via uefi64kos on some systems.

git-svn-id: svn://kolibrios.org@8656 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-03-31 19:45:53 +00:00
dunkaist a16331c816 kiv and libimg.asm: Follow asm style guide, no semantic changes.
git-svn-id: svn://kolibrios.org@8497 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-30 05:32:02 +00:00
dunkaist de8931dae4 kiv: fix a bug (crash) after image rotation, fix memory leak.
git-svn-id: svn://kolibrios.org@8496 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-30 03:21:38 +00:00
dunkaist 459cb3ec5b libimg: Improve support of transparent PNG images.
* Support grayscale images with alpha channel.
* Support rgb images with transparent color.
* Process 'tRNS' chunk (simple transparency).

Transparent png images were already supported for color type 6, which
is RGBA. Now indexed images (color type 3) can also have transparency
via 'tRNS' chunk data.

git-svn-id: svn://kolibrios.org@8449 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-18 22:08:51 +00:00
dunkaist eb01893ff6 libimg: fix transparency in indexed png images.
git-svn-id: svn://kolibrios.org@8399 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 21:26:28 +00:00
dunkaist 11e69b4021 libimg: export img.resize_data
git-svn-id: svn://kolibrios.org@8395 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 18:07:49 +00:00
dunkaist 201cf02d85 libimg: transparency fixes.
img.convert doesn't make opaque pixels transparent.
gif decoder considers palette pixels opaque.

git-svn-id: svn://kolibrios.org@8394 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-13 17:22:19 +00:00
dunkaist a19ce6df66 Add img.blend example, add libimg examples to autobuild
git-svn-id: svn://kolibrios.org@8342 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-12-08 17:50:26 +00:00