Commit Graph

29 Commits

Author SHA1 Message Date
9445b0807b PR:
Obtained from:
Submitted by:
Reviewed by:

  Fix a silly oversight.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85440 13f79535-47bb-0310-9956-ffa450edef68
2000-06-06 05:00:49 +00:00
f105e38ff7 PR:
Obtained from:
Submitted by:
Reviewed by:

  Fixes 1) The htpasswd and ab binaries, by converting ApacheCore.dsp to
           a library MSVC project.

        2) Creates the ApacheCoreDll.dsp project to produce the dso
           version ApacheCore.dll

        3) Some misc fixups to the original http_main.c -> Apache.exe
           conversion that misses newly added symbols.

  Code fixes to follow in a seperate patch.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85435 13f79535-47bb-0310-9956-ffa450edef68
2000-06-06 01:15:05 +00:00
20f66c9f65 PR:
Obtained from:
Submitted by:
Reviewed by:

  Unbind the old main_win32.c code and rebind to the new mpm logic
  in the modules/mpm/winnt directory.  Includes some simple cleanups.

  The old sources in os/win32 will disappear at the end of this week.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85430 13f79535-47bb-0310-9956-ffa450edef68
2000-06-05 22:39:03 +00:00
fe1555a4a8 PR:
Obtained from:
Submitted by:
Reviewed by:

  Kill the Win32 library project ap.dsp and slide http_main.c from the
  ApacheCore.dsp into Apache.dsp - this is in prepartion of the real
  services update, which will move registry.c and service.c back into
  ApacheCore.dsp, kill both headers and incorporate their symbols into
  the mpm/winnt/winnt.h file.  main_win32.c will die as well, with it's
  few remaining functions moving into the mpm.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85329 13f79535-47bb-0310-9956-ffa450edef68
2000-05-28 04:03:22 +00:00
86e2a18f2a This patch corrects the issues from the AP_EXPORT and linkage
specification arguments to the ap_hooks.h declarations.  As with
  the APR_ and AP_ patches, API_VAR_EXPORT becomes API_EXPORT_VAR,
  and MODULE_VAR_EXPORT becomes MODULE_EXPORT_VAR.

  I will be happy to revert the inclusion of ap_config.h from 
  httpd.h if this bothers anyone.  More individual modules need
  to be patched if we do so.

  The API_EXPORTs all moved into central storage in the ap_config.h
  header.  Without WIN32 or API_STATIC compile time declarations, 
  these macros remain no-ops.

  This patch also moves the following data from http_main to http_config:

    const char *ap_server_argv0;
    const char *ap_server_root;
    ap_array_header_t *ap_server_pre_read_config;
    ap_array_header_t *ap_server_post_read_config;
    ap_array_header_t *ap_server_config_defines;

  And the following variables had already moved into ap_hooks.c:

    ap_pool_t *g_pHookPool;  (initialized now in http_config)
    int g_bDebugHooks;                   (out of http_config)
    const char *g_szCurrentHookName;     (out of http_config)

  The changes to http_main.c are in preparation for that module to
  move out to a seperate .exe for win32.  Other platforms will be
  unaffected, outside of these changes.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85309 13f79535-47bb-0310-9956-ffa450edef68
2000-05-27 05:28:02 +00:00
2745ccdaf8 Win32: Convert ap_proc_t to tranparent type.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85292 13f79535-47bb-0310-9956-ffa450edef68
2000-05-24 23:45:37 +00:00
e2cb3c6457 Current and clean make files for Win95. Changes Include:
All projects link incrementally with no link maps in Debug mode.
  New cvstodsp6.pl and dsp6tocvs.pl will fix up /the /ZI - /Zi issue.
  Includes corrections noted by Tim Costello


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85254 13f79535-47bb-0310-9956-ffa450edef68
2000-05-19 05:09:20 +00:00
c80abccf4e This commit will most likely break everybody on Windows. The .dsp
files I am checking in though will build a usable Apache on Windows.
This finishes at least the first round of the merge work to get the
common code into common files in APR.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85240 13f79535-47bb-0310-9956-ffa450edef68
2000-05-17 23:30:21 +00:00
9bfb956e51 Radical overhaul of the Apache-2.0/Win32 mpm <-> service schema.
1) Services and Registry are not part of the core Apache operations,
     so registry.c and service.c are moved into Apache.exe - assuring
     the service control layers of NT and 95 are truly isolated.

  2) Isolation can't be complete, we need to know when the mpm is
     fully initialized.  A new pointer to a no-arg function returning
     void is provided for this purpose, ap_mpm_init_complete.  It is
     only called if overridden with a non-NULL value prior to invoking
     apache_main.

  3) Control+C, Control+Break are handled on both WinNT and Win9x.

  4) The window close, logoff and shutdown events are handled on WinNT.

  5) The beginnings of a Win95 service startup are provided, -k startservice
     but this is horribly incomplete since Win95 will NOT report shutdown.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85235 13f79535-47bb-0310-9956-ffa450edef68
2000-05-17 00:35:21 +00:00
a10be77c95 Cleanup of Apache build with pcre in Win32.
Plus clean up ab and htdigest to conform to build
  of other support executables.
  Everything seems to be working again.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85162 13f79535-47bb-0310-9956-ffa450edef68
2000-05-06 15:44:40 +00:00
d8c829e6af First crack at getting Apache to build with pcre in Win32.
Cleans up all the gen_ projects to strip off garbage files,
  as well, and follows the same pattern for dftables.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85161 13f79535-47bb-0310-9956-ffa450edef68
2000-05-06 15:02:13 +00:00
85a9f216b6 Final .dsp changes to produce the lightest weight builds
without precompiled headers or source browse files under
  Win32.  Enabling these is straightforward, if that's what
  the user desires.  Also correct minor errors, and reset
  some project defaults to their current config.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85121 13f79535-47bb-0310-9956-ffa450edef68
2000-05-01 16:51:24 +00:00
c922c0d50d PR:
Obtained from:
Submitted by:	William Rowe
Reviewed by:

  With this change, I believe that ap.h can now be safely swept out to
  the attic, but I will leave for at least one other to confirm.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85098 13f79535-47bb-0310-9956-ffa450edef68
2000-04-29 16:16:18 +00:00
17c5e3fb7a Revamp the Win32 make environment. Makefiles have been removed and
Apache.dsw created to bring together all the pieces. Create new file
os/win32/BaseAddr.ref to define module base addresses (to prevent
dll relocation at start-up).

Submitted by:	William Rowe
Reviewed by:	Bill Stoddard


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85004 13f79535-47bb-0310-9956-ffa450edef68
2000-04-20 19:28:08 +00:00
e3784eb925 linkwin20.diffs Resolves:
1) Explicit /base: addresses by the following table...

  Required sizes are for debug builds.  It is assumed that
  as we increase the size of aprlib, we will be trimming
  the size of ApacheCore, and the 278A0000 base can move down.

  ApacheCore.dll            27800000  80000 required

  aprlib.dll                278A0000  40000 required

  ApacheModuleAuthAnon.dsp  27900000
  ApacheModuleCERNMeta.dsp  27910000
  ApacheModuleDigest.dsp    27920000
  ApacheModuleExpires.dsp   27930000
  ApacheModuleHeaders.dsp   27940000
  ApacheModuleInfo.dll      27950000
  ApacheModuleRewrite.dsp   27960000  20000 required

  ApacheModuleSpeling.dsp   27980000
  ApacheModuleStatus.dsp    27990000
  ApacheModuleUserTrack.dsp 279A0000
  ApacheModuleProxy.dsp     279B0000  20000 anticipated

  3 slots still available   279C0000

2) Make APR consistent with the rest of the API and
   not build septypes for debugging (in other words,
   roll in the debug symbols as every other module does.)

   If we decide we LIKE /pdbtype:septypes... then we
   should be using them throughout.

3) Slide the current path specs into /libpath: options
   so the library list is more ledgible.

4) Drop all the gui crud from the library list.  Everything
   listed is referenced, with the following exceptions:

   *) don't do anything with msvcrtd/oldnames today.
   *) aprlib and ApacheCore have the same list, since functions
      may still be moving between them.
   *) apache.exe looses networking (it doesn't), while it keeps
      advapi, which I don't think it needs, but it could later.
   *) add aprlib to ApacheModuleProxy, since it will need it.
   *) hang mswsock whereever ws2_32 is invoked.  I believe
      the most special case was ApacheModuleProxy, which may
      become entirely APR.  But for today we hang onto both.

5) MAP, MAP, MAP, everything gets a map.  I for one have an
   untold number of installed OS's and boot mappings, and the
   debugger isn't installed to all of them.  We gotta be able
   to track down those renegade GP faults.  (What faults...
   I know, it's clean, but I am overly cautious that way.)

6) Set the DEFAULT linkage to be this linkage.  Because
   "it's a vc thing" the defaults were not all that
   useful as a starting point (take, for example, the
   joke of linking to the OLE libraries).


Submitted by:	William Rowe


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84982 13f79535-47bb-0310-9956-ffa450edef68
2000-04-17 13:56:41 +00:00
16e366cbfe Win32: First cut at getting mod_isapi working under 2.0
Submitted by:	William Rowe


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84976 13f79535-47bb-0310-9956-ffa450edef68
2000-04-15 19:23:08 +00:00
b2b986e1a8 Add util_cfgtreee.c to the win32 build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84955 13f79535-47bb-0310-9956-ffa450edef68
2000-04-13 13:47:23 +00:00
ba62a0e0a9 Eliminate os.c and ApacheOS.dsp, ApacheOS.mak, et. al. Update the winnt
MPM to use native thread control calls rather than the deprecated stuff
in os.c. Even though I don't use APR in the MPM yet, this is forward
progress.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84831 13f79535-47bb-0310-9956-ffa450edef68
2000-03-24 04:45:27 +00:00
f491cde312 Turn off precompiled header support for Apache.mak/dsp and ApacheCore.mak/dsp.
Submitted by:	William Rowe
Reviewed by:	Bill Stoddard


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84805 13f79535-47bb-0310-9956-ffa450edef68
2000-03-21 01:32:40 +00:00
e32d1edaaa Windows: Can now install/uninstall Apache as a service and start/stop apache via
net start and net stop commands. Not extensively tested, so there may be bugs
in this still.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84343 13f79535-47bb-0310-9956-ffa450edef68
1999-12-20 19:52:51 +00:00
afeeaeedcb Include mod_include and mod_so in the Windows build.
Submitted by:   Allan Edwards
Reviewed by:	Ryan Bloom


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84307 13f79535-47bb-0310-9956-ffa450edef68
1999-12-16 15:46:17 +00:00
76b770b86b Remove the readdir files from os/win32. These are taken care of by APR now,
and they have been bothering me.  This is my first attempt at generating a
Makefile for Windows, but it seems to have worked for me.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84296 13f79535-47bb-0310-9956-ffa450edef68
1999-12-15 19:32:23 +00:00
a43d9443b2 Win32: First cut at getting apache -k restart|shutdown and running apache as a service working
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84249 13f79535-47bb-0310-9956-ffa450edef68
1999-12-08 22:34:02 +00:00
3fb176b8aa Get rid of dependency on os/win32/getopt.c & .h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84110 13f79535-47bb-0310-9956-ffa450edef68
1999-11-08 18:54:12 +00:00
05c13dfc7b Grrrr, commit apachecore.dsp rather than apachecore.def... This adds mod_cgi
back into the Win32 build


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83995 13f79535-47bb-0310-9956-ffa450edef68
1999-10-14 14:07:55 +00:00
5b68bf4b4e Temporary hacks to the Win32 project files to get the server working
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83929 13f79535-47bb-0310-9956-ffa450edef68
1999-10-05 04:51:10 +00:00
7b3e04ab60 Add apr include file search path. Remove alloc.c and alloc.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83899 13f79535-47bb-0310-9956-ffa450edef68
1999-09-13 17:03:29 +00:00
cb7f073d26 A bunch of changes to get the server compiling on WIN32. mod_cgi, mod_include,
mod_isapi and mod_so don't work so I am not making them. Moved a lot of code out
of multithread.*  and into os.* (didn't want to add multithread to the new repository).
Much of this can be cleaned up when APR is stable.

And Dean's gonna but me for sure for the http_main hit. It's may be
possible to name a DLL entry point 'main()'. Just havent tried it yet.

Enjoy!


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83822 13f79535-47bb-0310-9956-ffa450edef68
1999-08-27 22:57:27 +00:00
77c2776832 Apache 1.3.9 baseline for the Apache 2.0 repository.
Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9
Submitted by: Apache Group


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83748 13f79535-47bb-0310-9956-ffa450edef68
1999-08-24 05:34:15 +00:00