Commit graph

99 commits

Author SHA1 Message Date
Colin Finck a82d7577b3 [PRINTING]
- Implement GetPrinterDataA, GetPrinterDataExA, GetPrinterDataExW, GetPrinterDataW, SetPrinterDataA, SetPrinterDataExA, SetPrinterDataExW, SetPrinterDataW.
  They support all features for Print Server and Printer Handles (minus security checks!)
  I've also added tests for them.
- Store Printer data in SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers instead of SYSTEM\CurrentControlSet\Control\Print\Printers and create a registry symlink from the former path to the new one just like Windows does.
  According to https://social.technet.microsoft.com/Forums/windowsserver/en-US/a683ab54-c43c-4ebe-af8f-1f7a65af2a51, this is needed when having >900 printers to work around a size limit of the SYSTEM registry hive. And if Windows has both locations, we need both for compatibility anyway.
- Add several settings which are queried by the new Printer Data APIs when working with Print Server Handles.
- Store the job directory in the Windows-compatible "DefaultSpoolDirectory" setting and make use of it.
- Revert the ASSERTs in LocalEnumPrinters again to let us verify the NULL pointer exceptions in localspl_apitest (thanks Serge! CORE-13433)
- Translate ERROR_INVALID_NAME to ERROR_INVALID_PRINTER_NAME in all cases in OpenPrinterW (thanks Victor! CORE-13412)
- Make EnumMonitorsW and EnumPortsW in spoolss more robust against failing Print Monitors.
- Remove the wrong !phPrinter check in OpenPrinterW to make Print Server Handles work for real.
- Fix error handling when memory allocation fails: HeapAlloc doesn't set last error, so it's just wrong to query or return it.

One more item done from https://reactos.org/wiki/Printing !
This is all still a big Work-in-Progress, with many subtle bugs deep down in ReactOS, for which I need to open additional tickets. But I didn't want to make this commit even bigger..

svn path=/trunk/; revision=75125
2017-06-19 14:18:19 +00:00
Pierre Schweitzer 97a76faf99 [BOOTDATA]
Use a gflag compatible way to enable Page Heap

svn path=/trunk/; revision=75075
2017-06-17 18:00:18 +00:00
Mark Jansen 817f78086f [BOOTDATA] Create an empty HKLM\...\AppCompatFlags\Layers key to silence logging.
svn path=/trunk/; revision=74609
2017-05-20 20:06:46 +00:00
Eric Kohl f25d0ce422 [BOOTDATA]
Make the timezone names translatable.
CORE-11855

svn path=/trunk/; revision=74415
2017-04-26 21:21:02 +00:00
Giannis Adamopoulos afd47c09cf [SHSVCS] -Add the module that should host the theme service. Implement ThemeWaitForServiceReady and ThemeWatchForStart. These are already called by our msgina and are responsible for starting themes in the session.
svn path=/trunk/; revision=74279
2017-04-07 13:01:42 +00:00
Amine Khaldi 79111c35e6 * Revert r73869 because wmi was mentioned nowhere in CORE-9111, nor in our tree restructure wiki, nor any developers discussions. This is the ReactOS trunk, not a branch.
svn path=/trunk/; revision=73870
2017-02-21 09:04:05 +00:00
Hermès Bélusca-Maïto 9f59e28a23 [WMI]: Gather all the user-mode components of WMI inside base/wmi/, as part of the ReactOS source code tree restructure. This gives an idea how this can be done for other ReactOS components.
CORE-9111

svn path=/trunk/; revision=73869
2017-02-20 23:28:09 +00:00
Giannis Adamopoulos 029cc4a9a1 [SHELL32]
- Implement View tab in Folder options dialog.
CORE-12540
Patch by Katayama Hirofumi MZ with a tiny improvement by me to refresh explorer in a better way.

svn path=/trunk/; revision=73703
2017-02-05 12:15:59 +00:00
Pierre Schweitzer 1a74d78001 [FMIFS]
Register the BtrFS helper

CORE-12617

svn path=/trunk/; revision=73515
2017-01-09 20:59:22 +00:00
Hermès Bélusca-Maïto cc99d87bf4 [BOOTDATA]: Disable automatic debugger startup on application crash. This allows getting back the error popup as we used to have, and also warn the user there was indeed a problem, instead of silently start the default debugger (that I've set to an unexistant "drwtsn.exe") and fail silently, since that default debugger doesn't exist.
CORE-11508

svn path=/trunk/; revision=71964
2016-07-18 19:25:53 +00:00
Eric Kohl 4d933beb4c [BOOTDATA]
Revert to r71800.
Do not remove the time zone index because it is used to map countries to timezones.
CORE-11526 #resolve

svn path=/trunk/; revision=71808
2016-07-04 18:27:08 +00:00
Eric Kohl 649d151946 [BOOTDATA]
Remove the Index value from the time zone entries. We do not need it any more and it has been removed from Windows Vista.

svn path=/trunk/; revision=71801
2016-07-03 18:40:27 +00:00
Eric Kohl d576e781b4 [BOOTDATA]
- Add "Belarus Time Zone".
- Add "Russia Time Zone 3", "Russia Timezone 10" and "Russia Time Zone 11".
- Fix some standard time and daylight time names.

svn path=/trunk/; revision=71800
2016-07-03 18:27:17 +00:00
Hermès Bélusca-Maïto fcba48cf23 [BOOTDATA]: Apply the new russian timezones, by "amber".
CORE-10558 #resolve #comment Finally committed!! ^^ Please retest :)

svn path=/trunk/; revision=71796
2016-07-03 14:10:58 +00:00
Hermès Bélusca-Maïto 08f4d01b5a [KERNEL32]: Implement support for Auto-Execute (AE) Debugging: starting a user-specified debugger (e.g., DrWatson on Windows, etc...) which attaches to a user-mode application when the latter crashes.
CORE-11508 #resolve

svn path=/trunk/; revision=71794
2016-07-03 13:52:28 +00:00
Hermès Bélusca-Maïto 2d91f643ed [WIN32K][BUILDNO]
Add the compiler ID and version to the ROS version desktop watermark. Idea of encoded & learn_more, thanks :)

[BOOTDATA]
Enable the ROS version desktop watermark on our daily builds.

CORE-11349

svn path=/trunk/; revision=71504
2016-06-02 22:28:36 +00:00
Hermès Bélusca-Maïto 3f3dd21d90 [BOOTDATA]
- Swap two values so that they are listed in alphabetical order.
- PaintDesktopVersion is a DWORD value, as such, use a correct initializer.

svn path=/trunk/; revision=71487
2016-06-01 15:34:56 +00:00
Amine Khaldi 72fc8c1283 [HIVESFT] Fix Santiago timezone in ReactOS time settings. By Peter Hater. CORE-10231
svn path=/trunk/; revision=71042
2016-03-24 18:18:30 +00:00
Pierre Schweitzer db453b5b54 [BOOTDATA]
Drop last references to rosvboxmgmt!

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70673
2016-02-01 22:18:47 +00:00
Hermès Bélusca-Maïto 2bb29d9cea [BOOTDATA]
- Add "aif" and "aiff" to the supported MCI Extensions.
- Remove an extra erroneous "rmi" entry that was wrongly marked as being of type "MPEGVideo".

svn path=/trunk/; revision=70597
2016-01-16 00:30:01 +00:00
Pierre Schweitzer d31cc46a14 [ROSVBOXMGMT]
Update the registry configuration to reflect the recent changes to rosvboxmgmt.
Just uncomment the line matching the behavior you prefer.

CORE-10032
ROSAPPS-303

svn path=/trunk/; revision=70537
2016-01-07 22:44:33 +00:00
Pierre Schweitzer b932a314ce [ROSVBOXMGMT]
Add a commented out way to automatically start `rosvboxmgmt auto' on start so that shortcuts for VBox shared folders are properly created.

This is to be enabled on 0.4.0.

CORE-10032
ROSAPPS-303 

svn path=/trunk/; revision=70510
2016-01-06 19:47:03 +00:00
Pierre Schweitzer 759e9f55ee [SHELL32]
Enable formatting a Ext volume from GUI.

Patch by Peter Hater

svn path=/trunk/; revision=69579
2015-10-17 23:01:19 +00:00
Eric Kohl 82e230b0d9 [WLNOTIFY]
- Disable the debug output.
- Add and register the missing notification functions.

svn path=/trunk/; revision=68804
2015-08-23 15:58:18 +00:00
Eric Kohl 484361acc7 [WLNOTIFY]
Register the notification functions.

svn path=/trunk/; revision=68723
2015-08-16 19:27:11 +00:00
Daniel Reimer c770f94d2d [TRANSLATION]
Adding Turkish Translations (inf) by Erdem Ersoy
CORE-9138 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=67930
2015-05-26 18:12:08 +00:00
Amine Khaldi 208dfa5c5c [BOOTDATA] Add Mozilla's NSS CA roots to the ReactOS registry and give the certs their own file. By Ismael Ferreras Morezuelas aka swyter. CORE-9065
svn path=/trunk/; revision=67871
2015-05-23 15:56:26 +00:00
Amine Khaldi b18c48243f [BOOTDATA] Add missing font DPI entries in registry. By Ziliang Guo. CORE-8902
svn path=/trunk/; revision=67517
2015-05-02 19:55:55 +00:00
Eric Kohl fdc0506420 [SRVSVC]
Add the Server service and its interface definition files.



svn path=/trunk/; revision=67196
2015-04-14 20:59:34 +00:00
Daniel Reimer 2fc7116a9a [INF]
- Convert some ANSI to UTF-8 w/o BOM
- Remove some BOMs ^^

svn path=/trunk/; revision=67138
2015-04-10 13:59:20 +00:00
Eric Kohl 218064f15d [SCHEDSVC]
Start work on the seceduler service.

[NETAPI32]
Implement the scheduler service client functions.

svn path=/trunk/; revision=66862
2015-03-22 21:57:55 +00:00
Hermès Bélusca-Maïto c32ac4bd68 [BOOTDATA]
- Remove hardcoded registry values: CurrentVersion, CSDVersion and CurrentBuildNumber from HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion. They are computed and stored there by the kernel.
- All the versioning is controlled by the two values: CSDReleaseType and CSDVersion in HKLM\SYSTEM\CurrentControlSet\Control\Windows. Currently we target SP1.

[NTDLL]
The lpVersionInformation->szCSDVersion string should not be built by RtlGetVersion, but instead retrieved from the Peb->CSDVersion string that in turn is initialized by the NTDLL PE Loader. Normally this is a App-Compatibility-dependent string, but for now we somewhat hardcode it (it is built using the actual Peb->OSCSDVersion number).

[RTL]: Rename some variables "à la NT" and use adequate types (but no code changes otherwise).

[NTOS]
- Fix PsGetVersion that should use the CmCSDVersionString variable. This API also returns TRUE if we are in checked build mode (the high byte of NtBuildNumber is flagged).
- The kernel should initialize the CurrentVersion, CSDVersion and CurrentBuildNumber registry values (and few other ones) from the two main CSDReleaseType and CSDVersion values.
- Fix the ReactOS-specific version+revision display in SOS mode.

CORE-6611 CORE-7889 CORE-8877

svn path=/trunk/; revision=66735
2015-03-16 03:14:16 +00:00
Hermès Bélusca-Maïto 5f9629166d [KBSWITCH]
Add keyboard switcher to startup, per-user. Since we currently do not support expandable string values for shell run startup, just use a normal string. Also there's currently a bug in our explorer that makes the icon of kbswitch not appearing when it is launched at startup.
See CORE-6787 for more information.

svn path=/trunk/; revision=66508
2015-03-01 00:28:17 +00:00
Amine Khaldi cf10f6f049 [BOOTDATA/HIVESFT] Add DirectPlay service providers registry entries. CORE-9285
svn path=/trunk/; revision=66493
2015-02-28 11:56:36 +00:00
Hermès Bélusca-Maïto 2aae46eafa [CPLS]: Add the console CPL to the control panel.
svn path=/trunk/; revision=66450
2015-02-25 13:07:44 +00:00
Giannis Adamopoulos 3b79ee9cb8 [IEXPLORE]
- Set http://www.reactos.org as the default homepage.

[BOOTDATA]
- Remove settings that are now set by iexplore.inf

svn path=/trunk/; revision=66446
2015-02-25 01:20:06 +00:00
Eric Kohl 993dffa548 [WKSSVC]
Add the Workstation service.
CORE-9248

svn path=/trunk/; revision=66405
2015-02-22 15:27:35 +00:00
Hermès Bélusca-Maïto e154160e2f [EXPLORER]: Activate Logoff command. Patch by Lee Schroeder plus extra modifs.
CORE-9104 #resolve

svn path=/trunk/; revision=66373
2015-02-20 20:08:52 +00:00
Pierre Schweitzer 848766e7d3 [BOOTDATA]
Add missing quote.
Spotted by Hermès

svn path=/trunk/; revision=66296
2015-02-15 17:22:13 +00:00
Pierre Schweitzer 0db7698abb [WMISVC]
Add a stub for the "Windows Management Infrastructure" service.
This helps the Intel PRO eth card installer to go a bit farther 

svn path=/trunk/; revision=66295
2015-02-15 17:19:57 +00:00
Amine Khaldi 741c7726db [TRANSLATIONS] Additional Spanish locale fixes and enhancements by Ismael Ferreras Morezuelas. CORE-9014
svn path=/trunk/; revision=65937
2015-01-02 13:08:07 +00:00
Amine Khaldi c7e2c1e0f8 [TRANSLATIONS] Spanish translation update by Ismael Ferreras Morezuelas. CORE-8991
svn path=/trunk/; revision=65922
2014-12-31 19:16:03 +00:00
Ziliang Guo 71ef2b4cc4 [SETUP]
Add registry value for wallpaper directory. Patch by Ricardo Hanke.
CORE-8797

svn path=/trunk/; revision=65647
2014-12-14 18:39:24 +00:00
Amine Khaldi 5c1a8109c8 * The Shell.. for a long time we dreamed of having a compatible, properly working rewrite, but it's easier said than done. Over the years this effort has been split into tasks, and this branch was the biggest overall. Now it's time to merge it back to trunk!
* This merge is also a chance to thank every single person involved directly and indirectly in this epic work, among them: Martin Fuchs for ReactOS explorer which we are respectfully retiring now, as it served the project so well over all these years. Thomas Bluemel (Thomas Weidenmueller aka w3seek) for his brave work on the shell, mainly his explorer_new. Andrew Hill for advancing the shell bringup with some impressive work. David Quintana, Giannis Adamopoulos and Huw Campbell for working as a solid team on making this branch a huge success, allowing the shell rewrite dream to finally become a reality. Again, thank you all!
* Merging this branch is not the end.. it's the beginning of some serious bug fixing based hopefully on the Community's continuous feedback.
* Finally, here are *some* of the highlights of this branch (simply put):

[BROWSEUI] Halfplement the address bar. Mostly implement the Favorites menu. Implement handling most hotkeys that should be handled by CShellBrowser. Fix various bugs.

[EXPLORER_NEW] Convert to C++ and use several wtl-like classes to simplify it. Fix several bugs and implement misc missing features.

[FILEBROWSER] A small exe file that opens a new file browser window in its own process. Tested to work in windows. It can be used to test our browseui.dll in windows.

[FONTS] A new marlett font.

[MSGINA] Add a proper shutdown dialog that's used when the user selects shutdown from the start menu (this is how it's done in Windows).

[RSHELL] A temporary module that hosts the implementation of the following classes needed for the shell: CMenuBand, CMenuDeskBar, CMenuSite, CMergedFolder, CStartMenu. These were implemented and tested in windows and for that reason they are still there. Should be moved in shell32 in the future.

[SHELL32] Reorganize files to isolate the ones that are not yet forked from wine. Fix various problems. Simplify the implementation of some shell folders. Implement filling in the file menu in the file browser.

[STOBJECT] A shell extension responsible for misc taskbar notification icons. So far only the sound icon is implemented. Adding this is necessary as the old explorer had the sound icon built in and deprecating it needs a proper solution for these notification icons.

[WIN32K] Fix several bugs that prevented the new start menu (that was implemented and tested in Windows) from functioning properly in ReactOS, mostly due to focus issues. Fix several shell notifications to behave more like in Windows.

* Tonight! We shall feast!
* And tomorrow the US guys shall feast again, on turkey! :p

CORE-7330

svn path=/trunk/; revision=65496
2014-11-26 19:49:18 +00:00
Hermès Bélusca-Maïto 33f5eed378 [UMPNPMGR]
- Turn the user-mode PnP Manager into a dll, as it is in Windows. However, on Windows 2k/XP/2k3, the dll is managed by services.exe (the SC Manager) (and its entry point name hardcoded in it), whereas on Vista/7+ it is managed by svchost.exe . Since we do not support external dll hardcoded services management in services.exe, make it svchost-compatible instead.
- In the .spec file, we mention that a few API set is exported (in stdcall), but we use it also for RPC, and therefore one has to fix somewhere the calling conventions.
- Add/modify the registry entries accordingly.

svn path=/trunk/; revision=64292
2014-09-25 23:44:28 +00:00
Jérôme Gardou 7e45898193 [HIVESFT]
- Add the AddTrust Certificate root.
Now Oracle servers can be reached with SSL.

svn path=/trunk/; revision=64252
2014-09-23 23:28:08 +00:00
Jérôme Gardou 66d0ec9cdb [HIVESFT]
- Remove some useless certificates
 - Add the relevant root certificates for reactos.org and google.com

svn path=/trunk/; revision=64241
2014-09-23 18:06:36 +00:00
Amine Khaldi cb89710974 [BOOTDATA]
* Add DX InstalledVersion key. By Lee Schroeder.
CORE-8530 #resolve #comment Committed in r64131. Thanks!
CORE-8461 #comment Please retest with r64131+

svn path=/trunk/; revision=64131
2014-09-13 08:52:28 +00:00
Jérôme Gardou 3596925092 [HIVESFT]
- Import various certificates required to open secure connection to www.winehq.org

svn path=/trunk/; revision=64025
2014-09-01 20:58:32 +00:00
Amine Khaldi a3b5088597 [CMAKE]
* Convert the hives from UTF-8 to UTF16 as part of the build process.
CORE-7703
CORE-8221

svn path=/trunk/; revision=63480
2014-05-27 19:42:15 +00:00