Commit Graph

275 Commits

Author SHA1 Message Date
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
Alexey Teplov (
3f03a80e3e some little changes
git-svn-id: svn://kolibrios.org@1375 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-11 17:11:43 +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
Alexey Teplov (
2676add626 bugfix. jmp to sys_sheduler
git-svn-id: svn://kolibrios.org@1366 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-07 17:00:10 +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
Alexey Teplov (
58d22770cb sys function 68 is without shift registers call
git-svn-id: svn://kolibrios.org@1345 a494cfbc-eb01-0410-851d-a64ba20cac60
2010-01-02 05:49:10 +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
Evgeny Grechnikov (Diamond)
66a88326dd fixes in malloc(); test app for malloc()/free()
git-svn-id: svn://kolibrios.org@1333 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-26 19:08:42 +00:00
Evgeny Grechnikov (Diamond)
c9db05056e kernel heap size restored to correct value after rev. 1130
git-svn-id: svn://kolibrios.org@1332 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-26 12:35:19 +00:00
Alexey Teplov (
90bb6a20e2 sys function 49
git-svn-id: svn://kolibrios.org@1330 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-24 17:12:36 +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 (
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
Alexey Teplov (
01cfb22aca small optimization.
git-svn-id: svn://kolibrios.org@1322 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-15 18:57:08 +00:00
Sergey Semyonov (Serge)
6b4166f7c3 kms kernel
git-svn-id: svn://kolibrios.org@1316 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-13 00:16:34 +00:00
Evgeny Grechnikov (Diamond)
d5cbc5f493 * fixed copy-on-write for kernel accesses from other threads
* fixed return value of read/write_process_memory
* fixed sysfunction 39.4 broken in rev. 1304
* more safe and slightly more effective FDO


git-svn-id: svn://kolibrios.org@1314 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-12 00:16:39 +00:00
Evgeny Grechnikov (Diamond)
af8dc3b80a make dll a per-process object
git-svn-id: svn://kolibrios.org@1311 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-08 23:36:12 +00:00
Evgeny Grechnikov (Diamond)
6b29296f2c IOPM in TSS for 4M page was broken, fixed.
git-svn-id: svn://kolibrios.org@1310 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-08 20:32:13 +00:00
Alexey Teplov (
ac60266824 bugfix 1306
git-svn-id: svn://kolibrios.org@1307 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-03 19:11:08 +00:00
Alexey Teplov (
b1d15587ca optimization 46 and 64 sysfunc.
git-svn-id: svn://kolibrios.org@1306 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-03 18:48:41 +00:00
Alexey Teplov (
ad63ea7013 30 and 43 sysfunc rewritten without cross registers call.
git-svn-id: svn://kolibrios.org@1304 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-12-02 17:10:46 +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
Evgeny Grechnikov (Diamond)
d939ae6ae1 fix misprint in rev. 1220
git-svn-id: svn://kolibrios.org@1298 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-29 21:46:31 +00:00
Evgeny Grechnikov (Diamond)
d6647dd32a alignment of sections in COFF libraries is now loaded from header
git-svn-id: svn://kolibrios.org@1296 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-28 16:13:10 +00:00
Evgeny Grechnikov (Diamond)
24e13906b7 * fix in library unloading of bug introduced in rev. 1289
* fix in malloc(): release mutex in rare control path


git-svn-id: svn://kolibrios.org@1292 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-28 11:46:46 +00:00
Alexey Teplov (
b92de5cfd2 Small optimization sysfunc.
git-svn-id: svn://kolibrios.org@1290 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-28 05:56:54 +00:00
Evgeny Grechnikov (Diamond)
e463f78e27 dynamic libraries now share unmodified pages
git-svn-id: svn://kolibrios.org@1289 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-27 23:49:47 +00:00
Alexey Teplov (
d0ea66e57f upgrade sys_settime.
git-svn-id: svn://kolibrios.org@1279 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-20 18:50:43 +00:00
Alexey Teplov (
7ac27a2f61 I'm not sure what all my change is right.
Some optimization.

git-svn-id: svn://kolibrios.org@1276 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-20 02:36:08 +00:00
Sergey Semyonov (Serge)
b81d03be4e kms: pre rc7
git-svn-id: svn://kolibrios.org@1275 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-16 11:28:19 +00:00
Alexey Teplov (
5c55e63fc6 small optimization
git-svn-id: svn://kolibrios.org@1260 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-11-09 19:30:40 +00:00
Sergey Semyonov (Serge)
b7c98dff1b menuet02 tls
git-svn-id: svn://kolibrios.org@1220 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-19 19:45:30 +00:00
Sergey Semyonov (Serge)
00c7719786 bugfix of 68.22
git-svn-id: svn://kolibrios.org@1213 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-13 11:01:18 +00:00
Alexey Teplov (
08bc0b6e4a a bugfix for previously commit.
git-svn-id: svn://kolibrios.org@1211 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-13 07:47:13 +00:00
Alexey Teplov (
41b9d8be8d insert a 'align 4'
git-svn-id: svn://kolibrios.org@1210 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-10-13 06:47:08 +00:00
Evgeny Grechnikov (Diamond)
c752107a02 fixed kernel heap manager broken in rev. 1090
git-svn-id: svn://kolibrios.org@1130 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-07-25 13:12:11 +00:00
Galkov
3745ae0ad7 optimization of fix in rev.1089 for my bug, delivered in rev.1074
git-svn-id: svn://kolibrios.org@1105 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-06-05 10:12:45 +00:00
Evgeny Grechnikov (Diamond)
7931378fda use fn E820 of int 15h to query memory map (if available)
git-svn-id: svn://kolibrios.org@1103 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-06-04 19:43:17 +00:00
Evgeny Grechnikov (Diamond)
0226898ca6 Work with small amount of physical memory corrected (bug #9, part 1)
git-svn-id: svn://kolibrios.org@1090 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-29 19:28:27 +00:00
Evgeny Grechnikov (Diamond)
6c18c6d3a0 fixed #PF reporting broken in rev. 1074
git-svn-id: svn://kolibrios.org@1089 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-29 16:09:05 +00:00
Galkov
4f860a13de Oops :(
git-svn-id: svn://kolibrios.org@1086 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-26 19:43:56 +00:00
Evgeny Grechnikov (Diamond)
7fe03ccb57 compilation fix
git-svn-id: svn://kolibrios.org@1083 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-25 12:49:43 +00:00
Evgeny Grechnikov (Diamond)
9470f6e097 fixed V86 task switch on IRQ broken in rev. 1055
git-svn-id: svn://kolibrios.org@1082 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-25 12:22:51 +00:00
Evgeny Grechnikov (Diamond)
25030c977d added check for correctness in 68.25
git-svn-id: svn://kolibrios.org@1081 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-25 10:29:59 +00:00
Galkov
b092aa34a2 changing by forum post 23500:
1) f68:15,18 moved to f68:24,25
2) f68:15,18 set to obsolete

git-svn-id: svn://kolibrios.org@1077 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-23 08:23:03 +00:00
Galkov
2df36c4abf small optimization, not more
git-svn-id: svn://kolibrios.org@1076 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-22 11:40:07 +00:00
Galkov
8d75380caf change functionality of f68:15, f68:18 (discussion on forum topic 1253)
git-svn-id: svn://kolibrios.org@1074 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-22 08:55:09 +00:00
Evgeny Grechnikov (Diamond)
3d76ee5a5b Changes from Maxis:
* Fixed sysfunction 18.20 (bug #13)
  * wait_mutex optimized (bug #10)

git-svn-id: svn://kolibrios.org@1072 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-05-18 18:26:34 +00:00
Galkov
82da211b9b sys32 - concentration all (except #NM) exception handlers in ecx_c for optimization purpose
debug  - moved handler to sys32::exc_c
fpu    - moved except_16/19 to sys32::exc_c
memory - changing interface for page_fault_handler
v86    - changing interface for handler v86_exc_c
kernel - small optimization

git-svn-id: svn://kolibrios.org@1056 a494cfbc-eb01-0410-851d-a64ba20cac60
2009-04-04 19:58:42 +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