Commit graph

21430 commits

Author SHA1 Message Date
Johannes Anderwald c9130e29e7 * fix a few msvc compilation errors (MS powercfg.h does not use include guards)
svn path=/trunk/; revision=22996
2006-07-10 13:47:11 +00:00
Johannes Anderwald 71b51f58d6 * make resource files msvc compilable
* fix size of text in various languages

svn path=/trunk/; revision=22995
2006-07-10 13:30:17 +00:00
Aleksey Bragin 98e2bc66e5 Add DPRINT1s for failures, and added UNIMPLEMENTED macro in the unimplemented export function
svn path=/trunk/; revision=22994
2006-07-10 13:10:22 +00:00
Aleksey Bragin 6f20e7b31b Thomas Weidenmueller: Fix GCC4 warnings
svn path=/trunk/; revision=22993
2006-07-10 11:42:28 +00:00
Aleksey Bragin c3ecaa36f1 - Remove IopGetLowestDevice() call from IoRegisterDeviceInterface() (hpoussin approved this change)
- Add a few DPRINTs to easier see failures of exported APIs

svn path=/trunk/; revision=22992
2006-07-10 09:54:50 +00:00
Aleksey Bragin 645a3280f5 Sync with Wine: Update EDIT_EM_SetMargins in EDIT control.
svn path=/trunk/; revision=22991
2006-07-10 08:56:02 +00:00
Aleksey Bragin e11e4547e1 Dmitry Philippov: Fix a bug with firstly overwriting the value, and then trying to use variable for comparation (should be vice-versa: firstly compared what was passed, then overwrite with a new value)
svn path=/trunk/; revision=22990
2006-07-10 08:33:02 +00:00
James Tabor 496f31dce3 - User32 menu
- Fixed and modified MenuDrawBitmapItem, MenuGetBitmapItemSize and MenuCalcItemSize. Based on Wine ports.
 - Fixed menu bar drawing and maintained most callback changes (for Miranda). Implemented flat menu support. Some other misc changes. Owner drawing is still broken (Free pascal project Lazarus). Run user32_crosstest from Wine, still more rewriting is needed.

svn path=/trunk/; revision=22989
2006-07-10 05:52:41 +00:00
Magnus Olsen 7ad01239f2 Implement SPI_GETFLATMENU and SPI_SETFLATMENU after jimtabor request not tested if it work
svn path=/trunk/; revision=22988
2006-07-10 01:48:46 +00:00
Magnus Olsen b38fbf4730 putting back Christoph_vW patch that was revert by me
svn path=/trunk/; revision=22987
2006-07-10 01:45:03 +00:00
Magnus Olsen 92751bd955 putting back Christoph_vW patch that was revert by me
svn path=/trunk/; revision=22986
2006-07-10 01:33:10 +00:00
Magnus Olsen 52c172d21e Changes for Screen saver And implement
1. Time value can be changes use SPI_SETSCREENSAVETIMEOUT to set the new value, current insate value are set to 30sec
2. SPI_GETSCREENSAVETIMEOUT Get the screen saver timeout value.
3. Dectect if screen saver is running with SPI_GETSCREENSAVERRUNNING
4. Set the state of screen saver with  SPI_SETSCREENSAVERRUNNING <- this is internal api see msdn 
 
Implement for mouse
1. SPI_GETWHEELSCROLLLINES I am but unsure if win32k need more changes it seam like it is only a counter that should be set/get a value and user apps take care of the rest. Implement it for jimtabor did request it. 
2. SPI_GETWHEELSCROLLCHARS  I am but unsure if win32k need more changes it seam like it is only a counter that should be set/get a value and user apps take care of the rest.

svn path=/trunk/; revision=22985
2006-07-10 00:26:56 +00:00
Magnus Olsen f89c0df588 adding #define SPI_GETWHEELSCROLLCHARS thanks alex for the value
svn path=/trunk/; revision=22984
2006-07-10 00:11:12 +00:00
Michele Cicciotti 9cb9eef811 modified rdesktop/channels.c
modified   rdesktop/constants.h
modified   rdesktop/types.h
   Commented out definitions of standard Windows constants and types

modified   rdesktop/licence.c
modified   rdesktop/secure.c
   TODO annotations

modified   rdesktop/proto.h
   Commented out prototypes for rdpdr, rdpsnd, cliprdr, etc. functions that will be rewritten *and* use a new API

modified   rdesktop/rdesktop.h
modified   rdesktop/rdp.c
modified   rdesktop/tcp.c
   Big big mess, many temporary modifications to have a working prototype ASAP

added      MissTosca.sln
added      mstsc/mstsc.cpp
added      mstsc/mstsc.vcproj
added      mstsc/stdafx.cpp
added      mstsc/stdafx.h
added      mstscax/mstscax.cpp
added      mstscax/mstscax.vcproj
added      mstscax/stdafx.cpp
added      mstscax/stdafx.h
   Created skeleton project files for Visual C++ 2005

added      rdesktop/rdesktop-core.vcproj
   Isolated the bare core of rdesktop. Required little to no porting

added      porting-tools/rdesktop-core-tester
added      porting-tools/rdesktop-core-tester/rdesktop-core-tester.cpp
added      porting-tools/rdesktop-core-tester/rdesktop-core-tester.vcproj
added      porting-tools/rdesktop-core-tester/stdafx.cpp
added      porting-tools/rdesktop-core-tester/stdafx.h
   Tester application. The screenshots were made with this. Partial (buggy!) implementation of GUI and keyboard input

svn path=/trunk/; revision=22983
2006-07-09 23:57:54 +00:00
Hervé Poussineau aea3ddc7c8 First argument doesn't need to be a physical device object, it only needs to be in a PDO driver stack.
svn path=/trunk/; revision=22982
2006-07-09 22:08:24 +00:00
Aleksey Bragin 8892a1ea62 Implement proper error-handling in IoRegisterDeviceInterface() (based on testing and MSDN documentation)
svn path=/trunk/; revision=22981
2006-07-09 22:02:03 +00:00
Aleksey Bragin b77e8f5145 Add two simple tests for IoRegisterDeviceInterface() explaining which fields IoRegisterDeviceInterface() checks for mandatory presence (WDK is not clear about this)
svn path=/trunk/; revision=22980
2006-07-09 21:39:49 +00:00
Aleksey Bragin 2948f5ecdf Re-apply fixes to CPL accidentally reverted by Magnus's reverting commit
svn path=/trunk/; revision=22979
2006-07-09 21:10:40 +00:00
Magnus Olsen beeb6f5df2 Thanks for x person found a bug, he did not be mentor with name. One of our helper with dx stuff that want be anonymous for now
svn path=/trunk/; revision=22978
2006-07-09 20:28:30 +00:00
Maarten Bosma 555c9d0ec0 Add comments from cc-branch headers to trunk to make the header patch smaller.
svn path=/trunk/; revision=22977
2006-07-09 19:37:39 +00:00
Alex Ionescu f4539b7037 - Massive re-write of some parts of Ps, based on a patch I wrote almost a year ago and peer-reviewed with Thomas and Filip. Causes some shutdown regressions and process leaks (will fix). Needs more work. Changelog:
- Architectural changes to match information in Windows Internals 4 and other documented sources of information (Windows Internals II by Probert). Code should match Win2003 layout.
    - Handle almost any possible process/thread sub structure and add its cleanup code stubs, so that when we actually implement them, we won't forget to clean them up in the process code.
    - Add interlocked usage of process and thread flags in order to make everything more thread-safe.
    - Better handle cases where threads die instantly, race conditions, and other weird issues.
    - Better handle process termination and thread termination.
    - Implement NtCreateProcessEx and update PspCreateProcess/NtCreateProcess.
    - Improve cleanup of process object in PspProcessDelete.
    - Optimize some things like User Thread startup.
    - Add some extra asserts, paged_code checks and also user-mode security check.
    - Implement helper API PsGetNextProcessThread
    - Optimize thread reaper (thanks Filip)
    - Do proper referencing/dereferencing of thread/processes (thanks Thomas)
    - Document FIXMEs needed for Ps code to be up to standards and complete.

svn path=/trunk/; revision=22976
2006-07-09 18:54:13 +00:00
Magnus Olsen d5dbbd1211 reverting : revison 22930 to 22932, 22938 to 22940, 22943, 22945, 22950, 22953 to 22954, 22959 to 22961, 22965
Reason : CRT/RTL/STRING are being static linkend into evething and cause CSR crash when it booting to GUI
         and some of the changes are wrong in rbuild as well. Do not hardcode example mingw32-ld name 
         keep it to ld for it is the make file detmer the name of ld when it is building. and some other 
         changes are also question about. It also fix so we can build ReactOS with MinGW 3.4.2 again and
         BinUtils 2.15.91, it was also other problem with this changes.  

svn path=/trunk/; revision=22973
2006-07-09 16:25:25 +00:00
Ged Murphy ab8a344656 check reg for NTP setting
fix a few typos and msvc warnings

svn path=/trunk/; revision=22972
2006-07-09 16:19:39 +00:00
Magnus Olsen ae1a33083a last patch Alex ask for this be revert for it should be fixed in another place.
svn path=/trunk/; revision=22971
2006-07-09 15:33:33 +00:00
Alex Ionescu 450d11e3f1 - Small build fix
svn path=/trunk/; revision=22970
2006-07-09 15:25:14 +00:00
Aleksey Bragin a814cbbe42 Fix the build, thanks to Magnus Olsen
svn path=/trunk/; revision=22969
2006-07-09 12:33:47 +00:00
Alex Ionescu ee67c24dce - Separate functions that deal with driver-related registry code, grouping, tagging, indexing, sorting into drvrlist.c... this code should eventually become part of Cm instead.
svn path=/trunk/; revision=22968
2006-07-09 02:34:32 +00:00
Alex Ionescu 9b422ef6c6 - Simplify IopReinitializeBootDrivers and IopReinitializeDrivers.
- For some strange reason, boot drivers were re-initailized *after* system drivers.

svn path=/trunk/; revision=22967
2006-07-09 02:21:13 +00:00
Alex Ionescu 2eaab734d7 - Add a typedef for PFS_FILTER_CALLBACKS when the IFS isn't included.
svn path=/trunk/; revision=22966
2006-07-09 01:03:37 +00:00
Christoph von Wittich c6931157dd -remove nostdlib from KernelModeDlls to fix linking of bzip2
svn path=/trunk/; revision=22965
2006-07-09 00:56:23 +00:00
Magnus Olsen df8822f30d patch from Vassily Tarasov bug 1658 : Implement GetUserObjectSecurity()and SetUserObjectSecurity()
svn path=/trunk/; revision=22964
2006-07-09 00:16:51 +00:00
Johannes Anderwald 9656ee1e85 * use font properties from registry when available
svn path=/trunk/; revision=22963
2006-07-09 00:13:40 +00:00
Alex Ionescu 17c27b70cd - Allocate Re-Init entries with a tag
- Fix IoAllocateDriverObjectExtension and IoGetDriverObjectExtension:
  - They were using the wrong structure (a made up one).
  - They were saving the extension where the Driver Object's base address should be.
  - Memory leaks.
  - Sometimes holding the lock too long.
- Created EXTENDED_DRIVER_OBJECT structure in NDK, since parts of the documented one are hidden (much like EXTENDED_DEVICE_OBJECT).
- Fixed IopDeleteDriver to free what it should.
- Fixed IoCreateDriver to handle more failure cases.

svn path=/trunk/; revision=22962
2006-07-09 00:01:31 +00:00
Christoph von Wittich 2849b81889 -removed -nostdlib from kernel32
-fixed some msvc errors

svn path=/trunk/; revision=22961
2006-07-08 23:32:03 +00:00
Christoph von Wittich 79a5eee6f5 -use /noentry flag when entrypoint is set to "0"
svn path=/trunk/; revision=22960
2006-07-08 23:23:08 +00:00
Christoph von Wittich dd81cc1343 fix compilation with msvc
svn path=/trunk/; revision=22959
2006-07-08 23:12:51 +00:00
Alex Ionescu e7e794c543 - A long long time ago there was a stupid kernel that created MDLs for R/W requests even when the length of the buffer was 0. He had another stupid friend called CDFS which attempted to read the MDL before checking if the buffer size is also 0. When cdfs's friend, the kernel, grew smarter and stopped allocating MDLs, cdfs didn't catch on and cried every time this happened. CDFS now caught up. (thanks to Greatlord for finding the regression).
svn path=/trunk/; revision=22958
2006-07-08 23:02:50 +00:00
Christoph von Wittich 1058843806 remove -nostdlib
svn path=/trunk/; revision=22957
2006-07-08 22:15:41 +00:00
Eric Kohl 1c1c562871 Implement CM_Free_Log_Conf_Handle.
svn path=/trunk/; revision=22956
2006-07-08 22:15:16 +00:00
Magnus Olsen 63d0c1d55a Revert : small part from 22849 wine sync
Reason : put back ReactOS specify code, to make icon transplant. 


svn path=/trunk/; revision=22955
2006-07-08 22:14:37 +00:00
Christoph von Wittich 43800d3c90 remove -nostdlib
svn path=/trunk/; revision=22954
2006-07-08 22:13:10 +00:00
Christoph von Wittich 513463d73f -remove -nostdlib to fix build of msvcrt
-don't set --enable-stdcall-fixup twice

svn path=/trunk/; revision=22953
2006-07-08 22:07:34 +00:00
Johannes Anderwald 3f6c1f228c * add missing string to stringtable -> now the menu fully works
* spotted by Greatlord

svn path=/trunk/; revision=22952
2006-07-08 22:06:54 +00:00
Christoph von Wittich 45153f58c7 -link to opengl32 to fix build of glu32
svn path=/trunk/; revision=22951
2006-07-08 22:04:57 +00:00
Christoph von Wittich 81bdd493c9 -removed -nostdlib to fix build
svn path=/trunk/; revision=22950
2006-07-08 21:39:22 +00:00
Eric Kohl 42c3759b94 Implement CM_Add_Empty_Log_Conf[_Ex] and add PNP_AddEmptyLogConf stub.
svn path=/trunk/; revision=22949
2006-07-08 21:37:32 +00:00
Aleksey Bragin b9ed9b1450 [AUDIT] + [FORMATTING]
- Coding style applied (make file's header proper, add headers for every function)
- All functions except one are documented in MSDN
- One undocumented function will undergo further examination and documentation

svn path=/trunk/; revision=22948
2006-07-08 21:33:25 +00:00
Magnus Olsen d22007aa7c Install dejavu font on livecd and bootcd and
change everthing to dejavu fonts. Rember console apps can not use dejavu font for it will regress. 
that is the reasson we keep old bitstream fonts for now. and another problem is bitstream font is
hardcode into console apps (example cmd), it have been hard code in csrss and maybe some more place. 

svn path=/trunk/; revision=22947
2006-07-08 20:49:55 +00:00
Magnus Olsen 998ca67436 fixing last bug for jolite file names. now we can use so long file name we like.
I was force fixing this bug for getting dejavu font to be install on livecd
I was hopping some else have fixing this long standing bug. 

svn path=/trunk/; revision=22946
2006-07-08 20:45:33 +00:00
Christoph von Wittich 512a5f6cd8 -fixed msvc errors
svn path=/trunk/; revision=22945
2006-07-08 20:32:22 +00:00