Commit Graph

220 Commits

Author SHA1 Message Date
Rustem Gimadutdinov (rgimad)
99ad9a6ca7 fix prior, add gui/background.inc
git-svn-id: svn://kolibrios.org@9487 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-27 15:37:32 +00:00
Rustem Gimadutdinov (rgimad)
f7761a485b [KERNEL] Move sysfn 1, 4, 13, 38 implementations from kernel.asm to window.inc
Fix comments style in window.inc
Cleanup some outdated & unused commented stuff in data32.inc

git-svn-id: svn://kolibrios.org@9477 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-12-26 13:18:33 +00:00
Ivan Baravy
b6f769987c kernel: Check for base+len overflow in is_region_userspace
git-svn-id: svn://kolibrios.org@9045 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-07-09 09:22:44 +00:00
Ivan Baravy
807afdadb8 kernel: Fix memory corruption of clipboard data.
There were a few off-by-one errors in window size calculation.
As a result, winmap update code corrupted clipboard structures.

git-svn-id: svn://kolibrios.org@8928 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-23 10:07:36 +00:00
Kirill Lipatov (Leency)
744dc6bcc8 kernel: tiny draw button optimization
img: rename FindNumbers into Numbers and ENTROPYVIEW into ENTROPYV (confirmed with author) to fit 8.3

git-svn-id: svn://kolibrios.org@8926 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-22 19:41:46 +00:00
Rustem Gimadutdinov (rgimad)
0f675e4534 [KERNEL] use constants instead of hardcoded values, other small fixes
git-svn-id: svn://kolibrios.org@8876 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-19 08:41:09 +00:00
Rustem Gimadutdinov (rgimad)
2359531a17 [KERNEL] #3 Preparing to merge legacy TASKDATA into APPDATA:
- get rid of CURRENT_TASK
- to APPDATA added new fields which will be used instead of TASKDATA's
- other small fixes

git-svn-id: svn://kolibrios.org@8869 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-17 09:41:16 +00:00
Rustem Gimadutdinov (rgimad)
d4bf03befc [KERNEL] #2 Preparing to merge legacy TASKDATA into APPDATA:
- rename event_mask in APPDATA to occured_events, cause TASKDATA already has event_mask and they have different meaning and usage
- small fixes

git-svn-id: svn://kolibrios.org@8867 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-16 13:57:17 +00:00
Rustem Gimadutdinov (rgimad)
9cdec89085 [KERNEL] Preparing to merge legacy TASKDATA into APPDATA:
- now doesnt use TASK_COUNT, now uses [thread_count] global instead of it
- update come copyrights

git-svn-id: svn://kolibrios.org@8866 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-06-16 10:04:10 +00:00
Doczom
2508f1e16e fixed vulnerability (reading kernel memory from userspace) in sysfn 48.2
git-svn-id: svn://kolibrios.org@8712 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-05-09 12:50:44 +00:00
Rustem Gimadutdinov (rgimad)
da8b70d99e fixed same vulnerability in sysfn 48.3
git-svn-id: svn://kolibrios.org@8599 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-02-21 11:03:16 +00:00
Rustem Gimadutdinov (rgimad)
d893a4981a fix bug in sysfn48 (by Kenshin)
git-svn-id: svn://kolibrios.org@8552 a494cfbc-eb01-0410-851d-a64ba20cac60
2021-01-26 10:31:02 +00:00
Ivan Baravy
5f677e4407 Remove unused macro and fix a comment.
git-svn-id: svn://kolibrios.org@8115 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-10-21 19:58:55 +00:00
Rustem Gimadutdinov (rgimad)
cdf87e6a72 translate russian comments to english #4, no code changes
git-svn-id: svn://kolibrios.org@8053 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-07-16 19:31:16 +00:00
Kirill Lipatov (Leency)
5950bfe4cd kernel: fix sysfunction 9 GetProcInfo. As the window is created with width+1 and height+1 so the client size has to be bigger respectively
eolite: fix regression

git-svn-id: svn://kolibrios.org@8012 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-30 11:36:52 +00:00
Kirill Lipatov (Leency)
e0f03c3085 charUni.mt: invisible tab and new line characters by Pathoswithin
git-svn-id: svn://kolibrios.org@7895 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-08 08:12:08 +00:00
Ivan Baravy
edd9d00caf kernel: Wrap included font files in iglobal macro.
git-svn-id: svn://kolibrios.org@7718 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-02-07 02:13:17 +00:00
Ivan Baravy
0e02132b9f Replace 'equ' macros with '=' ones.
They appear in symbols file.
They don't require parentheses.
They are shorter.

git-svn-id: svn://kolibrios.org@7136 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-12-20 01:07:10 +00:00
0CodErr
5721df73ee fix for draw not ASCIIZ
git-svn-id: svn://kolibrios.org@7103 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-10-20 16:03:18 +00:00
pathoswithin
5d55e63e36 small fix
git-svn-id: svn://kolibrios.org@6900 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-18 09:15:03 +00:00
pathoswithin
545bc303eb sysfunction 4: string length tracking
git-svn-id: svn://kolibrios.org@6899 a494cfbc-eb01-0410-851d-a64ba20cac60
2017-05-17 08:01:34 +00:00
pathoswithin
4ded9c23de function 71.2
git-svn-id: svn://kolibrios.org@6802 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-21 09:11:27 +00:00
pathoswithin
ee04f7ac02 more unicode functions
git-svn-id: svn://kolibrios.org@6800 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-12-18 03:13:18 +00:00
pathoswithin
e47ae79991 fix click on window activation, fix background redraw, cleaning
git-svn-id: svn://kolibrios.org@6585 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-10-10 11:31:49 +00:00
pathoswithin
061798afec tiny bit
git-svn-id: svn://kolibrios.org@6472 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-08-15 16:58:44 +00:00
pathoswithin
0179d69549 ext fs and other global cleaning
git-svn-id: svn://kolibrios.org@6462 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-07-13 01:01:16 +00:00
pathoswithin
5f2eec40f1 Non-skinned button press style
git-svn-id: svn://kolibrios.org@6044 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-01-07 16:29:25 +00:00
pathoswithin
67994d9c74 small fix
git-svn-id: svn://kolibrios.org@6036 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-01-07 09:13:48 +00:00
pathoswithin
d2b0bd402d Button press style
git-svn-id: svn://kolibrios.org@6035 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-01-07 08:45:03 +00:00
pathoswithin
e1e2d4278e Button style
git-svn-id: svn://kolibrios.org@6032 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-01-05 03:18:00 +00:00
pathoswithin
a060f178c9 Button style and code refactoring
git-svn-id: svn://kolibrios.org@6031 a494cfbc-eb01-0410-851d-a64ba20cac60
2016-01-04 07:23:15 +00:00
Kirill Lipatov (Leency)
61ebcdda39 kernel: change buttons style
git-svn-id: svn://kolibrios.org@6009 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-26 13:24:58 +00:00
pathoswithin
e14edf1439 Unicode font: change "Д"
git-svn-id: svn://kolibrios.org@5999 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-12-22 16:35:18 +00:00
pathoswithin
4837ce35b0 window caption font and encoding
git-svn-id: svn://kolibrios.org@5926 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-11-23 04:21:00 +00:00
pathoswithin
2f44126352 Better UTF-8 char validation
git-svn-id: svn://kolibrios.org@5921 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-11-19 11:48:55 +00:00
GerdtR
5a795de357 Remove unnecessary redrawing windows.
git-svn-id: svn://kolibrios.org@5870 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-31 21:43:10 +00:00
pathoswithin
f6e1ec2684 Font size setting f48.11, f48.12
New option in f4

git-svn-id: svn://kolibrios.org@5867 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-29 14:43:15 +00:00
GerdtR
04b4f40454 Bug fixes, change the values of constants window position relative to the other.
git-svn-id: svn://kolibrios.org@5865 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-27 20:29:29 +00:00
pathoswithin
7aa566873d New mouse sysfunctions: 18.19.6, 18.19.7, 37.3
git-svn-id: svn://kolibrios.org@5851 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-16 19:00:13 +00:00
pathoswithin
fbdb5951a3 Font smoothing options
git-svn-id: svn://kolibrios.org@5847 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-15 15:16:30 +00:00
GerdtR
ab543a3b94 Minor bug fix when moving windows
git-svn-id: svn://kolibrios.org@5844 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-11 21:52:57 +00:00
pathoswithin
ed1aad3b68 advansed color blend for font smoothing
git-svn-id: svn://kolibrios.org@5839 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-11 12:44:21 +00:00
GerdtR
b4331f8494 Added f18.25: the ability to make a window on top of all and behind all
git-svn-id: svn://kolibrios.org@5836 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-10-09 13:59:11 +00:00
Sergey Semyonov (Serge)
a1e19e9f62 Kernel: minor cleanup
git-svn-id: svn://kolibrios.org@5788 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-09-03 14:52:02 +00:00
Kirill Lipatov (Leency)
d92f451b90 Update font.inc (skip broken UTF chars) and char.mt (revert old style g char)
git-svn-id: svn://kolibrios.org@5681 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-08-05 09:59:57 +00:00
Pathoswithin
1b36f8ca5f update system font
git-svn-id: svn://kolibrios.org@5667 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-08-03 13:52:55 +00:00
Pathoswithin
1284ae36ca new font code
git-svn-id: svn://kolibrios.org@5665 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-08-03 12:38:30 +00:00
hidnplayr
99225de60a Revert #5635 (smaller, less complex, less violent...)
git-svn-id: svn://kolibrios.org@5664 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-08-03 12:35:06 +00:00
hidnplayr
b43c39f2f1 Embedded default skin in kernel.mnt
- little faster boot time.
- no more problems when default.skn cannot be found.

git-svn-id: svn://kolibrios.org@5635 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-07-31 13:32:01 +00:00
Kirill Lipatov (Leency)
b974927cc8 kernel: button draw optimization (removed unnecessary overlapping)
git-svn-id: svn://kolibrios.org@5580 a494cfbc-eb01-0410-851d-a64ba20cac60
2015-07-19 15:56:04 +00:00