Commit graph

7828 commits

Author SHA1 Message Date
Timo Kreuzer fae2044a23 [CMAKE]
Integrate cmake stuff into trunk
Only files added.

svn path=/trunk/; revision=51783
2011-05-16 13:12:07 +00:00
Timo Kreuzer e89305e733 [STLPORT]
Copy stlport from cmake branch 3/3

svn path=/trunk/; revision=51780
2011-05-16 12:58:52 +00:00
Timo Kreuzer 1eeb11da5f [STLPORT]
Copy stlport from cmake branch 2/x

svn path=/trunk/; revision=51779
2011-05-16 12:58:06 +00:00
Timo Kreuzer 0c89aac1da [STLPORT]
Copy stlport from cmake branch 1/x

svn path=/trunk/; revision=51778
2011-05-16 12:54:24 +00:00
Ged Murphy da49a2ee6d [ATL]
- Add DECLARE_NO_REGISTRY
- Fix invalid pointer use and add an overloaded assignment operator in CComDynamicUnkArray
- Add UpdateWindow to the CWindow class
- Add missing error checks
Changes by Andrew Hill <ash77 at reactos dot org>

svn path=/trunk/; revision=51763
2011-05-15 14:40:53 +00:00
Jérôme Gardou b5f0e8d7a8 Revert something that shouldn't have been committed in 51757
svn path=/trunk/; revision=51758
2011-05-15 12:38:35 +00:00
Jérôme Gardou 2b1ae1aaa4 [RTL/HEAP]
Commit some stuff reviewed by aleksey long ago
  - get rid of LastEntryInSegment in HEAP_SEGMENT struct
  - Simplify code for page commit
  - Simplify code for splitting entries

svn path=/trunk/; revision=51757
2011-05-15 12:20:44 +00:00
Timo Kreuzer c016e5d41e [CRT]
- Implement __chkstk_ms for x86 and amd64
- amd64 code is based on code by Kai Tietz and Richard Henderson
- x86 code is based on old __chkstk implementation and code by Kai Tietz and Richard Henderson
- Function is required by newer gcc versions

svn path=/trunk/; revision=51747
2011-05-14 19:12:09 +00:00
Timo Kreuzer a4a5b0c6d3 [LIBXML2]
Fix compilation with MSVC

svn path=/trunk/; revision=51726
2011-05-14 11:15:51 +00:00
Timo Kreuzer fb553406c9 [CRT]
Merge r51273 from cmake branch:
The crt library must provide a and w version of the functions and not rely to _UNICODE being set or not

svn path=/trunk/; revision=51713
2011-05-13 20:21:58 +00:00
Timo Kreuzer 1034d441f3 [CRT]
Merge r50693 from cmake banch:
_CxxThrowException is stdcall, not cdecl.

svn path=/trunk/; revision=51707
2011-05-13 19:37:49 +00:00
Amine Khaldi 2bad78f216 * Reduce difference to the cmake branch, MSVC fixes.
svn path=/trunk/; revision=51702
2011-05-13 17:16:08 +00:00
Gabriel Ilardi 0b6d767a29 [LIBXML2]
- Update to version 2.7.8. Patch by Carlo Bramini.
- Installed and booted successfully to the desktop. Tested
abiword 2.6.4 and FF 2.0.0.20.

See issue #4988 for more details.

svn path=/trunk/; revision=51577
2011-05-04 15:48:34 +00:00
Timo Kreuzer 8d7e24af8f [FREETYPE]
Add freetype/freetype_ros.diff
See r46246

svn path=/trunk/; revision=51543
2011-05-02 09:53:03 +00:00
Timo Kreuzer 341e9e4d23 [FREETYPE]
Sync to version 2.4.4

svn path=/trunk/; revision=51542
2011-05-02 09:43:01 +00:00
Amine Khaldi dd8253dc8c [CRT/MINGW-W64]
* Reorganize dll entry and C runtime initialization. By Kai Tietz.

svn path=/trunk/; revision=51504
2011-04-30 14:26:21 +00:00
Amine Khaldi e9b2fe6591 [CRT/MINGW-W64]
* Call pei and __main before possible invocation of DllEntryPoint. By Kai Tietz.

svn path=/trunk/; revision=51458
2011-04-25 21:55:41 +00:00
Johannes Anderwald 2e7e8bb0f6 [MMIXER]
- Merge 50674 to trunk:
- Allocate memory for the logical pin array
- Use the correct counter variable for logical pin array
- Found by msvc
See issue #6143 for more details.

svn path=/trunk/; revision=51455
2011-04-25 20:34:41 +00:00
Timo Kreuzer 3b11a6bdbc [CRT]
Fix a typo in a comment

svn path=/trunk/; revision=51418
2011-04-21 21:49:46 +00:00
Gregor Schneider 7037613d3d [cardlib] Install a button release callback
[spider] Use the button release callback instead of button click callbacks
See issue #6125 for more details.

svn path=/trunk/; revision=51416
2011-04-21 21:25:30 +00:00
Matthias Kupfer 7ce75cdf13 fix accidentally set property svn:executable
svn path=/trunk/; revision=51374
2011-04-17 09:50:07 +00:00
Aleksey Bragin 1b2e00d581 [RTL]
- If there is no data provided and parameters are valid, fail with STATUS_SXS_KEY_NOT_FOUND.

svn path=/trunk/; revision=51339
2011-04-14 12:20:47 +00:00
Aleksey Bragin 9561880163 [RTL]
- Properly check parameters in RtlFindActivationContextSectionString. Almost the same as Wine did, but factored out into a standalone function, improved undocumented flags checks and allowing null data pointer in certain cases.

svn path=/trunk/; revision=51333
2011-04-14 09:57:08 +00:00
Aleksey Bragin a6586c33b1 [NTDLL]
- Fix incorrect prototypes and partially implement fast unsafe versions of activation context activation/deactivation, however disable them for now, until the new loader is in place.
- Fix their usage in the new loader code, which by mistake (which got copypasted into three other places) was passing a totally empty activation context to the activate function.

svn path=/trunk/; revision=51281
2011-04-08 17:49:49 +00:00
Ged Murphy 4c2b7d67a1 [FULLFAT]
- Add the kernel APIs required by the library

svn path=/trunk/; revision=51241
2011-04-03 16:22:15 +00:00
Ged Murphy d7899fc474 [FULLFAT]
- Fix warnings for both msc and rbuild
- These fixes will be applied to the FullFat source too, so I've not bothered with a local ros.diff

svn path=/trunk/; revision=51234
2011-04-02 18:12:31 +00:00
Ged Murphy 271454653d [FULLFAT]
- Update FullFat to the latest SVN code on James' recommendation.
- This release has many advantages over the previous, including full UTF-8 and UTF-16 support and the ability to modify attributes and timestamps. All of which are important for ros.
- It currently has a few warnings (in both gcc and msc), so I've had to turn allow warnings on.

svn path=/trunk/; revision=51229
2011-04-02 16:31:43 +00:00
Ged Murphy 91e657f782 {FULLFAT]
- Update FullFat to the latest stable release (1.0.5)
- I'm awaiting a reply from James as to when 1.1.0 will be released as it have some nice improvements.

svn path=/trunk/; revision=51227
2011-04-02 15:22:48 +00:00
Aleksey Bragin 6771858659 [RTL]
- Turn off LdrVerifyMappedImageMatchesChecksum() verification for now. (should have been part of r51192).

svn path=/trunk/; revision=51193
2011-03-29 11:00:34 +00:00
Aleksey Bragin 4fb00286d5 [RTL/HEAP]
- Thomas Faber: Use macro instead of manually removing item from the list.
See issue #6016 for more details.

svn path=/trunk/; revision=51119
2011-03-22 16:27:41 +00:00
Aleksey Bragin 6fc1e4e122 [RTL]
- Limit unimplemented warnings about RtlActivateActivationContextUnsafeFast calls for now so that they don't flood the log too much.

svn path=/trunk/; revision=51083
2011-03-17 14:24:34 +00:00
Roel Messiant 64c7077d57 [GENERAL]
Patch by Rafal Harabien (rafalh1992 at o2 dot pl)
- Change () to (VOID) in function declarators. Part 6/XX.
[USETUP]
Patch by Rafal Harabien (rafalh1992 at o2 dot pl)
- Initialize Offset field of partition list. Spotted using DPH.

svn path=/trunk/; revision=51072
2011-03-16 21:07:25 +00:00
Aleksey Bragin 8f7c38cd44 [RTL]
- Hack away LdrVerifyMappedImageMatchesChecksum() invocations with zero ImageSize until MM is fixed.
- Implement a helper ChkSum() routine to be used later by LdrVerifyMappedImageMatchesChecksum().

svn path=/trunk/; revision=51061
2011-03-16 11:58:12 +00:00
Aleksey Bragin c396511623 [RTL]
- Implement LdrVerifyMappedImageChecksum (copied from ntdll/ldr/utils.c).

svn path=/trunk/; revision=51059
2011-03-16 09:49:07 +00:00
Colin Finck 7ffb757e8b [CRT]
- Revert 38185 which synced fputwc to the Wine version for the sake of fixing Winetests.
  This removed the implicit ANSI conversion, which was honestly checking the wrong flags. The new version correctly checks for WX_TEXT and only does the conversion in this case. This way we also don't fail any additional Winetests.
- Simplify streamout_char in the new printf implementation and use _fputtc instead of _flsbuf.
  This way, we correctly do an implicit ANSI conversion when required.
- Fix fgetwc declaration.

Thanks to Timo for many hints and assistance. Most of this code is actually his idea :-)
Thanks to Olaf for providing a build server to speed up my code tests.

See issue #6007 for more details.

svn path=/trunk/; revision=51058
2011-03-15 23:45:38 +00:00
Timo Kreuzer 031e55222a [CRT]
Patch by Thomas Faber: Fix nt version of mbstowcs.

See issue #5983 for more details.

svn path=/trunk/; revision=51003
2011-03-09 15:29:13 +00:00
Roel Messiant 6b1af86bde [HEAP]
- RtlpInsertUnCommittedPages: Don't rely on linked list data in an UCR Descriptor after destroying it.
  No functionality change because the linked list data was still "as expected", but not something we want to rely on.
- RtlpCreateUnCommittedRange: Fix a typo that caused the head of UCR Segment list of the Heap to be treated as an UCR Segment header.
  Side effects of the typo: When this list wasn't empty, the (fake) UCR Segment it described was grown to contain more UCR descriptors.
  Due to the data involved, this always happened to be the initial Heap Segment, which contains the Heap Header.
  Writing the new UCR descriptors caused the Heap Header and trailing Heap Entries to be partially corrupted.

svn path=/trunk/; revision=50978
2011-03-06 00:37:10 +00:00
Jérôme Gardou ab803f82ce [RTL]
- Fix compilation when NDEBUG is not defined

svn path=/trunk/; revision=50966
2011-03-04 03:42:38 +00:00
Aleksey Bragin 97d2212a19 [RTL/PATH]
- Update path.c code to Wine 1.3.14. Fixes a buffer overwrite happening in RtlDosSearchPath_U() when invoked by "shell32_winetest.exe shlexec".
- RtlDosPathNameToNtPathName_U remains unsynced.
- Author names added to the header of the file.
See issue #5964 for more details.

svn path=/trunk/; revision=50954
2011-03-02 11:42:30 +00:00
Aleksey Bragin ccebf72731 [RTL/HEAP]
- A few comments, and a new structure definition (currently unused). Absolutely no changes to the actual code.

svn path=/trunk/; revision=50927
2011-02-27 19:36:46 +00:00
Aleksey Bragin 66707243f0 [RTL/DPH]
- Fix wrong pointer comparison in RtlpDebugPageHeapFree(). Should check for NULL pointer freeing, instead of checking for NULL heap pointer.

svn path=/trunk/; revision=50898
2011-02-25 14:13:10 +00:00
Johannes Anderwald c50e27e4bf [MMEBUDDY]
- Store the internal state if an audio stream has been stopped
- Construct a thread when WODM_RESTART is received. This thread then triggers performs a callback to the wave thread, which finally restarts playback
- Only start the wave thread when playback is active (not paused by WODM_PAUSE)
- Fixes playback in Winamp 5.601 despite graphical issues
- Tested in Vbox 4.0 + 512MB RAM + Winamp 5.601

svn path=/trunk/; revision=50897
2011-02-25 14:10:31 +00:00
Aleksey Bragin 8383b6b33d [RTL/DPH]
- Implement ValidateHeap API for DPH. Fixes attempts to validate DPH as a normal heap.

svn path=/trunk/; revision=50892
2011-02-24 12:59:52 +00:00
Aleksey Bragin 947127151c [RTL/DPH]
- Implement user flags/values and HeapSize APIs in debug page heap (nearly the same code in all three functions). With these done, DPH core features are complete. Some debugging is still needed.

svn path=/trunk/; revision=50888
2011-02-24 09:40:07 +00:00
Aleksey Bragin e5d92f833a [RTL/DPH]
- Implement DPH version of ReAllocateHeap. Scenario of falling back to normal heap is stubbed everywhere now.
- Fix a bug in POINTER_ADD_BIAS which noone noticed.

svn path=/trunk/; revision=50872
2011-02-23 11:08:37 +00:00
Timo Kreuzer e9b58620aa [CRT]
Fix special behaviour of wsprintf: when used with # flag, the "0x" prefix does not count into the field width, so we have to add additional 2 characters here. Fixes Opera installer.
See issue #5900 for more details.

svn path=/trunk/; revision=50866
2011-02-22 17:29:32 +00:00
Timo Kreuzer 39a0c140c2 [CRT]
Improve _getdrive and _tchdir. Patch by devpao (devotip at tiscali dot it), small formatting change by me.
See issue #5848 for more details.

svn path=/trunk/; revision=50861
2011-02-21 23:11:53 +00:00
Aleksey Bragin e9af1d723f [RTL/DPH]
- Implement heap free operation using already implemented busy/free/available/unused lists support and other base routines.
- Implement missing place to free list and remove from busy list routines.
- Implement find busy block routine (using AVL tree).
- Fix a bug in RtlpDphCoalesceNodeIntoAvailable() which resulted in unwanted attempt to merge the only node with itself (which failed anyway).
- Fix a bug in RtlpDphCoalesceNodeIntoAvailable() which incorrectly removed a node from available list (which is implemented as a standard NT double-linked list, compared to unused and free lists which are implemented as single-linked custom lists and busy list which is an AVL tree). Result of that bug was an infinite loop at the next attempt to traverse the list of available nodes.
- In RtlpDphCoalesceFreeIntoAvailable() break when FreeAllocations becomes less than LeaveOnFreeList (before it would break 1 size too early).
- Fix list traversal in RtlpDphSearchAvailableMemoryListForBestFit(). If it couldn't find a node, it would return the last node in the list instead of NULL.
- In RtlpDphFindAvailableMemory(), a new smaller size should be 4 times smaller, not just 2. 
- Add a #if0-ed section in RtlpDphRemoveFromAvailableList which checks if a request to remove node not in the list performed. Used only for debugging.
- Add a trace dprint to every type of list insert/removal operation for easier tracking.
- Add break on NULL ptr freeing support.
- RtlpDphSetProtectionAfterUse() is stubbed and protection is set directly in RtlpDphHeapFree(). To be moved into this function.

svn path=/trunk/; revision=50860
2011-02-21 22:42:21 +00:00
Aleksey Bragin 70fcc31092 [RTL/AVL]
- Zero out contents of a newly allocated AVL table node.

svn path=/trunk/; revision=50855
2011-02-21 13:33:13 +00:00
Amine Khaldi 45efecf8e0 [RTL]
- Silence this dprint. It's flooding the debug log.

svn path=/trunk/; revision=50854
2011-02-21 09:12:43 +00:00