Commit graph

27374 commits

Author SHA1 Message Date
Thomas Bluemel
2923c32e1f Fix freeing callproc handles when freeing window classes
svn path=/trunk/; revision=29991
2007-10-31 01:25:42 +00:00
Thomas Bluemel
ed30ce9375 Remove unused code
svn path=/trunk/; revision=29990
2007-10-30 22:56:59 +00:00
Thomas Bluemel
4b146b2b27 Silence possible uninitialized variable warning when compiled with full optimizations
svn path=/trunk/; revision=29989
2007-10-30 22:38:43 +00:00
Thomas Bluemel
0f9c8e1dcc fix compilation with full optimizations
svn path=/trunk/; revision=29988
2007-10-30 22:03:37 +00:00
Colin Finck
5e02be2e6d Try to unbreak build by adding the -Iinclude/psdk line again.
Build has been broken by hpoussin's commit in r29976.

As stated before, Wine components like the "winnt.h" file in include/reactos/wine still refer to include/psdk components (in this case by an #include_next "winnt.h" line). This has to be fixed first.

Build probably worked successfully with older RosBE-Windows versions, since they put the include directory to the bundled w32api header files in the global C_INCLUDE_PATH environment variable.

svn path=/trunk/; revision=29987
2007-10-30 21:23:11 +00:00
Aleksey Bragin
aa1bc628b3 - Start using members inside the KCB instead of the PKEY_OBJECT.
- Remove DummyKcb hacks since we now have a real, valid KCB.
- Get rid of the cm worker thread and related code, this should fix a couple of random registry bugchecks and corruption.
- This is a slow transition to using CM_KEY_BODY and KCB.

svn path=/trunk/; revision=29986
2007-10-30 20:50:18 +00:00
Aleksey Bragin
6a2986170b - Fix my mistakes when changing type of the Name field. LiveCD / make install_registry now works again.
- Convert one more sizeof to FIELD_OFFSET (though sizeof() was operating properly in this particular case).
See issue #2780 for more details.

svn path=/trunk/; revision=29985
2007-10-30 20:24:27 +00:00
Johannes Anderwald
3c89dc696e - silence debug messages
svn path=/trunk/; revision=29984
2007-10-30 19:09:27 +00:00
Johannes Anderwald
4581c72ef6 - fix identation
svn path=/trunk/; revision=29983
2007-10-30 19:08:00 +00:00
Aleksey Bragin
15756dddcd - Fix incorrect size calculation.
svn path=/trunk/; revision=29982
2007-10-30 18:41:34 +00:00
Johannes Anderwald
3b7c69f9c9 - populate Open With with found entries
- see http://windowsxp.mvps.org/OpenWith.htm
- silence debug messages
- invoke shell extension's InvokeCommand on a event

svn path=/trunk/; revision=29981
2007-10-30 18:35:02 +00:00
Johannes Anderwald
d4d9d8158b - add required registry entries for "Open With" shell extension
- currently commented out

svn path=/trunk/; revision=29980
2007-10-30 16:00:50 +00:00
Johannes Anderwald
fa7efa7843 - fix a bug in ShellView_DoContextMenu which made shell extensions crash on click
- pass the pidl of the parent folder to IShellExtInit function.
- shell extension dont run yet due SHGetPathFromIDList[A/W] cant return right information

svn path=/trunk/; revision=29977
2007-10-30 12:05:24 +00:00
Hervé Poussineau
11f4785469 Do not directly include psdk directory when building host tools
svn path=/trunk/; revision=29976
2007-10-30 10:48:53 +00:00
Hervé Poussineau
6d815bb00a Add missing constants in winnt.h
Fix svn properties

svn path=/trunk/; revision=29975
2007-10-30 10:47:24 +00:00
Aleksey Bragin
fba0d4a997 - Yes, this is the last fix, really!!
svn path=/trunk/; revision=29974
2007-10-30 08:53:06 +00:00
Aleksey Bragin
fcadba6f7c - Forgot to add 't'.
svn path=/trunk/; revision=29973
2007-10-30 08:50:40 +00:00
Aleksey Bragin
9df7f026a3 - More fixes, leaving what's unfixed yet to Marc. 3dtext now compiles fine.
svn path=/trunk/; revision=29972
2007-10-30 08:37:54 +00:00
Aleksey Bragin
e57b602266 - Proper fix for unicode/ansi compilation ability of 3dtext (at least to fix compiler warning preventing trunk to compile), however one problem remains:
glCallLists(_tcslen(text), GL_UNSIGNED_SHORT, text);	// Draws The Display List Text
GL_UNSIGNED_SHORT should be substituted by GL_UNSIGNED_BYTE if compiling as ANSI.

svn path=/trunk/; revision=29971
2007-10-30 08:29:31 +00:00
James Tabor
115362a89d Add Gdi batch flush command types.
svn path=/trunk/; revision=29970
2007-10-30 04:39:34 +00:00
Thomas Bluemel
935014319a stock objects don't need to be deleted
svn path=/trunk/; revision=29969
2007-10-30 01:51:23 +00:00
Thomas Bluemel
b9ef3cb742 Patch by Heis Spiter <heis_spiter@hotmail.com>:
- Fix a handle leak
See issue #2772 for more details.

svn path=/trunk/; revision=29968
2007-10-30 01:46:00 +00:00
Thomas Bluemel
3e0b11c4bf Keep callproc handles valid as long as a window classes exists. Abiword should work again.
svn path=/trunk/; revision=29967
2007-10-30 01:24:47 +00:00
Marc Piulachs
47f240c7fb - Compile screensavers as UNICODE applications + minor fixes (Part 2/2)
svn path=/trunk/; revision=29966
2007-10-29 22:52:33 +00:00
Marc Piulachs
e985f75055 - Compile screensavers as UNICODE applications + minor fixes (Part 1/2)
svn path=/trunk/; revision=29965
2007-10-29 22:49:31 +00:00
Colin Finck
9c46f3877e Revert hpoussin's commit in r29960 to unbreak build.
Most of *our* stuff has separated host/target headers now, but the Wine-shared components still include headers from include/reactos/wine.
And these headers (like "winnt.h" in that directory) include our headers from include/psdk themselves, which are meant to be used for target components, but not for host tools.

This needs to be fixed first, before we can remove this hack.

svn path=/trunk/; revision=29964
2007-10-29 21:42:29 +00:00
Colin Finck
646ada92cc Move cylfrac, matrix, scrmsave and starfield to rosapps as proposed on the mailing list. New screensavers should only go there now.
I created an "applications/screensavers" directory for that, eventually rosapps should get a similar directory structure to reactos.

Also changed the appropriate parts in reactos.dff.

svn path=/trunk/; revision=29961
2007-10-29 21:30:02 +00:00
Hervé Poussineau
c6c42a93ef Remove unneeded hack because host tools don't use target headers anymore
svn path=/trunk/; revision=29960
2007-10-29 20:47:47 +00:00
Aleksey Bragin
b26a87eed3 - Actually create KCB where needed.
svn path=/trunk/; revision=29958
2007-10-29 18:05:54 +00:00
Aleksey Bragin
904dde02c7 So, finally, do that right... (re. 29956).
svn path=/trunk/; revision=29957
2007-10-29 16:49:54 +00:00
Gregor Brunmar
b0c1506b7e Removed debug spamming from previous checkin
svn path=/trunk/; revision=29956
2007-10-29 16:42:36 +00:00
Hervé Poussineau
2b88e1ebf0 Don't crash when starting a 2nd GUI application when booted in console mode
svn path=/trunk/; revision=29955
2007-10-29 14:47:48 +00:00
Aleksey Bragin
babcc56c4a - Merge KCB/NCB code (and related delay alloc/free implementation) from cm-rewrite branch. Only "used" in one call so it shouldn't affect anything.
svn path=/trunk/; revision=29954
2007-10-29 14:44:26 +00:00
Ged Murphy
4318124a73 we don't need the 0xff
svn path=/trunk/; revision=29953
2007-10-29 13:34:51 +00:00
Ged Murphy
af97264c80 speed up the DrawIconEx alpha maths a little bit
svn path=/trunk/; revision=29952
2007-10-29 13:29:26 +00:00
Hervé Poussineau
fb7e8a4777 Display status window only if it is not a console boot
svn path=/trunk/; revision=29951
2007-10-29 12:54:47 +00:00
Ged Murphy
b990a2cada change text to something meaningful
svn path=/trunk/; revision=29950
2007-10-29 12:15:55 +00:00
Hervé Poussineau
dd340e33fe Remove debug message
svn path=/trunk/; revision=29949
2007-10-29 12:13:45 +00:00
Hervé Poussineau
f71f72264f Rename console boot switch to CONSOLE
svn path=/trunk/; revision=29948
2007-10-29 11:55:06 +00:00
Hervé Poussineau
84547aa4c6 Add a virtual function table for UI, as already done for machine functions.
This leads to simplification of initialization phase, remove some corner cases and (now) unneeded variables.
This also lead to always have a UI to display messages (even maybe as simple as a printf() )

svn path=/trunk/; revision=29947
2007-10-29 11:00:31 +00:00
Hervé Poussineau
e2cdcc5958 Initialize CurrentDirectory before sending it to CreateProcessAsUserW()
svn path=/trunk/; revision=29946
2007-10-29 10:59:10 +00:00
Art Yerkes
440b18dbdf lower IRQL at appropriate time.
svn path=/trunk/; revision=29945
2007-10-28 23:23:51 +00:00
Aleksey Bragin
b308496ffa - Include config/cm.h for cm based code, and remove all duplicated types and prototypes.
- Get rid of EREGISTRY_HIVE, and use CMHIVE instead. Although the current ReactOS code doesn't make use of any of the functionality it offers, it's compatible with EREGISTRY_HIVE (our version was a subset) and allows us to get rid of another ros-specifc type, as well as being able to merge code from the cm-branch much more easily.
- Merge cmwraprs.c from the cm-branch, since the only differences were the filehandle fields in EREGISTRY_HIVE vs CMHIVE.
- Enable the #if'ed out code in cminit.c since it now applies to CMHIVE.

svn path=/trunk/; revision=29944
2007-10-28 22:38:20 +00:00
Aleksey Bragin
6b7c404e0b - Move registry shareable types (not internal to ntoskrnl's configuration manager) to cmdata.h, so that freeldr/mkhive can access them too.
- Remove all the ReactOS-specific versions of those types.
- Change all code referencing the ReactOS-specific versions to use the real NT versions, and fix any related code to properly use the new fields.

svn path=/trunk/; revision=29943
2007-10-28 21:31:46 +00:00
James Tabor
45199dd0b1 Sorry I did not want to change that part of the object.
svn path=/trunk/; revision=29942
2007-10-28 21:12:11 +00:00
Thomas Bluemel
8b0c929f19 Fix console painting bugs
svn path=/trunk/; revision=29941
2007-10-28 20:52:21 +00:00
James Tabor
f5b0ab501e Use DC object member hHmgr instead of hSelf. hSelf is used for MemoryDC and SaveDC.
svn path=/trunk/; revision=29940
2007-10-28 20:50:31 +00:00
Thomas Bluemel
6477a25b3a optimize FrameRgn for simple rectangular regions
svn path=/trunk/; revision=29938
2007-10-28 20:07:28 +00:00
Martin Fuchs
c65189cc6f disable PHP search in Doxy docu, enable caller graphs and extract all
svn path=/trunk/; revision=29931
2007-10-28 16:21:06 +00:00
Martin Fuchs
28facd60b4 disable PHP search in Doxy docu
svn path=/trunk/; revision=29930
2007-10-28 16:19:37 +00:00