Commit graph

348 commits

Author SHA1 Message Date
Thomas Faber 87d3fdf99e [DHCPCSVC] Fix a memory leak in bind_lease introduced in r14645 (!). CORE-14353 2018-02-22 11:53:34 +01:00
Serge Gautherie e1bd79e3df [SC] Addendum to 4728157: Add missed values to query errors and usage output. (#387) 2018-02-20 19:45:55 +01:00
Timo Kreuzer d281d14fd1 [REACTOS] Fix a number of Get/SetWindowsLong*Ptr* issues and use GWLP_* instead of GWL_* where appropriate. 2018-02-19 22:36:36 +01:00
Mark Jansen 07f3691cd8 [RAPPS] Various fixes
- Ask the user if they want to continue on cab certificate problems
- Fix memory leaks in failure paths
- Properly disable caching
2018-02-19 11:54:33 +01:00
Giannis Adamopoulos 21ae3a0862 [SNDREC32] it-IT.rc: add a missing new line 2018-02-19 02:03:35 +02:00
Eric Kohl a8d256bf23 [SERVICES] Update a drivers status properly
- ScmUnloadDriver: Handle failed unload properly.
- ScmGetDriverStatus: A driver is running when its driver object was found. Otherwise it has been stopped.
- ScmControlDriver: Check a drivers status before and after unloading.

CORE-14317
2018-02-19 00:14:58 +01:00
Mark Jansen b56193a27c
[RAPPS] Some fixes to our completely broken cert pinning attempt.
- We should not open a new connection to request a certificate.
- Update the issuer / subject for the LE certificate.
- User proper types.
- Require all fields that we check to be present.

Without checking the public key or the entire certificate it's still not secure, but we are a step closer.
Dedicated to Joachim Henze
CORE-14350
2018-02-18 13:01:02 +01:00
Hermès Bélusca-Maïto 5f59f0380d
[SC] Fix MSVC build. 2018-02-17 21:08:28 +01:00
Eric Kohl 4728157154 [SC] Implement missing query/queryex options
- PrintService: Print optional display name.
- MainUsage: Print missing query options.
- Parse query options and use them to enumerate services.
2018-02-17 19:28:16 +01:00
Pierre Schweitzer 6061c78e91
[EXPLORER] Update French translation 2018-02-16 19:36:25 +01:00
Serge Gautherie 46f96733bd [SC] Disable debug messages on user interface (#382) 2018-02-15 13:58:17 +00:00
Eric Kohl 6c9cdd84bb [SERVICES] Set a complete service status for running boot start or system start drivers 2018-02-12 15:50:30 +01:00
Eric Kohl e917471e04 [SERVICES] Fix the initial service status
- The initial dwWin32ExitCode for a disabled service is ERROR_SERVICE_DISABLED and ERROR_SRVICE_NEVER_STARTED for non-disabled services.
- The initial dwWaitHint is 2000 (2 seconds) for (user-mode) services and 0 for drivers.
- Move all driver-related code to driver.c.
2018-02-12 14:58:02 +01:00
Serge Gautherie f1535c2d6e [EXPLORER] Fix a Clang-Cl warning about Icon->ProcessId
"warning: expression result unused [-Wunused-value]"
Regressed in be2bf9b.

CORE-14306
2018-02-12 08:41:26 +00:00
Bișoc George abdde0b764 [EXPLORER] WatchList should be freed with delete[], not delete (#374)
WatchList is a set of array objects, initialized with "new[]", so it should be freed with "delete[]" to free all of its elements. Otherwise using only "delete" only frees the first variable but not its array. This would lead to an undefined behaviour.
2018-02-11 22:56:38 +01:00
Hermès Bélusca-Maïto a3403eff05
[MAGNIFY] Call PostQuitMessage() only at the very end. 2018-02-11 00:35:29 +01:00
Eric Kohl 85b71880fa [SERVICES] Update the service status after unloading a driver
Update the service status after unloading the driver and pass the new status to the caller.

CORE-14269
2018-02-10 17:02:23 +01:00
David Quintana 3003471e64 [EXPLORER] Send balloon notifications to the callback message.
TODO: Send NIN_BALLOONUSERCLICK when the user clicks on the balloon content (not the X button).
2018-02-10 16:31:26 +01:00
Eric Kohl 905d65b75b [SERVICES] Support the NoInteractiveServices registry value 2018-02-10 14:23:11 +01:00
Alexander Shaposhnikov f4fedb936e
[RAPPS] Fix column sorting
CORE-13793
2018-02-09 00:53:31 +02:00
Alexander Shaposhnikov b698067e35
[RAPPS] Set header style when sorting by column 2018-02-09 00:41:55 +02:00
Luo Yufan 19737a2cb9 [TRANSLATION] Simplified Chinese translation update for NETID and PING. (#369) 2018-02-07 14:03:42 +01:00
Giannis Adamopoulos 218b8eda92 [SYSSETUP] Don't load ISOLATIONAWARE_MANIFEST_RESOURCE_ID manually
Such a manifest is meant to be activated by the caller of the exports of the dll.
This means that the user of syssetup which is setup.exe is the one that should do the proper handling of the manifests.
Since setup.exe is the one that needs to do the right thing, add a CREATEPROCESS_MANIFEST_RESOURCE_ID to it and avoid
dealing with ISOLATIONAWARE_MANIFEST_RESOURCE_ID altogether (which is supposed to be used by activating the activation context
before calling the exports of the dll that has it). We don't really use ISOLATIONAWARE_MANIFEST_RESOURCE_ID correctly in any
place in the tree so let's rely on CREATEPROCESS_MANIFEST_RESOURCE_ID for now.

This fixes one part of CORE-14228 where no image was shown in the theme selector buttons. This happened because comctl32 was
statically linked and calling ImageList_LoadImage ended up creating an image list with comctl32 v5. Then we passed this image
list to a button created with comctl32 v6 and as a result the image list was unusable. This is yet another issue that needs
to be addressed in the future. Namely, it seems that in windows comctl32 v6 can use image lists created by comctl32 v5 whereas
we cannot.

This fix is not a hack but cleverly works around these two bugs that need to be addressed some time in the future.
CORE-14228
2018-02-07 01:15:49 +02:00
Joachim Henze 579e1e6b24 [EXPLORER] Update all preview bitmaps showing notification area
To reflect recent changes in taskbar height, icon spacing,
clock x and y margins.
Also make sure all shots show the exact same time
and choose a more localization agnostic time.
2018-02-06 17:35:08 +01:00
Joachim Henze bd7eae6795 [EXPLORER] Update classic/modern startmenu preview bitmaps
To reflect our recent updates in banners and notification area.
Also reduces explorer binary size by 214.016bytes.
2018-02-06 14:48:43 +01:00
Mark Jansen 64d32eab27 [RAPPS] Do not resize (hide) the treeview when minimizing. 2018-02-06 00:08:12 +01:00
Bișoc George 7b71877676 [TRANSLATION] Romanian translation for FONTEXT and TIMEOUT (#363)
[FONTEXT]: At the moment there is a comment in the en-US.rc resource file that advises to not translate it. I only created this file as a basis for the future. The file will be updated later when there is the possibility for FONTEXT to be translated further.
2018-02-05 18:57:39 +01:00
Eric Kohl f0c7db730c [SERVICES] Remove the synchronous service control pipe code
Remove the synchronous service control pipe code because we are using the asynchronous service control pipe code for years.
2018-02-04 22:30:33 +01:00
Adam Słaboń 0d838f40a3 [TRANSLATION] Polish translation update (#357) 2018-02-04 18:45:20 +01:00
Hermès Bélusca-Maïto 131678a025
[SHELL32] Rewrite the wrapping code for shell taskbar notifications.
- Introduce the TRAYNOTIFYDATAW structure, as documented by Geoff
  Chappell in "WM_COPYDATA for Taskbar Interface", at
  http://www.geoffchappell.com/studies/windows/shell/shell32/api/shlnot/copydata.htm
  that is the data structure passed between shell32 and explorer for
  communicating shell notify icon information.

- In Shell_NotifyIcon(), correctly capture the (ANSI and) UNICODE
  structures provided by the caller, properly taking into account for
  the different NOTIFYICONDATA structure sizes existing out there.
  The different strings are now properly null-terminated (especially
  szTip if it needs to be truncated out), and the flags validated.

- Remove the now unneeded "SHELL_NotifyIcon()" helper function.

[EXPLORER] Use TRAYNOTIFYDATAW and adjust the callers.
2018-02-04 18:11:50 +01:00
Thomas Faber dc51b419c7
[USETUP] Use the smaller zlib_solo instead of the full zlib. CORE-14290 2018-02-04 12:54:39 +01:00
Hermès Bélusca-Maïto 04498f3eb5
[EXPLORER] Don't use deprecated StrNCpy function but use the string-safe StringCchCopy instead. Also fix a copy-paste error in the _countofs. 2018-02-04 01:57:05 +01:00
Hermès Bélusca-Maïto 3b777fd133
[RAPPS] Remove trailing spaces. 2018-02-03 23:43:56 +01:00
Hermès Bélusca-Maïto 26ac8ac81e
[RAPPS] Remove deprecated TODO; use _countof() where needed. 2018-02-03 23:43:53 +01:00
Hermès Bélusca-Maïto 3f5fe94104
[RAPPS] Usability fixes. 2018-02-03 23:43:47 +01:00
Hermès Bélusca-Maïto f982d77b8a
[CONUTILS] Diverse improvements: start doxygenating and add some resource messsage helper functions.
- Start to doxygenate the library, focusing in great details on the
  functions of the "outstream" module.
- Add a K32LoadStringEx function that expands (K32)LoadString by
  allowing a LanguageId parameter to be able to load strings from other
  languages than the current one.
- Add "ConResMsg*" helper functions to be able to (format and) print
  message strings with inserts that come *NOT* from a message table (as
  usual) *BUT* from resource string tables.
  Will be helpful for CORE-14265 in particular.

[CMD] Fix the call to ConMsgPrintfV().
2018-02-02 00:41:54 +01:00
Luo Yufan a13c998183 [TRANSLATION] Simplified Chinese translations updated. (#348) 2018-02-01 02:50:29 +01:00
Joachim Henze f5d679aeb9 [EXPLORER] Pixel-perfect x-margins surrounding the clock
To look like XP/2k3.
Relies on d11e7af5f2

CORE-14272
2018-01-30 18:42:21 +01:00
Bișoc George 4a5b30ee1f [TRANSLATION][CLIPBRD] Italian translation implemented (#344) 2018-01-29 22:33:22 +01:00
Giannis Adamopoulos 556c485c8b [EXPLORER] Improve the width of the taskbar clock
Don't take into account TRAY_CLOCK_WND_SPACING_X twice
Increase TRAY_CLOCK_WND_SPACING_X
2018-01-29 22:32:17 +02:00
Giannis Adamopoulos d11e7af5f2 [EXPLORER] Center the text of the clock
CTrayClockWnd: Fix the calculation that centered the text of the clock.
CTrayNotifyWnd: Restore the 1 pixel margin between the clock and the pager.
2018-01-29 21:50:33 +02:00
Joachim Henze c109dc9f24 [EXPLORER] Tweak x-margins surrounding the clock
To look more like XP/2k3.
Not pixel-perfect yet, that would require asymmetric margins.

CORE-14272
2018-01-29 19:15:50 +01:00
Bișoc George 7169c7703d [TRACERT] Translation for Italian and Romanian language (#333) 2018-01-29 18:23:52 +01:00
Giannis Adamopoulos fabf069daf [EXPLORER] Fix showing the lock status in the taskbar popup menu 2018-01-29 18:15:31 +02:00
Joann Mõndresku d80ef2c90a [TRANSLATION] Various translations to Estonian (#329)
Estonian translations for shell + explorer, cpl files (access, appwiz, desk, timedate), devmgr, browseui, comctl32, aclui, avifil32, comdlg32 and credui.
2018-01-29 17:03:27 +01:00
Giannis Adamopoulos 22d1e1017f [EXPLORER] CNotifyToolbar: Set TBMETRICS::cxBarPad and TBMETRICS::cyBarPad
MSDN says that these values are not used but apparently they are used as a padding around the buttons.
This helps to center the buttons in the notification area.
2018-01-29 17:30:44 +02:00
Giannis Adamopoulos c54c5ebb5f [EXPLORER] CTrayWindow: Draw the sizer only when the taskbar is not locked. 2018-01-29 00:27:45 +02:00
Giannis Adamopoulos 488477d10d [EXPLORER] CTrayNotifyWnd: Fix resizing when the clock is hidden 2018-01-28 22:38:48 +02:00
Giannis Adamopoulos 85d7dd4f83 [EXPLORER] CTrayNotifyWnd: Only update the requested dimension when handling TNWM_GETMINIMUMSIZE. 2018-01-28 22:04:34 +02:00
Giannis Adamopoulos 5a1984c998 [EXPLORER] CTaskSwitchWnd: Implement getting the setting for grouping tasks. This doesn't work yet but the setting does get stored in m_IsGroupingEnabled. TSWM_ENABLEGROUPING is not needed. 2018-01-28 20:24:02 +02:00
Giannis Adamopoulos 6c073e9539 [EXPLORER] CTrayClockWnd: Implement showing and hiding seconds or the whole clock from the properties window. 2018-01-28 18:59:18 +02:00
Giannis Adamopoulos 455bce68b5 [EXPLORER] -Make CSysPagerWnd, CTaskSwitchWnd, CTrayClockWnd and CTrayNotifyWnd proper com objects so that their lifetime is managed properly. 2018-01-28 18:35:16 +02:00
Eric Kohl 2d69520595 [SERVICES] Do not delete running services.
CORE-14260
2018-01-28 00:57:58 +01:00
Serge Gautherie 2e868f2604 [SC] print.c: Minor code improvements. (#324)
- Plus: Update license header.
- Re-use PrintServiceStatus(), as SERVICE_STATUS_PROCESS is in fact an extension of SERVICE_STATUS.
- Use the "SERVICE_*" defines, not magic numbers.
2018-01-27 19:54:26 +00:00
Giannis Adamopoulos 7f35908ad2 [EXPLORER] CTrayNotifyWnd: Simplify how it interacts with its parent and children. Clean up. 2018-01-27 19:41:09 +02:00
Stanislav Motylkov dd65d06270 [TRANSLATION] Add and fix translations for ping and tracert (#331) 2018-01-27 16:25:51 +01:00
Pierre Schweitzer 79887db12e
[TRACERT] Add French translation 2018-01-27 13:01:45 +01:00
Pierre Schweitzer 77105d9c5b
[PING] Complete French translation 2018-01-27 12:49:14 +01:00
toehead2001 a30d12dde7 [SNDVOL32] Fix controls' offset (#280)
CORE-9108
2018-01-26 23:30:15 +02:00
Joann Mõndresku 757511c4e8 [TRANSLATION] Estonian translation for Notepad & Paint
Added Estonian translation for the common base applications Notepad and MS Paint. These are the initial translations, and are subject to change, as they may not be the most perfect.
2018-01-26 22:43:25 +02:00
Stanislav Motylkov 906fdf9ccb [PING] Fix error handling and response address decoding (#318)
- Host/net unreachable error should be obtained from EchoReply->Status
- Use GetNameInfoW to decode actual response addresses (borrowed from tracert code)

CORE-14241 #resolve
2018-01-26 18:38:47 +00:00
Stanislav Motylkov 010c7bfc9b [TRACERT] Improve error handling and output (#319)
- Correctly interpret network error codes
- Add output for generic transmit failure

CORE-14242 #resolve
2018-01-26 18:37:43 +00:00
Baruch Rutman b917d826a4 [BASE/APPLICATIONS] Hebrew translation updates (#321)
Translation updates + mirroring support.
2018-01-24 16:00:43 +01:00
David Quintana 3d75cc0814 [EXPLORER] Split up the notification area into a few more manageable pieces. 2018-01-24 14:41:31 +01:00
David Quintana 5ec441a867 [EXPLORER] Workaround for something that may or may not be an "unintended feature" of the comctl toolbar.
Apparently the indices provided in NMTBGETINFOTIP (TBN_GETINFOTIP data struct), are not reliable,
but since the lParam values are, and it saves us a lookup, we will be using those instead. Win-Win!
2018-01-23 23:10:44 +01:00
David Quintana bc43733e48 [EXPLORER] Implement balloon queueing. 2018-01-23 22:13:01 +01:00
David Quintana bbca71c4a5 [EXPLORER] Implement rudimentary uVersion management, and notification balloons.
- uVersion will only be truly useful when Vista+'s V4 style notification icons are implemented.
- Balloon notifications do not yet support queuing and auto-closing.
- Force the notification icon tooltips to always show even if the taskbar isn't foreground.
[ROSCTRLS.H] Implement CTooltips class which manages a comctl32 tooltips window.
2018-01-23 22:13:01 +01:00
Stanislav Motylkov 20a782b7b1 [KBSWITCH] Update tray icon on color scheme change
CORE-14240 #resolve
2018-01-22 18:56:41 +02:00
Amine Khaldi 9a9ebc0e93 [WINHLP32] Sync with Wine 3.0. CORE-14225 2018-01-21 22:10:10 +01:00
Amine Khaldi 502927fd0e [XCOPY] Sync with Wine 3.0. CORE-14225 2018-01-21 22:08:40 +01:00
Amine Khaldi f7f635d478 [TASKKILL] Sync with Wine 3.0. CORE-14225 2018-01-21 22:07:31 +01:00
Amine Khaldi b50acff2bf [REG] Sync with Wine 3.0. CORE-14225 2018-01-21 22:04:40 +01:00
Ged Murphy cb8cc0d098 [EXPLORER]
We need to leave one slot available for the m_WakeUpEvent handle
2018-01-20 18:50:10 +00:00
Ged Murphy be2bf9b8c5 - Properly handle cases of more than 64 icons
- Don't leak the list of handles on each pass through the loop
- Make sure we clean up if the wait fails for whatever reason
2018-01-20 18:38:42 +00:00
gedmurphy 851e0ca5a8 Delete the lock on exit 2018-01-20 18:38:42 +00:00
gedmurphy 2abd068398 Properly delete the object and allow its destructor to cleanup 2018-01-20 18:38:42 +00:00
gedmurphy 8c91a00fcf Minor update 2018-01-20 18:38:42 +00:00
gedmurphy 6c9629bb72 forgot about the gcc build... 2018-01-20 18:38:42 +00:00
gedmurphy d66c6890f7 Initial implementation of a watcher for the systray (notification area) that removes icons if the owning process dies/terminates without removing it 2018-01-20 18:38:42 +00:00
Lee Schroeder 9be6ac9cbb
[DRWTSN32][SHIMDBG] Add missing va_end.
CORE-14193
2018-01-19 22:09:47 +01:00
David Quintana 2c8ed37605 [EXPLORER] Fix the code that requests the taskbar to recalculate the size,
after an icon is removed due to missing owner. Also cleaned up the other case.
2018-01-18 02:20:20 +02:00
David Quintana 74e58d938e [EXPLORER] Fix some issues with the notification area code,
and implement NIS_SHAREDICON while at it.
2018-01-18 02:20:20 +02:00
Giannis Adamopoulos 71e66c69c1 [EXPLORER] CTrayBandSite: Call DBID_SETWINDOWTHEME on new bands to make them use the theme of the taskbar. CORE-14176 2018-01-16 11:50:52 +02:00
Giannis Adamopoulos 4b6d929be1 [EXPLORER] Winkey + E shortcut should open "My Computer" instead of "My documents" CORE-14199 2018-01-13 21:14:16 +02:00
Serge Gautherie 2a8864967f
[DRWTSN32] Update output string copypasta from #268 168223aeb8. 2018-01-11 10:37:23 +01:00
Katayama Hirofumi MZ ca8c5a2164 [USETUP] Improve muifonts.h and add a SimHei font substitution entry (#272) 2018-01-08 16:24:31 +01:00
Erdem Ersoy ba3f074320 [TRANSLATIONS] Update the email address and add a note in the Turkish translation document (#271) 2018-01-07 22:09:42 +01:00
Timo Kreuzer 168223aeb8 [DRWTSN32] Fix amd64 build 2018-01-07 13:42:39 +01:00
Pierre Schweitzer cc8ccc6eb8
[USETUP] When opening the target file for dropping readonly mode only use required access.
This avoids the open failing on certain file systems where GENERIC_WRITE access would be denied
for a readonly file.
This is an addendum to 82f44a2.

CORE-14158
2018-01-06 12:11:02 +01:00
Mark Jansen 280d7a9775
[DRWTSN32] Implement basic crash report functionality
On application crash, drwtsn32 will attach to the application and try to get a dump, consisting of:
- List of loaded modules
- List of loaded threads
- Per thread, a stacktrace
- Per thread, a small hexdump from the stack
- Per thread, a dump of the most common registers

This dump is saved to the desktop, and the user is notified of the dump being dropped there.

CORE-14180
#145
2018-01-06 11:47:54 +01:00
Pierre Schweitzer 82f44a2107
[USETUP] When overwriting a file, if open fails, it might be because the file is readonly.
In such situation, try to drop the readonly attribute before overwritting the file.

This fixes setup not being able to overwrite FAT bootcode when reusing a FAT partition
already installed without reformatting.

CORE-14158
2018-01-04 21:49:56 +01:00
Bișoc George 71899c4290
[RAPPS] Romanian translation update
Quick update covering the latest commit - CORE-13789.
2018-01-03 12:29:13 +02:00
Bișoc George 7e1f4184fe
[RAPPS] Italian translation update
Quick-update covering the latest commit - CORE-13789.
2018-01-03 12:28:37 +02:00
Joachim Henze 1522d1cf67 [RAPPS] update translation de-DE.rc for CORE-13789 2018-01-03 09:48:31 +01:00
Alexander Shaposhnikov 58f8fa9ec8
[RAPPS] Make selection global
- Added a 'Selected for installation' category that shows what was selected.
  Selection is now kept between categories.
- New string is added to resources.
  ru-RU.rc and uk-UA.rc strings are translated.
CORE-13789
2018-01-03 10:18:49 +02:00
Pierre Schweitzer 06abd3b480
[DISKPART] Don't crash on input if user provided no command
CORE-14018
2018-01-03 08:48:36 +01:00
Bișoc George 4e2d8956a4 [REACTOS] Italian translation update. #255 2018-01-02 18:41:50 +01:00
Ged Murphy 344f367211
[TRACERT] Rewrite tracert
- Full rewrite. This commit replaces the old utility.
- Use the new ICMP APIs instead of manually crafting ping requests using raw sockets.
- Add support for additional languages (the previous utility was hardcoded)
- Add support for IPv6
- Make the icmpapi header C++ compatible. (we don't appear to sync this with wine anymore.)
- Now runs on Win10, is much more reliable, and brings the code somewhat into the 21st century.
(It's currently missing source routing (-j), but as most routers disable this anyway, I'm not sure that it's worth adding)
2018-01-02 09:43:14 +00:00
Alexander Shaposhnikov 8d436d9bb5
[RAPPS] Simplified string creation in CAvailableApps
Created a struct that fills itself upon creation.
This makes it easy to include in CAvailableApps without additional weirdness.
2018-01-02 02:13:55 +02:00
Hermès Bélusca-Maïto 5a4693ff6f
[CHARMAP:NEW] Fix newlines and whitespace. 2018-01-01 02:10:22 +01:00
Bișoc George e7459b0cc2 [CHARMAP:NEW] Adding some indentation (#241)
This file lacks proper indentation and that doesn't meet the ReactOS Coding style as it should.
2017-12-31 22:42:16 +01:00
Bișoc George 738aaf6dc6 [CHARMAP:NEW] Italian language implementation (#243)
This patch brings the Italian translation resource file for ReactOS Character Map (CHARMAP_NEW).
2017-12-31 22:36:20 +01:00
Bișoc George 40b3380f38 [CHARMAP:NEW] Romanian language implementation (#242)
This patch implements the Romanian language resource file for ReactOS Character Map software (CHARMAP_NEW).
2017-12-31 22:35:33 +01:00
Alexander Shaposhnikov 4c29691f6a
[RAPPS] Replaced "..." with "…" for resource unification 2017-12-30 23:39:39 +02:00
Bișoc George 67a4e1387e [CHARMAP] Tiny update for Italian translation
Replaced "Map Character" with "Mappa Caratteri".
2017-12-30 16:08:58 +01:00
Bișoc George 409d166c2c
[RAPPS] Romanian translation update
- Translated some English strings and fixed a small grammar typo.

Addendum:
- Header file ported from ReactOS coding style added
(even though it kind of bloats the translation file, it does actually help for
future translators looking at changes committed by previous translators).
- Replaced "..." with "…" (single character) <sanchaez>
2017-12-29 23:30:54 +02:00
Katayama Hirofumi MZ 89f9c9101a
[TRANSLATION] Use correct font name in Korean resources, CORE-9566 (#228).
Localized resources should use the correct Korean fonts that are most suitable
for UI and compatible with Windows.
2017-12-29 01:51:15 +01:00
Katayama Hirofumi MZ e9d8fa57c3
[TRANSLATION][BASE][FDEBUG][MODULES][WIN32SS] Use correct font name in Chinese resources, CORE-9566 (#227).
Localized resources should use the correct Traditional/Simplified Chinese fonts
that are most suitable for UI and compatible with Windows.
2017-12-29 01:51:06 +01:00
Katayama Hirofumi MZ d09998dfc7
[TRANSLATION][APPLICATIONS] Use correct font name in Chinese resources, CORE-9566 (#226).
Localized resources should use the correct Traditional/Simplified Chinese fonts
that are most suitable for UI and compatible with Windows.
2017-12-29 01:50:54 +01:00
B. George bdb076bdce
[TRANSLATION][RAPPS] Update for the Italian translation, CORE-14093.
Just a small patch which translates several English strings for the RAPPS application.
2017-12-28 17:42:56 +01:00
Katayama Hirofumi MZ b214b160b6
[REACTOS][WELCOME] Use correct font name in Chinese resources, CORE-9566 (#219).
Localized resources should use the correct Chinese font names compatible with Windows.
2017-12-26 22:11:21 +01:00
Lauri Ojansivu 2246a9f211 [TRANSLATION] Translate Explorer into Finnish, by Lauri Ojansivu (#218) 2017-12-26 20:17:30 +01:00
Amine Khaldi c5e033e643 [RAPPS] Remove conversion helper that is now obsolete. #179 2017-12-25 20:57:04 +01:00
Amine Khaldi 9ce192a807 [MSCONFIG_NEW] Add missing header guard. Rename Update_Btn_States() and iSortedColumn. #179 2017-12-25 20:31:27 +01:00
Amine Khaldi 018ba0f72e [FTP] lostpeer() is declared and defined with a void return type. #179 2017-12-25 20:25:57 +01:00
Amine Khaldi 0e9d9ce905 [NET] Fix a style issue I caused by 3c8a3a6 2017-12-25 13:49:50 +01:00
Markus Gothe e2e699118f Improve swedish translations and add new translations to swedish. 2017-12-25 11:31:22 +01:00
Amine Khaldi 3c8a3a6e7e [NET] CompareInfo => CompareUserInfo. #179 2017-12-24 00:15:58 +01:00
Amine Khaldi 17b691f5a9 [REGEDIT] Rename NUM_ICONS and _CmdWndProc(). #179 2017-12-23 14:15:02 +01:00
Amine Khaldi d9a18277b8 [SERVMAN] InitDialog => InitProgressDialog. #179 2017-12-23 14:00:08 +01:00
Amine Khaldi e3e46b2bcd [DXDIAG] Rename WIDTH, HEIGHT, InitListViewColumns and SetDeviceDetails. Zap WindowProc. #179 2017-12-23 13:57:01 +01:00
Amine Khaldi 1963e2d130 [CHARMAP] Rename OnCreate functions. #179 2017-12-23 13:46:33 +01:00
Pierre Schweitzer c8f2befb5f
[USETUP] Our current FAT ChkDsk being a bit slow when using the right path make
it only perform a full check if dirty bit is set (which should never happen *cough*).

This is needed because otherwise, ReactOS installation takes forever when IopParseDevice is gone
due to slow ChkDsk.
2017-12-17 23:26:38 +01:00
Alexander Shaposhnikov ab7ddc44f7
[RAPPS] Select 'Available' category by default. 2017-12-17 16:14:51 +02:00
Hermès Bélusca-Maïto 8f04bf3af6
[MSCONFIG_NEW] Temporarily "fix" the header of the SimpChinese resource file because this has nothing to do with Paint whatsoever. Proper headers will be used as soon as msconfig_new replaces the old one and such headers be used in all of its code. 2017-12-17 14:44:23 +01:00
Luo Yufan d6131ace49 [TRANSLATION] Improve Simplified Chinese Translations.
* Fix Simplified Chinese Translation of EXPLORER.
* Fix Simplified Chinese Translation of MSCONFIG_NEW.
* Fix Simplified Chinese Translation of MSPAINT.
* Fix Simplified Chinese Translation of SHELL32.
* Fix Simplified Chinese Translation of SYSDM.
* Fix Simplified Chinese Translation of SETUP/REACTOS.
2017-12-17 14:40:59 +01:00
Hermès Bélusca-Maïto 0710eae780
[DOSKEY] Resource files: remove trailing whitespace. 2017-12-16 21:09:59 +01:00
Hermès Bélusca-Maïto ae9702fcec
[DOSKEY] Improvements when importing aliases definition files.
- The aliases ("macros") definition files have the same format as what
  is output by DosKey when one displays the list of defined aliases with
  the /macros: command-line switch. It should then, in particular,
  understand the format where executable names are also specified:

[exename1]
    alias1=command1
    ...

[exename2]
    aliasN=commandN
    ...

  We now behave similarly as Windows' version of this utility in that
  regard.

- Use ARRAYSIZE() when needed.
- Take the opportunity to add a license header to the source file.
2017-12-16 21:07:39 +01:00
Li Keqing f461c451a1 [TRANSLATION] Fix Simplified Chinese Translations (#187)
* Fix the Simplified Translation of Rapps
* Fix the Simplified Translation of msconfig_new
* Fix the Simplified Translation of charmap_new
* Fix the Simplified Translation of winmine
* Fix the Simplified Translation of kbswitch
* Fix Simplified Chinese Translation of logoff
* Fix Simplified Chinese Translation of eventvwr
* Fix Simplified Chinese Translation of sysdm
* Update Simplified Chinese Translation for dxdiag
2017-12-11 11:35:59 +02:00
Joachim Henze 8624801eb8 [SERVMAN] fix status-bar text truncation, update german localization CORE-14092 2017-12-10 14:08:29 +01:00
Amine Khaldi 3449296f7b [USETUP] LanguageList => MUILanguageList. #179 2017-12-09 23:33:02 +01:00
Pierre Schweitzer 48250aef6e
[CHKDSK] Don't continue repair if volume is in use
This makes use of previous commit vfatlib improvements that allow
caller to stop chkdsk if locking fail, which will happen if volume is in use.
That way, ReactOS users won't be able any longer to f*** up their C:\ volume
by attempting to chkdsk -f it!

CORE-14087
2017-12-09 21:12:09 +01:00
Amine Khaldi 4db1f987f3 [MSPAINT] Add some header guards. 2017-12-09 13:36:45 +01:00
Pierre Schweitzer 9d91a2e8ce
[SERVICES] Fix querying the status of a registered but not started driver.
The current implementation was broken and some dead code was never called; always failing before.
This fix revives this dead code!
Extra fix: avoid derefencing potential null-ptr.
And also, as bonus, comment the function so that logic can be easily understood.

CORE-14062
2017-12-08 22:48:20 +01:00
Amine Khaldi ccd5377851 [COMCTL32][FLTLIB][NETAPI32][SNDVOL32][STOBJECT][WBEMPROX] Remove unused debug channels and comment out unused variables. Silences some clang-cl warnings. 2017-12-08 00:06:13 +01:00
Amine Khaldi 5633423086 [FREETYPE][PORTCLS][RPCSS][SPOOLSV][STLPORT][USETUP][WLANSVC] Silence some clang-cl warnings. 2017-12-07 23:26:59 +01:00
CNAmira 43e1d6f177 [TRANSLATION] Update Simplified Chinese translations. (#170)
- Add Simplified Chinese translation for EVENTCREATE.
- Update translations for 'dxdiag', 'fontview', 'magnify', 'mmc', 'rapps' and 'wordpad'.
Patch by Li Keqing.
2017-12-07 22:53:48 +01:00
Hermès Bélusca-Maïto 49db8dc2a2
[CMD] Fix resource string (unrecognized escape sequence); addendum to 9a59558. 2017-12-07 22:08:54 +01:00
Amine Khaldi 00124d1b1a [CMAKE/CLANG-CL] Silence some clang-cl warnings in consistency with our gcc build. 2017-12-07 21:53:45 +01:00
Ged Murphy d73a72c21d
[SERVMAN] Fix return check on PropSheet_IsDialogMessage.
Should fix the regression introduced in the last commit.
CORE-14068
2017-12-06 22:08:46 +00:00
Luo Yufan 069546f5a4 Update Simplified Chinese translation. 2017-12-06 16:30:17 +01:00
Ged Murphy e36b89addb
[SERVMAN]
- Avoid a potential race whereby the current service selection can change before the propsheet thread starts up
- Cleanup the depends data, it doesn't need to be passed around the propsheet
2017-12-05 22:13:02 +00:00
Ged Murphy ceb1e0b9ff
[Servman] Make the property sheets modeless so users can open multiple services at the same time (#166)
[SERVMAN]
- Make the property sheets modeless so users can open multiple services at the same time
- Untested in ros. In fact we have no code or tests cases to check that modeless property sheets work, so please raise a bug if you find any issues with the app.
- Dedicated to reactosfanboy
2017-12-05 12:25:14 +00:00
Hermès Bélusca-Maïto f79d268ea1
[CMD] Fix the del /s command, reported by Pablo De Napoli. CORE-10460
The command should delete files in the specified directory and all of its
sub-directories, using any file pattern specified.

For example, the command:

    del /S .\my_directory

should delete all the files inside my_directory and its sub-directories,
and as such should also detect that "my_directory" is indeed a directory,
while doing:

    del /S .\my_file

should of course detect that "my_file" is indeed a file pattern, and thus,
delete all "my_file" files from the current directory and its sub-directories.

The command:

    del /S some_directory\file_pattern

should delete "file_pattern" files from some_directory and its sub-directories.
2017-12-03 16:01:44 +01:00
Hermès Bélusca-Maïto 9a59558307
[CMD] Fix the presentation of some confirmation prompts. 2017-12-03 15:58:53 +01:00
Amine Khaldi af212ce508 [NFSD] Add a PCH. 2017-11-26 14:19:34 +01:00
Amine Khaldi 09c06a2f45 [CLANG-CL] Initial commit that allows us to compile ReactOS with clang-cl. 2017-11-23 14:09:57 +01:00
Hermès Bélusca-Maïto 748c87202c
[CMD] Update the documentation of the FOR command. CORE-5806
- Also update & translate the french translation.
- Translators, please verify & update the translations!
2017-11-21 23:47:46 +01:00
Hermès Bélusca-Maïto 7bd33ac4df
[CMD] Addendum to 26ff2c8 and to r40474 / 8cf1106: Fix CMD process exit code.
As it appears, the process exit code of CMD /C is really the errorlevel,
and not the "command's return value".
2017-11-19 00:48:37 +01:00
Hermès Bélusca-Maïto 26ff2c8ef3
[CMD] Fix the errorlevel value set by the EXIT command, and when a batch file has run.
CORE-10495 CORE-13672

- Fix the behaviour of the EXIT command, where it set the last errorlevel
  value ONLY when it was called with the /b switch and otherwise kept the
  ambient one, instead of always using the value that the user specified
  on the command-line.

- When a batch file has terminated, make the Batch() helper returning the
  errorlevel value so that, when the batch file has been started with the
  CALL command, CALL can in turn set the correct errorlevel value.

Verified with respect to Windows' cmd.exe.
2017-11-18 23:52:50 +01:00
Hermès Bélusca-Maïto 24ed534474
[CMD] Code formatting only. 2017-11-18 23:52:50 +01:00
Hermès Bélusca-Maïto 56a19b1439
[CMD] ExecutePipeline() returns the last error level (set to process exit code).
CORE-13974

This should fix situations where (for example):
   command_1 | command_2 && echo Succeeded
should *NOT* run "echo Succeeded" if any of the command_1 or command_2 has
failed.

This also makes the ExecutePipeline() function on par with the other
"ExecuteXXX()" helpers.

Problem diagnosed by Doug Lyons; patch inspired by contributor 'cagey45'.
2017-11-18 20:59:06 +01:00
Katayama Hirofumi MZ 5d2e34d1d4 [FONTS] Add more font substitutes. CORE-12419
Substitute Comic Sans MS with Ubuntu, Georgia with FreeSerif and Palatino Linotype with DejaVu Serif.
2017-11-18 17:11:16 +02:00
Hermès Bélusca-Maïto 8340574fe3
[CMD] Fix support for newlines in the emulated parenthesed set block of the "for" command.
CORE-7998
2017-11-17 00:58:45 +01:00
Hermès Bélusca-Maïto cfcca53856
[CMD] Fix '?' command output by adding a missing new-line. CORE-14016
Patch by Doug Lyons.
2017-11-16 21:27:27 +01:00
David Quintana e10108c088 [EXPLORER] Remove version number from the start menu banner image, as requested.
Also, since we won't be editing the svg as often, move it to the media/graphics folder.
2017-11-14 18:15:34 +01:00
Stanislav Motylkov 66e3c1f73a [RAPPS] Add support for no-length downloads indication 2017-11-14 12:47:18 +02:00
Eric Kohl 52fa3479f3 [EVENTLOG] Use the STDCALL calling convention for all remote procedure calls. 2017-11-12 15:54:22 +01:00
Eric Kohl 7dd8ebcbbd [SERVICES] Use the STDCALL calling convention for all remote procedure calls. 2017-11-12 14:04:22 +01:00
Eric Kohl 2b5c4bd2c7 [UMPNPMGR] Add missing status mappings to NtStatusToCrError.
CORE-13944
2017-11-12 12:51:19 +01:00
Adam Słaboń 7273a7ba21
Polish Translation update 2017-11-09 22:40:49 +01:00
Joachim Henze 10582455b3
[RAPPS] Update German translation. CORE-13782 2017-11-09 22:33:11 +01:00
Serge Gautherie f0e6c11bba
[USETUP][EXT2LIB] NtWriteFile() calls: Remove unused 'ByteOffset = 0', Use explicit NULL instead of ambiguous 0. CORE-13910 2017-11-09 21:28:50 +01:00
Jared Smudde e0b32f28f4 [mspaint] Replace the current 16 pixel program icon with one from the Tango icon theme. 2017-11-07 22:53:36 +01:00
Alexander Shaposhnikov 47bbd637d8
[RAPPS] Reflect installation status it download dialog header.
Pointed out by Mark Jansen
2017-11-05 20:44:27 +02:00
Serge Gautherie bcaa33e33b
[USETUP][ROSAPPS][EXT2LIB] NtReadFile() calls: Remove unused 'ByteOffset = 0', Use explicit NULL instead of ambiguous 0, Remove casts to same type. CORE-13910 2017-11-03 15:02:16 +01:00
Thomas Faber fe3eb29287
[REACTOS][FDEBUG] Remove unnecessary DLGPROC casts. 2017-11-03 13:57:46 +01:00
Benedikt Freisen 0ef056230e [MSPAINT] Base dialog implementations on CDialogImpl
- Wrap implementation of Mirror/Rotate, Stretch/Skew and Attributes dialog in subclasses of CDialogImpl
- Turn global variables from code that was moved into member functions into member variables
- Add global instances of all three dialog classes
- Use <global instance>.DoModal(...) instead of one-line wrappers
- Replace some TCHAR arrays with CStrings
2017-11-02 21:29:40 +01:00
Giannis Adamopoulos 2ed535da8a [EXPLORER] -Rewrite taskbar settings routines and dialog
- Rewrite the taskbar settings and start menu settings property sheets.
- All settings in the taskbar settings property sheet can be loaded and saved properly except for the quick launch one which will be implemented later.
- Implement toggling lock, autohide and always on top. The rest will be implemented later.
2017-11-01 01:04:39 +02:00
Thomas Faber ba8f75557a
[SHELL32][REGEDIT][MSCONFIG_NEW] Correctly check for presence of list view sort header. 2017-10-29 22:00:18 +01:00
Marian Schubert e3d000c30e [NET] Add missing newlines to net utility output (#91)
Password last set and Password changeable lines were missing newlines.
2017-10-29 21:38:05 +01:00
Alexander Shaposhnikov ee019e12fa
[RAPPS] Prevent download dialog placeholder from displaying
CORE-13915
2017-10-28 23:48:05 +03:00
Giannis Adamopoulos 82b12ef4cf [EXPLORER] CSysPagerWnd: Notify the CTrayWindow to reposition its children only when the number of the icons shown in the notification area changes. 2017-10-28 22:09:44 +03:00
Giannis Adamopoulos 4238f22396 [EXPLORER] Simplify how autohide is implemented
Do not change m_TrayRects when m_AutoHideOffset is changed. m_AutoHideOffset will be taken into account only while WM_WINDOWPOSCHANGING is processed
2017-10-28 19:27:11 +03:00
Amine Khaldi 5cb0615147 [BROWSEUI][DEVMGR][EXPLORER][NTGDI][NTOBJSHEX][NTVDM][SETUPAPI] Remove/comment out some unused variables. CORE-11799 (#94) 2017-10-28 15:04:18 +01:00
Amine Khaldi 511ad21fae [SHSVCS] Add missing VOID. CORE-11799 (#94) 2017-10-27 23:42:40 +01:00
Alexander Shaposhnikov 81a5b04f62
[RAPPS] Removed redundant static_cast 2017-10-27 22:03:31 +03:00
Alexander Shaposhnikov e554a359f3
[RAPPS] Make CConfigParser a temp object. 2017-10-27 22:03:31 +03:00
Alexander Shaposhnikov c9aa1915df
[RAPPS] Replace pointer array with object array in parts related to app DL. 2017-10-27 22:03:27 +03:00
David Quintana f0cc70da49 [EXPLORER] Update start menu banner to match our new versioning scheme for the master branch 2017-10-26 22:33:16 +02:00
Giannis Adamopoulos 0503d8808c [EXPLORER] Reduce the spam due to the broken CBandSite in browseui 2017-10-23 00:34:38 +03:00
Giannis Adamopoulos 8a52080dcc [BROWSEUI] Rename CISFBand_CreateInstance and add a CISFBand_CreateInstance macro that makes easy to switch between the system implementation or the local one. 2017-10-22 20:03:32 +03:00
Pierre Schweitzer b539380dac [RAPPS] Don't leak handle on success
CID 1419256
2017-10-21 10:49:02 +02:00
Serge Gautherie ba507ba439 [SYSSETUP] [USERINIT] "sLanguage" relates to LOCALE_SABBREVLANGNAME actually, not LOCALE_SLANGUAGE. CORE-13128 #62 2017-10-17 13:59:18 +01:00
Giannis Adamopoulos f0f1e5ffdb [QCKLNCH] Remove qcklnch (#61)
- Move CIFSBand to the shellbars static lib which is linked to browseui and rshell.
- Move CQuickLaunchBand to rshell.
- Make nescessary adjustments so that they can both be registered and instantiated.
2017-10-16 23:56:34 +03:00
Giannis Adamopoulos da5b61f32f [EXPLORER] Remove an unnecessary refresh of the rebar and its bands. 2017-10-14 18:42:37 +03:00
EricKohl 2a4ea213fa [SRVSVC] Implement NetrServerStatisticsGet(). 2017-10-12 17:57:45 +02:00
EricKohl 5048dc8930 [WKSSVC] Implements NetrWorkstationStatisticsGet().
Should fix CORE-13867 and CORE-13868.
2017-10-11 22:55:01 +02:00
Adam Słaboń 9c790dfc3b Polish translation update (#29)
* Polish translation update
2017-10-10 12:14:38 +02:00
Sergey Stopkin c8d97709cb CORE-13875 Added russian translation for timeout util 2017-10-08 18:14:44 +02:00
Victor Kukshiev 2ece6171c0 ru calculator translation update 2017-10-08 18:12:09 +02:00
Amine Khaldi 0c6498fa67 [MSIEXEC] Sync with Wine Staging 2.16. CORE-13762
d73c38f msiexec: Fix parsing of command lines where quoted strings and properties are not separated by whitespace.
2017-10-08 12:08:41 +01:00
Colin Finck 950c86fb4c Fix remaining text file line endings in the tree. (#18)
Based on https://stackoverflow.com/a/1511273

Also enforce CRLF for all *.xml files in our tree, because they are distributed with ReactOS.
2017-10-06 15:00:36 +02:00
Colin Finck 9ebf43567d Add .gitattributes and .gitignore files and normalize line endings in the repository (#10) 2017-10-04 20:37:32 +02:00
Hermès Bélusca-Maïto f9b6429468 Delete "ghost" old(*) files that have been mysteriously added back during the SVN-to-Git transition.
To check that these changes are correct, checkout in a directory (let's call it "ros_svn") the /trunk/reactos/ of our read-only SVN repo r76032 and in /trunk/reactos/modules/, the rosapps, rostests and wallpapers.
In a second directory (let's call it "ros_git"), clone the corresponding Git-converted ReactOS directory.
Before applying this patch (and the previous one that added back the empty directories), you should see additional files in ros_git that are not in ros_svn, corresponding to these files I'm deleting here (plus some .gitignore files),
and you should also see additional files in ros_svn that do not appear in ros_git: these are the empty directories I've restored in my previous patch.

Now, after the application of both the previous patch that restores the empty directories (and deletes the .gitignore files), and this patch that removes the ghost files, you should only see that the only differences
between ros_git and ros_svn are the extra .keep files in the empty directories, and that's all!

Command-line for the tests:
diff --strip-trailing-cr -r ros_svn ros_git > diff_svn2git.txt

"-r" means recursive, and "--strip-trailing-cr" ignores the CR-LF vs. LF (or CR) EOLs.

(*): by "ghost" old(*) files I understand files that existed previously in the far past, that then were deleted long ago in SVN, and that popped out back during the Git migration.
2017-10-04 10:28:36 +02:00
Hermès Bélusca-Maïto 221ed4cefe Remove unwanted .gitignore files. 2017-10-04 10:28:36 +02:00
tkreuzer 6882d62790 [REGEDIT] Support editing REG_FULL_RESOURCE_DESCRIPTOR values 2017-10-03 20:33:31 +02:00
Colin Finck c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00