Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
9930 283 d 20 h Doczom /kernel/trunk/ [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
 
9926 338 d 1 h Doczom /kernel/trunk/ [KERNEL] the window subsystem was refactored, WDATA structures were expanded and magic numbers were replaced with constants  
9925 341 d 14 h Doczom /kernel/trunk/ [KERNEL] fixed a bug in rev 9917  
9917 345 d 23 h Doczom /kernel/trunk/ [KERNEL]: Replaced magic numbers with constants and cleaned code  
9911 414 d 23 h Doczom /kernel/trunk/ [KERNEL] cleaned code and added description of some functions  
9910 415 d 20 h Doczom /kernel/trunk/ [KERNEL] updated local labels in functions and other small changes  
9897 484 d 14 h dunkaist /kernel/trunk/ [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.
 
9831 723 d 3 h dunkaist /kernel/trunk/ Rename fields in SYSCALL_STACK struct: _eax -> eax, etc  
9828 724 d 18 h Doczom /kernel/trunk/ KERNEL: reducing the use of current_slot_idx  
9823 728 d 10 h dunkaist /kernel/trunk/ [kernel] Add is_string_userspace func, like is_region_userspace  
9743 801 d 1 h Doczom /kernel/trunk/ fix bug in free group of port(46 sysf) in deleting thread  
9742 802 d 13 h Doczom /kernel/trunk/ small update 46 system function(no tested!)  
9715 836 d 0 h Doczom /kernel/trunk/ small update copyright year in kernel  
9710 838 d 23 h Doczom /kernel/trunk/ delete APPDATA.mem_start  
9709 839 d 0 h Doczom /kernel/trunk/ delete TASKDATA  
9692 841 d 21 h Doczom /kernel/trunk/ replacing TASK DATA.pid with APPDATA.tid  
9614 867 d 21 h Doczom /kernel/trunk/ replacing TASKDATA.event_mask with APPDATA.event_mask and cleared code  
9613 868 d 7 h Doczom /kernel/trunk/ add APPDATA.state for delete TASKDATA  
9612 868 d 19 h Doczom /kernel/trunk/ add APPDATA.state for delete TASKDATA  
9608 869 d 0 h Doczom /kernel/trunk/ add APPDATA.wnd_number  
9605 870 d 6 h Doczom /kernel/trunk/ replacing TASKDATA.mem_start with APPDATA.memstart  
9592 871 d 16 h Doczom /kernel/trunk/ fix cpu_usage  
9591 871 d 18 h Doczom /kernel/trunk/ fix cpu_usage  
9590 871 d 19 h Doczom /kernel/trunk/ replacing TASKDATA.cpu_usage with APPDATA.cpu_usage  
9571 874 d 23 h Doczom /kernel/trunk/ add 3 constants  
9514 882 d 2 h rgimad /kernel/trunk/ [KERNEL] - removed commented outdated read_floppy_file function
- removed setmouse function that doesnt do anything
- redmousepos moved from kernel.asm to gui/mouse.inc
- small style fixes
 
9488 883 d 2 h rgimad /kernel/trunk/ [KERNEL] kernel.asm: clean commented outdated stuff, fix prior  
9486 883 d 2 h rgimad /kernel/trunk/ [KERNEL] Sysfn 15, 25, 39 (working with background graphics) moved from kernel.asm to gui/background.inc file  
9477 884 d 4 h rgimad /kernel/trunk/ [KERNEL] Move sysfn 1, 4, 13, 38 implementations from kernel.asm to window.inc
Fix comments style in window.inc
Cleanup some outdated & unused commented stuff in data32.inc
 
9476 884 d 6 h rgimad /kernel/trunk/ [KERNEL] Use common stub undefined_syscall instead of paleholder  
9458 888 d 0 h rgimad /kernel/trunk/ [KERNEL] Add sysfn 39.3 - copy rect of background image to buffer.
Previously was only 39.2 that reads one pixel from background image.
(39.2 is shomehow useless due to big context switching overhead if you trying to read some area of pixels using 39.2)
 
9279 923 d 22 h Doczom /kernel/trunk/ delete 43 sysfunction  
9268 925 d 22 h Doczom /kernel/trunk/ small clean code  
9249 935 d 17 h Boppan /kernel/trunk/ [KERNEL] Add test framework  
9224 948 d 0 h Doczom /kernel/trunk/ update  
9223 948 d 1 h Doczom /kernel/trunk/ fix bug in my fix bug  
9222 948 d 1 h Doczom /kernel/trunk/ fix bug http://bugs.kolibrios.org/view.php?id=145 in sf 4  
9221 953 d 1 h dunkaist /kernel/trunk/ 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.
 
9183 992 d 6 h rgimad /kernel/trunk/ Merge kolibri-ahci into trunk  
9045 1054 d 8 h dunkaist /kernel/trunk/ kernel: Check for base+len overflow in is_region_userspace