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)
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)
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)
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)
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
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
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
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
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
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
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
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
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
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
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)
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
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
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
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
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
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
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
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