Skip to content

Commit

Permalink
CLEAN
Browse files Browse the repository at this point in the history
  • Loading branch information
Embedthis Software committed Mar 30, 2015
1 parent 6658b71 commit deac6a2
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15,064 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,4 @@ appweb-macosx-mine*
*.mdb
.DS_Store
*.dmp
cache/
14 changes: 3 additions & 11 deletions dist/appweb.h
Original file line number Diff line number Diff line change
Expand Up @@ -283,17 +283,9 @@ PUBLIC int maWriteAuthFile(HttpAuth *auth, char *path);
/*
Internal
*/
PUBLIC int maCgiHandlerInit(Http *http, MprModule *mp);
PUBLIC int maDirHandlerInit(Http *http, MprModule *mp);
PUBLIC int maEjsHandlerInit(Http *http, MprModule *mp);
PUBLIC int maEspHandlerInit(Http *http, MprModule *mp);
PUBLIC int maPhpHandlerInit(Http *http, MprModule *mp);
PUBLIC int maSslModuleInit(Http *http, MprModule *mp);

/*
This is exported from slink.c which is either manually created or generated locally
*/
PUBLIC void appwebStaticInitialize();
PUBLIC int httpCgiInit(Http *http, MprModule *mp);
PUBLIC int httpEspInit(Http *http, MprModule *mp);
PUBLIC int httpSslInit(Http *http, MprModule *mp);

#ifdef __cplusplus
} /* extern C */
Expand Down
8 changes: 4 additions & 4 deletions dist/appweb.me
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Me.load({
type: 'lib',
sources: [ 'appwebLib.c' ],
headers: [ '*.h' ],
depends: [ 'libhttp', 'libpcre', 'libmpr' ],
depends: [ 'libesp', 'libhttp', 'libpcre', 'libmpr' ],
ifdef: [ 'appweb' ],
},
authpass: {
Expand All @@ -24,10 +24,10 @@ Me.load({
platforms: [ 'local' ],
postblend: function (target) {
if (target.static && me.targets.ssl.enable) {
target.depends += ['libmprssl']
target.depends += [ 'libmprssl' ]
}
},
enable: 'me.settings.appweb && me.settings.appweb.authpass',
},
},
}
}
})
15,036 changes: 3 additions & 15,033 deletions dist/appwebLib.c

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions installs/appweb.me
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Me.load({
type: 'lib',
sources: [ 'appwebLib.c' ],
headers: [ '*.h' ],
depends: [ 'libhttp', 'libpcre', 'libmpr' ],
depends: [ 'libesp', 'libhttp', 'libpcre', 'libmpr' ],
ifdef: [ 'appweb' ],
},
authpass: {
Expand All @@ -24,10 +24,10 @@ Me.load({
platforms: [ 'local' ],
postblend: function (target) {
if (target.static && me.targets.ssl.enable) {
target.depends += ['libmprssl']
target.depends += [ 'libmprssl' ]
}
},
enable: 'me.settings.appweb && me.settings.appweb.authpass',
},
},
}
}
})
6 changes: 0 additions & 6 deletions main.me
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Me.load({
blend: [
'esp',
'src/libappweb.me',
'src/modules/modules.me',
'src/utils/utils.me',
'src/server/server.me',
'test/test.me',
Expand Down Expand Up @@ -54,11 +53,6 @@ Me.load({
/* Must build locally to build tools */
platforms: [ 'local' ],

/*
Set to true for a static (non-shared library) build
*/
static: false,

http: {
/* Use PAM (Plugable Authentication Module) to store passwords */
pam: true,
Expand Down
6 changes: 0 additions & 6 deletions src/modules/sslModule.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,12 +282,6 @@ PUBLIC int httpSslInit(Http *http, MprModule *module)
#endif
return 0;
}
#else

PUBLIC int httpSslInit(Http *http, MprModule *mp)
{
return 0;
}
#endif /* ME_COM_SSL */

/*
Expand Down

0 comments on commit deac6a2

Please sign in to comment.