c5d5d627697e1cd2b85de13422eeff8ae2975aa2 652599 |
|
01-May-2008 |
wrowe |
For legacy VC6, there's no __CRTDECL or _tstoi yet, but the
former is only interesting for ".NET" builds, and the later
is identical to _ttoi (still supported in VC2005, at least). |
a3a06d77b3f53ca4faaef399997d4f09d08ea27a 633607 |
|
04-Mar-2008 |
wrowe |
Enable UAC transition from ApacheMonitor running as a vanilla user without priv
into a copy runas administrator with permissions (closing the original monitor),
in response to any start/stop/restart request who's control permissions failed.
This happens to work on Win2000 and later, although it is actually needed in
Win2008 or Vista and later, where by default under UAC, the admin user actually
has no permissions to control services unless the app is run elevated.
We don't want to do this at start time, and assault the user with auth attempts
at login before they have even asked to use the features of the Monitor. Once
we've made the transition, we'll leave the new monitor running elevated. Some
branding with the "security" shield icon is actually recommended by the CUA, but
I'm neglecting this for the moment.
This patch drops the single instance mutex for a search of existing windows of
our window's class & title, which is localized to the current session and just fine
for the purpose of restricting multiple invocations. |
25dcce4a8de86d57c66787256136896875a817a4 632885 |
|
03-Mar-2008 |
wrowe |
A large refactoring, but no behavior change;
replace all relevant ascii strxxx fn's with _tcsxxx macros and encode relevant text
with the _T() macro wrapper, permitting /D UNICODE builds in place of /D _MCBS
builds in use today. This allows for internationalized unicode service names and
textual modification. Since this is win32 only, using APR style utf-8-ization is silly.
Because today this module simply isn't loadable on Win95-ME, nobody has actually
complained, and we really have no desire to support such a dangerous OS in the
wild of the internet, the unicode build should become the default. |
65cb7f00eca6689c8a89dc809359991ade1285bc 603238 |
|
11-Dec-2007 |
wrowe |
Introduce --kill argument to ApacheMonitor for use by the
installer. This will permit the installation tool to remove
all running instances before attempting to remove the .exe.
Note that since the introduction of CriticalSections, our
compatibility with NT 4 was destroyed, and at this point that
is no loss (there are no more security updates to NT 4 ergo
it's not an OS we want connected to the internet, anyways).
The WTS api calls require 2000 or later, but I'm not wrapping
them since nobody notices the same issue with CriticalSections. |
61317b04f08e6f0674c3a4a780bea23002ba6ac7 95714 |
|
16-Jun-2002 |
wrowe |
Formating, whitespace, following {} rules, 80 char lines, etc. The only
significant variation from the general Apache rules is the construct:
switch ()
{
case foo:
case_fns();
}
indentation, since win32 switches are very common, but it's impossible
to follow that rule and maintain legible 80 character line limits. This
is a common enough exception that I don't expect vocal objections. |
f1dca7251fadc2750abfa00e19c154aa61cb6a53 92191 |
|
27-Nov-2001 |
wrowe |
Changes by Mladen Turk <mturk@mappingsoft.com>, with dialog touchup by
myself [I can't stand misordered dialog interfaces ;], to allow the user
to connect and disconnect remote PCs into the ApacheMonitor.
Needs other mild changes, e.g. machine\service rather than machine@service
[since @ could be part of a service/machine name, slash and backslash may
never be.] And still, the sync behavior leaves something to be desired.
Note one bug - the browse for computer actually won't browse computers,
but that can be fixed in another patch. |
c42e8ed19e21f93886ca5b539d7af253dc4e6b5a 90226 |
|
16-Aug-2001 |
wrowe |
Bug fix to the WM_TIMER that was not properly called after it was moved
to WndProc. (The message is WM_TIMER and wParam is timer event)
Enhancement to left button click which now displays the popup menu with
all Apache's installed, and to each installed service adds the submenu
with the options to start, stop or restart the service.
Submitted by: Mladen Turk <mturk@mappingsoft.com> |