Commit graph

19257 commits

Author SHA1 Message Date
Ged Murphy e019f15048 - Added the properties dialog
- Add an about dialog
- Split up the query code to make it more usable
- Call description from the registry
- Many other code mods

svn path=/trunk/; revision=20616
2006-01-06 18:28:27 +00:00
Gé van Geldorp 5bb6a3bdb5 Merge in a post-Wine-0_9_5 change to get rid of some warnings. Thanks to
CvW for reporting.

svn path=/trunk/; revision=20615
2006-01-06 17:46:36 +00:00
Gé van Geldorp 1ac6ad3e2d Sync to Wine-0_9_5:
Alexandre Julliard <julliard@winehq.org>
- Support building flex files without debug support.
- Added some flex options to avoid compiler warnings.
  Moved options from the Makefile into the source.

svn path=/trunk/; revision=20614
2006-01-06 17:26:49 +00:00
Thomas Bluemel 59921c5d0a implemented ExpandEnvironmentStringsForUserA/W
svn path=/trunk/; revision=20612
2006-01-06 15:42:12 +00:00
James Tabor a56d746326 Removed DPRINT1, 8^D
svn path=/trunk/; revision=20611
2006-01-06 14:50:56 +00:00
James Tabor e5a6d4cf78 Revert, thx Thomas, wasnt sure.
svn path=/trunk/; revision=20610
2006-01-06 14:23:26 +00:00
James Tabor dd7144f68a Should have placed extern in there.
svn path=/trunk/; revision=20609
2006-01-06 13:57:38 +00:00
Thomas Bluemel 74379134c9 fixed uninitialized variable warnings
svn path=/trunk/; revision=20608
2006-01-06 11:58:17 +00:00
Hartmut Birr f7b8d42fd9 Fixed the register saving in ExfInterlockedCompareExchange64.
svn path=/trunk/; revision=20607
2006-01-06 11:36:43 +00:00
Alex Ionescu 14b1a279eb - Fix Status/WaitStatus/Thread->WaitStatus confusion/mess and reduce to a signle variable.
svn path=/trunk/; revision=20606
2006-01-06 08:37:46 +00:00
Alex Ionescu 92f9f2e23b - Invert CONFIG_SMP defines as requested by Hartmut
- Remove KiBlockThread and replace by more elegant KiSwapThread which will also make moving to the new scheduler easier.
- Handle special case where we have kernel apcs pending and your previous irql was below apc_level during the wait code.
- Remove hack to manually unwait a thread during a status of kernel apc.

svn path=/trunk/; revision=20605
2006-01-06 08:00:09 +00:00
James Tabor afc39c0267 Need extra proto.
svn path=/trunk/; revision=20604
2006-01-06 06:38:47 +00:00
James Tabor 57c5c63685 Implement NtUserGetMenuBarInfo. Tested with MPlayerC with OBJID_MENU only, the rest looked easy enough.
svn path=/trunk/; revision=20603
2006-01-06 06:32:05 +00:00
Magnus Olsen 6b3815ef2a fixed working strechblt for all dibxx now. do not say it does not take offset of source and destantion into accunt, it does. left implement CliprRegion. but last no longer black windows with or corupt images showing.
svn path=/trunk/; revision=20602
2006-01-06 05:27:48 +00:00
Alex Ionescu c1b51155f7 - Fix some bugs in Kernel Queue implementation:
* KeRemoveQueue did not set Thread->WaitNext = FALSE if it was called with WaitNext = TRUE.
  * KeRemoveQueue did not handle the case where a kernel-mode APC is pending and the previous IRQL was below APC_LEVEL.
  * KeRemoveQueue did not set the thread's wait status to 0.
  * KiInsertQueue did not set the Thread's wait status to the entry being inserted.
  * KiInsertQueue did not remove the thread from its wait list.
  * KeRemoveQueue did not properly link the wait blocks.

svn path=/trunk/; revision=20601
2006-01-06 02:25:12 +00:00
Ged Murphy a7c21d9dbf New icon. Couple of code changes linked to that. Just playing :)
svn path=/trunk/; revision=20600
2006-01-06 00:01:20 +00:00
Ged Murphy e340f98fca Remove the temp note. Gé is on fire !
svn path=/trunk/; revision=20599
2006-01-05 23:43:49 +00:00
Christoph von Wittich 74c690712a added german translation
svn path=/trunk/; revision=20598
2006-01-05 23:26:43 +00:00
Gé van Geldorp fe015e6602 Don't keep overwriting the first address entry, give the others a chance too.
Fixes IP address display in ipconfig.

svn path=/trunk/; revision=20597
2006-01-05 23:11:51 +00:00
Steven Edwards 594534a9f8 everything I said about mixed case seems to be wrong. everywhere else we allow it in resource files so to be consistant I guess it should be uppercase here
svn path=/trunk/; revision=20596
2006-01-05 23:10:05 +00:00
Ged Murphy 0f75ddf486 add to the bootcd for the purpose of testing bug 1253
svn path=/trunk/; revision=20595
2006-01-05 23:00:54 +00:00
Magnus Olsen 4c8bd8da77 patch from GvG, it fixing the bug for calc = when it showing e-309, Bug 1195, it have even affected python and other apps trying writing out 0 as text string.
svn path=/trunk/; revision=20594
2006-01-05 22:54:30 +00:00
Thomas Bluemel 431acd850f Fixed uninitialized variable warning with GCC4
svn path=/trunk/; revision=20593
2006-01-05 22:24:28 +00:00
Brandon Turner 1155cf884a en.rc not En.rc
svn path=/trunk/; revision=20592
2006-01-05 22:18:31 +00:00
Alex Ionescu 22916bde5f - God is a second-hand imitation of Gé. Fix for bug 1213.
svn path=/trunk/; revision=20591
2006-01-05 21:49:49 +00:00
Maarten Bosma 6de3d3ca11 Different output for !bug command on the other channels. (#winehackers, #samba-technical)
svn path=/trunk/; revision=20590
2006-01-05 21:46:24 +00:00
Ged Murphy 8218812468 Fix ugly toolbar colour
svn path=/trunk/; revision=20588
2006-01-05 20:57:29 +00:00
Ged Murphy e90331cf71 - Fix local xml file (thanks to Christoph for spotting this)
- Add to dir the build

svn path=/trunk/; revision=20587
2006-01-05 20:13:06 +00:00
Ged Murphy 34e46abf35 - Start to put together a services.msc equivalent.
- mmc.exe is probably a long way off, thus mmc snap-ins will be too. This will suffice until then. Most of the code should be transferable.

svn path=/trunk/; revision=20586
2006-01-05 18:04:46 +00:00
Maarten Bosma a61ec9018b Add !error command which checks NtStatus, Winerror and hResult.
svn path=/trunk/; revision=20585
2006-01-05 17:52:39 +00:00
Royce Mitchell III 9edfccb5e4 fix build in unspecified build environment - patch by Reuben Perelman <reub2000@earthlink.net>
svn path=/trunk/; revision=20584
2006-01-05 16:35:08 +00:00
Royce Mitchell III cfbb45181b fix msvc6 warnings
svn path=/trunk/; revision=20583
2006-01-05 16:32:49 +00:00
Alex Ionescu c1cfa41da9 - Tabs not spaces.
svn path=/trunk/; revision=20582
2006-01-05 16:30:20 +00:00
Alex Ionescu ac8dc76322 - Uncondtionally build with optimizations (can still be disabled by commenting out the block locally; is this easy enough Ge?)
svn path=/trunk/; revision=20581
2006-01-05 16:25:44 +00:00
Alex Ionescu 300da88aff - New ERESOURCE implementation: fixes the return value of some functions (VOID vs NTSTATUS, USHORT vs ULONG), as well as optimized the code loops and general structure of the code. Additionnaly, functions do not simply call other functions with similar names; the exact implementation of each function has now been properly separated (see the DDK for more information on this) to have the most optimized scenarios.
- Also, the spinlock is not actually acquired on non-SMP builds; instead, interrupts are blocked and unblocked for acquire/release, this optimizes locking.
- Added many asserts and bugcheck scenarios.
- Added thread priority boosting.
- Added some debugging helpers and deadlock detection.
- Added RESOURCE_NOT_OWNED bugcehck message.
* Thanks again to Waxdragon (Andrew) for testing this build.

svn path=/trunk/; revision=20580
2006-01-05 16:24:32 +00:00
Alex Ionescu 444bb36f82 - Change dispatcher lock release to be more like documented in Windows Internals II and to allow an easier move to Queued Spinlock.
svn path=/trunk/; revision=20579
2006-01-05 15:32:08 +00:00
Casper Hornstrup f881f51fdf Identify TechBot to allow private messages
svn path=/trunk/; revision=20578
2006-01-05 15:29:08 +00:00
Alex Ionescu 6f136848b2 - Fix build.
svn path=/trunk/; revision=20577
2006-01-05 15:17:54 +00:00
Alex Ionescu 8ca886843a - Disable commented out define-check which i had only commented to check building.
svn path=/trunk/; revision=20576
2006-01-05 13:59:11 +00:00
Alex Ionescu 93d0b2ac85 - Separate UP and MP spinlock functions.
- Optimize UP spinlock functions so they don't call ntoskrnl anymore and only raise/lower irql.
- Implemented Queued Spinlocks and In-Stack Queued Spinlocks for UP machines.
* Implemented KeAcquireInStackQueuedSpinLock, KeReleaseInStackQueuedSpinLock, KeAcquireQueuedSpinLock, KeReleaseQueuedSpinLock, KeTryToAcquireQueuedSpinLock, KeTryToAcquireQueuedSpinLockRaiseToSynch, KeAcquireQueuedSpinLockRaisetoSynch.

svn path=/trunk/; revision=20575
2006-01-05 13:51:06 +00:00
Hervé Poussineau ca735d261c Add some exports to ntdll
svn path=/trunk/; revision=20574
2006-01-05 13:40:05 +00:00
Alex Ionescu 5bba25c90e - Implemented Queued and In-Stack Queued Spinlocks (at DPC-Level). See "Windows Internals II" Chapter 4, Pages 25-27.
svn path=/trunk/; revision=20573
2006-01-05 13:12:48 +00:00
Hartmut Birr 4c4d352a5e KefReleaseSpinLockFromDpcLevel needs the address of a spinlock and not its value.
svn path=/trunk/; revision=20572
2006-01-05 12:48:33 +00:00
Hervé Poussineau b71ffe4703 Add prototypes for Nt/ZwReplyWaitReceivePortEx, Nt/ZwImpersonateAnonymousToken
svn path=/trunk/; revision=20571
2006-01-05 12:27:03 +00:00
Gé van Geldorp a41bad3ee5 - Disable NtQuerySecurityObject for now
- Add some registry entries for TinyWeb (patch by Dr.Fred)
Fixes 1214

svn path=/trunk/; revision=20570
2006-01-05 09:22:09 +00:00
Alex Ionescu caa14fa66e Fix stack corruption. Thanks to Waxdragon and the fact he uses an -O2 build (hint hint nudge nudge)
svn path=/trunk/; revision=20569
2006-01-05 06:24:07 +00:00
Alex Ionescu 5e6fa26231 - Optimized the dispatcher lock. It is now gone on non-SMP systems and IRQL is raised or lowered instead.
- Made inlined functions in ke/wait.c macros, because they weren't being inlined.
- Created separate cases for satisfying mutant, non-mutant and generic objects, to optimize wait satisfaction.
- Fixed some places which werne't setting the dispatcher header's size member correctly.
- Fixed formatting in ke/wait.c
- Fixed a case in KiCheckAlertability: we also need to check if the thread is alerted in Kernel-Mode, even if the wait mode given was user and user-mode is not alerted.
- Fixed signaling checks across the wait code and removed KiCheckIfObjectSignaled. We must not consider the mutant as signaled if SignalState is = 1.
- Fix code to check if the wait blocks' status is STATUS_TIMEOUT, because we do not need to check for signal state in that case.
- Removed the exports for internal dispatcher lock routines.


** Thanks to Waxdragon for stress-testing this for an hour :)

svn path=/trunk/; revision=20568
2006-01-05 04:26:55 +00:00
Magnus Olsen f58996b3e9 fix new strechblt code for dib32, left todo dib1, dib4, dib24
svn path=/trunk/; revision=20567
2006-01-05 01:49:00 +00:00
Alex Ionescu 1ca93c8a41 - fix build on dbg=0. Thanks to Andrew
svn path=/trunk/; revision=20566
2006-01-05 00:56:44 +00:00
Gé van Geldorp afb3a84621 Avoid using uninitialized variables
svn path=/trunk/; revision=20565
2006-01-04 23:48:15 +00:00