Commit Graph

242 Commits

Author SHA1 Message Date
Marat Zakiyanov (Mario79)
f08eb54025 Fix for f.72
git-svn-id: svn://kolibrios.org@3451 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-04-05 21:01:06 +00:00
esevece
c1b0143546 Translating desktop to spanish
git-svn-id: svn://kolibrios.org@3416 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-26 02:16:58 +00:00
esevece
a3a6f17e0b Translating desktop to spanish
git-svn-id: svn://kolibrios.org@3415 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-26 02:12:02 +00:00
CleverMouse
b5556d9137 wait_event_timeout: return 0 for timeout
git-svn-id: svn://kolibrios.org@3396 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-19 22:52:40 +00:00
Sergey Semyonov (Serge)
6e80a53e5e kernel: wait_event_timeout
git-svn-id: svn://kolibrios.org@3390 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-19 03:38:52 +00:00
CleverMouse
a321a83609 Protect thread from external terminate while running any syscall except 5,10,23.
Now 18.2/18.12 are really safe through kernel-colored glasses (however, you still
should not use them except for really critical cases),
although the protection is sometimes quite excessive.

git-svn-id: svn://kolibrios.org@3303 a494cfbc-eb01-0410-851d-a64ba20cac60
2013-03-01 10:27:19 +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)
8f439a5b9a The fonts char.mt and char2.mt are included in the kernel is now.
git-svn-id: svn://kolibrios.org@2640 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-20 22:22:57 +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)
7d5ed0a7fd Function 4 - added redirect the output to the user area.
git-svn-id: svn://kolibrios.org@2536 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-04-01 22:29:11 +00:00
Marat Zakiyanov (Mario79)
c38b67dd40 small optimization for get_event_for_app
git-svn-id: svn://kolibrios.org@2534 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-31 20:21:39 +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)
659824c952 'Event 5' is changed now. Event returns after redrawing the background.
git-svn-id: svn://kolibrios.org@2513 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-27 20:02:50 +00:00
Marat Zakiyanov (Mario79)
378aed908b Fix for. r. 1067. Using of the CLI command, without pushfd/popfd - It's a Mad, Mad, Mad, Mad World!
git-svn-id: svn://kolibrios.org@2508 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-26 20:11:06 +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)
cd505ed9b1 Fix rolledup window for r. 2423
git-svn-id: svn://kolibrios.org@2463 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-15 09:47:22 +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)
0f6f6895e1 Addition fix for r. 2414 and 2424 - checking for bit 31 of f.40
git-svn-id: svn://kolibrios.org@2426 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-03-01 06:28:52 +00:00
Marat Zakiyanov (Mario79)
085a190723 Restore code commented from r.2414 - this is good code! See r. 1466 and 1513.
git-svn-id: svn://kolibrios.org@2424 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-29 23:27:35 +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
Sergey Semyonov (Serge)
0735fd9e1b fn.40: ebx bit 30 - do not send mouse events if cursor outside window
git-svn-id: svn://kolibrios.org@2414 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-28 08:36:15 +00:00
Sergey Semyonov (Serge)
db320404f9 and again fn.40: now ebx bit 31 - do not send mouse events to inactive window
git-svn-id: svn://kolibrios.org@2411 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-27 07:04:31 +00:00
hidnplayr
e7bade16fe Adapted more structures to use new struct.inc
git-svn-id: svn://kolibrios.org@2384 a494cfbc-eb01-0410-851d-a64ba20cac60
2012-02-23 18:52: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
CleverMouse
037099f50d Style corrected for new rules, no semantic changes
git-svn-id: svn://kolibrios.org@2288 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-10-14 21:38:50 +00:00
Marat Zakiyanov (Mario79)
6e5e6b3c02 New f.18.1
git-svn-id: svn://kolibrios.org@2244 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-27 07:08:12 +00:00
Marat Zakiyanov (Mario79)
132b516d92 alternative fix for r.1474
git-svn-id: svn://kolibrios.org@2233 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-23 02:33:18 +00:00
Marat Zakiyanov (Mario79)
9e5b90e354 window.inc - fix for r.1474
git-svn-id: svn://kolibrios.org@2214 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-09-20 00:07:56 +00:00
Sergey Semyonov (Serge)
b3a861cedd remove fn 41,42,44,45
git-svn-id: svn://kolibrios.org@2089 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-08-21 12:26:22 +00:00
Mihail Semenyako (mike.dld)
bf2709cd21 Forum defect (post #35194, by Leency): mouse wheel events aren't sent after clicking window border
git-svn-id: svn://kolibrios.org@2011 a494cfbc-eb01-0410-851d-a64ba20cac60
2011-07-22 18:44:08 +00:00
Evgeny Grechnikov (Diamond)
0a35216e52 fix bug #16
git-svn-id: svn://kolibrios.org@1563 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-08 21:43:40 +00:00
Evgeny Grechnikov (Diamond)
0f036b69ff fix calculation of draw_limits
git-svn-id: svn://kolibrios.org@1550 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-08-01 23:15:10 +00:00
Evgeny Grechnikov (Diamond)
500fea459a desktop window is not movable (bug #17)
git-svn-id: svn://kolibrios.org@1540 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-30 21:38:08 +00:00
Evgeny Grechnikov (Diamond)
21a147e4bb fix svn substitution of $Revision$ (bug #18)
git-svn-id: svn://kolibrios.org@1531 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-28 11:41:05 +00:00
Evgeny Grechnikov (Diamond)
ed3624b9f1 do not maximize windows of unresizable styles (bug #17)
git-svn-id: svn://kolibrios.org@1526 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-25 21:57:38 +00:00
Marat Zakiyanov (Mario79)
321a58ac0f If the user to be resizing the window then mouse event is not generated (6 = mouse event)
git-svn-id: svn://kolibrios.org@1513 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-07-09 13:46:12 +00:00
Evgeny Grechnikov (Diamond)
c5397f9cf2 optimize set_window_box: do nothing if new box is the same as old one
git-svn-id: svn://kolibrios.org@1474 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-05-30 18:19:10 +00:00
Marat Zakiyanov (Mario79)
18f7c161ab Now, if the window is captured and moved by the user, then no mouse events! (6 = mouse event)
git-svn-id: svn://kolibrios.org@1466 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-05-26 19:05:43 +00:00
Marat Zakiyanov (Mario79)
9b02a3a71e Fix of left mouse button broken to revision 1460
git-svn-id: svn://kolibrios.org@1465 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-05-24 06:34:12 +00:00
Alexey Teplov (
83d4e309e4 small changes
git-svn-id: svn://kolibrios.org@1460 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-05-06 01:10:56 +00:00
Evgeny Grechnikov (Diamond)
093a27f7ac fixed behaviour with too big window sizes broken in rev. 1391
git-svn-id: svn://kolibrios.org@1424 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-02-28 16:06:46 +00:00
Mihail Semenyako (mike.dld)
ddd29cc90f gui/mouse.inc:
+  new file for GUI-related mouse events handling (old mouse.inc renamed)
gui/button.inc and gui/window.inc:
  * refactoring in regards of new mouse.inc:
    * obsolete code eliminated
    * old'n'ugly `check_buttons` and `checkwindows` removed
    * events handlers added
gui/window.inc:
  * moved GUI-related syscalls and auxilary functions from kernel.asm
  * removed registers cross-ordering from syscall 67 (window move/resize)
+ more comments added
known bugs include:
  1. apps using syscall 67 (kfar etc.) may not redraw their old screen area leaving ghost images
  2. possibility of mouse cursor artefacts may have increased (this *really* has to be reworked)

git-svn-id: svn://kolibrios.org@1391 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-02-06 19:08:19 +00:00
Evgeny Grechnikov (Diamond)
5e27f136a7 fixed buttons code broken in rev. 1334
git-svn-id: svn://kolibrios.org@1381 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-30 22:44:47 +00:00
Alexey Teplov (
abfe37adc4 small changes and optimization
git-svn-id: svn://kolibrios.org@1369 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-08 12:39:50 +00:00
Mihail Semenyako (mike.dld)
dd75d94380 * gui/window.inc optimizations: check_window_position & set_screen speedup
git-svn-id: svn://kolibrios.org@1368 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-08 12:20:53 +00:00
Mihail Semenyako (mike.dld)
892d2df51e * gui/window.inc refactoring
git-svn-id: svn://kolibrios.org@1362 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-05 01:28:11 +00:00
Mihail Semenyako (mike.dld)
b5d7e6e5c6 * gui/button.inc refactoring fix (remove_button)
git-svn-id: svn://kolibrios.org@1341 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-29 21:29:30 +00:00
Mihail Semenyako (mike.dld)
7872f73198 * gui/button.inc refactoring
* only 16 ID bits were checked on button delete, 24 now
* negative button frame draw speed up

git-svn-id: svn://kolibrios.org@1334 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-27 18:37:14 +00:00
Alexey Teplov (
e9e908d84d sys functions 71 and 69 without shift-registers call.(I'm not sure all change is right.
git-svn-id: svn://kolibrios.org@1329 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-23 18:43:42 +00:00
Alexey Teplov (
9d75a9ca5e bugfix previous revision
git-svn-id: svn://kolibrios.org@1326 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-17 17:21:48 +00:00
Alexey Teplov (
e76fbc9647 sys function 48 is run without cross registers call now.
git-svn-id: svn://kolibrios.org@1324 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-16 15:19:40 +00:00
Sergey Semyonov (Serge)
77f37d9ba0 kms: pre rc8
git-svn-id: svn://kolibrios.org@1300 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-01 13:32:57 +00:00
Marat Zakiyanov (Mario79)
e5ab88e796 Additional fix related to revision 1172.
git-svn-id: svn://kolibrios.org@1225 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-22 17:46:36 +00:00
Alexey Teplov (
83e2f051b2 Set align 4 for subroutines in main loop.
git-svn-id: svn://kolibrios.org@1168 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-09-18 18:30:04 +00:00
Galkov
a730579b19 kernel - fix by forum post=23224
event - small optimization, not more

git-svn-id: svn://kolibrios.org@1067 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-02 08:59:16 +00:00
Galkov
1ed35470d7 oops: bug in event.inc#line=295
git-svn-id: svn://kolibrios.org@1061 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-04-11 14:58:29 +00:00
Galkov
a71d8fb541 oops: fix in RemoveEventTo
git-svn-id: svn://kolibrios.org@1059 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-04-10 04:12:06 +00:00
Galkov
3be0aa5c21 refractoring of EVENT, and so on
git-svn-id: svn://kolibrios.org@1055 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-03-28 18:36:41 +00:00
Evgeny Grechnikov (Diamond)
c84192cba4 * commented redundant messages for window moving and process creating
* added CPU frequency output in boot log

git-svn-id: svn://kolibrios.org@1038 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-02-20 12:01:31 +00:00
Evgeny Grechnikov (Diamond)
fa362db291 bugfix in revision 986 + small optimization from Galkov
git-svn-id: svn://kolibrios.org@994 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-01-02 08:59:23 +00:00
Evgeny Grechnikov (Diamond)
d2029b5462 redo of revision 970 considering revision 985
git-svn-id: svn://kolibrios.org@986 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-29 17:34:06 +00:00
heavyiron
bd0962c50e Bugfix of 415 revision
git-svn-id: svn://kolibrios.org@985 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-29 16:21:13 +00:00
Evgeny Grechnikov (Diamond)
5628c096c5 some cosmetic fixes
git-svn-id: svn://kolibrios.org@983 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-28 21:21:41 +00:00
Evgeny Grechnikov (Diamond)
a483e0ffe6 a window is activated only once when mouse button is pressed
git-svn-id: svn://kolibrios.org@970 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-17 12:38:37 +00:00
Evgeny Grechnikov (Diamond)
453e56f624 fixed crash when one attempts to define too many buttons
git-svn-id: svn://kolibrios.org@965 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-16 23:39:40 +00:00
Evgeny Grechnikov (Diamond)
5bdf2ad9db bugfix in height of rolled-up window with style 4
git-svn-id: svn://kolibrios.org@961 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-12-14 20:31:20 +00:00
Evgeny Grechnikov (Diamond)
a881989d7c bugfix in sysfn 67: avoid system crash for invalid parameter
git-svn-id: svn://kolibrios.org@856 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-08-25 16:37:47 +00:00
Evgeny Grechnikov (Diamond)
cd1b4f52db bugfix of revision 803
git-svn-id: svn://kolibrios.org@831 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-07-23 14:02:13 +00:00
Alver
052092663c git-svn-id: svn://kolibrios.org@803 a494cfbc-eb01-0410-851d-a64ba20cac60 2008-06-22 15:14:42 +00:00
heavyiron
88d5b111cd Temporary fix in "check_window_position". In future we need negative coordinates support without this procedure :-)
git-svn-id: svn://kolibrios.org@768 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-03-07 11:56:20 +00:00
Sergey Semyonov (Serge)
89e64cc63e supported videomodes
git-svn-id: svn://kolibrios.org@753 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-22 12:38:59 +00:00
Evgeny Grechnikov (Diamond)
ebeed28881 * V86 manager
* support of drives visible by BIOS through V86 mode
* shutdown fixes
* background redraw fixes
* when booting from CD/DVD, load all floppy by tracks, not only used sectors

git-svn-id: svn://kolibrios.org@709 a494cfbc-eb01-0410-851d-a64ba20cac60
2008-02-04 15:31:59 +00:00
Evgeny Grechnikov (Diamond)
e02112ea70 deleting cross registers in system calls, part 2
git-svn-id: svn://kolibrios.org@684 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-12-17 11:04:07 +00:00
Evgeny Grechnikov (Diamond)
c2a771d335 restoring window after rolling up does not allow invalid window coordinates
git-svn-id: svn://kolibrios.org@679 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-12-08 19:46:57 +00:00
Iliya Mihailov (Ghost)
4f0542fd62 initial deleting cross regisres in system calls
git-svn-id: svn://kolibrios.org@671 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-11-12 23:08:54 +00:00
Evgeny Grechnikov (Diamond)
c1f806239d * new system function for "send message"
* @panel: Alt+F4 sends close message rather than immediate kill

git-svn-id: svn://kolibrios.org@665 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-10-25 11:20:02 +00:00
SPraid (simba)
dd397def14 shade window Y=4
interval boot screen for "d" parameter

git-svn-id: svn://kolibrios.org@599 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-08-01 02:00:19 +00:00
Mihail Semenyako (mike.dld)
92f657f440 Revision numbering fix
git-svn-id: svn://kolibrios.org@593 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-07-27 13:52:03 +00:00
SPraid (simba)
d7d49c0feb added window type (Y=4). skinned window with fixed sizes
git-svn-id: svn://kolibrios.org@549 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-22 00:17:28 +00:00
Evgeny Grechnikov (Diamond)
58a419e855 Sysfunction 23v does not require task switch when waiting
git-svn-id: svn://kolibrios.org@531 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-06-04 08:58:32 +00:00
Evgeny Grechnikov (Diamond)
de8a596226 * Fixed bug with handling of command-line for apps
* Fn 70 supports /sys/... syntax for access to sysdir (/rd/1 with normal boot)

git-svn-id: svn://kolibrios.org@525 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-29 08:32:11 +00:00
Evgeny Grechnikov (Diamond)
61c54a1be6 * Correct value of selector gs
* Support for kpack'ed skin files
* Default setting for DMA access is now "disabled"
* Fixed kernel fault when network packet sending

git-svn-id: svn://kolibrios.org@523 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-25 09:37:08 +00:00
Evgeny Grechnikov (Diamond)
4f326f77c6 * efficient handling of file names substitution
* current directory support; new sysfunction 30
* fixed bug in load_file with files of size divisible by page size

git-svn-id: svn://kolibrios.org@521 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-24 11:27:05 +00:00
SPraid (simba)
e1f463adf0 loading libs for kernel
loading from HD
inifiles.asm (not completed, using with kernel to load sys.conf)
parse file names
%sys% may be system directory for programs (70 function)

git-svn-id: svn://kolibrios.org@488 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-11 19:38:23 +00:00
kastigar
510a108c5d 1)ps2 mouse driver(removed from kernel)
2)new 2 modes for ps2-mouse (scrolling mouse and 5-button mouse)
3) added function 37.7 for mouse scrolling data

git-svn-id: svn://kolibrios.org@479 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-08 11:32:58 +00:00
Evgeny Grechnikov (Diamond)
441fcf143a * Unified COM1/COM2 mice handling.
* Corrected COM mouse detection.
* Mouse cursor can now be at right and bottom screen sides.
* Normal handling of "desktop background redraw" event.
  (Background redraw is faster now.)
* Fixed error in stretch background function for VESA 2.0.

git-svn-id: svn://kolibrios.org@473 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-05-02 12:06:10 +00:00
Sergey Semyonov (Serge)
fef69aab20 merge flat kernel
git-svn-id: svn://kolibrios.org@465 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-04-18 06:37:14 +00:00
Sergey Semyonov (Serge)
5b119159d4 copyrights
git-svn-id: svn://kolibrios.org@431 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-26 12:18:08 +00:00
victor
21e4bc0233 added computing of current #revision for kernel *.inc and *.asm files
git-svn-id: svn://kolibrios.org@425 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-21 22:58:33 +00:00
SPraid (simba)
3a44857930 git-svn-id: svn://kolibrios.org@424 a494cfbc-eb01-0410-851d-a64ba20cac60 2007-03-21 18:36:27 +00:00
heavyiron
5efd9e7bcf Mods by vhanla:
- Window is grabbed to drag only if you CLICK on its grab area (ie. the title bar) 
- Button is selected only if it is clicked on its area

git-svn-id: svn://kolibrios.org@415 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-12 21:54:24 +00:00
Sergey Semyonov (Serge)
3764b8d630 fixed bug in init_LFB()
git-svn-id: svn://kolibrios.org@389 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-05 21:37:28 +00:00
Sergey Semyonov (Serge)
1ced1382c9 replace all vars whith symbolic constants
git-svn-id: svn://kolibrios.org@381 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-03-01 20:32:19 +00:00
Sergey Semyonov (Serge)
a90d0cfe1d replace vars 0x8000 0xC000 0xC004 0xD000 0x80000 whith symbolic constants
rename PROC_BASE -> SLOT_BASE


git-svn-id: svn://kolibrios.org@380 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-28 10:51:05 +00:00
Sergey Semyonov (Serge)
04929cf017 1)fixed wrong exported LFB address
2)replace 0x3000 0x3004 0x3010 0x3020 whith symbolic constants


git-svn-id: svn://kolibrios.org@379 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-28 08:52:06 +00:00
Sergey Semyonov (Serge)
02bcaaab53 drivers related modification
git-svn-id: svn://kolibrios.org@377 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-26 12:40:37 +00:00
Sergey Semyonov (Serge)
0f0c0aabfa reduce kernel memory
git-svn-id: svn://kolibrios.org@363 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-19 08:22:55 +00:00
Sergey Semyonov (Serge)
b0776c09ad signaling events, create_event(),
destroy_event(), raise_events(), wait_event() 

git-svn-id: svn://kolibrios.org@354 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-16 04:16:52 +00:00
Evgeny Grechnikov (Diamond)
5121a68d46 * Corrected size of display_data in calculatebackground
* Fixed bug with VRR changing videomode

git-svn-id: svn://kolibrios.org@322 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-02-06 14:00:27 +00:00
Mihail Semenyako (mike.dld)
d51f1259a0 Added 'C' flag to 0-th system function: don't fill working area
Modified Tinypad to use 'C' flag

git-svn-id: svn://kolibrios.org@303 a494cfbc-eb01-0410-851d-a64ba20cac60
2007-01-30 21:54:34 +00:00
Sergey Semyonov (Serge)
f5b902bbee small optimization
git-svn-id: svn://kolibrios.org@254 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-29 07:12:27 +00:00
Sergey Semyonov (Serge)
01056f99f2 add validate cursor in 37.5
fix maximal cursors count in init_cursors

git-svn-id: svn://kolibrios.org@230 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-05 08:31:44 +00:00
Sergey Semyonov (Serge)
36ae3b7991 1)drivers version control
2)extended events format
3)ATI hardware cursor 

git-svn-id: svn://kolibrios.org@227 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-12-02 08:18:48 +00:00
Evgeny Grechnikov (Diamond)
85aa5c3167 Final attempt to fix border drawing
git-svn-id: svn://kolibrios.org@186 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-18 11:29:50 +00:00
Evgeny Grechnikov (Diamond)
aacb4b7591 Corrected border drawing code.
git-svn-id: svn://kolibrios.org@181 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-12 10:35:04 +00:00
Evgeny Grechnikov (Diamond)
0e39a3fffe Fixed bug with border drawing
git-svn-id: svn://kolibrios.org@163 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-10-05 08:37:51 +00:00
Evgeny Grechnikov (Diamond)
18c3550908 File subsystem: fixed error in function 70.5 for CD
Window subsystem: now when window coordinates are changed,
                  client area is changed too

git-svn-id: svn://kolibrios.org@150 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-09-18 12:23:52 +00:00
Evgeny Grechnikov (Diamond)
7e19914ef4 Kernel: fixed work with zero-size windows
launcher, @rb: modified to use function 70

git-svn-id: svn://kolibrios.org@142 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-29 12:52:52 +00:00
Evgeny Grechnikov (Diamond)
d3ae4b4e07 Kernel: rewritten function 4
@rcher, ac97wav, midamp, rtfread: modified to use function 70

git-svn-id: svn://kolibrios.org@139 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-28 13:34:54 +00:00
Marat Zakiyanov (Mario79)
5638fe22ff 1. Optimization of the mode 320*200*256. Load on CPU is less. Small increase of speed.
2. Optimization of the mode 640*480*16. Substantial growth of speed.
3. At the expense of deleting the superfluous code from vga.inc the size of a kernel has decreased.

git-svn-id: svn://kolibrios.org@117 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-10 18:18:33 +00:00
Ivan Poddubny
3e2bc5b35f Introduced APPDATA, TASKDATA, WNDDATA, RECT, BOX structures.
git-svn-id: svn://kolibrios.org@115 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-06 10:29:45 +00:00
Mihail Semenyako (mike.dld)
9a27b206b3 Added two flags to 0th function (edx = 0xXYRRGGBB, X = DCBAb)
A - window has a caption; if Y=3, then caption scting address could be passed in
      edi, otherwise use function 71/1
  B - treat all drawing performed to be relative to window client area
  D - use gradient fill for client area
Added function 71:
  subfunction 1 - set window caption string address (in ecx)
  subfunction 2 - get window caption into buffer (not implemented yet)
Updated sysfuncr.txt, added sysfuncs.txt

git-svn-id: svn://kolibrios.org@114 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-03 19:30:32 +00:00
Ivan Poddubny
849b393cad 1. faster GUI: calculatescreen
2. fixed sysfunc 1 - put pixel which was completely broken

git-svn-id: svn://kolibrios.org@112 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-08-01 14:09:42 +00:00
john
07ff3f1978 Now 4 function can output zero-ended(ASCIIZ) strings.
The strings output code was optimized.
Fixed bug - max string length was being checked incorrectly

git-svn-id: svn://kolibrios.org@106 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-26 09:56:06 +00:00
Ivan Poddubny
82859246df Direct window activation without osloop/checkwindows, straightforward window minimizing
git-svn-id: svn://kolibrios.org@105 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-25 10:48:35 +00:00
Ivan Poddubny
c5b30426a8 1. a little fix for scheduler + correct comments
2. refactored window activation/ process termination/ getting active process
3. deleted dead code in checkwindows
4. eliminated almost all accesses to 0x3020+...+0xe, changed to direct process number
5. cli/sti in vesa12 and vga drivers and in calculatescreen
6. skipping dead windows in some funcs in window.inc

git-svn-id: svn://kolibrios.org@102 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-07-23 14:47:32 +00:00
Evgeny Grechnikov (Diamond)
56d23ae060 Hotkeys are now supported
git-svn-id: svn://kolibrios.org@92 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-06-30 12:23:15 +00:00
Mihail Semenyako (mike.dld)
f1f3efb4ba Fix to saving window position code
git-svn-id: svn://kolibrios.org@57 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-11 01:15:32 +00:00
Mihail Semenyako (mike.dld)
47d7819f9a Fixes to skin drawing code, in case default.skn wasn't loaded on OS startup
Prevent creation of buttons with negative or zero width/height

git-svn-id: svn://kolibrios.org@54 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-04 17:44:44 +00:00
Mihail Semenyako (mike.dld)
2a183233b4 Fixes to skin drawing code, in case default.skn wasn't loaded on OS startup
git-svn-id: svn://kolibrios.org@53 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-04 12:58:59 +00:00
Mihail Semenyako (mike.dld)
9b4ba85ac2 Allow programs to draw negative pixels and lines
Save window bounds (not just position) before rolling up or maximizing
New functions:
  48/7 - get skin margins
  48/8 - set window skin

git-svn-id: svn://kolibrios.org@52 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-03-04 11:58:09 +00:00
Mihail Semenyako (mike.dld)
876c1844a4 *Real* fix for VRR problem
Fixes to workarea management code
Removed check_window_move_request from osloop, now windows are moved immediately
New skins format - all skin data in in separate file now (*.skn)
  Changed skinned window drawing accordingly


git-svn-id: svn://kolibrios.org@49 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-02-18 10:41:47 +00:00
Marat Zakiyanov (Mario79)
e7afcd69e4 Fix error VRR+FULLSCREEN WINDOW
git-svn-id: svn://kolibrios.org@45 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-02-05 17:11:32 +00:00
Mihail Semenyako (mike.dld)
4442932712 changes/improvements in maximize/minimize/rollup windows functionality
added functions:
  48/5 - get screen workarea
  48/6 - set screen workarea

git-svn-id: svn://kolibrios.org@41 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-02-01 06:07:36 +00:00
Andrey Halyavin (halyavin)
f4fbaa166e *Reduced size of boot code. (diamond)
*Debug API added. (diamond)

git-svn-id: svn://kolibrios.org@40 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-01-25 13:19:21 +00:00
Andrey Halyavin (halyavin)
14825618c3 fix strange button drawing for bright buttons
git-svn-id: svn://kolibrios.org@38 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-01-19 09:59:26 +00:00
Andrey Halyavin (halyavin)
e32f2c8d1f fixed bug with windows active/inactive caption (aw_yes variable converted to parameter).
git-svn-id: svn://kolibrios.org@35 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-01-11 10:18:52 +00:00
Marat Zakiyanov (Mario79)
333b0bbae6 1) Parallel processing of mouses: PS2, COM1, COM2
2) Detection PS2 mouse.
3) Switching FPU in PM with reset.
4) Click on the application button - works only if during release of a up-button mouse the cursor is on the button application. Realization Victor Alberto Gil Hanla (vhanla). Version 1.1
5) Return of focus (activated window) on previous application at completion of the active application
6) Change skin of header of windows type 4, at loss and return of focus (activated window).

git-svn-id: svn://kolibrios.org@33 a494cfbc-eb01-0410-851d-a64ba20cac60
2006-01-06 11:46:26 +00:00
Marat Zakiyanov (Mario79)
afd40cc982 Click on the application button - works only if during release of a up-button mouse the cursor is on the button application. Realization Victor Alberto Gil Hanla (vhanla).
git-svn-id: svn://kolibrios.org@28 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-12-04 14:42:26 +00:00
Andrey Halyavin (halyavin)
87d89cab90 Fixed displaying of second font. New fonts are required.
You can download them at http://shade.msu.ru/~msu-se/temp/char.7z

git-svn-id: svn://kolibrios.org@24 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-11-16 09:35:22 +00:00
Ivan Poddubny
128676fe2c * boot cleanups (kernel.asm)
* faster & cleaner checkpixel (kernel.asm)
* a little bugfix in newproce.inc (".failed" -> ".cleanfailed")
* Halyavin's bugfix in mem.inc
* sheduler doesn't active proesses waiting for an event (func 10) (event.inc, sched.inc)
* faster event check (event.inc)

git-svn-id: svn://kolibrios.org@21 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-11-07 15:50:30 +00:00
Andrey Halyavin (halyavin)
94f0f6c818 *Font functions have been rewritten. Now kernel use bit-compressed fonts.
You must use char.mt and char2.mt from MeOsEmul or MeOsDebug program 
or download them at http://shade.msu.ru/~msu-se/temp/char.7z
*Small fix in memmap.inc for memory manager.

git-svn-id: svn://kolibrios.org@12 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-25 11:01:36 +00:00
me_root
2b291188a4 fixed problem with non-lowercase includes
git-svn-id: svn://kolibrios.org@7 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-14 15:40:15 +00:00
msu-se
d5c0fed779 moving to kernel directory
git-svn-id: svn://kolibrios.org@2 a494cfbc-eb01-0410-851d-a64ba20cac60
2005-10-07 04:39:30 +00:00