Commit graph

51 commits

Author SHA1 Message Date
Victor Perevertkin 953c03c336
[DEVMGR] Avoid buffer overflow when device reg key size is > 100 chars 2020-10-22 14:38:55 +03:00
Jérôme Gardou ed61512236 [CMAKE] Get rid of add_compile_flags_language macro
in favor of add_compile_options and the like with generator expressions
Also take this as an opportunity to remove the C++11 standard hack, GCC 8 now defaults to C++14
2020-10-20 21:44:54 +02:00
Jérôme Gardou 907025a018 [CMAKE] Introduce the atl_classes interface library
This takes care of adding the relvant include directory and the _ATL_NO_EXCEPTIONS define, if needed
2020-10-20 21:44:54 +02:00
Jérôme Gardou d6ea8659c8 [CMAKE] Get rid of the set_cpp macro
Instead of messing with global variables and the like, we introduce two target properties:
 - WITH_CXX_EXCEPTIONS: if you want to use C++ exceptions
 - WITH_CXX_RTTI: if you need RTTI in your module
You can use the newly introduced set_target_cpp_properties function, with WITH_EXCEPTIONS and WITH_RTTI arguments
We also introduce two libraries :
 - cpprt: for C++ runtime routines
 - cppstl: for the C++ standard template library

NB: On GCC, this requires to create imported libraries with the related built-in libraries:libsupc++, limingwex, libstdc++

Finally, we manage the relevant flags with the ad-hoc generator expressions

So, if you don't need exceptions, nor RTTI, nor use any runtime at all: you simply have nothing else to do than add your C++ file to your module
2020-10-20 21:44:54 +02:00
Kyle Katarn 57401cb66d
[DEVMGR] Use the ShellAboutW API routine to display the about dialog and French translation update (#2807)
As the dialog simply displays the copyright names and nothing particular it makes sense to use ShellAboutW() instead.
Similar to #2743 by @HBelusca
2020-05-22 22:53:17 +09:00
Piotr Hetnarowicz 458c155c2e
[DEVMGR] Polish translation update (#2554) 2020-04-16 19:25:01 +02:00
Eric Kohl 16a4fc76de [DEVMGR] Do not add the 'Resources' page to the device properties if the device does not have any resources 2020-04-13 12:33:58 +02:00
Eric Kohl de5f67726b [DEVMGR] Remove ATLASSERTs from ListDevicesByType and RecurseChildDevices
Suggested by Mark Jansen. Thanks!
2020-04-10 20:58:02 +02:00
Eric Kohl b857ae808e [DEVMGR] CDeviceView::RecurseChildDevices: Skip invalid device nodes
CORE-16780
2020-04-05 18:29:32 +02:00
Serge Gautherie 92aabb07fb
[REACTOS] Fix remaining ' \n' typos, in *.rc (#2393)
Addendum to commit 554c41e4 (#2387).
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
2020-03-06 19:08:25 +01:00
Mas4hmad 228eeb7d79 [TRANSLATION] Update Indonesian Translation (#2268)
- Update Indonesian translation for:
  BROWSEUI.DLL, COMCTL32.DLL, DEVMGR.DLL, IEFRAME.DLL, NETID.DLL, SHELL32.DLL,
  SYSSETUP.DLL, TIMEDATE.CPL, APPWIZ.CPL, ACCESS.CPL, DESK.CPL and TASKMGR.EXE.

- Add Indonesian translation for: MSHTML.DLL, OLEAUT32.DLL, INPUT.CPL and NTVDM.EXE.
2020-01-26 18:29:38 +01:00
Jose Carlos Jesus 8dfd2338f1 [TRANSLATION] Update Portuguese translation (#2257)
Improvements/updates for sysdm.cpl, devmgr.dll, hhctrl.ocx, netid.dll,
and add new Portuguese translation for shimgvw.dll .
2020-01-19 15:45:06 +01:00
Serge Gautherie ad6f1ac72b [DEVMGR] CClassNode::SetupNode(): Properly use Type (#2100) 2019-11-29 14:13:13 +01:00
Serge Gautherie 9c82d16b14 [DEVMGR] m_DisplayName: Some functions need bytes, not chars
Also:
Always use explicit _countof() and sizeof().
Add a missing 'Size' re-init.
2019-11-27 10:22:46 +03:00
Adam Słaboń c81af08f51 [TRANSLATION] Polish translation update (#1916)
Added translation for netstat, utilman and netplwiz. Updated translation of find, reg, rapps, regedit, sndvol32, usetup, hivesys, mmsys, openglcfg, powercfg, sysdm, shellext, browseui, devmgr, msgina, netcfgx, shell32, syssetup, shortcuts and vcdcontroltool.
2019-09-20 21:51:47 +02:00
Shy Zedaka 187c9fc33c [Translation] More Hebrew Translations
Co-authored-by: Baruch Rutman <peterooch@gmail.com>
2019-08-15 13:41:01 +02:00
Eric Kohl 7550e9efbf [DEVMGR] Add the code to uninstall a device from the property page 2019-08-04 11:20:04 +02:00
Eric Kohl 611989943e [DEVMGR] Change the menu id prefix from IDC_ to IDM_. 2019-08-03 21:52:00 +02:00
Eric Kohl 38d3c4d8da [DEVMGR] Fix the indentation of the menu resources. No code changes! 2019-08-03 16:37:54 +02:00
Eric Kohl d1a2983c00 [DEVMGR] Fix wonky action menu
Patch by Pi_User5.

CORE-10364
2019-08-03 14:54:18 +02:00
Hermès Bélusca-Maïto 1dc4ba9da7
[DEVMGR] Add the missing pt-PT.rc translation file. Strange, I thought I added it before... 2019-06-20 18:04:26 +02:00
Mas Ahmad Muhammad 7f09d9512c
[DEVMGR] Update Indonesian translation. 2019-06-20 17:31:51 +02:00
Jose Carlos Jesus 37c43a7414
[DEVMGR] Add Portuguese (neutral) translation. 2019-06-20 17:15:17 +02:00
Mark Jansen 9824a0154e
[ATL] Retire atlnew 2019-04-18 19:21:37 +02:00
Jérôme Gardou 23373acbb9 [CMAKE] Use modules instead of shared libraries
There is no need to compile our DLLs as shared libraries since we are
managing symbols exports and imports through spec files.

On my system, this reduces the configure-time by a factor of two.
2019-04-06 17:43:38 +02:00
Yaroslav Kibysh cc7c6d21f8 [DEVMGR] Fix Ukrainian translation (#1441) 2019-03-25 23:15:00 +01:00
Ștefan Fulea 211ad8c73d [TRANSLATION] Update the existing romanian resources
This includes both newly added and previously left untranslated strings.
2019-01-29 13:48:48 +01:00
Luo Yufan 95564d5e30 [TRANSLATION] Update Chinese translation. (#1223)
[CLIPBRD][SOLITAIRE][RAPPS][REGEDIT][WINHLP32][WORDPAD][FDEBUG][SYSDM][BROWSEUI][DEVMGR][IEFRAME][OLEDLG][SHELL32][SYSSETUP][INF][WINFILE][NTVDM][USER32]
2019-01-07 00:35:11 +09:00
David Quintana 01e5cb0c04
Resource file strings cleanup (#581)
[CMDUTILS/AT] Fix missing translation strings in certain files.
[NOTEPAD] Fix SUBLANG code to brazillian.
[RAPPS] Fix missing translation strings in certain files.
[FDEBUG] Fix translation string ID.
[CPL/INPUT] Fix missing translation strings in certain files.
[ACPPAGE] Fix incorrect resource IDs.
[NETSHELL] Fix incorrect resource IDs.
[DEVMGR] Fix missing translation strings in certain files.
[LSASRV] Fix missing translation strings in certain files.
[RASDLG] Fix missing translation strings in certain files.
[SHELL32] Fix missing translation strings and incorrect resource IDs.
[TAPIUI] Fix missing translation strings in certain files.
[WINFILE] Fix incorrect resource IDs.
[NTVDM] Fix missing translation strings in certain files.
[USERSRV] Fix missing translation strings in certain files.
[BROWSEUI] One more missing string.
[FLTMC] Fix missing translation strings in certain files.

Detected using the TransDiffer tool (early alpha).
This doesn't include everything anymore, but I wanted to get the PR out of the way.
2019-01-05 15:44:16 +01:00
Luo Yufan c34833390a [TRANSLATION] Update Traditional Chinese translation. (#1193) 2018-12-27 16:24:24 +09:00
Luo Yufan d1de19002a [TRANSLATION] Update Traditional Chinese translation. (#1192) 2018-12-26 21:02:23 +01:00
Katayama Hirofumi MZ 02936d4c67
[DEVMGR][NETCFGX][MSCONFIG][NETSHELL] Fix and improve icons (#1143)
CORE-15445
2018-12-19 20:07:17 +09:00
Luo Yufan 39a478d17b [TRANSLATION] Update Simplified Chinese translation. (#1096) 2018-12-05 16:50:05 +01:00
Joann Mõndresku b63e2d5046 [TRANSLATIONS] Style fixes for Estonian 2018-11-07 22:10:27 +01:00
Stanislav Motylkov 10b7b94f45 [DEVMGR] Update russian translation 2018-10-07 18:28:43 +02:00
Eric Kohl f9739601b3 [DEVMGR] Hackfix CORE-5643 2018-10-05 15:09:27 +02:00
Pierre Schweitzer f2f24c1fa7
[DEVMGR] Update French translation 2018-10-04 11:13:15 +02:00
Katayama Hirofumi MZ 31019e8c0c [TRANSLATION] Update Romanian translation (#851)
Translation from Stefan Fulea.
CORE-15023
2018-09-14 11:04:36 +02:00
Adam Słaboń af3d426685 [TRANSLATION] Polish translation update (#781)
In addition: fix the encoding of the comdlg32 and ntvdm polish resource files.
2018-08-20 17:00:33 +02:00
Julio Carchi d7559e2354 [TRANSLATIONS] Fix spanish translations for some resources (#725)
Setup wizard
Network settings wizard
Input CPL
Open file dialogs
Devmgr
Explorer
2018-08-03 15:08:13 +02:00
Serge Gautherie 627f3dc725 [DEVMGR] Fix a Clang-Cl warning about DriverInfoDetailData.SectionName
"warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses]"

CORE-14306
2018-05-07 14:00:41 +02:00
Eric Kohl c177f3debd [devmgr] Partially implement additional buttons on driver page
Based on a patch by Jared Smudde.
- Add more space between controls
- Add german translation
- Disable unsupported buttons
CORE-10373
2018-03-25 16:21:45 +02:00
Timo Kreuzer 0182dcd71b [PSDK][REACTOS] Fix definitions and usage of DWLP_MSGRESULT, DWLP_DLGPROC, and DWLP_USER
- Make sure the DWLP_* values are correct on _WIN64
- Don't use the DWL_* constants, they are not portable. Enforce this by removing them entirely from winuser.h
- Make sure Get/SetWindowLong*Ptr* is used and pointers are not truncated to LONG
2018-03-04 16:27:07 +01: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
Eric Kohl 9d29ee3a62 [DEVMGR] Implement missing device power information (current power state, power capabilities and power state mappings). 2018-01-22 00:35:21 +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
Katayama Hirofumi MZ 81d6232aa3
[TRANSLATION] Use correct font name in Chinese resources, Part 1/3, CORE-9566 (#221).
Localized resources should use the correct Chinese font names compatible with Windows.
2017-12-27 16:10:56 +01: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
Adam Słaboń 9c790dfc3b Polish translation update (#29)
* Polish translation update
2017-10-10 12:14:38 +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