Commit Graph
49097 Commits
Author SHA1 Message Date
Johannes Anderwald 8ee7ad7bcb - debug code for bug 6663
svn path=/trunk/; revision=54571
2011-12-03 13:55:07 +00:00
Cameron Gutman 75bfaddc5e [LIBWINE]
- Try to fix build

svn path=/trunk/; revision=54570
2011-12-03 11:36:30 +00:00
Cameron Gutman 5c0462dfe2 [NTOSKRNL]
- Use SEH when copying values back to the caller from NtFreeVirtualMemory

svn path=/trunk/; revision=54569
2011-12-03 11:18:18 +00:00
Christoph von Wittich 5ab217133c [psdk]
add missing files

svn path=/trunk/; revision=54568
2011-12-03 11:08:05 +00:00
Christoph von Wittich 7a4e87f841 [libwine]
add register.c to CMakeLists.txt as well

svn path=/trunk/; revision=54567
2011-12-03 11:03:45 +00:00
Christoph von Wittich adc5bbe1ae [libwine]
add wine dll registration functions to libwine (taken from winecrt0)

TODO: support for linking multiple res files
      rbuild/cmake: generating .rgs files from typelibs

svn path=/trunk/; revision=54566
2011-12-03 10:45:26 +00:00
Cameron Gutman b3c3a8b9ea [NTOSKRNL]
NtFreeVirtualMemory:
- Handle the case where a region size of 0 is passed in
- Return the correct error status for failure
- Copy back the rounded values
- Add checks and prints to catch callers doing nasty things  (one is commented out because csrsrv triggers it trying to release the first 1 MB of RAM during video init, not sure what to do there)

- There is a heap bug where calling RtlReAllocateHeap on a large block allocation (HEAP_ENTRY_VIRTUAL_ALLOC is set) will cause a call to NtFreeVirtualMemory with an offset base (illegal) and a length smaller than the total pages reserved in the VM region (also illegal). This bug is exposed by setupapi when it parses large INF files (like the PRO/1000 driver INF).

svn path=/trunk/; revision=54565
2011-12-03 10:30:02 +00:00
Sylvain Petreolle 164b6995a0 Fix typo.
svn path=/trunk/; revision=54564
2011-12-02 21:28:10 +00:00
Sylvain Petreolle ca78c02783 [CRT]
Normalize all crt dll entry points to be identical.
Implement a single per thread data structure, instead of ancient and incomplete
"wine port" hack and use it everywhere.
Remove completely unused HeapCreate calls that just wasted memory.
Update cpp.c and cppexcept.c to wine 1.3.33
Fix up strtok, wcstok, rand, and _beginthread_trampoline according to wine.
Add place holders for future locale stuff.

Patch by Samuel Serapion.

svn path=/trunk/; revision=54563
2011-12-02 21:18:42 +00:00
Johannes Anderwald 38734d95d1 - add debug code for handling bug 6663
svn path=/trunk/; revision=54562
2011-12-02 17:35:53 +00:00
Cameron Gutman 9bcecdfc3c [LWIP]
- Save a bit of memory by changing the way pbufs are allocated for transmission

svn path=/trunk/; revision=54561
2011-12-02 06:55:05 +00:00
Cameron Gutman 857e528264 [NDIS]
- Print miniport attribute flags

svn path=/trunk/; revision=54560
2011-12-02 03:21:21 +00:00
Cameron Gutman 77ed514f64 [NDIS]
- Implement NdisReturnPackets and do proper reference tracking of packets sent to ProtocolReceivePacket
- Plug a massive memory leak that resulted in leaking every packet descriptor that any deserialized miniport indicated to TCP/IP

svn path=/trunk/; revision=54559
2011-12-02 01:56:10 +00:00
Cameron Gutman f5fda30d65 [NDIS]
- Call FreeCommonBuffer() synchronously if we're running at PASSIVE_LEVEL to avoid cases where the miniport could be freed before the work item runs

svn path=/trunk/; revision=54558
2011-12-01 23:04:22 +00:00
Cameron Gutman 0cc9adb789 [NDIS]
- Make NdisMAllocateSharedMemoryAsync and NdisMFreeSharedMemory safe to call at IRQL <= DISPATCH_LEVEL

svn path=/trunk/; revision=54557
2011-12-01 22:31:54 +00:00
James Tabor eb9eb149da [Win32k|User32]
- Fix regressions, running RegEdit. Adding more support for scroll bar controls. Pass all but 7 tests including the two wine todos.

svn path=/trunk/; revision=54556
2011-12-01 12:42:05 +00:00
James Tabor c156702b26 [Win32k|User32]
- Fix scrollbar class support. Sync ports from wine. Added the window scroll structure to the class. Pass all but 15 tests, two are wine todos lines 304 and 343.

svn path=/trunk/; revision=54555
2011-12-01 03:20:02 +00:00
Pierre Schweitzer b1b439d600 [MSVCRT_APITEST]
Add MSDN example

svn path=/trunk/; revision=54554
2011-11-30 23:47:41 +00:00
Cameron Gutman be25cf73ff [NDIS]
- Fix parsing of hex strings

svn path=/trunk/; revision=54553
2011-11-30 22:27:14 +00:00
Pierre Schweitzer 054f2fe7ce [CRT]
Fix error handling for j0, j1, y0, y1 Bessel functions.
Remove useless defines

svn path=/trunk/; revision=54552
2011-11-30 22:04:54 +00:00
Cameron Gutman 5a339d9479 [NTOSKRNL]
- Only flush pages if we can't satisfy Mm's target without using dirty pages

svn path=/trunk/; revision=54551
2011-11-30 21:58:46 +00:00
Pierre Schweitzer 12c5843d21 [MSVCRT_APITEST]
Add more tests

svn path=/trunk/; revision=54550
2011-11-30 21:03:35 +00:00
Cameron Gutman f9794fddef [NTOSKRNL]
- Optimize CcRosTrimCache by eliminating an extra loop of all segments
- Allow swapping of dirty segments by flushing them first

svn path=/trunk/; revision=54549
2011-11-30 17:10:43 +00:00
Thomas Faber 246357c187 [NTDLL_APITEST]
- Add NtAllocateVirtualMemory test, which is a small stress test for virtual memory allocation/freeing/reuse
- Can be used to reproduce bug 5857 in third stage (install with VT-x enabled, then disable for the test)
- Shows that the bug is a race condition in Mm, and not heap's fault
- I've put ASSERTs instead of ok's for easier debugging

svn path=/trunk/; revision=54548
2011-11-30 17:00:23 +00:00
Rafal Harabien 487b1bdaec [SHELL32] - Restore functionality of Start Menu from old shell32
svn path=/trunk/; revision=54547
2011-11-30 12:21:27 +00:00
Rafal Harabien f0fd524b40 [EXPLORER-NEW] - Improve start menu initialization a bit so it shows what failed
svn path=/trunk/; revision=54546
2011-11-30 12:20:08 +00:00
Dmitry Gorbachev a2b753d441 [SsStars]
Update Starfield screensaver translations (bug #6270):
- Polish by Wojtek Kozlowski <=wojtekkozlo664=AT=op=DOT=pl=>;
- Russian by Evilslon <=evilslon=AT=mail=DOT=ru=>.

svn path=/trunk/; revision=54545
2011-11-30 11:27:50 +00:00
Cameron Gutman ad13fe7571 [NTOSKRNL]
- Many balancer fixes for concurrency, improved swapping efficiency, and reduced code duplication
- Move the low memory case back under the PFN lock
- Debugging is on for now because I don't trust the paging code all that much (it was not used very much until recently)

svn path=/trunk/; revision=54544
2011-11-29 23:59:25 +00:00
Rafal Harabien d6462341ba [SHLWAPI] - Add a diff file
svn path=/trunk/; revision=54543
2011-11-29 19:30:50 +00:00
Rafal Harabien 5d73fe256d [SHLWAPI] - PathIsUNC returns FALSE for paths starting with "\\?". Should be sent to wine.
svn path=/trunk/; revision=54542
2011-11-29 19:10:22 +00:00
Cameron Gutman 73bbc7c1e6 [NTOSKRNL]
- Call MmReleasePageMemoryConsumer with the consumer that was actually allocated (not always MC_CACHE)

svn path=/trunk/; revision=54541
2011-11-29 19:08:19 +00:00
Cameron Gutman ff37949679 [NTOSKRNL]
- Always trim at least MiMinimumPagesPerRun for each call to MiTrimMemoryConsumer to reduce cache thrashing

svn path=/trunk/; revision=54540
2011-11-29 18:32:23 +00:00
Cameron Gutman 832bc7ab3f [NTOSKRNL]
- Revert part of r54530
- Try to rebalance RosMm's pages if we're low on memory in ARM3
- ROS runs with 48 MB RAM again (but setup is very slow due to horrendous paging caused by cache pollution)

svn path=/trunk/; revision=54539
2011-11-29 18:03:09 +00:00
Rafal Harabien de008de9a4 [SHELL32]
- Make functions in folder_options.c static
- Register FolderOptions using folderoptions.rgs

svn path=/trunk/; revision=54538
2011-11-29 17:29:57 +00:00
Cameron Gutman 27588824f0 [NTOSKRNL]
- Don't signal the balancer from within the balancer
- Optimize usage of the balancer a bit so we don't have to wait on it as much

svn path=/trunk/; revision=54537
2011-11-29 17:05:56 +00:00
Alex Ionescu c0fa34f162 [KERNEL32]: Write out the 3 internal APIs which will do path resolution, and define the structures that determine the search path order which each one will use. No functional change.
svn path=/trunk/; revision=54536
2011-11-29 15:04:31 +00:00
Dmitry Gorbachev 267dcf71eb [SOLITAIRE]
Change "Ok/Cancel" to "Yes/No". Lee Schroeder (=spaceseel=AT=gmail=DOT=com=), bug #6606.

[CPL][WIN32K]
Fix indentation, comments, debug messages. 
Lioncash (=mathew1800=AT=gmail=DOT=com=), bug #6562, bug #6621.

svn path=/trunk/; revision=54535
2011-11-29 14:55:58 +00:00
Cameron Gutman 62e97bd800 [NTOSKRNL]
- Fix a potential infinite loop in MmTrimUserMemory if we can't page out enough pages to meet the balancer's target

svn path=/trunk/; revision=54534
2011-11-29 08:13:56 +00:00
Dmitry Gorbachev f6817e04bc [TRANSLATION]
MSPaint:
- Add Swedish translation by Michael Wu (bug #6695).
- Sync all translation files with American English file (bug #6700).

svn path=/trunk/; revision=54533
2011-11-29 07:01:37 +00:00
Cameron Gutman 8e44e89646 [NTOSKRNL]
- Don't remove pages with references left from the user PFN bitmap
- Patch by Nikolay Myltsev

svn path=/trunk/; revision=54532
2011-11-29 06:51:37 +00:00
Cameron Gutman 63db6b034d [NTOSKRNL]
- Add missing user PFN bitmap locking in MmRemoveLRUUserPage

svn path=/trunk/; revision=54531
2011-11-29 04:22:51 +00:00
Cameron Gutman 11b737b0e8 [NTOSKRNL]
- Remove a superfluous user LRU insertion and removal
- Add a missing user LRU insertion

svn path=/trunk/; revision=54530
2011-11-29 03:24:03 +00:00
Rafal Harabien 6f7115b541 [SHELL32]
- Display file size in bytes in file properties dialog
- Don't use ULONGLONG if ULONG is enough
- Change LARGE_INTEGER to ULARGE_INTEGER where it makes sense
- Fix calculation of file size in CountFolderAndFiles
- WM_GETTEXT receives size in bytes (not characters count)
- Use Get(Set)DlgItemTextW instead of SendDlgItemMessageW
Patch by Carlo Bramix. Improvements by me.
See issue #6294 for more details.

svn path=/trunk/; revision=54529
2011-11-28 21:54:45 +00:00
Aleksey Bragin e86ebe01cc [NTOS]
- Nikolay Myltsev: Fix incorrect balancer thread id check.
See issue #5857 for more details.

svn path=/trunk/; revision=54528
2011-11-28 19:53:38 +00:00
Rafal Harabien f88bacce5d [SHELL32]
- Use string IDs from rgs files
- Improve Polish translation

svn path=/trunk/; revision=54527
2011-11-28 11:21:15 +00:00
Rafal Harabien 4e112e9bee [SHELL32]
- Improve Polish translation of Folder Options
- Fix Start Menu folder having name "Menu" in Polish translation

svn path=/trunk/; revision=54526
2011-11-28 10:46:11 +00:00
Rafal Harabien 32a3103174 [CALC] - Fix buttons misalignment. Patch by Fulea Stefan.
svn path=/trunk/; revision=54525
2011-11-28 10:32:48 +00:00
Rafal Harabien fc608fe00a [DESK] - Improve Polish translation
svn path=/trunk/; revision=54524
2011-11-28 10:22:27 +00:00
Rafal Harabien 5031e72c6a [SHELL32] - Don't fail if Shell folder cannot be created. This way shell registers more folders on LiveCD.
svn path=/trunk/; revision=54523
2011-11-28 10:01:24 +00:00
Rafal Harabien 5ea66e831b [LIVECD] - Add registration to LiveCD. Fixes #6597, #6613 and probably some more
svn path=/trunk/; revision=54522
2011-11-28 09:53:01 +00:00