Commit graph

61129 commits

Author SHA1 Message Date
Timo Kreuzer ff14566384 [WIN32K]
- Pass bitmap buffer size to SURFACE_AllocSurface and validate it
- Fix arithmetic overflow checks by using RtlULongMult
- GreExtTextOutW: do not allocate / blit zero sized bitmaps
- NtGdiStretchDIBitsInternal: do not pass negative y size to GreCreateBitmapEx
- DIB_CreateDIBSection: use calculated bitmap size, instead of biSizeImage when calculating the section view size and as size parameter to GreCreateBitmapEx
CORE-9245 #resolve

svn path=/trunk/; revision=66611
2015-03-08 17:25:44 +00:00
Hermès Bélusca-Maïto 15f19bca32 [CONSRV]: Hackfix the icons retrieval in the same way as what was done in r65683, because we have a bug in PrivateExtractIconExW.
svn path=/trunk/; revision=66610
2015-03-08 14:28:19 +00:00
Hermès Bélusca-Maïto c8eb15561c [CONSRV]: Fix the console TUI frontend compilation.
svn path=/trunk/; revision=66609
2015-03-08 13:52:06 +00:00
Timo Kreuzer e7aacb5163 [WIN32K]
- revert an "improvement" in NtUserFindExistingCursorIcon
- Remove boken asserts
- Implement GreSetBitmapOwner and use it to set bitmap owner in IntSetCursorData
- Fix cleanup after failure in setting bitmap owner
- Fix string cleanup (don't free INTRESOURCE)
- Validate frame indices to be within range
- Make sure frame indices and JIR reates are copied
- A few other fixes/improvements

svn path=/trunk/; revision=66608
2015-03-08 13:44:24 +00:00
Amine Khaldi e53889cf98 [NOTEPAD] Prevent some NULL pointer dereferences. CID 502217. By Ricardo Hanke. CORE-9337
svn path=/trunk/; revision=66607
2015-03-08 13:16:46 +00:00
Johannes Anderwald 63439e78ff [MMSYS]
- fix build

svn path=/trunk/; revision=66606
2015-03-08 09:37:06 +00:00
Johannes Anderwald d2e31d5fde [MMSYS]
- install software bus pnp enumerator only once

svn path=/trunk/; revision=66605
2015-03-08 08:28:12 +00:00
Hermès Bélusca-Maïto 97bb83fcd9 [USETUP]: Fix some problems with extra-backslashes in paths, and fix the support for the setup directory "\" which means "the install directory" (i.e. C:\ReactOS usually).
[BOOTDATA/VGAFONTS]: Install the vga fonts needed for the Blue driver. Better fix for r57755 and r59547.

svn path=/trunk/; revision=66604
2015-03-08 04:09:23 +00:00
David Quintana 9c9b3171f8 [NTOBJSHEX]
* Make the shell view default to details mode.
* Some cleanups.

svn path=/trunk/; revision=66603
2015-03-08 02:05:24 +00:00
Aleksandar Andrejevic b0c6956a17 [NTVDM]
Implement EMS function AH = 57h.


svn path=/trunk/; revision=66602
2015-03-08 00:36:46 +00:00
Timo Kreuzer e0a175fa25 [INTRIN]
Fix x64 build.

svn path=/trunk/; revision=66601
2015-03-07 22:35:52 +00:00
Johannes Anderwald 20b24dadb9 [KS]
- fix multiple bugs in software bus pnp enumerator 
[INF]
- add wdmaud.sys as a client of the software bus pnp enumerator

svn path=/trunk/; revision=66600
2015-03-07 18:01:03 +00:00
Johannes Anderwald 4f6af40fc9 [MMSYS]
- install software bus pnp enumerator when an audio device is installed

svn path=/trunk/; revision=66599
2015-03-07 17:33:13 +00:00
Timo Kreuzer 3eba2a1fe4 [INTRIN]
Add some missing intrinsics for GCC (_InterlockedExchangeAdd8, __incgsqword, _BitScanForward64, _BitScanReverse64, _bittest64, _bittestandset64, _bittestandreset64, _bittestandcomplement64, _rotr64, _lrotl, _lrotr, __lzcnt, __lzcnt16, __popcnt, __popcnt16, __lzcnt64, __popcnt64, __cpuidex, __ud2, __writecr8/__readcr8 (x86))
Remove useless top level const modifiers from parameters (they do only tell the compiler that the variable cannot be modified, they do not tell the compiler whether the parameter is a compiler constant!)

svn path=/trunk/; revision=66598
2015-03-07 13:22:42 +00:00
Hermès Bélusca-Maïto 6fa9017029 [NTVDM]: Add configuration files (will be needed in the future). By Lee Schroeder.
CORE-7736 CORE-7832

svn path=/trunk/; revision=66597
2015-03-07 01:42:16 +00:00
Aleksandar Andrejevic 3b4c8c96b6 [NTVDM]
Begin implementing Expanded Memory Space (EMS) support.


svn path=/trunk/; revision=66596
2015-03-07 00:43:17 +00:00
Hermès Bélusca-Maïto 005645416e [SHORTCUTS]: Add RApps shortcut to the desktop.
CORE-9190

svn path=/trunk/; revision=66595
2015-03-07 00:21:24 +00:00
Daniel Reimer 63ac32d5c9 [MSTSC]
German update. No user cares about the number of colors at all. It always was called High/True Color and thus we do so too.

svn path=/trunk/; revision=66594
2015-03-07 00:06:06 +00:00
Hermès Bélusca-Maïto 551a042b6f [MPLAY32]
- Additional improvements by Ricardo Hanke, see CORE-8477 for all the details!
- Add support for play/pause button: now we change its icon and tooltip.
- Do not block when repeatedly change play/pause state.

svn path=/trunk/; revision=66593
2015-03-06 23:49:49 +00:00
Hermès Bélusca-Maïto 529183cda7 [SHIMGVW]
- Few whitespace fixes.
- Fix a regression where an exception was thrown when opening a file from cdrom.
Patch by Ricardo Hanke.
CORE-9250 #resolve #comment Patch v2 committed! Thanks!

svn path=/trunk/; revision=66592
2015-03-06 20:32:38 +00:00
Amine Khaldi a565167c59 [RAPPS] Fix maximizing. By Ismael Ferreras Morezuelas. CORE-9060
svn path=/trunk/; revision=66591
2015-03-06 20:23:45 +00:00
Amine Khaldi 4f727bf356 [RAPPS] Change APPLICATION_DATEBASE_URL to APPLICATION_DATABASE_URL and add a FIXME about switching to HTTPS once is supported. By Ismael Ferreras Morezuelas. CORE-9060
svn path=/trunk/; revision=66590
2015-03-06 20:20:25 +00:00
Hermès Bélusca-Maïto 8c59114082 [DESK]: Include files from the wallpaper directory in the list of available desktop backgrounds.
Patch by Ricardo Hanke.
CORE-9288 #resolve #comment Patch v3 committed, thanks!

svn path=/trunk/; revision=66589
2015-03-06 20:13:21 +00:00
Hermès Bélusca-Maïto 42c3492b5c Revert tree-restructure attempt: r66583, r66582, r66581, r66578, sauf ntdll changes, r66576 and r66575 sauf mvdm changes (ok with Aleksander).
svn path=/trunk/; revision=66588
2015-03-06 14:33:02 +00:00
Hermès Bélusca-Maïto 2fd746a504 Revert r66580 and r66579.
svn path=/trunk/; revision=66587
2015-03-06 14:31:32 +00:00
Christoph von Wittich 55ac845a5e revert r66585
svn path=/trunk/; revision=66586
2015-03-06 11:49:28 +00:00
Christoph von Wittich c982804893 [NTOSKRNL]
disable sysenter on Pentium Pro
http://lkml.iu.edu/hypermail/linux/kernel/0308.2/1534.html
CORE-6582

svn path=/trunk/; revision=66585
2015-03-06 09:29:50 +00:00
Hermès Bélusca-Maïto a2a0e1c9a1 [MSTSC]: Add support for 32-bit colour. Patch by 'hater'.
CORE-9322 #resolve #comment Committed in r66584, thanks!

svn path=/trunk/; revision=66584
2015-03-06 02:16:00 +00:00
Hermès Bélusca-Maïto b8571b27e9 [SHELL]: shimgvw is a shell extension.
svn path=/trunk/; revision=66583
2015-03-06 02:01:31 +00:00
Hermès Bélusca-Maïto 829e58590e [SHELL]: Move shell dlls to where they should belong.
CORE-9111

svn path=/trunk/; revision=66582
2015-03-06 01:26:58 +00:00
Hermès Bélusca-Maïto 22cd6ee5a3 Revert an unwanted change from r66575.
svn path=/trunk/; revision=66581
2015-03-06 00:43:46 +00:00
Hermès Bélusca-Maïto 5d3273e56a I hope this is the last one.
svn path=/trunk/; revision=66580
2015-03-06 00:37:49 +00:00
Hermès Bélusca-Maïto dc5cf71fa4 ... and that.
svn path=/trunk/; revision=66579
2015-03-06 00:34:20 +00:00
Hermès Bélusca-Maïto 3d596d154a Really fix build this time (otherwise that means my full clean builds are broken). Also remove that strange win32k dependency from ntdll (that appeared only via the headers inclusion, and nothing else).
svn path=/trunk/; revision=66578
2015-03-06 00:31:01 +00:00
Hermès Bélusca-Maïto c1d94ddee2 [NTDLL]: Remove unneeded includes (fix build).
svn path=/trunk/; revision=66577
2015-03-06 00:03:52 +00:00
Hermès Bélusca-Maïto 76edda527f Fix build (forgot these 3 files).
svn path=/trunk/; revision=66576
2015-03-05 23:20:06 +00:00
Hermès Bélusca-Maïto ddb90f1e10 Start source tree (final, I hope!) restructuration. Part 1/X
Win32, Shell, Services, MVDM

svn path=/trunk/; revision=66575
2015-03-05 23:03:33 +00:00
Timo Kreuzer 9a340ee253 [INTRIN]
Fix MSVC / x64 build

svn path=/trunk/; revision=66574
2015-03-05 23:00:18 +00:00
Timo Kreuzer da855e568d [INCLUDE/CRT]
- Move all intrinsic prototypes to intrin.h and remove duplicated declatations from msc/intrin.h and mingw/intrin_x86.h
- Fix some intrinsic prototypes for GCC
- Fix some SAL annotations for intrinsics

svn path=/trunk/; revision=66573
2015-03-05 21:09:36 +00:00
Timo Kreuzer 5269230c55 [CRT]
Remove definition of __JUMP_BUFFER and include setjmp.h instead, where it is defined.

svn path=/trunk/; revision=66572
2015-03-05 21:09:12 +00:00
Timo Kreuzer bd5b0e3bd3 [INCLUDE]
#undef some constants in arc.h to avoid conflicts with errno.h

svn path=/trunk/; revision=66571
2015-03-05 21:08:58 +00:00
Hermès Bélusca-Maïto b086a99725 Small source tree cleanup:
- Remove leftovers from rbuild era.
- Remove .hgeol that was introduced in r53995 in an attempt to have Mercury "get[ing] native line endings":
<@hbelusca> tkreuzer - hi tkreuzer! do you know whether you still need this .hgeol file at the root of our source tree?
<@tkreuzer> hbelusca: no, feel free to delete it
- rgenstat/llmosrt.c --> llmsort.c (take it from cdmake); this is however an unused tool in our build toolchain.

svn path=/trunk/; revision=66570
2015-03-05 20:43:25 +00:00
Sylvain Petreolle bf41d9fe8e [EXT2FS]
No drive in media is not an error condition.
The hardware reporting no 'ghost' floppy drives like vmware don't show this trace.

svn path=/trunk/; revision=66569
2015-03-05 16:13:44 +00:00
Hermès Bélusca-Maïto 57d181cd3f [KEYBOARDLAYOUTS]: Improve on r61053 and r64791 by moving the keyboard layout LD script to its correct directory.
svn path=/trunk/; revision=66568
2015-03-05 15:04:25 +00:00
Hermès Bélusca-Maïto 974e7aafa1 [WELCOME]: Port all the extra features that we usually need for our custom releases for FOSDEM, CLT, etc... See r62439, r66116 and r66121 (in particular keep the <msg> feature, it can be useful for some cases. It's not because you remove it that you'll gain 100 MB in the CD-ROM!).
svn path=/trunk/; revision=66567
2015-03-04 22:37:51 +00:00
Hermès Bélusca-Maïto 96bb81fb65 Errm... fix build.
svn path=/trunk/; revision=66566
2015-03-04 22:13:31 +00:00
Hermès Bélusca-Maïto 9fe5dd6bb4 [WELCOME]: Code style changes only.
svn path=/trunk/; revision=66565
2015-03-04 22:10:49 +00:00
Hermès Bélusca-Maïto 66e25b43b8 [WELCOME!]: Fix CID 515150 (and warn if the app that we start cannot be started). By Ricardo Hanke.
CORE-9325 #resolve #comment Fixed, thanks!

svn path=/trunk/; revision=66564
2015-03-04 21:42:09 +00:00
Hermès Bélusca-Maïto 6e0183f1c0 Whitespace fixes only.
svn path=/trunk/; revision=66563
2015-03-04 21:37:35 +00:00
Hermès Bélusca-Maïto 327531bfd4 [MPLAY32]: Fix CID 515203 and CID 515204: replace remaining _tcscpy and _stprintf with strsafe functions.
By Ricardo Hanke.
CORE-9306 CORE-9308 #resolve #comment Fixed, thanks!

svn path=/trunk/; revision=66562
2015-03-03 21:35:07 +00:00