Commit graph

37683 commits

Author SHA1 Message Date
Stefan Ginsberg d8d66829d7 - Make ks and portcls compile under msvc
svn path=/trunk/; revision=42208
2009-07-25 14:06:06 +00:00
Stefan Ginsberg ac4633793f - Make most of the the video stack compile with msvc
svn path=/trunk/; revision=42206
2009-07-25 13:15:22 +00:00
Stefan Ginsberg 87b36d171a - Make mp HAL MSC compatible
svn path=/trunk/; revision=42205
2009-07-25 11:44:27 +00:00
Stefan Ginsberg 23abd61d3e - Fix some kernel MSC compilation issues:
- ShutdownThreadMain: Define SMP-only variables compatibly
- MmArmInitSystem: Define MiNonPagedPoolStart and MiNonPagedPoolLength externs compatibly
- KdbpCallMainLoop: Add VOID to parameter list

svn path=/trunk/; revision=42204
2009-07-25 11:43:48 +00:00
Aleksey Bragin 21777b7cab - Create a solid black brush for background color of a ConsoleWindowClass.
svn path=/trunk/; revision=42202
2009-07-25 10:24:41 +00:00
Dmitry Chapyshev d86c7f9de6 - Implement capCreateCaptureWindowA and capGetDriverDescriptionA (based on Wine code)
svn path=/trunk/; revision=42198
2009-07-25 09:41:17 +00:00
Dmitry Chapyshev 3b72642a0a - Add avicap32 (stubs only)
- Add mfc42u.dll, msvbvm50.dll, msvbvm60.dll, msvcirt.dll optional entries to reactos.dff

svn path=/trunk/; revision=42197
2009-07-25 09:28:18 +00:00
Dmitry Gorbachev b2085629b4 Do not fail when compiling with GCC 4.4.1
svn path=/trunk/; revision=42196
2009-07-25 09:24:30 +00:00
Dmitry Gorbachev 16aca3f92f Add / update Czech translations. Radek Liska. Bugs #4707 and #4708.
svn path=/trunk/; revision=42195
2009-07-25 09:18:52 +00:00
Dmitry Gorbachev 5687429f69 Undo part of r42190. Sorry.
svn path=/trunk/; revision=42194
2009-07-25 07:59:18 +00:00
Dmitry Gorbachev 6e31a0dd00 Fix some bugs, reported by GCC.
svn path=/trunk/; revision=42193
2009-07-25 07:42:15 +00:00
Dmitry Gorbachev 4deef99ee8 Silence GCC warnings.
svn path=/trunk/; revision=42192
2009-07-25 07:41:42 +00:00
Dmitry Gorbachev 1e3f2b9732 - Declare iswblank() in wctype.h, not isblank().
- Add iswblank() to wchar.h, too.

svn path=/trunk/; revision=42191
2009-07-25 07:41:14 +00:00
Dmitry Gorbachev 1c413906b2 Fix "misrepresented license in FreeLDR", Robert Millan (rmh.reactos at aybabtu.com), bug #4673.
svn path=/trunk/; revision=42190
2009-07-25 07:40:39 +00:00
Dmitry Gorbachev 759abadd3d Do not fail with 'l' type modifier. Bug #4438.
svn path=/trunk/; revision=42189
2009-07-25 07:40:35 +00:00
Cameron Gutman adb1a3f3c8 ws2_32_new compatibility fixes
- Fix the rest of the code which was using errno instead of WSAGetLastError()
 - Remove some dead code

svn path=/trunk/; revision=42188
2009-07-25 02:28:11 +00:00
Cameron Gutman daba4d6880 ws2_32_new compatibility fixes
- Use Sleep() to wait when we have no interfaces because select() will fail and return without waiting
 - Use WSAGetLastError() instead of errno

svn path=/trunk/; revision=42187
2009-07-25 02:01:13 +00:00
James Tabor 1871ebd28c - Removed unused ppi pointer.
svn path=/trunk/; revision=42186
2009-07-25 01:42:04 +00:00
James Tabor 3ac2563fbb - [Win32k] More work on classes. ReactOS seems to return the opposite WinProc and sometimes it is a CallProcData handle. This is confusing the class wine tests. The last thing it should do is return CallProcData handle after attempting to find the right proc. Fixed message class bits. Moved CallProc to CallProcData and updated related code. Started alternate function to replace NtUserGetClassLong and NtUserGetWindowLong.
- Tested wine, Firefox 1.15.xx and AbiWord 2.6.8.

svn path=/trunk/; revision=42185
2009-07-25 00:41:22 +00:00
Cameron Gutman f9fe2ff6a8 - Add support for adapters added after DHCP is started
- Automatically request an IP address after an interface becomes ready (needed for DHCP support on WLAN adapters)

svn path=/trunk/; revision=42182
2009-07-24 21:06:20 +00:00
Cameron Gutman 15a5343ec1 - Implement OID_GEN_HARDWARE_STATUS
svn path=/trunk/; revision=42180
2009-07-24 20:49:39 +00:00
Dmitry Gorbachev 3c44feca52 - Turn a macro into an inline function to avoid a warning.
- Remove a stray acute accent.

svn path=/trunk/; revision=42179
2009-07-24 19:52:05 +00:00
Stefan Ginsberg e603692f33 - Leftover from 42176
svn path=/trunk/; revision=42178
2009-07-24 19:39:07 +00:00
Stefan Ginsberg dd85cb77ca - Kill off diskdump too
svn path=/trunk/; revision=42177
2009-07-24 19:09:39 +00:00
Stefan Ginsberg 00e30f7010 - Get rid of ccros.h, deprecated by revision 42175
svn path=/trunk/; revision=42176
2009-07-24 17:35:28 +00:00
ReactOS Portable Systems Group ab184fab15 - Remove deprecated/old/buggy/unused code.
- Make MxGetNextPage return the lowest free physical page, not the highest.
  - This way we fragment the address space less.
  - Also makes calculation of "forgotten" pages when we build the PFN database earlier.
- Remove MmAllocEarlyPage and use MxGetNextPage instead.

svn path=/trunk/; revision=42175
2009-07-24 15:49:27 +00:00
Timo Kreuzer ce0ed78587 - move delayimp.h to psdk
svn path=/trunk/; revision=42174
2009-07-24 11:29:54 +00:00
Dmitry Gorbachev f9341cafca Add missing license.
svn path=/trunk/; revision=42173
2009-07-24 10:52:49 +00:00
Timo Kreuzer 07203a50c1 [delayimp]
- move IndexFromPImgThunkData and PFromRva to delayimp.h
- use __ImageBase insetad of _image_base__
- fix include guard
- RVA is a DWORD, not a PVOID

svn path=/trunk/; revision=42172
2009-07-24 10:25:53 +00:00
Ged Murphy 9e27cfbe88 Add a missing mockup image
svn path=/trunk/; revision=42171
2009-07-24 07:44:51 +00:00
Timo Kreuzer 7fa58c4d87 Add license header (LGPL)
svn path=/trunk/; revision=42170
2009-07-24 04:30:09 +00:00
Timo Kreuzer ceff19824f Implement delayimp lib
This library will allow to delay import from dlls, if used together with the corresponding delayimport lib for that dll. An initial patch for dlltool can be found in bug #4730.
Based on Matt Pietrek's "Under the Hood" article: http://www.microsoft.com/msj/1298/hood/hood1298.aspx and msdn documentation.

svn path=/trunk/; revision=42169
2009-07-24 04:24:36 +00:00
James Tabor 9fd89d0e43 - [Win32k] More work on classes. Fixed SEH abuse and implemented NtUserGetWOWClass. Minor bug fixes and modifications that help function compatibility based on wine.
- Tested wine (some improvements and losses): Msi seems to be fixed, did not test before these changes. My guess is Jeffrey Morlan fixed it in 42163, so a Big Thank You!!! Tested Firefox 1.15.xx and AbiWord 2.6.8.

svn path=/trunk/; revision=42168
2009-07-24 01:03:11 +00:00
Ged Murphy 1a67e2e700 I always forget about RosBE ....
svn path=/trunk/; revision=42167
2009-07-23 22:11:06 +00:00
Johannes Anderwald ed9d21232d - fix clobering of stack in the event, property, method and start device routine
svn path=/trunk/; revision=42166
2009-07-23 21:48:47 +00:00
Ged Murphy 54d58cdb65 Draw the appropriate taskbar mockup image in the dialog when the user clicks the checkboxes
svn path=/trunk/; revision=42165
2009-07-23 21:35:52 +00:00
Johannes Anderwald 77a79fb006 - Add calling convention for callback typedefs
- Ros needs msvc!

svn path=/trunk/; revision=42164
2009-07-23 21:32:39 +00:00
Jeffrey Morlan 91de7b5fd3 LoadLibraryExW: After loading a library as a datafile, clean up properly (don't leak SearchPath, and don't free DllName if we didn't allocate it)
svn path=/trunk/; revision=42163
2009-07-23 20:48:43 +00:00
Stefan Ginsberg c3f828c7ee - Use the KiProcessorBlock array to loop the PRCBs in a portable way
svn path=/trunk/; revision=42162
2009-07-23 19:37:09 +00:00
Johannes Anderwald 15bec214b5 - Don't blame Arch, it was ks.h
svn path=/trunk/; revision=42161
2009-07-23 19:27:53 +00:00
Johannes Anderwald 4fdbdba1d9 [KS]
- Implement KsAcquireDevice, KsReleaseDevice, KsTerminateDevice
- Fix unimplemented tags
- Use double in spec for functions taking longlong arguments [[Colin Finck]]

svn path=/trunk/; revision=42156
2009-07-23 15:19:46 +00:00
Johannes Anderwald c2874dcc29 - Add types to unbreak build
- thanks dreimer

svn path=/trunk/; revision=42155
2009-07-23 14:18:22 +00:00
Johannes Anderwald 2227681545 - Add tons of stubs
- Add (existing) exported functions
- Ks mostly has now WinXP' ks exported functions

svn path=/trunk/; revision=42153
2009-07-23 13:13:45 +00:00
Cameron Gutman dff406bfd7 - Implement link speed and duplex detection
- Fix LED programming (we didn't set LEDPE so all our programming was ignored)
 - Add some other LED programming
 - Fixes bug 4703

svn path=/trunk/; revision=42152
2009-07-23 04:21:06 +00:00
James Tabor 194297c386 - [Win32k] More work on classes. Wine test drop to 35 failures from 52, now with the system class rewrite it is up to 42 failures. There is one User32 loaded so there is one User client Instance for this system. One System class per system not including Public (Global) or Private (Local) classes per process. Sorting continues.
- Tested wine (some improvements and losses), Firefox 1.15.xx and AbiWord 2.6.8.

svn path=/trunk/; revision=42151
2009-07-23 01:34:31 +00:00
Johannes Anderwald 1ad4db139c - Implement KsQueryObjectAccessMask, KsQueryObjectCreateItem
- Use KSQUEUE_SPINLOCK_IRP_STORAGE macro for access the stored spin lock

svn path=/trunk/; revision=42150
2009-07-23 00:47:21 +00:00
Johannes Anderwald db1215455b - Remove old irp queue implementation
- Implement KsCancelIo, KsReleaseIrpOnCancelableQueue, KsRemoveIrpFromCancelableQueue, KsRemoveSpecificIrpFromCancelableQueue, KsAddIrpToCancelableQueue, KsCancelRoutine

svn path=/trunk/; revision=42149
2009-07-23 00:13:04 +00:00
ReactOS Portable Systems Group 916f5b12a6 - Initialize the value of MmBootImageSize in ARM3 now.
- Also fix its value such that it's PDE aligned -- this makes sure that we don't step on any of the boot loader's PDE mappings and can blow everything away later.
- Initialize the MmSystem/User/Probe Addresses in ARM3 as well (no functional change).
- Print out a lot more of the VA ranges in ARM3's Phase 2 initialization. Most of the VA space is now dumped out.
- Write out the code to initialize session space VA ranges
  - Image space, view space, working set space and pool space values are all calculated properly.
    - NT default sizes are used, without support for registry overrides (yet).
  - Also system view space is initialized and sized.
  - Code is heavily commented and explained for inquisitive minds.
- Define the paged pool start address, minimum/default size, and add some extra pool header asserts/definitions.
- Define MmPagedPoolInfo to keep track of all paged pool related information (start/end PTEs, VA ranges, allocation/free bitmaps, etc).
- Fixed a lot of comments and added some new ones to provide extra clarity.
- Implement MiBuildPagedPool. It has two jobs:
  - Build and create the shadow system page directory, which double-maps the System process' PDE.
    - More explenations are in the comments.
  - Define the paged pool region and size, and initialize MmPagedPoolInfo accordingly.
  - Create and setup the paged pool allocation and free bitmaps (again explained in the comments).
- There shouldn't be any real functional change yet due to this commit.
  - We need to create memory areas for session space and system view space otherwise the VA regions could get used by ReactOS instead.


svn path=/trunk/; revision=42148
2009-07-22 22:46:29 +00:00
Johannes Anderwald 721b165dbb - Fix totally broken KSWORKER implementation (it may have worked, but it didnt do what it should have)
- Re-Implement KsQueueWorkItem, KsIncrementCountedWorker, KsDecrementCountedWorker, KsRegisterCountedWorker, KsUnregisterWorker, KsRegisterWorker

svn path=/trunk/; revision=42147
2009-07-22 21:27:44 +00:00
Johannes Anderwald f035e43e1e - Use KSSTRING instead of hardcoding object class
- Implement KsValidateAllocatorCreateRequest, KsValidateClockCreateRequest, KsValidateTopologyNodeCreateRequest

svn path=/trunk/; revision=42146
2009-07-22 19:08:57 +00:00