Commit graph

24 commits

Author SHA1 Message Date
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
Hermès Bélusca-Maïto 1d2fe2375a [EVENTVWR]: Adjust some menu keyboard shortcuts.
svn path=/trunk/; revision=73181
2016-11-09 22:14:20 +00:00
Hermès Bélusca-Maïto 682cc491e7 [EVENTVWR]
- Fix FormatMessage flags sanitization.
- Use "LANG_USER_DEFAULT" instead of MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT) (these are the same, but one is shorter than the other).
- In case LookupAccountSidW fails to retrieve the user name of an associated SID, use ConvertSidToStringSidW to get the SID string directly and display it, instead of claiming there is no associated user for a given event.
- In addition to display (in the status bar) the number of events in the selected log, display the number of events actually listed. This can be useful when events filtering will be completely implemented, and it can be also useful for detecting possible corrupted logs where the number of enumerable events is different (less) than the total number of events in the log...
==> To translators: please update the translations!
CORE-11637

svn path=/trunk/; revision=73043
2016-10-26 20:32:11 +00:00
Amine Khaldi 7b41c2ebbf [TRANSLATIONS] One step further towards improving our translations. Brought to you by Josh Soref aka timeless. CORE-11985
svn path=/trunk/; revision=72677
2016-09-14 20:38:53 +00:00
Hermès Bélusca-Maïto c6db848176 [EVENTVWR]
- Reorganize the header inclusions; add a PCH.
- Transform the event details dialog into a control that can be embedded:
  * in a resizable dialog,
  * or in a pane below the window listing the events.
CORE-11637

svn path=/trunk/; revision=72079
2016-08-01 23:29:55 +00:00
Hermès Bélusca-Maïto 493ec0db98 [EVENTVWR]
- Use helper functions for doing the filtering on the events (idea by Mark Jansen).
- Fix the states of menu items, depending on which event log/item (log file/filter; event item...) is currently selected.
- Correctly empty the event items list & cache whenever an event log/filter is closed (and avoid a crash when all logs/filters are closed and someone attempts to open an event item), during concurrent accesses. I use a reference count and AddRef/Release helpers.
- Get rid of the annoying log loading popup, and use instead the loading message displayed in the events listview as well as a progress-bar in the status bar.
CORE-11637

svn path=/trunk/; revision=71989
2016-07-24 15:24:50 +00:00
Hermès Bélusca-Maïto d5ba2a3784 [EVENTVWR]
Commit "Part 1" of my Improvements for the Event Log Viewer. See CORE-11637 description for more details (too long to stay there).

svn path=/trunk/; revision=71958
2016-07-17 23:06:03 +00:00
Hermès Bélusca-Maïto 9a5faf7cc9 [EVENTVWR]
- Display 3 different "types" of logs in the tree: "system logs": Application, Security, System, that are the minimal set of standard logs present on NT systems; "application logs": all the other logs, that are available to the event log service (both "system" and "application" logs are registered in the registry, under the "EventLog" service key). Finally comes the "user logs" that consists in all the log files that are manually opened by the user inthe event log viewer.
- Use 'PEVENTLOGRECORD' instead of 'EVENTLOGRECORD *'.
- Don't hardcode the buffer length values in the size parameters used in the GetEventUserName function.
- Merge both GetDisplayNameFile and GetDisplayNameID helpers into a single GetDisplayNameFileAndID function, since the former two were always called in tandem.
- Forbid editing the labels of the tree root nodes "system"/"application"/"user" logs.
- Splitter bar: set the cursor only when it is on the bar, not when it is above the status bar...
- Resize the status bar only in WM_SIZE events.
- Remove few dead code.

svn path=/trunk/; revision=71867
2016-07-09 12:32:21 +00:00
Hermès Bélusca-Maïto b7c9f67f33 [EVENTVWR]: Allow the user to enumerate the events from the oldest to the newest, or vice-versa.
svn path=/trunk/; revision=71851
2016-07-07 23:03:34 +00:00
Hermès Bélusca-Maïto 4713d06eeb [EVENTVWR]
- Change the closed-folder icon, by Jared Smudde :)
- Add "open" and "log settings" menu items. Implementation will be done later.

svn path=/trunk/; revision=71850
2016-07-07 21:52:22 +00:00
Hermès Bélusca-Maïto 1a6189885a [EVENTVWR]: Improve the user interface of the Event Log Viewer:
- Use a tree to list the available system logs (and in the future, the manually opened logs within the viewer).
- Allow the user to resize the treeview/listview.
- Use the standard shell about-box dialog to display the "About..." notice + copyright.
- Improve the Event Log Viewer icon, and add new ones (folders + eventlog file).

svn path=/trunk/; revision=71836
2016-07-06 23:14:56 +00:00
Hermès Bélusca-Maïto 21cc5e26a7 [EVENTVWR]
- Remove a unused header.
- Start (re)working on the functions that retrieve strings associated to event categories and messages.
- Just display the event category number if we are unable to retrieve its associated string.
- If we cannot retrieve the event source for formatting purposes, use a default string and append the event strings to it.
- Fix some problems related to the usage of 'lpComputerName': this global variable stores the computer name on which the Event Viewer is running (or connected to) and view the available logs. Don't overwrite it with computer names from the events.

- Modify some localized strings in the resource files. Translators, please review/fix translations!

svn path=/trunk/; revision=71670
2016-06-25 20:08:58 +00:00
Hermès Bélusca-Maïto 5e80e9c714 [EVENTVWR]
- Set window parent for different MessageBox calls.
- Add a notice in ShowStatusMessageThread concerning a potential bug.
- Rename strings "Save Protocol" into "Save Event Log"; adjust translations in this regard.

svn path=/trunk/; revision=71377
2016-05-22 17:17:33 +00:00
Hermès Bélusca-Maïto bd5fd5d6c0 [EVENTVWR]
- Fix a typo in the "loading, wait" dialog.
- Use a RichEdit control for the detailed event description text, so that we can have for free clickable URLs.
- Use "Courier New" as the font for the event data text, so that we can have finer grained control over the font size...

svn path=/trunk/; revision=71376
2016-05-22 16:19:55 +00:00
Hermès Bélusca-Maïto c1ecc98f60 [EVENTVWR]
- Fix the window styles of the edit boxes in the event details dialog.
- Refactor some parts of the code to reduce the level of code indentation.
- Replace malloc/free by their Win32 counterparts HeapAlloc/HeapFree.
- When caching the full contents of a given event log, don't load at this point the event text/data. Only load those when opening the event details dialog.

svn path=/trunk/; revision=71368
2016-05-22 00:34:40 +00:00
Amine Khaldi af6fb5892b [EVENTVWR] Fix the template of event details string copied in the memory clipboard. By Ștefan Fulea. CORE-8914
svn path=/trunk/; revision=66064
2015-01-19 13:00:03 +00:00
Eric Kohl 38b680f392 [EVENTVWR]
Clean up the resource IDs.
Fix small icon loading.

svn path=/trunk/; revision=65630
2014-12-13 22:35:48 +00:00
Eric Kohl 75e5e3462a [EVENTVWR]
Update the Event Detail Dialog to better match XP/2K3
Patch by Lee Schroeder.
I updated the remaining dialogs.
Translators: Please check the dialogs!

CORE_8904 #resolve

svn path=/trunk/; revision=65628
2014-12-13 20:53:06 +00:00
Hermès Bélusca-Maïto e2bb0affc7 [EVENTVWR]
Do not hardcode event logs, but retrieve them from the registry.
Patch by Ricardo Hanke.

CORE-8458 #resolve #comment Committed, thanks!

svn path=/trunk/; revision=63930
2014-08-24 12:00:57 +00:00
Timo Kreuzer 5085010531 [EVENTEVWR]
* when displaying message boxes, set the parent to the main window/details dialog instead of using NULL.
*add a function for showing the last Win32 error and replace two message boxes with a call to it.
*add the ability to save event logs to a file.
*add the ability to clear event logs.
*In QueryEventMessages(), assign lpSourceLogName and lpComputerName after the call to OpenEventLog, not before.
Patch by Ricardo Hanke
CORE-7863 #comment Comitted in r63525, thanks

svn path=/trunk/; revision=63525
2014-06-01 11:00:09 +00:00
Amine Khaldi 175aa88d04 [EVENTVWR]
* Change some of the LTEXT controls to EDITTEXT in IDD_EVENTDETAILDIALOG to better match the ones in Windows XP/2003. 
* Change the height for the Bytes and Word Radio Buttons so the two controls are not overlapping IDC_EVENTDATAEDIT.
* By Lee Schroeder.
CORE-7842 #resolve #comment Committed in 61936. Thanks !

svn path=/trunk/; revision=61936
2014-02-02 23:50:30 +00:00
Eric Kohl d0cd0ca472 [EVENTVWR]
Make two more strings localizable. Patch by Ștefan Fulea.
CORE-7785 #resolve #comment Thanks a lot!

svn path=/trunk/; revision=61689
2014-01-19 10:10:38 +00:00
Amine Khaldi fc05cbf624 [MSCUTILS]
* Improve resource files.
CORE-7637

svn path=/trunk/; revision=61119
2013-11-28 21:57:21 +00:00
Olaf Siejka eaf3eb0b1d [TRANSLATION]
- brasilian portugeese translation by Matheus Macabu (bug no. 7079);

[AHK]
- add scripts for including AHK tests into Reactos\Bin;

svn path=/trunk/; revision=56697
2012-06-05 14:37:58 +00:00