Commit graph

28051 commits

Author SHA1 Message Date
Pierre Schweitzer ec59ed82f2 - Fixed and enabled about dialog
- Added French translation

svn path=/trunk/; revision=30714
2007-11-24 09:14:56 +00:00
Magnus Olsen 267c6c63f9 fix stupied bug in GetDeviceIdentifier/GetDeviceIdentifier7,
spotted by Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth) 


svn path=/trunk/; revision=30709
2007-11-23 23:36:53 +00:00
Magnus Olsen be9c3ff7cb fix return code in ddraw.dll GetCaps.cbug spotted by Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
svn path=/trunk/; revision=30706
2007-11-23 22:02:43 +00:00
Aleksey Bragin cbf9e5b6d4 - Cleanup NtCreateKey and NtOpenKey to make it simpler for the final steps of the rewirte.
- Remove SEH and callbacks (yes this is "bad", but won't break anything, and it will be added back).
- Try to make the code as similar as possible to isolate broken-Ob calls from proper Cm behavior.

svn path=/trunk/; revision=30705
2007-11-23 20:32:38 +00:00
Aleksey Bragin 0fa0af9d7a - Huge cleanup of cm.h -- remove stuff that's not needed/used anymore
- Get rid of registry.c.
- Move CmpLinkHiveToMaster to cmsysini.c since it now uses new config code and works properly.
- Move CmpRosGetHardwareHive to cmsysini.c since it's an initialization function (will go away eventually).

svn path=/trunk/; revision=30704
2007-11-23 19:29:45 +00:00
Aleksey Bragin ab909ae7aa - Remove CmiInitHives.
- Enable parallel hive loading, this speeds up boot by loading the registry in 6 threads instead of just one (once we start having large registries and MP support this will be more evident).
- Added some little hacks to make this work for now.
- Fix a memory leak in CmInit1.
- Add hardware hive to machine hive list so it can be properly loaded after.

svn path=/trunk/; revision=30703
2007-11-23 18:52:46 +00:00
Art Yerkes 011800f50d Mostly revert my earlier attempt at fixing IRP cancellation. I'll attack it
again later.

svn path=/trunk/; revision=30701
2007-11-23 18:06:07 +00:00
Art Yerkes 3e39927a8f We need an address within the stack in order for freeing it to work properly.
svn path=/trunk/; revision=30700
2007-11-23 17:33:29 +00:00
Colin Finck 517c73e082 [FORMATTING]
- Fix the indentation mess
- Fix some typos in comments

No code changes

svn path=/trunk/; revision=30698
2007-11-23 16:21:10 +00:00
Colin Finck 8d91a510a9 When someone tries to copy a file over itself, show an error message.
We already had such a check in the code, but after Brandon's copy.c rewrite in r16561, it never got called.
I removed the old check now and put a new one at the right position.

See issue #2827 for more details.

svn path=/trunk/; revision=30696
2007-11-23 15:53:57 +00:00
Aleksey Bragin ccba9533e8 - Remove hack in CmpLinkHiveToMaster and make it support the "Allocate" boolean parameter.
- Enable code in CmiInitHives to take advantage of the new link code when using the SYSTEM hive on the bootcd/setup.
- Don't skip CmpCreateControlSet anymore, just add a simple hack to hard-code Current to 001.
- Remove CmiInitControlSetLink since CmpCrateControlSet now does the work
- Enable code in CmpInitializeSystemHive to use CmpInitializeHive(HINIT_CREATE) when creating a new SYSTEM hive, since we now have new link code that supports the "Allocate" flag.
- This means we now have a working SYSTEM hive on the Boot CD as well since early bootup, and not only when NtInitializeRegistry is called
- Do bootcd vs hard-disk boot registry path setup in CmpGetRegistryPath instead of in-line.

svn path=/trunk/; revision=30695
2007-11-23 15:26:27 +00:00
Aleksey Bragin 6896e0c290 - Major cleanup of code inside CmiConnectHive:
- Don't derefernece the parent key since we need to keep a reference to it
- Set the hive dirty flag to clean after a connect
- Simplify code
- Move code as part of CmpLinkHivetoMAster
- Use new function CmpCreateLinkNode instead of CmpDoCreate
- Fix some asserts in CmpCreateLinkNode since we don't lock the KCB yet.

svn path=/trunk/; revision=30694
2007-11-23 14:15:04 +00:00
Art Yerkes 06220aab9e tcpip:
Factor out common datagram receive code.
Actually implement datagram cancellation.

afd:
Reorganize IRP cancellation and simplify socket shutdown.
Fix datagram recv with no address differently (and better).

Overall: fix hang after ping.

svn path=/trunk/; revision=30693
2007-11-23 13:52:56 +00:00
Aleksey Bragin c24f0e963d - Fix typos.
svn path=/trunk/; revision=30692
2007-11-23 13:48:25 +00:00
Aleksey Bragin 787a5cdaa4 - Add a check for an incorrect virtual size. Currently ReactOS's floppy.sys has such an incorrect section.
svn path=/trunk/; revision=30691
2007-11-23 13:39:31 +00:00
Christoph von Wittich d4e96ba358 don't free pool when allocation failed
svn path=/trunk/; revision=30690
2007-11-23 10:36:00 +00:00
Christoph von Wittich 337038529d link to secur32 - will be needed by newer wine versions
svn path=/trunk/; revision=30689
2007-11-23 10:10:21 +00:00
Christoph von Wittich 6691091e28 add stub for InitializeSecurityContextW
svn path=/trunk/; revision=30688
2007-11-23 09:10:32 +00:00
Christoph von Wittich 119d8d8d28 don't try to alphablend monochrome bitmaps - fixes the red zone overwrite in opera 9.24
svn path=/trunk/; revision=30687
2007-11-23 07:33:54 +00:00
Magnus Olsen 4a7a3ecee7 small fix for cGetTTFFromFOT
fix the number of param, 
did do a pedump. on export to found out it is @28
but I need look at my private note later

svn path=/trunk/; revision=30686
2007-11-23 01:38:54 +00:00
Timo Kreuzer 5aff597e67 add cGetTTFFromFOT stub. I don't know the number of parameters, but this allows loading gdi32 on win xp using myapp.exe.local
gdi32api test on win xp: 209 tests pass, 62 tests fail.

svn path=/trunk/; revision=30685
2007-11-23 01:08:47 +00:00
Magnus Olsen 669a391613 patch from Kamil Hornicek tykef at atlas dot cz (irc nick : Pigglesworth)
update the dx version number for ddraw.dll to same as windows xp ddraw.dll 
it help some program works. 


svn path=/trunk/; revision=30684
2007-11-22 22:26:04 +00:00
Timo Kreuzer ed7c97c492 add fontview to bootcd and add ttf file association
See issue #1411 for more details.

svn path=/trunk/; revision=30683
2007-11-22 20:15:30 +00:00
Magnus Olsen f249b4f16d Implement DirectDrawEnumerateW, DirectDrawEnumerateExW they always return DDERR_UNSUPPORTED
svn path=/trunk/; revision=30682
2007-11-22 19:36:16 +00:00
Magnus Olsen de3d1d2725 Implement DirectDrawEnumerateA
the DirectDrawEnumerateProcData struct are from wine. rest of the code are writen by me. 
the DirectDrawEnumerateExA are not finish but it is a start. 


svn path=/trunk/; revision=30681
2007-11-22 19:11:43 +00:00
Aleksey Bragin 95e31f7de7 - Fix prototype of NtLoadKeyEx.
- Refactor CmiLoadHives using new config routines instead of deprecated cm routines.
- Stop using deprecated CmiScanKeyForValue (delete regfile.c as a result).
- Add code for parallel hive loading to speed up boot process, but don't yet fully use it due to changes required in linking hives.
- Add code for new hive linking process (CmpCreateLinkNode/CmpDoOpen). Not yet used to avoid too many changes in one patch. 
- Add new code in CmiLoadHives to deal with updated linking process when it becomes used.
- Implement NtLoadKey2 to cal NtLoadKeyEx.
- Implement NtLoadKeyEx as a new config routine, using CmLoadKey, move out of Cm.
- Add some more code in CmpInitializeSystemHive to deal with SYSTEM hive creation during setup, once hive linking is refactored.
- Implement a new command except for flushing -- open: CmpCmdHiveOpen. Used by CmLoadKey.
- Add support for impersonating the SYSTEM account if the hive can't be open in the current client security context.
- Fill out CmpMachineHiveList, to be used in parallel hive loading.

svn path=/trunk/; revision=30680
2007-11-22 18:38:32 +00:00
Aleksey Bragin 76f076659d Igor Koshpaev <tumans@nm.ru>
- More fixes for rasapi32's russian translation.

svn path=/trunk/; revision=30679
2007-11-22 18:22:28 +00:00
Aleksey Bragin 1cbd3b7d55 Dmitry Chapyshev <lentind@yandex.ru>
- Fix russian translation in shell32 and rasapi32.
- Add rasdlg.dll ("Wine-style").

svn path=/trunk/; revision=30678
2007-11-22 18:04:21 +00:00
Aleksey Bragin e26d80c4fc Dmitry Chapyshev <lentind@yandex.ru>
- Icons cleanup/fixes (remove 4bit images, etc).

svn path=/trunk/; revision=30677
2007-11-22 17:52:42 +00:00
Daniel Reimer 9bf128a547 Last missing German RC File. :-)
svn path=/trunk/; revision=30676
2007-11-22 15:46:10 +00:00
Daniel Reimer a9013910f1 Two more German translations by me, myself and my humble personality. One for modemui.dll and one for appwiz.cpl.
svn path=/trunk/; revision=30675
2007-11-22 15:15:14 +00:00
Timo Kreuzer d79659982b rbuild files use tab indentation
svn path=/trunk/; revision=30674
2007-11-22 15:12:39 +00:00
Christoph von Wittich 17e098c5bf fix msvc build
svn path=/trunk/; revision=30673
2007-11-22 14:28:21 +00:00
Christoph von Wittich db79be2e33 fix memory corruption
svn path=/trunk/; revision=30672
2007-11-22 14:06:12 +00:00
Art Yerkes 95dd7ac0b9 Fix prefast errors (submitted by Christoph Von Wittich)
1 Function was unused.
lock.c: Add missing null check.

svn path=/trunk/; revision=30671
2007-11-22 12:10:08 +00:00
Christoph von Wittich f8d4f55a39 fix some PREfast warnings
svn path=/trunk/; revision=30670
2007-11-22 11:54:26 +00:00
Christoph von Wittich 1c2dcfb8fa fix a PREfast warning
svn path=/trunk/; revision=30669
2007-11-22 11:48:43 +00:00
Christoph von Wittich d8bcaefe5e fix some PREfast warnings
svn path=/trunk/; revision=30668
2007-11-22 11:36:32 +00:00
Christoph von Wittich 485fb49bc0 fix msvc build by replacing DDKAPI with NTAPI (both __stdcall)
fix some format strings

svn path=/trunk/; revision=30667
2007-11-22 11:27:17 +00:00
Christoph von Wittich fd1d7e0437 don't return a value in a void function
svn path=/trunk/; revision=30666
2007-11-22 11:12:39 +00:00
Aleksey Bragin 4349c4c375 Dmitry Chapyshev <lentind@yandex.ru>
- Add two include files from Wine, they will be needed for a DLL to be committed later.

svn path=/trunk/; revision=30665
2007-11-22 09:42:50 +00:00
Daniel Reimer 9a06cfbe8c German Translations for ipconfig, clb.dll and rasapi32.dll
tbd: modemui and appwiz

svn path=/trunk/; revision=30664
2007-11-22 09:16:23 +00:00
Aleksey Bragin 479e1def7c Dmitry Chapyshev <lentind@yandex.ru>
- Add russian translation for screensavers.

svn path=/trunk/; revision=30663
2007-11-22 09:11:32 +00:00
Aleksey Bragin 1632a10382 Dmitry Chapyshev <lentind@yandex.ru>
- Add more defines to ras.h and rasdlg.h

svn path=/trunk/; revision=30662
2007-11-22 09:06:12 +00:00
Thomas Bluemel 55e7ab53a2 Add a hack for SPI_GETKEYBOARDCUES
svn path=/trunk/; revision=30661
2007-11-22 05:36:01 +00:00
Thomas Bluemel e4c06afd1d Forward WM_UPDATEUISTATE to DefWindowProc
svn path=/trunk/; revision=30660
2007-11-22 05:33:22 +00:00
Thomas Bluemel c0a6ffd7ce - Support DT_PREFIXONLY and DT_HIDEPREFIX in DrawTextEx
- Support DSS_PREFIXONLY and DSS_HIDEPREFIX in DrawState

svn path=/trunk/; revision=30659
2007-11-22 00:40:24 +00:00
Thomas Bluemel 682de0efb8 Add missing definitions
svn path=/trunk/; revision=30658
2007-11-22 00:38:24 +00:00
Thomas Bluemel 9e7d6ab10e - Display cues and focus when hitting the ALT key.
- Simplify broadcasting the UI state change

svn path=/trunk/; revision=30657
2007-11-22 00:09:21 +00:00
Colin Finck cb52e39d9f Update mingw headers to version 3.13
Patch by encoded

I made the following modifications to the patch:
- excpt.h   - Removed the inclusion of <windef.h>, it caused compilation problems and I don't see a need for it, also CRT headers shouldn't include PSDK headers at all
- tchar.h   - Removed the file as it would most-probably interfere with our PSDK tchar.h and this shouldn't be a CRT header
- values.h  - Removed the file, it has no real content
- varargs.h - Removed the file, it just contains a #include_next line to include the next available varargs.h, also #include_next directives aren't supported by MSVC
See issue #2736 for more details.

svn path=/trunk/; revision=30656
2007-11-21 23:50:03 +00:00