Commit Graph

97 Commits

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