Commit graph

31356 commits

Author SHA1 Message Date
Christoph von Wittich 4bcfbf7b99 don't free a UNICODE_STRING which isn't allocated
svn path=/trunk/; revision=34098
2008-06-26 12:20:09 +00:00
James Tabor eec2739a8b Patch by Jeffrey Morlan <mrnobo1024 at yahoo.com>: Rearrange code in NtGdiSelectBitmap to prevent deadlock. See bug 3333.
svn path=/trunk/; revision=34097
2008-06-26 12:05:38 +00:00
Aleksey Bragin 968033dd41 - Rewrite David Welch's Ansi function wrappers to reduce their code size, improve readability, and fix a bug of freeing of a non-allocated string. Spotted by Christoph vW.
svn path=/trunk/; revision=34096
2008-06-26 11:49:47 +00:00
Christoph von Wittich 00334059ac don't free a UNICODE_STRING which isn't allocated
svn path=/trunk/; revision=34095
2008-06-26 11:34:56 +00:00
Christoph von Wittich d8e81826d2 don't free a UNICODE_STRING which isn't allocated
svn path=/trunk/; revision=34094
2008-06-26 10:22:24 +00:00
Christoph von Wittich 9ff626f764 don't free a UNICODE_STRING which isn't allocated
svn path=/trunk/; revision=34093
2008-06-26 09:35:59 +00:00
Aleksey Bragin ed1f927907 Jeffrey Morlan <mrnobo1024@yahoo.com>
- Fix a major problem in pushlock implementation: if there are 2 or more
threads waiting for a lock, only one of them ever gets woken. ExfWakePushLock
is missing a break in its loop so it removes all the WaitBlocks instead of just
the last one.
- This fixes all "weird" hangs happening, including FF1.5 installer hang, VMWare Video Driver Installer hang, taskmgr tabs hang, and other similar problems.
See issue #3141 for more details.

svn path=/trunk/; revision=34092
2008-06-26 08:26:48 +00:00
ReactOS Portable Systems Group 2b63244bc8 - Fix several interlocked list functions -- they should return NULL if the list is empty.
- Fix a bug in FreeLDR-ARM, we forgot to set the RegistryLength, resulting in a corrupted registry. We can now load the system registry.
- Enable code to handle DPC, Timer and Deferred Ready cleanup (portable code that's already written).
- Enable code to handle quantum end.
- We now load all the way to IoInitSystem!IopInitializeBootDrivers.


svn path=/trunk/; revision=34091
2008-06-26 06:38:42 +00:00
Daniel Reimer e84c1a5512 Update xcopy, winhlp32 and wordpad to Wine HEAD. I kept Fireball's changes, but plz send them to Wine, too.
The Lithuan, Ukrainian and Greek Translators of winhlp32 should do the same.

svn path=/trunk/; revision=34090
2008-06-26 06:12:44 +00:00
Daniel Reimer 88c5a596a1 Update write and winfile to wine 1.0
This gives us new Translations for write. (Norway, Netherlands, Russia, Slovak) and a updated Danish one for winfile.

svn path=/trunk/; revision=34089
2008-06-26 06:10:28 +00:00
ReactOS Portable Systems Group 241449fc0e - Save and restore the trap frame for the current thread when we take an interrupt, so that ISRs can read it.
- We use this in the clock ISR, that can now actually send the trap frame to KeUpdateSystemTime.
- Implement KeUpdateRunTime to handle time accounting and DPC rescheduling as well as Quantum End.
- Ignore quantum end for now.
- We now have a working timebase, and we're back to our earlier checkpoint around CmInitSystem1!.


svn path=/trunk/; revision=34088
2008-06-26 05:56:35 +00:00
ReactOS Portable Systems Group 227dc95404 - Fix totally broken KeUpdateSystemRuntime code... please at least read your code once before committing.
svn path=/trunk/; revision=34087
2008-06-26 05:26:10 +00:00
Aleksey Bragin eed84f7eae - MAKELONG takes (loword, hiword), not (hiword,loword) as was used in wordpad.
svn path=/trunk/; revision=34085
2008-06-25 19:59:10 +00:00
ReactOS Portable Systems Group d7928010a4 - We now implement the KeUpdateSystemTime routine and the HalpClockInterrupt.
- We do not yet handle all cases, most notably, timer expiration.
- There may still be some bugs to work out in the code, but it's a start.
- This regresses progress, but does not ignore time anymore.

svn path=/trunk/; revision=34084
2008-06-25 16:10:14 +00:00
Marc Piulachs 82cbbc6ac9 - Fix InstallSysSetupComponents: SetupInstallFromInfSection was being called with the wrong HINF handler
- Always check for application existence before creating the shortcut

svn path=/trunk/; revision=34083
2008-06-25 14:21:27 +00:00
Filip Navara 3c6dcb0d0d Change the logic and make the AnswerInPublic Command option opt-out instead of opt-in. Now everything except !help is allowed in public again (due to popular demand).
svn path=/trunk/; revision=34082
2008-06-25 14:13:21 +00:00
Filip Navara 3790fc1254 Fix answers to !winerror <hex number> command and to !error command.
svn path=/trunk/; revision=34081
2008-06-25 14:07:13 +00:00
Marc Piulachs a46601a21c - miscellaneous small fixes
- add support for preventing all commands to be run on the channel by default. Now TechBot only answers some of the commands in PM
- add back the error Command

svn path=/trunk/; revision=34079
2008-06-25 13:23:59 +00:00
James Tabor b7525df85d Jeffrey Morlan (mrnobo1024 at yahoo.com) - Fix ModifyWorldTransform multiplies. See bug 3314.
svn path=/trunk/; revision=34078
2008-06-25 11:47:12 +00:00
Colin Finck 93bd1eebe6 Jeffrey Morlan (mrnobo1024@yahoo.com)
- Fix a race condition in msgina, which occasionally led to hangs at "Loading your personal settings"

See issue #3384 for more details.

svn path=/trunk/; revision=34077
2008-06-25 11:12:42 +00:00
Aleksey Bragin 7a18c92616 - Fix broken 0-padding, spotted by Russel.
See issue #3385 for more details.

svn path=/trunk/; revision=34076
2008-06-25 09:07:41 +00:00
ReactOS Portable Systems Group b5cddb8ef5 - Implement KiComputeTimerTableIndex and stub KeUpdateRunTime und KeUpdateSystemTime.
- Hitting checkpoint in trap.c: DPC/Timer Delivery!
- Must now implement clock interrupt in HAL.

svn path=/trunk/; revision=34075
2008-06-25 05:01:31 +00:00
Dmitry Chapyshev 3d51d8fa8a - Start implementing MediaClassInstaller function
svn path=/trunk/; revision=34074
2008-06-24 15:17:28 +00:00
Colin Finck b79ef105f1 Get shell32 to compile warning-free
Patch by Stefan Ginsberg with minor modifications by me

svn path=/trunk/; revision=34073
2008-06-24 14:37:50 +00:00
ReactOS Portable Systems Group aa2b83d508 - Implement MmGetPfnForProcess, MmIsPageSwapEntry.
- Fix a bug in MmDeletePageTable.
- Use MmCreateVirtualMappingForKernel when we are already in the right process context, and allow it to be used for addresses < KSEG0_BASE as well.
- We now have full memory mapped file support, and get all the way to CmInitSystem1.


svn path=/trunk/; revision=34072
2008-06-24 14:16:06 +00:00
Johannes Anderwald f0d289f527 - fix typo
svn path=/trunk/; revision=34071
2008-06-24 12:57:56 +00:00
Johannes Anderwald eb0b862540 - check for a valid file descriptor
svn path=/trunk/; revision=34070
2008-06-24 12:42:22 +00:00
Dmitry Chapyshev 4b8a3ba4d6 - Add stubs for more functions
svn path=/trunk/; revision=34069
2008-06-24 12:00:53 +00:00
Dmitry Chapyshev 13ddc0ef07 - Activate default layout on startup
svn path=/trunk/; revision=34068
2008-06-24 09:59:35 +00:00
Daniel Reimer e8d6023ad5 Add Rbuild files for WineTestGUI.
I had to disable the Icons to be able to build it. They seem to be invalid.

svn path=/trunk/; revision=34067
2008-06-24 09:05:56 +00:00
Dmitry Chapyshev 2bd794488a - Update Russian translation
svn path=/trunk/; revision=34066
2008-06-24 08:10:16 +00:00
James Tabor 3780af2706 Add PS_JOIN_MASK to psdk.
svn path=/trunk/; revision=34065
2008-06-24 03:17:35 +00:00
Aleksey Bragin 97be5703d8 Cameron Gutman <aicommander@gmail.com>
- Initialize LastChanceShutdownList.
- Sndblst.sys and a bunch of other drivers using Io[Un]RegisterLastChanceShutdownNotification work now.
See issue #3331 for more details.

svn path=/trunk/; revision=34064
2008-06-23 21:36:14 +00:00
Aleksey Bragin 0f6b71ad04 Stefan Ginsberg <stefan__100__@hotmail.com>:
- Make user32 and kernel32 compile warning-free.

svn path=/trunk/; revision=34063
2008-06-23 18:57:10 +00:00
James Tabor f99a2998d3 Fix typo.
svn path=/trunk/; revision=34062
2008-06-23 17:57:41 +00:00
ReactOS Portable Systems Group a179aed613 - Fix broken system call handler with shitty but works system call handler.
- Fix broken .rbuild file -- not sure how this was supposed to build in the first place.
- This gets us further -- more of ARM Mm needs implementing.


svn path=/trunk/; revision=34061
2008-06-23 16:08:32 +00:00
Aleksey Bragin bd7a8aac20 - Add a missing return in case of exception. Spotted by Stefan Ginsberg.
svn path=/trunk/; revision=34060
2008-06-23 14:55:55 +00:00
Aleksey Bragin 3a0ed2c825 - Fix CM SEH by public demand.
svn path=/trunk/; revision=34059
2008-06-23 12:45:27 +00:00
Daniel Reimer 832844b9fb Bug 3378: update for slovak by Mario Kacmar (kario@szm.sk)
Bug 3287: My network place properties not displayed correctly by Mario Kacmar (kario@szm.sk)
P.S. The Polish Translation in the previous Commit was made by Maciej Bialas, not Olaf Siejka.

svn path=/trunk/; revision=34058
2008-06-23 10:37:18 +00:00
Daniel Reimer 8ad26a0358 Bug 3367: Korean translation of regedit by Sengju Kim (admin@manateeshome.com)
Polish Translation of usrmgr by Olaf Siejka
Renamed the Rest of the Korean RC Files.

svn path=/trunk/; revision=34057
2008-06-23 09:57:46 +00:00
Daniel Reimer ec9dd69633 Start to rename all Korean RC Files to "ko-KR.rc". "ko-KO.rc" was not correct.
svn path=/trunk/; revision=34056
2008-06-23 09:42:06 +00:00
ReactOS Portable Systems Group 8df8940a6e - The CRT sync by "fireball" is incorrect and results in a broken ntos kernel. Although it may work on i386 builds, it results in a corrupted kernel anyways. On ARM, we try to hackfix around it by not including some routines that should not be in the kernel but were being imported due to the broken crt changes.
- We do not attemp to build world anymore. We have handwritten a new ARM rbuild file that only builds what we need for our current ARM work.
- HAL and FreeLDR do not seem to have an "installpath"... why not? Added one at least for our ARM stuff, so that "make install" can drop the binaries.
- Fixed some ARM DDK macro inconsistencies, allow more drivers to build.
- It is now possible to use "make install -k" to drop a completely working ARM build onto an image due to all these changes.

svn path=/trunk/; revision=34055
2008-06-23 03:57:50 +00:00
James Tabor 835571354c Update credits.
svn path=/trunk/; revision=34054
2008-06-23 01:09:20 +00:00
Colin Finck 5882bc1cea - Rebuild the left popup menu containing the keyboard layouts on every click to take care of keyboard layout changes.
I know this is probably not the best way for doing the job, but I don't know of any other method to achieve the same.
- Change the right popup menu to only show the "Options" and "Exit" menu items (like ctfmon does)
- Add the missing 'return 0;' statements, when a message was handled

See issue #3372 for more details.

svn path=/trunk/; revision=34053
2008-06-22 21:59:27 +00:00
Colin Finck f721678f57 Fix the messed up "freeldr_arch" rbuild file: Specify one "freeldr_arch" module and then the files to build based on the architecture, not a separate module per architecture
Patch by Alex

svn path=/trunk/; revision=34052
2008-06-22 21:43:02 +00:00
Colin Finck 955672158d Build host_wcsfuncs as a host static library, not a target static library
Fixes build for all non-Win32 hosts

svn path=/trunk/; revision=34051
2008-06-22 21:41:25 +00:00
Colin Finck 8d9b815544 Add a library "host_wcsfuncs" with implementations for UTF-16 string functions needed for some host tools
Instead of copying those functions into every host tool, which needs it (as we did previously), we can now implement them all in this library and link the host tools to it.
If USE_HOST_WCSFUNCS is not defined, the "wcsfuncs.h" file will define them to the CRT functions (so this library does not create overhead, when the code is built for the target platform)

See issue #3285 for more details.

svn path=/trunk/; revision=34050
2008-06-22 20:58:56 +00:00
Colin Finck 33c4221b1e Add support for a new environment variable ROS_GENERATE_RSYM to disable RSYM during the build
Patch by Alex

svn path=/trunk/; revision=34049
2008-06-22 18:38:12 +00:00
Colin Finck c251e18523 Move wshtcpip to dll/win32, it's a DLL and not a driver
"Patch" by Alex

svn path=/trunk/; revision=34048
2008-06-22 18:19:19 +00:00
Aleksey Bragin 07a38cedf1 - Extend SEH to cover writing result to output arguments. Noticed by Stefan Ginsberg.
svn path=/trunk/; revision=34047
2008-06-22 16:24:15 +00:00