Commit graph

27543 commits

Author SHA1 Message Date
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
Gregor Brunmar 59aa297b53 Made each service have its own pipe name as done in Windows
svn path=/trunk/; revision=29929
2007-10-28 14:13:03 +00:00
Art Yerkes bc2e271c94 Fix memory map to kernel mode.
Allow prep serial in kdcom (and stop clobbering the data miss handler).
Clean up boot mapping a bit.
Silence some boot time spam.
Enable not present page handler (yes, this routing actually works).
Scan physical memory on the (virtually 100%) chance that open firmware will
somehow have a buggy implementation of the memory object, or we're on prep
hardware.
Initialize syscall trap early, so we can do DbgPrint.

svn path=/trunk/; revision=29928
2007-10-28 12:31:10 +00:00
Timo Kreuzer 3c9062ca96 user32:
- implement User32InitializeImmEntryTable() stub
- implement _assert() to remove reference to msvcrt.dll
todo: remove references to advapi32 and imm32. user32 should only link to ntdll, kernel32 and gdi32.
The goal is to make it at least load on windows.

svn path=/trunk/; revision=29926
2007-10-27 23:37:08 +00:00
Colin Finck 1b5d11010e Import the new code for showing floating point values with the correct decimal separator from shell32.
sysdm.cpl now shows the processor speed and RAM size values with the correct decimal separator based on the current locale.

svn path=/trunk/; revision=29925
2007-10-27 21:37:32 +00:00
Colin Finck 1d824ac4f3 - Implement a new ShellAbout dialog, which looks more like the Windows one. Uses the ReactOS Logo bitmap from base/setup/welcome/res.
The "Authors" button in the dialog currently highlights a redrawing bug in ReactOS (tracked in bug 2769).
- Define default strings in include/reactos/version.rc, which shouldn't be overwritten by applications.
  These strings can later be used i.e. in resource files like it's done in shell32 now.

svn path=/trunk/; revision=29924
2007-10-27 21:02:34 +00:00
Johannes Anderwald 2d59682aa4 - fix a bug
svn path=/trunk/; revision=29923
2007-10-27 20:48:45 +00:00
Marc Piulachs 190123f1ee Update shell32 spanish localization
svn path=/trunk/; revision=29922
2007-10-27 20:31:25 +00:00
Johannes Anderwald 2a3cd64f08 - start implementing "Open With" shell extension
- see http://windowsxp.mvps.org/OpenWith.htm

svn path=/trunk/; revision=29921
2007-10-27 20:09:38 +00:00
Colin Finck 7794642aa9 Portuguese (Brazilian) translation for sndvol32 by Mateus de Lima (mateusloliveira AT hotmail DOT com)
See issue #2768 for more details.

svn path=/trunk/; revision=29919
2007-10-27 19:31:40 +00:00
Colin Finck f42bcbd323 Added and updated Slovak translations for the screensavers by Mario Kacmar (kario AT szm DOT sk)
svn path=/trunk/; revision=29918
2007-10-27 17:36:40 +00:00
Hervé Poussineau acdf579f07 Silent debug message
svn path=/trunk/; revision=29917
2007-10-27 16:38:14 +00:00
Martin Fuchs c6b7e9b31e update Doxyfile to current format
svn path=/trunk/; revision=29913
2007-10-27 10:32:43 +00:00
Martin Fuchs 35cced874c update Doxyfile to current format
svn path=/trunk/; revision=29912
2007-10-27 10:31:28 +00:00
Daniel Reimer a63e47438e German Translation Update for 3DText. Some size fixes for the text boxes
svn path=/trunk/; revision=29911
2007-10-27 09:16:15 +00:00
Thomas Bluemel 9c105be99b Display a list of all leaked memory blocks when terminating
svn path=/trunk/; revision=29910
2007-10-27 04:00:25 +00:00
Thomas Bluemel 283b505889 Fix memory leaks/wrong heap usage by replacing calls to _tcsdup with cmd_dup
svn path=/trunk/; revision=29909
2007-10-27 03:13:37 +00:00
Timo Kreuzer 93fe183181 2nd try to fix build
svn path=/trunk/; revision=29908
2007-10-27 01:47:38 +00:00
Timo Kreuzer 5834f08fec try to fix linux build
svn path=/trunk/; revision=29907
2007-10-27 01:41:23 +00:00
Marc Piulachs 8b2caeb2a4 forgot to commit this file. Add 3dtext to the build
svn path=/trunk/; revision=29906
2007-10-27 00:11:32 +00:00
Marc Piulachs 65687e3dbc Update/Fix spanish localizations
svn path=/trunk/; revision=29905
2007-10-26 22:46:23 +00:00
Marc Piulachs f57df59ffd Very simple OpenGL 3D text screensaver similar to the windows one.
Original work by Jeff Molofee tutorials (http://nehe.gamedev.net)
basically converted from C++ to C and adapted as a windows screensaver

Not added to reactos.dff for now because opengl seems to be broken again
See issue #2755 for more details.

svn path=/trunk/; revision=29904
2007-10-26 22:34:42 +00:00
Timo Kreuzer fffc7ba078 UserScrollDC: 2nd try to fix the invalidated region. desk.cpl looks ok now and in my tests all worked like on XP, also fix the returned invalidated rect (don't use NtGdiGetClipBox)
NtUserScrollDC: return the region type
NtUserScrollwindowEx: fix the default clip region

svn path=/trunk/; revision=29903
2007-10-26 22:08:53 +00:00
Aleksey Bragin ec2b9a0991 - Define LIST_ENTRY functions as part of host headers, instead of mkhive-specific defines.
- Use CM_KEY_CONTROL_BLOCK when communicating with new CM implementation ("config"). CM now builds a dummy KCB so that the functions in "config" can go around their business with KCB without needing to know what a ros-specific PKEY_OBJECT is.

svn path=/trunk/; revision=29902
2007-10-26 20:59:42 +00:00
Marc Piulachs dbb8fcae7b Implement Infs.Always section parsing to syssetup. Thanks to hpoussin for his suggestions
svn path=/trunk/; revision=29901
2007-10-26 16:19:52 +00:00
Hervé Poussineau 9b47f9fb33 Add a SourceDiskFiles section in txtsetup.sif, instead of hardcoding a list of drivers in freeldr
svn path=/trunk/; revision=29900
2007-10-26 15:32:04 +00:00
Aleksey Bragin 36a91123ec - Both calls to LpcpMoveMessage must be guarded with SEH.
See issue #2243 for more details.

svn path=/trunk/; revision=29896
2007-10-26 09:02:24 +00:00
Aleksey Bragin 0b279a26b2 - Make behavior consistent: if there is no relocation information, return SUCCESS in both possible cases.
See issue #2268 for more details.

svn path=/trunk/; revision=29895
2007-10-26 08:48:04 +00:00
Art Yerkes f6640c9b72 Remaining fixes from branch transition. MmuTurnOn, now with GDB stub.
svn path=/trunk/; revision=29894
2007-10-26 06:37:52 +00:00
James Tabor e40b261ed9 ScrollDC From my notes 08/16/2003:
- Wine testing was not enough. If dx & dy are zero and hrgn and lprc are used or not zero. The Rect for hrgn and lprc are set zero w/o NtUserScrollDC being called. It just returns TRUE.
- If HDC is zero it will return FALSE and not call NtUserScrollDC.

svn path=/trunk/; revision=29893
2007-10-26 02:07:33 +00:00
Ged Murphy 5d397e4214 fix use of globals introduced in r29883
svn path=/trunk/; revision=29891
2007-10-25 23:23:53 +00:00
Timo Kreuzer f95e0ccee8 UserScrollDC:
- rename rcScroll to rcClip
- simplify calculation of source point
- fix calculation of invalidated region

svn path=/trunk/; revision=29890
2007-10-25 23:10:50 +00:00