Commit graph

3050 commits

Author SHA1 Message Date
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