Commit Graph

117 Commits

Author SHA1 Message Date
Rustem Gimadutdinov (rgimad)
f7761a485b [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

git-svn-id: svn://kolibrios.org@9477 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-26 13:18:33 +00:00
Ivan Baravy
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
Ivan Baravy
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
Rustem Gimadutdinov (rgimad)
2359531a17 [KERNEL] #3 Preparing to merge legacy TASKDATA into APPDATA:
- get rid of CURRENT_TASK
- to APPDATA added new fields which will be used instead of TASKDATA's
- other small fixes

git-svn-id: svn://kolibrios.org@8869 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-17 09:41:16 +00:00
Rustem Gimadutdinov (rgimad)
9cdec89085 [KERNEL] Preparing to merge legacy TASKDATA into APPDATA:
- now doesnt use TASK_COUNT, now uses [thread_count] global instead of it
- update come copyrights

git-svn-id: svn://kolibrios.org@8866 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-16 10:04:10 +00:00
Doczom
2508f1e16e fixed vulnerability (reading kernel memory from userspace) in sysfn 48.2
git-svn-id: svn://kolibrios.org@8712 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 12:50:44 +00:00
Rustem Gimadutdinov (rgimad)
da8b70d99e fixed same vulnerability in sysfn 48.3
git-svn-id: svn://kolibrios.org@8599 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-21 11:03:16 +00:00
Rustem Gimadutdinov (rgimad)
d893a4981a fix bug in sysfn48 (by Kenshin)
git-svn-id: svn://kolibrios.org@8552 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-26 10:31:02 +00:00
Ivan Baravy
5f677e4407 Remove unused macro and fix a comment.
git-svn-id: svn://kolibrios.org@8115 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-21 19:58:55 +00:00
Kirill Lipatov (Leency)
5950bfe4cd kernel: fix sysfunction 9 GetProcInfo. As the window is created with width+1 and height+1 so the client size has to be bigger respectively
eolite: fix regression

git-svn-id: svn://kolibrios.org@8012 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-30 11:36:52 +00:00
0CodErr
5721df73ee fix for draw not ASCIIZ
git-svn-id: svn://kolibrios.org@7103 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-20 16:03:18 +00:00
pathoswithin
4ded9c23de function 71.2
git-svn-id: svn://kolibrios.org@6802 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-21 09:11:27 +00:00
pathoswithin
ee04f7ac02 more unicode functions
git-svn-id: svn://kolibrios.org@6800 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-18 03:13:18 +00:00
pathoswithin
4837ce35b0 window caption font and encoding
git-svn-id: svn://kolibrios.org@5926 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-11-23 04:21:00 +00:00
GerdtR
5a795de357 Remove unnecessary redrawing windows.
git-svn-id: svn://kolibrios.org@5870 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-31 21:43:10 +00:00
pathoswithin
f6e1ec2684 Font size setting f48.11, f48.12
New option in f4

git-svn-id: svn://kolibrios.org@5867 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-29 14:43:15 +00:00
GerdtR
04b4f40454 Bug fixes, change the values of constants window position relative to the other.
git-svn-id: svn://kolibrios.org@5865 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-27 20:29:29 +00:00
pathoswithin
fbdb5951a3 Font smoothing options
git-svn-id: svn://kolibrios.org@5847 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-15 15:16:30 +00:00
GerdtR
ab543a3b94 Minor bug fix when moving windows
git-svn-id: svn://kolibrios.org@5844 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-11 21:52:57 +00:00
GerdtR
b4331f8494 Added f18.25: the ability to make a window on top of all and behind all
git-svn-id: svn://kolibrios.org@5836 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-09 13:59:11 +00:00
Pathoswithin
1284ae36ca new font code
git-svn-id: svn://kolibrios.org@5665 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-08-03 12:38:30 +00:00
Yogev Ezra
76a0cbdfe5 Change copyright year in kernel and drivers to 2015. No code changes.
git-svn-id: svn://kolibrios.org@5363 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-08 20:10:22 +00:00
Sergey Semyonov (Serge)
ff063f54ce kernel: combine display related data in one structure
git-svn-id: svn://kolibrios.org@5351 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-05 17:59:03 +00:00
Sergey Semyonov (Serge)
5c0b9990c8 kernel: remove Screen_Max_X and Screen_Max_Y variables
git-svn-id: svn://kolibrios.org@5350 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-01-05 17:18:45 +00:00
Akyltist
dbe5ae5137 mini refactoring
git-svn-id: svn://kolibrios.org@4797 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-08 08:01:38 +00:00
Akyltist
a1d6f1eae4 fix kernel function 48.2 48.3 (set EDX max size = 192 byte)
git-svn-id: svn://kolibrios.org@4796 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-08 07:40:38 +00:00
Akyltist
531b98bc9f skin: hotfix new system color table
git-svn-id: svn://kolibrios.org@4779 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-06 10:20:38 +00:00
Akyltist
31e84c92d6 skin: supported new system color table
git-svn-id: svn://kolibrios.org@4778 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-04-06 10:06:51 +00:00
CleverMouse
74329e061f fix draw of type-I windows with small height
git-svn-id: svn://kolibrios.org@4572 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-02-18 17:49:35 +00:00
Sergey Semyonov (Serge)
3e99300152 kernel: minor optimizations
git-svn-id: svn://kolibrios.org@4424 a494cfbc-eb01-0410-851d-a64ba20cac60
2014-01-02 19:43:51 +00:00
Sergey Semyonov (Serge)
70b7b47b34 kernel: fix for 3558
git-svn-id: svn://kolibrios.org@3576 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-30 05:24:54 +00:00
Sergey Semyonov (Serge)
d81e718e9b Kernel: remove useless MOUSE_DOWN MOUSE_BACKGROUND DONT_DRAW_MOUSE.
git-svn-id: svn://kolibrios.org@3558 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-28 19:40:50 +00:00
CleverMouse
f427028551 fix some GUI problems highlighted by r3534
git-svn-id: svn://kolibrios.org@3536 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 16:49:46 +00:00
CleverMouse
f059bc06d5 priorities in scheduler
git-svn-id: svn://kolibrios.org@3534 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-05-27 09:02:35 +00:00
Marat Zakiyanov (Mario79)
58f7495fc7 Fix f.67 for correct sequence of calling repaint the background (example KFAR, Fplay etc.)
git-svn-id: svn://kolibrios.org@3452 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-05 22:16:17 +00:00
Marat Zakiyanov (Mario79)
33c4ad3cba Not redraw the frame of window when re-activating of active window.
git-svn-id: svn://kolibrios.org@2669 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-05-23 22:29:15 +00:00
Marat Zakiyanov (Mario79)
0d4cc5f003 F18.23 - minimize all windows
git-svn-id: svn://kolibrios.org@2648 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-26 14:21:46 +00:00
Marat Zakiyanov (Mario79)
263603725b The procedure minimize_window does not calculatescreen and redrawscreen, if window width and/or height is equal zero is now
git-svn-id: svn://kolibrios.org@2620 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-17 16:32:18 +00:00
Marat Zakiyanov (Mario79)
370072a7fd When you move window, background is restored only to the old position is now. Some speedup!
git-svn-id: svn://kolibrios.org@2514 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-28 13:26:34 +00:00
Marat Zakiyanov (Mario79)
32e6e19b5e Correction for r.2497. Restore user defined cursor by f.37.5, after showing clock_arrow mouse pointer.
git-svn-id: svn://kolibrios.org@2503 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-23 20:13:09 +00:00
Marat Zakiyanov (Mario79)
5e7b91ce25 Correction for r.2423
git-svn-id: svn://kolibrios.org@2458 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-14 09:29:38 +00:00
Marat Zakiyanov (Mario79)
2f699083c4 1) Correcting information about copiright
2) VESA draw the small speedup

git-svn-id: svn://kolibrios.org@2455 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-13 16:51:57 +00:00
Marat Zakiyanov (Mario79)
54ec7e5e23 Video draw and VESA - some speedup.
git-svn-id: svn://kolibrios.org@2453 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-12 18:26:37 +00:00
Marat Zakiyanov (Mario79)
d357a70fe3 Video draw some speedup.
git-svn-id: svn://kolibrios.org@2446 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-10 11:37:42 +00:00
Sergey Semyonov (Serge)
2f5fd7a295 trunk: print cpu count on the debug board
git-svn-id: svn://kolibrios.org@2443 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-09 15:50:49 +00:00
Marat Zakiyanov (Mario79)
aede9dbee9 1) VESA draw some speedup
2) VGA draw fix

git-svn-id: svn://kolibrios.org@2436 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-08 13:45:18 +00:00
Marat Zakiyanov (Mario79)
b39e0fcab7 VESA - new algorithm for showing mouse pointer without a blink
git-svn-id: svn://kolibrios.org@2430 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-07 15:50:41 +00:00
Marat Zakiyanov (Mario79)
570e99f573 Removing the "blinking" of redrawing titlebar for skinned window (type III and IV)
git-svn-id: svn://kolibrios.org@2423 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-29 23:03:13 +00:00
hidnplayr
58fe32f210 Usage of struct.inc from fasm in trunk kernel.
git-svn-id: svn://kolibrios.org@2381 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-22 15:46:09 +00:00
Sergey Semyonov (Serge)
5491cb4d99 blitter prerequisite
git-svn-id: svn://kolibrios.org@2341 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-02 08:42:35 +00:00