Commit Graph

138 Commits

Author SHA1 Message Date
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