Normalize line endings and whitespace
This commit is contained in:
@ -1,119 +1,119 @@
|
|||||||
// vim: set ts=4 sw=4 tw=99 noet:
|
// vim: set ts=4 sw=4 tw=99 noet:
|
||||||
//
|
//
|
||||||
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
||||||
// Copyright (C) The AMX Mod X Development Team.
|
// Copyright (C) The AMX Mod X Development Team.
|
||||||
//
|
//
|
||||||
// This software is licensed under the GNU General Public License, version 3 or higher.
|
// This software is licensed under the GNU General Public License, version 3 or higher.
|
||||||
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
||||||
// https://alliedmods.net/amxmodx-license
|
// https://alliedmods.net/amxmodx-license
|
||||||
|
|
||||||
#include "memfile.h"
|
#include "memfile.h"
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "osdefs.h"
|
#include "osdefs.h"
|
||||||
|
|
||||||
memfile_t *memfile_creat(const char *name, size_t init)
|
memfile_t *memfile_creat(const char *name, size_t init)
|
||||||
{
|
{
|
||||||
memfile_t mf;
|
memfile_t mf;
|
||||||
memfile_t *pmf;
|
memfile_t *pmf;
|
||||||
|
|
||||||
mf.size = init;
|
mf.size = init;
|
||||||
mf.base = (char *)malloc(init);
|
mf.base = (char *)malloc(init);
|
||||||
mf.usedoffs = 0;
|
mf.usedoffs = 0;
|
||||||
mf.name = NULL;
|
mf.name = NULL;
|
||||||
if (!mf.base)
|
if (!mf.base)
|
||||||
{
|
{
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
mf.offs = 0;
|
mf.offs = 0;
|
||||||
mf._static = 0;
|
mf._static = 0;
|
||||||
|
|
||||||
pmf = (memfile_t *)malloc(sizeof(memfile_t));
|
pmf = (memfile_t *)malloc(sizeof(memfile_t));
|
||||||
memcpy(pmf, &mf, sizeof(memfile_t));
|
memcpy(pmf, &mf, sizeof(memfile_t));
|
||||||
|
|
||||||
#if defined _MSC_VER
|
#if defined _MSC_VER
|
||||||
pmf->name = _strdup(name);
|
pmf->name = _strdup(name);
|
||||||
#else
|
#else
|
||||||
pmf->name = strdup(name);
|
pmf->name = strdup(name);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return pmf;
|
return pmf;
|
||||||
}
|
}
|
||||||
|
|
||||||
void memfile_destroy(memfile_t *mf)
|
void memfile_destroy(memfile_t *mf)
|
||||||
{
|
{
|
||||||
if (!mf->_static)
|
if (!mf->_static)
|
||||||
{
|
{
|
||||||
free(mf->name);
|
free(mf->name);
|
||||||
free(mf->base);
|
free(mf->base);
|
||||||
free(mf);
|
free(mf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void memfile_seek(memfile_t *mf, long seek)
|
void memfile_seek(memfile_t *mf, long seek)
|
||||||
{
|
{
|
||||||
mf->offs = seek;
|
mf->offs = seek;
|
||||||
}
|
}
|
||||||
|
|
||||||
long memfile_tell(memfile_t *mf)
|
long memfile_tell(memfile_t *mf)
|
||||||
{
|
{
|
||||||
return mf->offs;
|
return mf->offs;
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t memfile_read(memfile_t *mf, void *buffer, size_t maxsize)
|
size_t memfile_read(memfile_t *mf, void *buffer, size_t maxsize)
|
||||||
{
|
{
|
||||||
if (!maxsize || mf->offs >= mf->usedoffs)
|
if (!maxsize || mf->offs >= mf->usedoffs)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mf->usedoffs - mf->offs < (long)maxsize)
|
if (mf->usedoffs - mf->offs < (long)maxsize)
|
||||||
{
|
{
|
||||||
maxsize = mf->usedoffs - mf->offs;
|
maxsize = mf->usedoffs - mf->offs;
|
||||||
if (!maxsize)
|
if (!maxsize)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
memcpy(buffer, mf->base + mf->offs, maxsize);
|
memcpy(buffer, mf->base + mf->offs, maxsize);
|
||||||
|
|
||||||
mf->offs += maxsize;
|
mf->offs += maxsize;
|
||||||
|
|
||||||
return maxsize;
|
return maxsize;
|
||||||
}
|
}
|
||||||
|
|
||||||
int memfile_write(memfile_t *mf, void *buffer, size_t size)
|
int memfile_write(memfile_t *mf, void *buffer, size_t size)
|
||||||
{
|
{
|
||||||
if (mf->offs + size > mf->size)
|
if (mf->offs + size > mf->size)
|
||||||
{
|
{
|
||||||
size_t newsize = (mf->size + size) * 2;
|
size_t newsize = (mf->size + size) * 2;
|
||||||
if (mf->_static)
|
if (mf->_static)
|
||||||
{
|
{
|
||||||
char *oldbase = mf->base;
|
char *oldbase = mf->base;
|
||||||
mf->base = (char *)malloc(newsize);
|
mf->base = (char *)malloc(newsize);
|
||||||
if (!mf->base)
|
if (!mf->base)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
memcpy(mf->base, oldbase, mf->size);
|
memcpy(mf->base, oldbase, mf->size);
|
||||||
} else {
|
} else {
|
||||||
mf->base = (char *)realloc(mf->base, newsize);
|
mf->base = (char *)realloc(mf->base, newsize);
|
||||||
if (!mf->base)
|
if (!mf->base)
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mf->_static = 0;
|
mf->_static = 0;
|
||||||
mf->size = newsize;
|
mf->size = newsize;
|
||||||
}
|
}
|
||||||
memcpy(mf->base + mf->offs, buffer, size);
|
memcpy(mf->base + mf->offs, buffer, size);
|
||||||
mf->offs += size;
|
mf->offs += size;
|
||||||
|
|
||||||
if (mf->offs > mf->usedoffs)
|
if (mf->offs > mf->usedoffs)
|
||||||
{
|
{
|
||||||
mf->usedoffs = mf->offs;
|
mf->usedoffs = mf->offs;
|
||||||
}
|
}
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
@ -1,40 +1,40 @@
|
|||||||
// vim: set ts=4 sw=4 tw=99 noet:
|
// vim: set ts=4 sw=4 tw=99 noet:
|
||||||
//
|
//
|
||||||
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
// AMX Mod X, based on AMX Mod by Aleksander Naszko ("OLO").
|
||||||
// Copyright (C) The AMX Mod X Development Team.
|
// Copyright (C) The AMX Mod X Development Team.
|
||||||
//
|
//
|
||||||
// This software is licensed under the GNU General Public License, version 3 or higher.
|
// This software is licensed under the GNU General Public License, version 3 or higher.
|
||||||
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
// Additional exceptions apply. For full license details, see LICENSE.txt or visit:
|
||||||
// https://alliedmods.net/amxmodx-license
|
// https://alliedmods.net/amxmodx-license
|
||||||
|
|
||||||
#ifndef _INCLUDE_MEMFILE_H
|
#ifndef _INCLUDE_MEMFILE_H
|
||||||
#define _INCLUDE_MEMFILE_H
|
#define _INCLUDE_MEMFILE_H
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
// MSVC8 - replace POSIX functions with ISO C++ conformant ones as they are deprecated
|
// MSVC8 - replace POSIX functions with ISO C++ conformant ones as they are deprecated
|
||||||
#if _MSC_VER >= 1400
|
#if _MSC_VER >= 1400
|
||||||
#define strdup _strdup
|
#define strdup _strdup
|
||||||
#pragma warning(disable : 4996)
|
#pragma warning(disable : 4996)
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
typedef struct memfile_s
|
typedef struct memfile_s
|
||||||
{
|
{
|
||||||
char *name;
|
char *name;
|
||||||
char *base;
|
char *base;
|
||||||
long offs;
|
long offs;
|
||||||
long usedoffs;
|
long usedoffs;
|
||||||
size_t size;
|
size_t size;
|
||||||
int _static;
|
int _static;
|
||||||
} memfile_t;
|
} memfile_t;
|
||||||
|
|
||||||
memfile_t *memfile_creat(const char *name, size_t init);
|
memfile_t *memfile_creat(const char *name, size_t init);
|
||||||
void memfile_destroy(memfile_t *mf);
|
void memfile_destroy(memfile_t *mf);
|
||||||
void memfile_seek(memfile_t *mf, long seek);
|
void memfile_seek(memfile_t *mf, long seek);
|
||||||
int memfile_write(memfile_t *mf, void *buffer, size_t size);
|
int memfile_write(memfile_t *mf, void *buffer, size_t size);
|
||||||
size_t memfile_read(memfile_t *mf, void *buffer, size_t maxsize);
|
size_t memfile_read(memfile_t *mf, void *buffer, size_t maxsize);
|
||||||
long memfile_tell(memfile_t *mf);
|
long memfile_tell(memfile_t *mf);
|
||||||
|
|
||||||
#endif //_INCLUDE_MEMFILE_H
|
#endif //_INCLUDE_MEMFILE_H
|
||||||
|
@ -1,26 +1,26 @@
|
|||||||
; To disable a sound, disable it from amxmodmenu (stats settings) or from command amx_statscfgmenu
|
; To disable a sound, disable it from amxmodmenu (stats settings) or from command amx_statscfgmenu
|
||||||
; Sound name length mustn't exceed 54 characters (without sound/ and without .wav extension)
|
; Sound name length mustn't exceed 54 characters (without sound/ and without .wav extension)
|
||||||
; Otherwise plugin won't take it in account because fast download wouldn't be supported
|
; Otherwise plugin won't take it in account because fast download wouldn't be supported
|
||||||
|
|
||||||
FirstBloodSound misc/firstblood
|
FirstBloodSound misc/firstblood
|
||||||
LastManVsOthersSound misc/oneandonly
|
LastManVsOthersSound misc/oneandonly
|
||||||
LastManDuelSound misc/maytheforce
|
LastManDuelSound misc/maytheforce
|
||||||
HeadShotKillSoundKiller misc/headshot
|
HeadShotKillSoundKiller misc/headshot
|
||||||
HeadShotKillSoundVictim fvox/flatline
|
HeadShotKillSoundVictim fvox/flatline
|
||||||
KnifeKillSound misc/humiliation
|
KnifeKillSound misc/humiliation
|
||||||
DoubleKillSound misc/doublekill
|
DoubleKillSound misc/doublekill
|
||||||
RoundCounterSound misc/prepare
|
RoundCounterSound misc/prepare
|
||||||
GrenadeKillSound djeyl/grenade
|
GrenadeKillSound djeyl/grenade
|
||||||
GrenadeSuicideSound djeyl/witch
|
GrenadeSuicideSound djeyl/witch
|
||||||
BombPlantedSound djeyl/c4powa
|
BombPlantedSound djeyl/c4powa
|
||||||
BombDefusedSound djeyl/laugh
|
BombDefusedSound djeyl/laugh
|
||||||
BombFailedSound djeyl/witch
|
BombFailedSound djeyl/witch
|
||||||
|
|
||||||
; KillingStreak and MultiKill Sounds
|
; KillingStreak and MultiKill Sounds
|
||||||
MultiKillSound misc/multikill
|
MultiKillSound misc/multikill
|
||||||
UltraKillSound misc/ultrakill
|
UltraKillSound misc/ultrakill
|
||||||
KillingSpreeSound misc/killingspree
|
KillingSpreeSound misc/killingspree
|
||||||
RampageSound misc/rampage
|
RampageSound misc/rampage
|
||||||
UnstopableSound misc/unstoppable
|
UnstopableSound misc/unstoppable
|
||||||
MonsterKillSound misc/monsterkill
|
MonsterKillSound misc/monsterkill
|
||||||
GodLike misc/godlike
|
GodLike misc/godlike
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,448 +1,448 @@
|
|||||||
[default]
|
[default]
|
||||||
style=fore:clBlack,back:clWhite,size:8,font:Courier,notbold,notitalics,notunderlined,visible,noteolfilled,changeable,nothotspot
|
style=fore:clBlack,back:clWhite,size:8,font:Courier,notbold,notitalics,notunderlined,visible,noteolfilled,changeable,nothotspot
|
||||||
WordWrap=0
|
WordWrap=0
|
||||||
WordChars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
|
WordChars=_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789
|
||||||
ClearUndoAfterSave=False
|
ClearUndoAfterSave=False
|
||||||
EOLMode=0
|
EOLMode=0
|
||||||
LineNumbers=False
|
LineNumbers=False
|
||||||
Gutter=True
|
Gutter=True
|
||||||
CaretPeriod=1024
|
CaretPeriod=1024
|
||||||
CaretWidth=1
|
CaretWidth=1
|
||||||
CaretLineVisible=True
|
CaretLineVisible=True
|
||||||
CaretFore=clNone
|
CaretFore=clNone
|
||||||
CaretBack=#E6E6FF
|
CaretBack=#E6E6FF
|
||||||
CaretAlpha=0
|
CaretAlpha=0
|
||||||
SelectForeColor=clHighlightText
|
SelectForeColor=clHighlightText
|
||||||
SelectBackColor=clHighlight
|
SelectBackColor=clHighlight
|
||||||
SelectAlpha=256
|
SelectAlpha=256
|
||||||
MarkerForeColor=clWhite
|
MarkerForeColor=clWhite
|
||||||
MarkerBackColor=clBtnShadow
|
MarkerBackColor=clBtnShadow
|
||||||
FoldMarginHighlightColor=clWhite
|
FoldMarginHighlightColor=clWhite
|
||||||
FoldMarginColor=clBtnFace
|
FoldMarginColor=clBtnFace
|
||||||
WhitespaceForeColor=clDefault
|
WhitespaceForeColor=clDefault
|
||||||
WhitespaceBackColor=clDefault
|
WhitespaceBackColor=clDefault
|
||||||
ActiveHotspotForeColor=clBlue
|
ActiveHotspotForeColor=clBlue
|
||||||
ActiveHotspotBackColor=#A8A8FF
|
ActiveHotspotBackColor=#A8A8FF
|
||||||
ActiveHotspotUnderlined=True
|
ActiveHotspotUnderlined=True
|
||||||
ActiveHotspotSingleLine=False
|
ActiveHotspotSingleLine=False
|
||||||
FoldMarkerType=1
|
FoldMarkerType=1
|
||||||
MarkerBookmark=markertype:sciMFullRect,Alpha:256,fore:clWhite,back:clGray
|
MarkerBookmark=markertype:sciMFullRect,Alpha:256,fore:clWhite,back:clGray
|
||||||
EdgeColumn=100
|
EdgeColumn=100
|
||||||
EdgeMode=1
|
EdgeMode=1
|
||||||
EdgeColor=clSilver
|
EdgeColor=clSilver
|
||||||
CodeFolding=True
|
CodeFolding=True
|
||||||
BraceHighlight=True
|
BraceHighlight=True
|
||||||
|
|
||||||
[extension]
|
[extension]
|
||||||
|
|
||||||
|
|
||||||
[null]
|
[null]
|
||||||
lexer=null
|
lexer=null
|
||||||
|
|
||||||
style.33=name:LineNumbers,font:Arial
|
style.33=name:LineNumbers,font:Arial
|
||||||
style.34=name:Ok Braces,fore:clYellow,bold
|
style.34=name:Ok Braces,fore:clYellow,bold
|
||||||
style.35=name:Bad Braces,fore:clRed,bold
|
style.35=name:Bad Braces,fore:clRed,bold
|
||||||
style.36=name:Control Chars,back:clSilver
|
style.36=name:Control Chars,back:clSilver
|
||||||
style.37=name:Indent Guide,fore:clGray
|
style.37=name:Indent Guide,fore:clGray
|
||||||
|
|
||||||
CommentBoxStart=/*
|
CommentBoxStart=/*
|
||||||
CommentBoxEnd=*/
|
CommentBoxEnd=*/
|
||||||
CommentBoxMiddle=*
|
CommentBoxMiddle=*
|
||||||
CommentBlock=//
|
CommentBlock=//
|
||||||
CommentStreamStart=/*
|
CommentStreamStart=/*
|
||||||
CommentStreamEnd=*/
|
CommentStreamEnd=*/
|
||||||
AssignmentOperator==
|
AssignmentOperator==
|
||||||
EndOfStatementOperator=;
|
EndOfStatementOperator=;
|
||||||
[XML]
|
[XML]
|
||||||
lexer=xml
|
lexer=xml
|
||||||
NumStyleBits=7
|
NumStyleBits=7
|
||||||
keywords.0=name:Keywords::
|
keywords.0=name:Keywords::
|
||||||
|
|
||||||
keywords.5=name:SGML Keywords::ELEMENT DOCTYPE ATTLIST ENTITY NOTATION
|
keywords.5=name:SGML Keywords::ELEMENT DOCTYPE ATTLIST ENTITY NOTATION
|
||||||
|
|
||||||
style.33=name:LineNumbers
|
style.33=name:LineNumbers
|
||||||
style.34=name:Ok Braces,fore:clYellow,bold
|
style.34=name:Ok Braces,fore:clYellow,bold
|
||||||
style.35=name:Bad Braces,fore:clRed,bold
|
style.35=name:Bad Braces,fore:clRed,bold
|
||||||
style.36=name:Control Chars,back:clSilver
|
style.36=name:Control Chars,back:clSilver
|
||||||
style.37=name:Indent Guide,fore:clGray
|
style.37=name:Indent Guide,fore:clGray
|
||||||
style.0=name:Default
|
style.0=name:Default
|
||||||
style.1=name:Tags,fore:#00D0D0
|
style.1=name:Tags,fore:#00D0D0
|
||||||
style.2=name:Unknown Tags,fore:#00D0D0
|
style.2=name:Unknown Tags,fore:#00D0D0
|
||||||
style.3=name:Attributes,fore:#A0A0C0
|
style.3=name:Attributes,fore:#A0A0C0
|
||||||
style.4=name:Unknown Attributes,fore:#A0A0C0
|
style.4=name:Unknown Attributes,fore:#A0A0C0
|
||||||
style.5=name:Numbers,fore:#E00000
|
style.5=name:Numbers,fore:#E00000
|
||||||
style.6=name:Double quoted strings,fore:clLime
|
style.6=name:Double quoted strings,fore:clLime
|
||||||
style.7=name:Single quoted strings,fore:clLime
|
style.7=name:Single quoted strings,fore:clLime
|
||||||
style.8=name:Other inside tag,fore:#A000A0
|
style.8=name:Other inside tag,fore:#A000A0
|
||||||
style.9=name:Comment,fore:#909090
|
style.9=name:Comment,fore:#909090
|
||||||
style.10=name:Entities,bold
|
style.10=name:Entities,bold
|
||||||
style.11=name:XML short tag end,fore:#A000A0
|
style.11=name:XML short tag end,fore:#A000A0
|
||||||
style.12=name:XML identifier start,fore:#A000A0,bold
|
style.12=name:XML identifier start,fore:#A000A0,bold
|
||||||
style.13=name:XML identifier end,fore:#A000A0,bold
|
style.13=name:XML identifier end,fore:#A000A0,bold
|
||||||
style.17=name:CDATA,fore:clMaroon,back:#FFF0F0,eolfilled
|
style.17=name:CDATA,fore:clMaroon,back:#FFF0F0,eolfilled
|
||||||
style.18=name:XML Question,fore:#A00000
|
style.18=name:XML Question,fore:#A00000
|
||||||
style.19=name:Unquoted values,fore:clFuchsia
|
style.19=name:Unquoted values,fore:clFuchsia
|
||||||
style.21=name:SGML tags <! ... >,fore:#00D0D0
|
style.21=name:SGML tags <! ... >,fore:#00D0D0
|
||||||
style.22=name:SGML command,fore:#00A0A0,bold
|
style.22=name:SGML command,fore:#00A0A0,bold
|
||||||
style.23=name:SGML 1st param,fore:#0FFFF0
|
style.23=name:SGML 1st param,fore:#0FFFF0
|
||||||
style.24=name:SGML double string,fore:clLime
|
style.24=name:SGML double string,fore:clLime
|
||||||
style.25=name:SGML single string,fore:clLime
|
style.25=name:SGML single string,fore:clLime
|
||||||
style.26=name:SGML error,fore:clRed
|
style.26=name:SGML error,fore:clRed
|
||||||
style.27=name:SGML special,fore:#3366FF
|
style.27=name:SGML special,fore:#3366FF
|
||||||
style.28=name:SGML entity,bold
|
style.28=name:SGML entity,bold
|
||||||
style.29=name:SGML comment,fore:#909090
|
style.29=name:SGML comment,fore:#909090
|
||||||
style.31=name:SGML block,fore:#000066,back:#CCCCE0
|
style.31=name:SGML block,fore:#000066,back:#CCCCE0
|
||||||
|
|
||||||
CommentBoxStart=<!--
|
CommentBoxStart=<!--
|
||||||
CommentBoxEnd=-->
|
CommentBoxEnd=-->
|
||||||
CommentBoxMiddle=
|
CommentBoxMiddle=
|
||||||
CommentBlock=//
|
CommentBlock=//
|
||||||
CommentStreamStart=<!--
|
CommentStreamStart=<!--
|
||||||
CommentStreamEnd=-->
|
CommentStreamEnd=-->
|
||||||
AssignmentOperator==
|
AssignmentOperator==
|
||||||
EndOfStatementOperator=;
|
EndOfStatementOperator=;
|
||||||
[HTML]
|
[HTML]
|
||||||
lexer=hypertext
|
lexer=hypertext
|
||||||
NumStyleBits=7
|
NumStyleBits=7
|
||||||
keywords.0=name:HyperText::a abbr acronym address applet area b base basefont bdo big blockquote body br button caption center\
|
keywords.0=name:HyperText::a abbr acronym address applet area b base basefont bdo big blockquote body br button caption center\
|
||||||
cite code col colgroup dd del dfn dir div dl dt em fieldset font form frame frameset\
|
cite code col colgroup dd del dfn dir div dl dt em fieldset font form frame frameset\
|
||||||
h1 h2 h3 h4 h5 h6 head hr html i iframe img input ins isindex kbd label\
|
h1 h2 h3 h4 h5 h6 head hr html i iframe img input ins isindex kbd label\
|
||||||
legend li link map menu meta noframes noscript object ol optgroup option p param pre q s\
|
legend li link map menu meta noframes noscript object ol optgroup option p param pre q s\
|
||||||
samp script select small span strike strong style sub sup table tbody td textarea tfoot th thead\
|
samp script select small span strike strong style sub sup table tbody td textarea tfoot th thead\
|
||||||
title tr tt u ul var xml xmlns abbr accept-charset accept accesskey action align alink alt archive\
|
title tr tt u ul var xml xmlns abbr accept-charset accept accesskey action align alink alt archive\
|
||||||
axis background bgcolor border cellpadding cellspacing char charoff charset checked cite class classid clear codebase codetype color\
|
axis background bgcolor border cellpadding cellspacing char charoff charset checked cite class classid clear codebase codetype color\
|
||||||
cols colspan compact content coords data datafld dataformatas datapagesize datasrc datetime declare defer dir disabled enctype event\
|
cols colspan compact content coords data datafld dataformatas datapagesize datasrc datetime declare defer dir disabled enctype event\
|
||||||
face for frame frameborder headers height href hreflang hspace http-equiv id ismap label lang language leftmargin link\
|
face for frame frameborder headers height href hreflang hspace http-equiv id ismap label lang language leftmargin link\
|
||||||
longdesc marginwidth marginheight maxlength media method multiple name nohref noresize noshade nowrap object onblur onchange onclick ondblclick\
|
longdesc marginwidth marginheight maxlength media method multiple name nohref noresize noshade nowrap object onblur onchange onclick ondblclick\
|
||||||
onfocus onkeydown onkeypress onkeyup onload onmousedown onmousemove onmouseover onmouseout onmouseup onreset onselect onsubmit onunload profile prompt readonly\
|
onfocus onkeydown onkeypress onkeyup onload onmousedown onmousemove onmouseover onmouseout onmouseup onreset onselect onsubmit onunload profile prompt readonly\
|
||||||
rel rev rows rowspan rules scheme scope selected shape size span src standby start style summary tabindex\
|
rel rev rows rowspan rules scheme scope selected shape size span src standby start style summary tabindex\
|
||||||
target text title topmargin type usemap valign value valuetype version vlink vspace width text password checkbox radio\
|
target text title topmargin type usemap valign value valuetype version vlink vspace width text password checkbox radio\
|
||||||
submit reset file hidden image framespacing scrolling allowtransparency bordercolor
|
submit reset file hidden image framespacing scrolling allowtransparency bordercolor
|
||||||
|
|
||||||
keywords.1=name:JavaScript::abstract boolean break byte case catch char class const continue debugger default delete do double else enum\
|
keywords.1=name:JavaScript::abstract boolean break byte case catch char class const continue debugger default delete do double else enum\
|
||||||
export extends final finally float for function goto if implements import in instanceof int interface long native\
|
export extends final finally float for function goto if implements import in instanceof int interface long native\
|
||||||
new package private protected public return short static super switch synchronized this throw throws transient try typeof\
|
new package private protected public return short static super switch synchronized this throw throws transient try typeof\
|
||||||
var void volatile while with
|
var void volatile while with
|
||||||
|
|
||||||
keywords.2=name:VBScript::and begin case call class continue do each else elseif end erase error event exit false for\
|
keywords.2=name:VBScript::and begin case call class continue do each else elseif end erase error event exit false for\
|
||||||
function get gosub goto if implement in load loop lset me mid new next not nothing on\
|
function get gosub goto if implement in load loop lset me mid new next not nothing on\
|
||||||
or property raiseevent rem resume return rset select set stop sub then to true unload until wend\
|
or property raiseevent rem resume return rset select set stop sub then to true unload until wend\
|
||||||
while with withevents attribute alias as boolean byref byte byval const compare currency date declare dim double\
|
while with withevents attribute alias as boolean byref byte byval const compare currency date declare dim double\
|
||||||
enum explicit friend global integer let lib long module object option optional preserve private public redim single\
|
enum explicit friend global integer let lib long module object option optional preserve private public redim single\
|
||||||
static string type variant
|
static string type variant
|
||||||
|
|
||||||
keywords.3=name:Python::and assert break class continue def del elif else except exec finally for from global if import\
|
keywords.3=name:Python::and assert break class continue def del elif else except exec finally for from global if import\
|
||||||
in is lambda None not or pass print raise return try while yield
|
in is lambda None not or pass print raise return try while yield
|
||||||
|
|
||||||
keywords.4=name:PHP::and argv as argc break case cfunction class continue declare default do die echo else elseif empty\
|
keywords.4=name:PHP::and argv as argc break case cfunction class continue declare default do die echo else elseif empty\
|
||||||
enddeclare endfor endforeach endif endswitch endwhile e_all e_parse e_error e_warning eval exit extends false for foreach function\
|
enddeclare endfor endforeach endif endswitch endwhile e_all e_parse e_error e_warning eval exit extends false for foreach function\
|
||||||
global http_cookie_vars http_get_vars http_post_vars http_post_files http_env_vars http_server_vars if include include_once list new not null old_function or parent\
|
global http_cookie_vars http_get_vars http_post_vars http_post_files http_env_vars http_server_vars if include include_once list new not null old_function or parent\
|
||||||
php_os php_self php_version print require require_once return static switch stdclass this true var xor virtual while __file__\
|
php_os php_self php_version print require require_once return static switch stdclass this true var xor virtual while __file__\
|
||||||
__line__ __sleep __wakeup
|
__line__ __sleep __wakeup
|
||||||
|
|
||||||
keywords.5=name:DTD Keywords::ELEMENT DOCTYPE ATTLIST ENTITY NOTATION
|
keywords.5=name:DTD Keywords::ELEMENT DOCTYPE ATTLIST ENTITY NOTATION
|
||||||
|
|
||||||
style.33=name:LineNumbers
|
style.33=name:LineNumbers
|
||||||
style.34=name:Ok Braces,fore:clBlue,bold
|
style.34=name:Ok Braces,fore:clBlue,bold
|
||||||
style.35=name:Bad Braces,fore:clRed,bold
|
style.35=name:Bad Braces,fore:clRed,bold
|
||||||
style.36=name:Control Chars,back:clSilver
|
style.36=name:Control Chars,back:clSilver
|
||||||
style.37=name:Indent Guide,fore:clGray
|
style.37=name:Indent Guide,fore:clGray
|
||||||
style.0=name:Text
|
style.0=name:Text
|
||||||
style.1=name:Tags,bold
|
style.1=name:Tags,bold
|
||||||
style.2=name:Unknown Tags,fore:clOlive
|
style.2=name:Unknown Tags,fore:clOlive
|
||||||
style.3=name:Attributes,fore:#A0A0C0
|
style.3=name:Attributes,fore:#A0A0C0
|
||||||
style.4=name:Unknown Attributes,fore:clRed
|
style.4=name:Unknown Attributes,fore:clRed
|
||||||
style.5=name:Numbers,fore:clBlue
|
style.5=name:Numbers,fore:clBlue
|
||||||
style.6=name:Double quoted strings,fore:#AA9900
|
style.6=name:Double quoted strings,fore:#AA9900
|
||||||
style.7=name:Single quoted strings,fore:clLime
|
style.7=name:Single quoted strings,fore:clLime
|
||||||
style.8=name:Other inside tag
|
style.8=name:Other inside tag
|
||||||
style.9=name:Comment,fore:#FF8000
|
style.9=name:Comment,fore:#FF8000
|
||||||
style.10=name:Entities,fore:#A0A0A0,font:Times New Roman,bold
|
style.10=name:Entities,fore:#A0A0A0,font:Times New Roman,bold
|
||||||
style.11=name:XML short tag end,fore:#00C0C0
|
style.11=name:XML short tag end,fore:#00C0C0
|
||||||
style.12=name:XML identifier start,fore:#A000A0
|
style.12=name:XML identifier start,fore:#A000A0
|
||||||
style.13=name:XML identifier end,fore:#A000A0
|
style.13=name:XML identifier end,fore:#A000A0
|
||||||
style.14=name:SCRIPT,fore:#000A0A
|
style.14=name:SCRIPT,fore:#000A0A
|
||||||
style.15=name:ASP <% ... %>,fore:clYellow
|
style.15=name:ASP <% ... %>,fore:clYellow
|
||||||
style.16=name:ASP <% ... %>,fore:clYellow
|
style.16=name:ASP <% ... %>,fore:clYellow
|
||||||
style.17=name:CDATA,fore:#FFDF00
|
style.17=name:CDATA,fore:#FFDF00
|
||||||
style.18=name:PHP,fore:#FF8951
|
style.18=name:PHP,fore:#FF8951
|
||||||
style.19=name:Unquoted values,fore:clFuchsia
|
style.19=name:Unquoted values,fore:clFuchsia
|
||||||
style.20=name:XC Comment
|
style.20=name:XC Comment
|
||||||
style.21=name:SGML tags <! ... >,fore:#00D0D0
|
style.21=name:SGML tags <! ... >,fore:#00D0D0
|
||||||
style.22=name:SGML command,fore:#00A0A0,bold
|
style.22=name:SGML command,fore:#00A0A0,bold
|
||||||
style.23=name:SGML 1st param,fore:#0FFFF0
|
style.23=name:SGML 1st param,fore:#0FFFF0
|
||||||
style.24=name:SGML double string,fore:clLime
|
style.24=name:SGML double string,fore:clLime
|
||||||
style.25=name:SGML single string,fore:clLime
|
style.25=name:SGML single string,fore:clLime
|
||||||
style.26=name:SGML error,fore:clRed
|
style.26=name:SGML error,fore:clRed
|
||||||
style.27=name:SGML special,fore:#3366FF
|
style.27=name:SGML special,fore:#3366FF
|
||||||
style.28=name:SGML entity
|
style.28=name:SGML entity
|
||||||
style.29=name:SGML comment,fore:#909090
|
style.29=name:SGML comment,fore:#909090
|
||||||
style.31=name:SGML block,fore:clBlue
|
style.31=name:SGML block,fore:clBlue
|
||||||
style.40=name:JS Start,fore:#7F7F00
|
style.40=name:JS Start,fore:#7F7F00
|
||||||
style.41=name:JS Default,bold,eolfilled
|
style.41=name:JS Default,bold,eolfilled
|
||||||
style.42=name:JS Comment,fore:#909090,eolfilled
|
style.42=name:JS Comment,fore:#909090,eolfilled
|
||||||
style.43=name:JS Line Comment,fore:#909090
|
style.43=name:JS Line Comment,fore:#909090
|
||||||
style.44=name:JS Doc Comment,fore:#909090,bold,eolfilled
|
style.44=name:JS Doc Comment,fore:#909090,bold,eolfilled
|
||||||
style.45=name:JS Number,fore:#E00000
|
style.45=name:JS Number,fore:#E00000
|
||||||
style.46=name:JS Word,fore:#00CCCC
|
style.46=name:JS Word,fore:#00CCCC
|
||||||
style.47=name:JS Keyword,fore:clOlive,bold
|
style.47=name:JS Keyword,fore:clOlive,bold
|
||||||
style.48=name:JS Double quoted string,fore:clLime
|
style.48=name:JS Double quoted string,fore:clLime
|
||||||
style.49=name:JS Single quoted string,fore:clLime
|
style.49=name:JS Single quoted string,fore:clLime
|
||||||
style.50=name:JS Symbols
|
style.50=name:JS Symbols
|
||||||
style.51=name:JS EOL,fore:clWhite,back:#202020,eolfilled
|
style.51=name:JS EOL,fore:clWhite,back:#202020,eolfilled
|
||||||
style.52=name:JS Regex,fore:#C032FF
|
style.52=name:JS Regex,fore:#C032FF
|
||||||
style.55=name:ASP JS Start,fore:#7F7F00
|
style.55=name:ASP JS Start,fore:#7F7F00
|
||||||
style.56=name:ASP JS Default,bold,eolfilled
|
style.56=name:ASP JS Default,bold,eolfilled
|
||||||
style.57=name:ASP JS Comment,fore:#909090,eolfilled
|
style.57=name:ASP JS Comment,fore:#909090,eolfilled
|
||||||
style.58=name:ASP JS Line Comment,fore:#909090
|
style.58=name:ASP JS Line Comment,fore:#909090
|
||||||
style.59=name:ASP JS Doc Comment,fore:#909090,bold,eolfilled
|
style.59=name:ASP JS Doc Comment,fore:#909090,bold,eolfilled
|
||||||
style.60=name:ASP JS Number,fore:#E00000
|
style.60=name:ASP JS Number,fore:#E00000
|
||||||
style.61=name:ASP JS Word,fore:#E0E0E0
|
style.61=name:ASP JS Word,fore:#E0E0E0
|
||||||
style.62=name:ASP JS Keyword,fore:clOlive,bold
|
style.62=name:ASP JS Keyword,fore:clOlive,bold
|
||||||
style.63=name:ASP JS Double quoted string,fore:clLime
|
style.63=name:ASP JS Double quoted string,fore:clLime
|
||||||
style.64=name:ASP JS Single quoted string,fore:clLime
|
style.64=name:ASP JS Single quoted string,fore:clLime
|
||||||
style.65=name:ASP JS Symbols
|
style.65=name:ASP JS Symbols
|
||||||
style.66=name:ASP JS EOL,fore:clWhite,back:#202020,eolfilled
|
style.66=name:ASP JS EOL,fore:clWhite,back:#202020,eolfilled
|
||||||
style.67=name:ASP JS Regex,fore:#C032FF
|
style.67=name:ASP JS Regex,fore:#C032FF
|
||||||
style.71=name:VBS Default,eolfilled
|
style.71=name:VBS Default,eolfilled
|
||||||
style.72=name:VBS Comment,fore:#909090,eolfilled
|
style.72=name:VBS Comment,fore:#909090,eolfilled
|
||||||
style.73=name:VBS Number,fore:#E00000,eolfilled
|
style.73=name:VBS Number,fore:#E00000,eolfilled
|
||||||
style.74=name:VBS KeyWord,fore:clOlive,bold,eolfilled
|
style.74=name:VBS KeyWord,fore:clOlive,bold,eolfilled
|
||||||
style.75=name:VBS String,fore:clLime,eolfilled
|
style.75=name:VBS String,fore:clLime,eolfilled
|
||||||
style.76=name:VBS Identifier,fore:clSilver,eolfilled
|
style.76=name:VBS Identifier,fore:clSilver,eolfilled
|
||||||
style.77=name:VBS Unterminated string,fore:clWhite,back:#202020,eolfilled
|
style.77=name:VBS Unterminated string,fore:clWhite,back:#202020,eolfilled
|
||||||
style.81=name:ASP Default,eolfilled
|
style.81=name:ASP Default,eolfilled
|
||||||
style.82=name:ASP Comment,fore:#909090,eolfilled
|
style.82=name:ASP Comment,fore:#909090,eolfilled
|
||||||
style.83=name:ASP Number,fore:#E00000,eolfilled
|
style.83=name:ASP Number,fore:#E00000,eolfilled
|
||||||
style.84=name:ASP KeyWord,fore:clOlive,bold,eolfilled
|
style.84=name:ASP KeyWord,fore:clOlive,bold,eolfilled
|
||||||
style.85=name:ASP String,fore:clLime,eolfilled
|
style.85=name:ASP String,fore:clLime,eolfilled
|
||||||
style.86=name:ASP Identifier,fore:clSilver,eolfilled
|
style.86=name:ASP Identifier,fore:clSilver,eolfilled
|
||||||
style.87=name:ASP Unterminated string,fore:clWhite,back:#202020,eolfilled
|
style.87=name:ASP Unterminated string,fore:clWhite,back:#202020,eolfilled
|
||||||
style.90=name:Python Start,fore:clGray
|
style.90=name:Python Start,fore:clGray
|
||||||
style.91=name:Python Default,fore:clGray,eolfilled
|
style.91=name:Python Default,fore:clGray,eolfilled
|
||||||
style.92=name:Python Comment,fore:#909090,eolfilled
|
style.92=name:Python Comment,fore:#909090,eolfilled
|
||||||
style.93=name:Python Number,fore:#E00000,eolfilled
|
style.93=name:Python Number,fore:#E00000,eolfilled
|
||||||
style.94=name:Python String,fore:clLime,eolfilled
|
style.94=name:Python String,fore:clLime,eolfilled
|
||||||
style.95=name:Python Single quoted string,fore:clLime,font:Courier New,eolfilled
|
style.95=name:Python Single quoted string,fore:clLime,font:Courier New,eolfilled
|
||||||
style.96=name:Python Keyword,fore:clOlive,bold,eolfilled
|
style.96=name:Python Keyword,fore:clOlive,bold,eolfilled
|
||||||
style.97=name:Python Triple quotes,fore:#7F0000,back:#EFFFEF,eolfilled
|
style.97=name:Python Triple quotes,fore:#7F0000,back:#EFFFEF,eolfilled
|
||||||
style.98=name:Python Triple double quotes,fore:#7F0000,back:#EFFFEF,eolfilled
|
style.98=name:Python Triple double quotes,fore:#7F0000,back:#EFFFEF,eolfilled
|
||||||
style.99=name:Python Class name definition,fore:clBlue,back:#EFFFEF,bold,eolfilled
|
style.99=name:Python Class name definition,fore:clBlue,back:#EFFFEF,bold,eolfilled
|
||||||
style.100=name:Python function or method name definition,fore:#007F7F,back:#EFFFEF,bold,eolfilled
|
style.100=name:Python function or method name definition,fore:#007F7F,back:#EFFFEF,bold,eolfilled
|
||||||
style.101=name:Python function or method name definition,back:#EFFFEF,bold,eolfilled
|
style.101=name:Python function or method name definition,back:#EFFFEF,bold,eolfilled
|
||||||
style.102=name:Python Identifiers,back:#EFFFEF,eolfilled
|
style.102=name:Python Identifiers,back:#EFFFEF,eolfilled
|
||||||
style.104=name:PHP Complex Variable,fore:#00A0A0,italics
|
style.104=name:PHP Complex Variable,fore:#00A0A0,italics
|
||||||
style.105=name:ASP Python Start,fore:clGray
|
style.105=name:ASP Python Start,fore:clGray
|
||||||
style.106=name:ASP Python Default,fore:clGray,eolfilled
|
style.106=name:ASP Python Default,fore:clGray,eolfilled
|
||||||
style.107=name:ASP Python Comment,fore:#909090,eolfilled
|
style.107=name:ASP Python Comment,fore:#909090,eolfilled
|
||||||
style.108=name:ASP Python Number,fore:#E00000,eolfilled
|
style.108=name:ASP Python Number,fore:#E00000,eolfilled
|
||||||
style.109=name:ASP Python String,fore:clLime,font:Courier New,eolfilled
|
style.109=name:ASP Python String,fore:clLime,font:Courier New,eolfilled
|
||||||
style.110=name:ASP Python Single quoted string,fore:clLime,eolfilled
|
style.110=name:ASP Python Single quoted string,fore:clLime,eolfilled
|
||||||
style.111=name:ASP Python Keyword,fore:clOlive,bold,eolfilled
|
style.111=name:ASP Python Keyword,fore:clOlive,bold,eolfilled
|
||||||
style.112=name:ASP Python Triple quotes,fore:#7F0000,back:#CFEFCF,eolfilled
|
style.112=name:ASP Python Triple quotes,fore:#7F0000,back:#CFEFCF,eolfilled
|
||||||
style.113=name:ASP Python Triple double quotes,fore:#7F0000,back:#CFEFCF,eolfilled
|
style.113=name:ASP Python Triple double quotes,fore:#7F0000,back:#CFEFCF,eolfilled
|
||||||
style.114=name:ASP Python Class name definition,fore:clBlue,back:#CFEFCF,bold,eolfilled
|
style.114=name:ASP Python Class name definition,fore:clBlue,back:#CFEFCF,bold,eolfilled
|
||||||
style.115=name:ASP Python function or method name definition,fore:#007F7F,back:#EFFFEF,bold,eolfilled
|
style.115=name:ASP Python function or method name definition,fore:#007F7F,back:#EFFFEF,bold,eolfilled
|
||||||
style.116=name:ASP Python function or method name definition,back:#CFEFCF,bold,eolfilled
|
style.116=name:ASP Python function or method name definition,back:#CFEFCF,bold,eolfilled
|
||||||
style.117=name:ASP Python Identifiers,fore:clSilver,back:#CFEFCF,eolfilled
|
style.117=name:ASP Python Identifiers,fore:clSilver,back:#CFEFCF,eolfilled
|
||||||
style.118=name:PHP Default,eolfilled
|
style.118=name:PHP Default,eolfilled
|
||||||
style.119=name:PHP Double quoted string,fore:clLime
|
style.119=name:PHP Double quoted string,fore:clLime
|
||||||
style.120=name:PHP Single quoted string,fore:clLime
|
style.120=name:PHP Single quoted string,fore:clLime
|
||||||
style.121=name:PHP Keyword,fore:clOlive,bold
|
style.121=name:PHP Keyword,fore:clOlive,bold
|
||||||
style.122=name:PHP Number,fore:#E00000
|
style.122=name:PHP Number,fore:#E00000
|
||||||
style.123=name:PHP Variable,fore:#00A0A0,italics
|
style.123=name:PHP Variable,fore:#00A0A0,italics
|
||||||
style.124=name:PHP Comment,fore:#909090
|
style.124=name:PHP Comment,fore:#909090
|
||||||
style.125=name:PHP One line Comment,fore:#909090
|
style.125=name:PHP One line Comment,fore:#909090
|
||||||
style.126=name:PHP Variable in double quoted string,fore:#00A0A0,italics
|
style.126=name:PHP Variable in double quoted string,fore:#00A0A0,italics
|
||||||
style.127=name:PHP operator,fore:clSilver
|
style.127=name:PHP operator,fore:clSilver
|
||||||
|
|
||||||
CommentBoxStart=<!--
|
CommentBoxStart=<!--
|
||||||
CommentBoxEnd=-->
|
CommentBoxEnd=-->
|
||||||
CommentBoxMiddle=
|
CommentBoxMiddle=
|
||||||
CommentBlock=//
|
CommentBlock=//
|
||||||
CommentStreamStart=<!--
|
CommentStreamStart=<!--
|
||||||
CommentStreamEnd=-->
|
CommentStreamEnd=-->
|
||||||
AssignmentOperator==
|
AssignmentOperator==
|
||||||
EndOfStatementOperator=;
|
EndOfStatementOperator=;
|
||||||
[C++]
|
[C++]
|
||||||
lexer=cpp
|
lexer=cpp
|
||||||
keywords.0=name:Primary keywords and identifiers::__asm _asm asm auto __automated bool break case catch __cdecl _cdecl cdecl char class __classid __closure const\
|
keywords.0=name:Primary keywords and identifiers::__asm _asm asm auto __automated bool break case catch __cdecl _cdecl cdecl char class __classid __closure const\
|
||||||
const_cast continue __declspec default delete __dispid do double dynamic_cast else enum __except explicit __export export extern false\
|
const_cast continue __declspec default delete __dispid do double dynamic_cast else enum __except explicit __export export extern false\
|
||||||
__fastcall _fastcall __finally float for friend goto if __import _import __inline inline int __int16 __int32 __int64 __int8\
|
__fastcall _fastcall __finally float for friend goto if __import _import __inline inline int __int16 __int32 __int64 __int8\
|
||||||
long __msfastcall __msreturn mutable namespace new __pascal _pascal pascal private __property protected public __published register reinterpret_cast return\
|
long __msfastcall __msreturn mutable namespace new __pascal _pascal pascal private __property protected public __published register reinterpret_cast return\
|
||||||
__rtti short signed sizeof static_cast static __stdcall _stdcall struct switch template this __thread throw true __try try\
|
__rtti short signed sizeof static_cast static __stdcall _stdcall struct switch template this __thread throw true __try try\
|
||||||
typedef typeid typename union unsigned using virtual void volatile wchar_t while dllexport dllimport naked noreturn nothrow novtable\
|
typedef typeid typename union unsigned using virtual void volatile wchar_t while dllexport dllimport naked noreturn nothrow novtable\
|
||||||
property selectany thread uuid
|
property selectany thread uuid
|
||||||
|
|
||||||
keywords.1=name:Secondary keywords and identifiers::TStream TFileStream TMemoryStream TBlobStream TOleStream TStrings TStringList AnsiString String WideString cout cin cerr endl fstream ostream istream\
|
keywords.1=name:Secondary keywords and identifiers::TStream TFileStream TMemoryStream TBlobStream TOleStream TStrings TStringList AnsiString String WideString cout cin cerr endl fstream ostream istream\
|
||||||
wstring string deque list vector set multiset bitset map multimap stack queue priority_queue
|
wstring string deque list vector set multiset bitset map multimap stack queue priority_queue
|
||||||
|
|
||||||
keywords.2=name:Doc Comments::a addindex addtogroup anchor arg attention author b brief bug c class code date def defgroup deprecated\
|
keywords.2=name:Doc Comments::a addindex addtogroup anchor arg attention author b brief bug c class code date def defgroup deprecated\
|
||||||
dontinclude e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example exception f$ f[ f] file fn\
|
dontinclude e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example exception f$ f[ f] file fn\
|
||||||
hideinitializer htmlinclude htmlonly if image include ingroup internal invariant interface latexonly li line link mainpage name namespace\
|
hideinitializer htmlinclude htmlonly if image include ingroup internal invariant interface latexonly li line link mainpage name namespace\
|
||||||
nosubgrouping note overload p page par param post pre ref relates remarks return retval sa section see\
|
nosubgrouping note overload p page par param post pre ref relates remarks return retval sa section see\
|
||||||
showinitializer since skip skipline struct subsection test throw todo typedef union until var verbatim verbinclude version warning\
|
showinitializer since skip skipline struct subsection test throw todo typedef union until var verbatim verbinclude version warning\
|
||||||
weakgroup $ @ < > \ & # { }
|
weakgroup $ @ < > \ & # { }
|
||||||
|
|
||||||
keywords.3=name:Unused::
|
keywords.3=name:Unused::
|
||||||
|
|
||||||
keywords.4=name:Global classes and typedefs::LOL
|
keywords.4=name:Global classes and typedefs::LOL
|
||||||
|
|
||||||
style.33=name:LineNumbers
|
style.33=name:LineNumbers
|
||||||
style.34=name:Ok Braces,fore:#0000BB
|
style.34=name:Ok Braces,fore:#0000BB
|
||||||
style.35=name:Bad Braces,fore:clRed
|
style.35=name:Bad Braces,fore:clRed
|
||||||
style.36=name:Control Chars,fore:clGray
|
style.36=name:Control Chars,fore:clGray
|
||||||
style.37=name:Indent Guide,fore:clGray
|
style.37=name:Indent Guide,fore:clGray
|
||||||
style.0=name:White space,fore:#0000BB,font:Courier New
|
style.0=name:White space,fore:#0000BB,font:Courier New
|
||||||
style.1=name:Comment,fore:#FF8040
|
style.1=name:Comment,fore:#FF8040
|
||||||
style.2=name:Line Comment,fore:#FF8040
|
style.2=name:Line Comment,fore:#FF8040
|
||||||
style.3=name:Doc Comment,fore:#FF8040
|
style.3=name:Doc Comment,fore:#FF8040
|
||||||
style.4=name:Number,fore:clNavy
|
style.4=name:Number,fore:clNavy
|
||||||
style.5=name:Keyword,fore:#007700
|
style.5=name:Keyword,fore:#007700
|
||||||
style.6=name:Double quoted string,fore:clRed
|
style.6=name:Double quoted string,fore:clRed
|
||||||
style.7=name:Single quoted string,fore:clRed
|
style.7=name:Single quoted string,fore:clRed
|
||||||
style.8=name:Symbols/UUID,fore:clRed
|
style.8=name:Symbols/UUID,fore:clRed
|
||||||
style.9=name:Preprocessor,fore:#FF8000
|
style.9=name:Preprocessor,fore:#FF8000
|
||||||
style.10=name:Operators,fore:#007700
|
style.10=name:Operators,fore:#007700
|
||||||
style.11=name:Identifier,fore:clNavy
|
style.11=name:Identifier,fore:clNavy
|
||||||
style.12=name:EOL if string is not closed,fore:clRed,eolfilled
|
style.12=name:EOL if string is not closed,fore:clRed,eolfilled
|
||||||
style.13=name:Verbatim strings for C#,fore:clLime
|
style.13=name:Verbatim strings for C#,fore:clLime
|
||||||
style.14=name:Regular expressions,fore:clHotLight
|
style.14=name:Regular expressions,fore:clHotLight
|
||||||
style.15=name:Doc Comment Line,fore:#FF8040
|
style.15=name:Doc Comment Line,fore:#FF8040
|
||||||
style.16=name:User-defined keywords,fore:clRed
|
style.16=name:User-defined keywords,fore:clRed
|
||||||
style.17=name:Comment keyword,fore:#FF8000
|
style.17=name:Comment keyword,fore:#FF8000
|
||||||
style.18=name:Comment keyword error,fore:clRed
|
style.18=name:Comment keyword error,fore:clRed
|
||||||
style.19=name:Global classes and typedefs,fore:clGreen
|
style.19=name:Global classes and typedefs,fore:clGreen
|
||||||
|
|
||||||
CommentBoxStart=/*
|
CommentBoxStart=/*
|
||||||
CommentBoxEnd=*/
|
CommentBoxEnd=*/
|
||||||
CommentBoxMiddle=*
|
CommentBoxMiddle=*
|
||||||
CommentBlock=//
|
CommentBlock=//
|
||||||
CommentStreamStart=/*
|
CommentStreamStart=/*
|
||||||
CommentStreamEnd=*/
|
CommentStreamEnd=*/
|
||||||
AssignmentOperator==
|
AssignmentOperator==
|
||||||
EndOfStatementOperator=;
|
EndOfStatementOperator=;
|
||||||
[SQL]
|
[SQL]
|
||||||
lexer=mssql
|
lexer=mssql
|
||||||
keywords.0=name:Statements::
|
keywords.0=name:Statements::
|
||||||
|
|
||||||
keywords.1=name:Data Types::
|
keywords.1=name:Data Types::
|
||||||
|
|
||||||
keywords.2=name:System tables::
|
keywords.2=name:System tables::
|
||||||
|
|
||||||
keywords.3=name:Global variables::
|
keywords.3=name:Global variables::
|
||||||
|
|
||||||
keywords.4=name:Functions::
|
keywords.4=name:Functions::
|
||||||
|
|
||||||
keywords.5=name:System Stored Procedures::
|
keywords.5=name:System Stored Procedures::
|
||||||
|
|
||||||
keywords.6=name:Operators::
|
keywords.6=name:Operators::
|
||||||
|
|
||||||
style.33=name:LineNumbers,font:Arial
|
style.33=name:LineNumbers,font:Arial
|
||||||
style.34=name:Ok Braces,fore:clYellow,bold
|
style.34=name:Ok Braces,fore:clYellow,bold
|
||||||
style.35=name:Bad Braces,fore:clRed,bold
|
style.35=name:Bad Braces,fore:clRed,bold
|
||||||
style.36=name:Control Chars,back:clSilver
|
style.36=name:Control Chars,back:clSilver
|
||||||
style.37=name:Indent Guide,fore:clGray
|
style.37=name:Indent Guide,fore:clGray
|
||||||
style.0=name:Default,fore:clSilver
|
style.0=name:Default,fore:clSilver
|
||||||
style.1=name:Comment,fore:#909090
|
style.1=name:Comment,fore:#909090
|
||||||
style.2=name:Line Comment,fore:#909090
|
style.2=name:Line Comment,fore:#909090
|
||||||
style.3=name:Number,fore:#E00000
|
style.3=name:Number,fore:#E00000
|
||||||
style.4=name:String,fore:clLime
|
style.4=name:String,fore:clLime
|
||||||
style.5=name:Operator,fore:clSilver
|
style.5=name:Operator,fore:clSilver
|
||||||
style.6=name:Identifier,fore:clSilver
|
style.6=name:Identifier,fore:clSilver
|
||||||
style.7=name:Variable
|
style.7=name:Variable
|
||||||
style.8=name:Column Name
|
style.8=name:Column Name
|
||||||
style.9=name:Statement
|
style.9=name:Statement
|
||||||
style.10=name:Data Type
|
style.10=name:Data Type
|
||||||
style.11=name:System Table
|
style.11=name:System Table
|
||||||
style.12=name:Global Variable
|
style.12=name:Global Variable
|
||||||
style.13=name:Function
|
style.13=name:Function
|
||||||
style.14=name:Stored Procedure
|
style.14=name:Stored Procedure
|
||||||
style.15=name:Default Pref Datatype
|
style.15=name:Default Pref Datatype
|
||||||
style.16=name:Column Name 2
|
style.16=name:Column Name 2
|
||||||
|
|
||||||
CommentBoxStart=/*
|
CommentBoxStart=/*
|
||||||
CommentBoxEnd=*/
|
CommentBoxEnd=*/
|
||||||
CommentBoxMiddle=*
|
CommentBoxMiddle=*
|
||||||
CommentBlock=#
|
CommentBlock=#
|
||||||
CommentStreamStart=/*
|
CommentStreamStart=/*
|
||||||
CommentStreamEnd=*/
|
CommentStreamEnd=*/
|
||||||
AssignmentOperator==
|
AssignmentOperator==
|
||||||
EndOfStatementOperator=;
|
EndOfStatementOperator=;
|
||||||
[Pawn]
|
[Pawn]
|
||||||
lexer=cpp
|
lexer=cpp
|
||||||
keywords.0=name:Primary keywords and identifiers::assert char #assert const break de ned #de ne enum case sizeof #else forward continue tagof #emit\
|
keywords.0=name:Primary keywords and identifiers::assert char #assert const break de ned #de ne enum case sizeof #else forward continue tagof #emit\
|
||||||
native default #endif new do #endinput operator else #endscript public exit #error static for # le stock\
|
native default #endif new do #endinput operator else #endscript public exit #error static for # le stock\
|
||||||
goto #if if #include return #line sleep #pragma state #section switch #tryinclude while #undef Float
|
goto #if if #include return #line sleep #pragma state #section switch #tryinclude while #undef Float
|
||||||
|
|
||||||
keywords.1=name:Secondary keywords and identifiers:: heapspace funcidx numargs getarg setarg strlen tolower toupper swapchars random min max clamp power sqroot time\
|
keywords.1=name:Secondary keywords and identifiers:: heapspace funcidx numargs getarg setarg strlen tolower toupper swapchars random min max clamp power sqroot time\
|
||||||
date tickcount abs float floatstr floatmul floatdiv floatadd floatsub floatfract floatround floatcmp floatsqroot floatpower floatlog floatsin floatcos\
|
date tickcount abs float floatstr floatmul floatdiv floatadd floatsub floatfract floatround floatcmp floatsqroot floatpower floatlog floatsin floatcos\
|
||||||
floattan floatsinh floatcosh floattanh floatabs floatatan floatacos floatasin floatatan2 contain containi replace add format formatex vformat vdformat\
|
floattan floatsinh floatcosh floattanh floatabs floatatan floatacos floatasin floatatan2 contain containi replace add format formatex vformat vdformat\
|
||||||
format_args num_to_str str_to_num float_to_str str_to_float equal equali copy copyc setc parse strtok strbreak trim strtolower strtoupper ucfirst\
|
format_args num_to_str str_to_num float_to_str str_to_float equal equali copy copyc setc parse strtok strbreak trim strtolower strtoupper ucfirst\
|
||||||
isdigit isalpha isspace isalnum strcat strfind strcmp is_str_num split remove_filepath replace_all read_dir read_file write_file delete_file file_exists rename_file\
|
isdigit isalpha isspace isalnum strcat strfind strcmp is_str_num split remove_filepath replace_all read_dir read_file write_file delete_file file_exists rename_file\
|
||||||
dir_exists file_size fopen fclose fread fread_blocks fread_raw fwrite fwrite_blocks fwrite_raw feof fgets fputs fprintf fseek ftell fgetc\
|
dir_exists file_size fopen fclose fread fread_blocks fread_raw fwrite fwrite_blocks fwrite_raw feof fgets fputs fprintf fseek ftell fgetc\
|
||||||
fputc fungetc filesize rmdir unlink open_dir next_file close_dir get_vaultdata set_vaultdata remove_vaultdata vaultdata_exists get_langsnum get_lang register_dictionary lang_exists CreateLangKey\
|
fputc fungetc filesize rmdir unlink open_dir next_file close_dir get_vaultdata set_vaultdata remove_vaultdata vaultdata_exists get_langsnum get_lang register_dictionary lang_exists CreateLangKey\
|
||||||
GetLangTransKey AddTranslation message_begin message_end write_byte write_char write_short write_long write_entity write_angle write_coord write_string emessage_begin emessage_end ewrite_byte ewrite_char ewrite_short\
|
GetLangTransKey AddTranslation message_begin message_end write_byte write_char write_short write_long write_entity write_angle write_coord write_string emessage_begin emessage_end ewrite_byte ewrite_char ewrite_short\
|
||||||
ewrite_long ewrite_entity ewrite_angle ewrite_coord ewrite_string set_msg_block get_msg_block register_message get_msg_args get_msg_argtype get_msg_arg_int get_msg_arg_float get_msg_arg_string set_msg_arg_int set_msg_arg_float set_msg_arg_string get_msg_origin\
|
ewrite_long ewrite_entity ewrite_angle ewrite_coord ewrite_string set_msg_block get_msg_block register_message get_msg_args get_msg_argtype get_msg_arg_int get_msg_arg_float get_msg_arg_string set_msg_arg_int set_msg_arg_float set_msg_arg_string get_msg_origin\
|
||||||
get_distance get_distance_f velocity_by_aim vector_to_angle angle_vector vector_length vector_distance IVecFVec FVecIVec SortIntegers SortFloats SortStrings SortCustom1D SortCustom2D plugin_init plugin_pause plugin_unpause\
|
get_distance get_distance_f velocity_by_aim vector_to_angle angle_vector vector_length vector_distance IVecFVec FVecIVec SortIntegers SortFloats SortStrings SortCustom1D SortCustom2D plugin_init plugin_pause plugin_unpause\
|
||||||
server_changelevel plugin_cfg plugin_end plugin_log plugin_precache client_infochanged client_connect client_authorized client_disconnect client_command client_putinserver register_plugin precache_model precache_sound precache_generic set_user_info get_user_info\
|
server_changelevel plugin_cfg plugin_end plugin_log plugin_precache client_infochanged client_connect client_authorized client_disconnect client_command client_putinserver register_plugin precache_model precache_sound precache_generic set_user_info get_user_info\
|
||||||
set_localinfo get_localinfo show_motd client_print engclient_print console_print console_cmd register_event register_logevent set_hudmessage show_hudmessage show_menu read_data read_datanum read_logdata read_logargc read_logargv\
|
set_localinfo get_localinfo show_motd client_print engclient_print console_print console_cmd register_event register_logevent set_hudmessage show_hudmessage show_menu read_data read_datanum read_logdata read_logargc read_logargv\
|
||||||
parse_loguser server_print is_map_valid is_user_bot is_user_hltv is_user_connected is_user_connecting is_user_alive is_dedicated_server is_linux_server is_jit_enabled get_amxx_verstring get_user_attacker get_user_aiming get_user_frags get_user_armor get_user_deaths\
|
parse_loguser server_print is_map_valid is_user_bot is_user_hltv is_user_connected is_user_connecting is_user_alive is_dedicated_server is_linux_server is_jit_enabled get_amxx_verstring get_user_attacker get_user_aiming get_user_frags get_user_armor get_user_deaths\
|
||||||
get_user_health get_user_index get_user_ip user_has_weapon get_user_weapon get_user_ammo num_to_word get_user_team get_user_time get_user_ping get_user_origin get_user_weapons get_weaponname get_user_name get_user_authid get_user_userid user_slap\
|
get_user_health get_user_index get_user_ip user_has_weapon get_user_weapon get_user_ammo num_to_word get_user_team get_user_time get_user_ping get_user_origin get_user_weapons get_weaponname get_user_name get_user_authid get_user_userid user_slap\
|
||||||
user_kill log_amx log_message log_to_file get_playersnum get_players read_argv read_args read_argc read_flags get_flags find_player remove_quotes client_cmd engclient_cmd server_cmd set_cvar_string\
|
user_kill log_amx log_message log_to_file get_playersnum get_players read_argv read_args read_argc read_flags get_flags find_player remove_quotes client_cmd engclient_cmd server_cmd set_cvar_string\
|
||||||
cvar_exists remove_cvar_flags set_cvar_flags get_cvar_flags set_cvar_float get_cvar_float get_cvar_num set_cvar_num get_cvar_string get_mapname get_timeleft get_gametime get_maxplayers get_modname get_time format_time get_systime\
|
cvar_exists remove_cvar_flags set_cvar_flags get_cvar_flags set_cvar_float get_cvar_float get_cvar_num set_cvar_num get_cvar_string get_mapname get_timeleft get_gametime get_maxplayers get_modname get_time format_time get_systime\
|
||||||
parse_time set_task remove_task change_task task_exists set_user_flags get_user_flags remove_user_flags register_clcmd register_concmd register_srvcmd get_clcmd get_clcmdsnum get_srvcmd get_srvcmdsnum get_concmd get_concmd_plid\
|
parse_time set_task remove_task change_task task_exists set_user_flags get_user_flags remove_user_flags register_clcmd register_concmd register_srvcmd get_clcmd get_clcmdsnum get_srvcmd get_srvcmdsnum get_concmd get_concmd_plid\
|
||||||
get_concmdsnum get_plugins_cvarsnum get_plugins_cvar register_menuid register_menucmd get_user_menu server_exec emit_sound register_cvar random_float random_num get_user_msgid get_user_msgname xvar_exists get_xvar_id get_xvar_num get_xvar_float\
|
get_concmdsnum get_plugins_cvarsnum get_plugins_cvar register_menuid register_menucmd get_user_menu server_exec emit_sound register_cvar random_float random_num get_user_msgid get_user_msgname xvar_exists get_xvar_id get_xvar_num get_xvar_float\
|
||||||
set_xvar_num set_xvar_float is_module_loaded get_module get_modulesnum is_plugin_loaded get_plugin get_pluginsnum pause unpause callfunc_begin callfunc_begin_i get_func_id callfunc_push_int callfunc_push_float callfunc_push_intrf callfunc_push_floatrf\
|
set_xvar_num set_xvar_float is_module_loaded get_module get_modulesnum is_plugin_loaded get_plugin get_pluginsnum pause unpause callfunc_begin callfunc_begin_i get_func_id callfunc_push_int callfunc_push_float callfunc_push_intrf callfunc_push_floatrf\
|
||||||
callfunc_push_str callfunc_push_array callfunc_end inconsistent_file force_unmodified md5 md5_file plugin_flags plugin_modules require_module is_amd64_server mkdir find_plugin_byfile plugin_natives register_native register_library log_error\
|
callfunc_push_str callfunc_push_array callfunc_end inconsistent_file force_unmodified md5 md5_file plugin_flags plugin_modules require_module is_amd64_server mkdir find_plugin_byfile plugin_natives register_native register_library log_error\
|
||||||
param_convert get_string set_string get_param get_param_f get_param_byref get_float_byref set_param_byref set_float_byref get_array get_array_f set_array set_array_f menu_create menu_makecallback menu_additem menu_pages\
|
param_convert get_string set_string get_param get_param_f get_param_byref get_float_byref set_param_byref set_float_byref get_array get_array_f set_array set_array_f menu_create menu_makecallback menu_additem menu_pages\
|
||||||
menu_items menu_display menu_find_id menu_item_getinfo menu_item_setname menu_item_setcmd menu_item_setcall menu_destroy player_menu_info menu_addblank menu_setprop menu_cancel query_client_cvar set_error_filter dbg_trace_begin dbg_trace_next dbg_trace_info\
|
menu_items menu_display menu_find_id menu_item_getinfo menu_item_setname menu_item_setcmd menu_item_setcall menu_destroy player_menu_info menu_addblank menu_setprop menu_cancel query_client_cvar set_error_filter dbg_trace_begin dbg_trace_next dbg_trace_info\
|
||||||
dbg_fmt_error set_native_filter set_module_filter abort module_exists LibraryExists next_hudchannel CreateHudSyncObj ShowSyncHudMsg ClearSyncHud int3 set_fail_state get_var_addr get_addr_val set_addr_val CreateMultiForward CreateOneForward\
|
dbg_fmt_error set_native_filter set_module_filter abort module_exists LibraryExists next_hudchannel CreateHudSyncObj ShowSyncHudMsg ClearSyncHud int3 set_fail_state get_var_addr get_addr_val set_addr_val CreateMultiForward CreateOneForward\
|
||||||
PrepareArray ExecuteForward DestroyForward get_cvar_pointer get_pcvar_flags set_pcvar_flags get_pcvar_num set_pcvar_num get_pcvar_float set_pcvar_float get_pcvar_string arrayset get_weaponid dod_make_deathmsg user_silentkill make_deathmsg is_user_admin\
|
PrepareArray ExecuteForward DestroyForward get_cvar_pointer get_pcvar_flags set_pcvar_flags get_pcvar_num set_pcvar_num get_pcvar_float set_pcvar_float get_pcvar_string arrayset get_weaponid dod_make_deathmsg user_silentkill make_deathmsg is_user_admin\
|
||||||
cmd_access access cmd_target show_activity colored_menus cstrike_running is_running get_basedir get_configsdir get_datadir register_menu get_customdir AddMenuItem AddClientMenuItem AddMenuItem_call constraint_offset
|
cmd_access access cmd_target show_activity colored_menus cstrike_running is_running get_basedir get_configsdir get_datadir register_menu get_customdir AddMenuItem AddClientMenuItem AddMenuItem_call constraint_offset
|
||||||
|
|
||||||
keywords.2=name:Doc Comments::a addindex addtogroup anchor arg attention author b brief bug c class code date def defgroup deprecated\
|
keywords.2=name:Doc Comments::a addindex addtogroup anchor arg attention author b brief bug c class code date def defgroup deprecated\
|
||||||
dontinclude e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example exception f$ f[ f] file fn\
|
dontinclude e em endcode endhtmlonly endif endlatexonly endlink endverbatim enum example exception f$ f[ f] file fn\
|
||||||
hideinitializer htmlinclude htmlonly if image include ingroup internal invariant interface latexonly li line link mainpage name namespace\
|
hideinitializer htmlinclude htmlonly if image include ingroup internal invariant interface latexonly li line link mainpage name namespace\
|
||||||
nosubgrouping note overload p page par param post pre ref relates remarks return retval sa section see\
|
nosubgrouping note overload p page par param post pre ref relates remarks return retval sa section see\
|
||||||
showinitializer since skip skipline struct subsection test throw todo typedef union until var verbatim verbinclude version warning\
|
showinitializer since skip skipline struct subsection test throw todo typedef union until var verbatim verbinclude version warning\
|
||||||
weakgroup $ @ < > \ & # { }
|
weakgroup $ @ < > \ & # { }
|
||||||
|
|
||||||
keywords.3=name:Unused::
|
keywords.3=name:Unused::
|
||||||
|
|
||||||
style.33=name:LineNumbers
|
style.33=name:LineNumbers
|
||||||
style.34=name:Ok Braces,fore:#0000BB
|
style.34=name:Ok Braces,fore:#0000BB
|
||||||
style.35=name:Bad Braces,fore:clRed
|
style.35=name:Bad Braces,fore:clRed
|
||||||
style.36=name:Control Chars,fore:clGray
|
style.36=name:Control Chars,fore:clGray
|
||||||
style.37=name:Indent Guide,fore:clGray
|
style.37=name:Indent Guide,fore:clGray
|
||||||
style.0=name:White space,fore:#0000BB,font:Courier New
|
style.0=name:White space,fore:#0000BB,font:Courier New
|
||||||
style.1=name:Comment,fore:#FF8040
|
style.1=name:Comment,fore:#FF8040
|
||||||
style.2=name:Line Comment,fore:#FF8040
|
style.2=name:Line Comment,fore:#FF8040
|
||||||
style.3=name:Doc Comment,fore:#FF8040
|
style.3=name:Doc Comment,fore:#FF8040
|
||||||
style.4=name:Number,fore:clNavy
|
style.4=name:Number,fore:clNavy
|
||||||
style.5=name:Keyword,fore:#007700
|
style.5=name:Keyword,fore:#007700
|
||||||
style.6=name:Double quoted string,fore:clRed
|
style.6=name:Double quoted string,fore:clRed
|
||||||
style.7=name:Single quoted string,fore:clRed
|
style.7=name:Single quoted string,fore:clRed
|
||||||
style.8=name:Symbols/UUID,fore:clRed
|
style.8=name:Symbols/UUID,fore:clRed
|
||||||
style.9=name:Preprocessor,fore:#FF8000
|
style.9=name:Preprocessor,fore:#FF8000
|
||||||
style.10=name:Operators,fore:#007700
|
style.10=name:Operators,fore:#007700
|
||||||
style.11=name:Identifier,fore:clNavy
|
style.11=name:Identifier,fore:clNavy
|
||||||
style.12=name:EOL if string is not closed,fore:clRed,eolfilled
|
style.12=name:EOL if string is not closed,fore:clRed,eolfilled
|
||||||
style.13=name:Verbatim strings for C#,fore:clLime
|
style.13=name:Verbatim strings for C#,fore:clLime
|
||||||
style.14=name:Regular expressions,fore:clHotLight
|
style.14=name:Regular expressions,fore:clHotLight
|
||||||
style.15=name:Doc Comment Line,fore:#FF8040
|
style.15=name:Doc Comment Line,fore:#FF8040
|
||||||
style.16=name:User-defined keywords,fore:clRed
|
style.16=name:User-defined keywords,fore:clRed
|
||||||
|
|
||||||
CommentBoxStart=/*
|
CommentBoxStart=/*
|
||||||
CommentBoxEnd=*/
|
CommentBoxEnd=*/
|
||||||
CommentBoxMiddle=*
|
CommentBoxMiddle=*
|
||||||
CommentBlock=//
|
CommentBlock=//
|
||||||
CommentStreamStart=/*
|
CommentStreamStart=/*
|
||||||
CommentStreamEnd=*/
|
CommentStreamEnd=*/
|
||||||
AssignmentOperator==
|
AssignmentOperator==
|
||||||
EndOfStatementOperator=;
|
EndOfStatementOperator=;
|
||||||
[other]
|
[other]
|
||||||
BookMarkBackColor=clGray
|
BookMarkBackColor=clGray
|
||||||
BookMarkForeColor=clWhite
|
BookMarkForeColor=clWhite
|
||||||
BookMarkPixmapFile=
|
BookMarkPixmapFile=
|
||||||
Unicode=False
|
Unicode=False
|
||||||
|
@ -1,42 +1,42 @@
|
|||||||
[Editor]
|
[Editor]
|
||||||
MakeBaks=1
|
MakeBaks=1
|
||||||
DontLoadFilesTwice=1
|
DontLoadFilesTwice=1
|
||||||
Auto-Indent=1
|
Auto-Indent=1
|
||||||
UnindentClosingBrace=1
|
UnindentClosingBrace=1
|
||||||
UnindentEmptyLine=0
|
UnindentEmptyLine=0
|
||||||
Disable_AC=0
|
Disable_AC=0
|
||||||
Disable_CT=0
|
Disable_CT=0
|
||||||
AutoDisable=1500
|
AutoDisable=1500
|
||||||
AutoHideCT=1
|
AutoHideCT=1
|
||||||
[Pawn-Compiler]
|
[Pawn-Compiler]
|
||||||
Path=
|
Path=
|
||||||
Args=
|
Args=
|
||||||
DefaultOutput=
|
DefaultOutput=
|
||||||
[CPP-Compiler]
|
[CPP-Compiler]
|
||||||
Path=
|
Path=
|
||||||
Args=
|
Args=
|
||||||
DefaultOutput=
|
DefaultOutput=
|
||||||
[Half-Life]
|
[Half-Life]
|
||||||
Filename=
|
Filename=
|
||||||
Params=
|
Params=
|
||||||
AMXXListen=
|
AMXXListen=
|
||||||
[FTP]
|
[FTP]
|
||||||
Host=
|
Host=
|
||||||
Port=21
|
Port=21
|
||||||
Username=
|
Username=
|
||||||
Password=
|
Password=
|
||||||
[Proxy]
|
[Proxy]
|
||||||
ProxyType=0
|
ProxyType=0
|
||||||
Host=
|
Host=
|
||||||
Port=8080
|
Port=8080
|
||||||
Username=
|
Username=
|
||||||
Password=
|
Password=
|
||||||
[Misc]
|
[Misc]
|
||||||
DefaultPluginName=New Plug-In
|
DefaultPluginName=New Plug-In
|
||||||
DefaultPluginVersion=1.0
|
DefaultPluginVersion=1.0
|
||||||
DefaultPluginAuthor=author
|
DefaultPluginAuthor=author
|
||||||
SaveNotesTo=0
|
SaveNotesTo=0
|
||||||
CPUSpeed=5
|
CPUSpeed=5
|
||||||
LangDir=
|
LangDir=
|
||||||
ShowStatusbar=1
|
ShowStatusbar=1
|
||||||
WindowState=0
|
WindowState=0
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
UNLOADED Hello World - CPP.dll
|
UNLOADED Hello World - CPP.dll
|
||||||
UNLOADED Hello World - Delphi.dll
|
UNLOADED Hello World - Delphi.dll
|
||||||
|
@ -1,40 +1,40 @@
|
|||||||
-$A8
|
-$A8
|
||||||
-$B-
|
-$B-
|
||||||
-$C+
|
-$C+
|
||||||
-$D+
|
-$D+
|
||||||
-$E-
|
-$E-
|
||||||
-$F-
|
-$F-
|
||||||
-$G+
|
-$G+
|
||||||
-$H+
|
-$H+
|
||||||
-$I+
|
-$I+
|
||||||
-$J-
|
-$J-
|
||||||
-$K-
|
-$K-
|
||||||
-$L+
|
-$L+
|
||||||
-$M-
|
-$M-
|
||||||
-$N+
|
-$N+
|
||||||
-$O+
|
-$O+
|
||||||
-$P+
|
-$P+
|
||||||
-$Q-
|
-$Q-
|
||||||
-$R-
|
-$R-
|
||||||
-$S-
|
-$S-
|
||||||
-$T-
|
-$T-
|
||||||
-$U-
|
-$U-
|
||||||
-$V+
|
-$V+
|
||||||
-$W-
|
-$W-
|
||||||
-$X+
|
-$X+
|
||||||
-$YD
|
-$YD
|
||||||
-$Z1
|
-$Z1
|
||||||
-GD
|
-GD
|
||||||
-cg
|
-cg
|
||||||
-AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
|
-AWinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
|
||||||
-H+
|
-H+
|
||||||
-W+
|
-W+
|
||||||
-M
|
-M
|
||||||
-$M16384,1048576
|
-$M16384,1048576
|
||||||
-K$00400000
|
-K$00400000
|
||||||
-LE"c:\program files (x86)\delphi7se\Projects\Bpl"
|
-LE"c:\program files (x86)\delphi7se\Projects\Bpl"
|
||||||
-LN"c:\program files (x86)\delphi7se\Projects\Bpl"
|
-LN"c:\program files (x86)\delphi7se\Projects\Bpl"
|
||||||
-DmadExcept
|
-DmadExcept
|
||||||
-w-UNSAFE_TYPE
|
-w-UNSAFE_TYPE
|
||||||
-w-UNSAFE_CODE
|
-w-UNSAFE_CODE
|
||||||
-w-UNSAFE_CAST
|
-w-UNSAFE_CAST
|
||||||
|
@ -1,132 +1,132 @@
|
|||||||
[FileVersion]
|
[FileVersion]
|
||||||
Version=7.0
|
Version=7.0
|
||||||
[Compiler]
|
[Compiler]
|
||||||
A=8
|
A=8
|
||||||
B=0
|
B=0
|
||||||
C=1
|
C=1
|
||||||
D=1
|
D=1
|
||||||
E=0
|
E=0
|
||||||
F=0
|
F=0
|
||||||
G=1
|
G=1
|
||||||
H=1
|
H=1
|
||||||
I=1
|
I=1
|
||||||
J=0
|
J=0
|
||||||
K=0
|
K=0
|
||||||
L=1
|
L=1
|
||||||
M=0
|
M=0
|
||||||
N=1
|
N=1
|
||||||
O=1
|
O=1
|
||||||
P=1
|
P=1
|
||||||
Q=0
|
Q=0
|
||||||
R=0
|
R=0
|
||||||
S=0
|
S=0
|
||||||
T=0
|
T=0
|
||||||
U=0
|
U=0
|
||||||
V=1
|
V=1
|
||||||
W=0
|
W=0
|
||||||
X=1
|
X=1
|
||||||
Y=1
|
Y=1
|
||||||
Z=1
|
Z=1
|
||||||
ShowHints=1
|
ShowHints=1
|
||||||
ShowWarnings=1
|
ShowWarnings=1
|
||||||
UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
|
UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
|
||||||
NamespacePrefix=
|
NamespacePrefix=
|
||||||
SymbolDeprecated=1
|
SymbolDeprecated=1
|
||||||
SymbolLibrary=1
|
SymbolLibrary=1
|
||||||
SymbolPlatform=1
|
SymbolPlatform=1
|
||||||
UnitLibrary=1
|
UnitLibrary=1
|
||||||
UnitPlatform=1
|
UnitPlatform=1
|
||||||
UnitDeprecated=1
|
UnitDeprecated=1
|
||||||
HResultCompat=1
|
HResultCompat=1
|
||||||
HidingMember=1
|
HidingMember=1
|
||||||
HiddenVirtual=1
|
HiddenVirtual=1
|
||||||
Garbage=1
|
Garbage=1
|
||||||
BoundsError=1
|
BoundsError=1
|
||||||
ZeroNilCompat=1
|
ZeroNilCompat=1
|
||||||
StringConstTruncated=1
|
StringConstTruncated=1
|
||||||
ForLoopVarVarPar=1
|
ForLoopVarVarPar=1
|
||||||
TypedConstVarPar=1
|
TypedConstVarPar=1
|
||||||
AsgToTypedConst=1
|
AsgToTypedConst=1
|
||||||
CaseLabelRange=1
|
CaseLabelRange=1
|
||||||
ForVariable=1
|
ForVariable=1
|
||||||
ConstructingAbstract=1
|
ConstructingAbstract=1
|
||||||
ComparisonFalse=1
|
ComparisonFalse=1
|
||||||
ComparisonTrue=1
|
ComparisonTrue=1
|
||||||
ComparingSignedUnsigned=1
|
ComparingSignedUnsigned=1
|
||||||
CombiningSignedUnsigned=1
|
CombiningSignedUnsigned=1
|
||||||
UnsupportedConstruct=1
|
UnsupportedConstruct=1
|
||||||
FileOpen=1
|
FileOpen=1
|
||||||
FileOpenUnitSrc=1
|
FileOpenUnitSrc=1
|
||||||
BadGlobalSymbol=1
|
BadGlobalSymbol=1
|
||||||
DuplicateConstructorDestructor=1
|
DuplicateConstructorDestructor=1
|
||||||
InvalidDirective=1
|
InvalidDirective=1
|
||||||
PackageNoLink=1
|
PackageNoLink=1
|
||||||
PackageThreadVar=1
|
PackageThreadVar=1
|
||||||
ImplicitImport=1
|
ImplicitImport=1
|
||||||
HPPEMITIgnored=1
|
HPPEMITIgnored=1
|
||||||
NoRetVal=1
|
NoRetVal=1
|
||||||
UseBeforeDef=1
|
UseBeforeDef=1
|
||||||
ForLoopVarUndef=1
|
ForLoopVarUndef=1
|
||||||
UnitNameMismatch=1
|
UnitNameMismatch=1
|
||||||
NoCFGFileFound=1
|
NoCFGFileFound=1
|
||||||
MessageDirective=1
|
MessageDirective=1
|
||||||
ImplicitVariants=1
|
ImplicitVariants=1
|
||||||
UnicodeToLocale=1
|
UnicodeToLocale=1
|
||||||
LocaleToUnicode=1
|
LocaleToUnicode=1
|
||||||
ImagebaseMultiple=1
|
ImagebaseMultiple=1
|
||||||
SuspiciousTypecast=1
|
SuspiciousTypecast=1
|
||||||
PrivatePropAccessor=1
|
PrivatePropAccessor=1
|
||||||
UnsafeType=0
|
UnsafeType=0
|
||||||
UnsafeCode=0
|
UnsafeCode=0
|
||||||
UnsafeCast=0
|
UnsafeCast=0
|
||||||
[Linker]
|
[Linker]
|
||||||
MapFile=3
|
MapFile=3
|
||||||
OutputObjs=0
|
OutputObjs=0
|
||||||
ConsoleApp=1
|
ConsoleApp=1
|
||||||
DebugInfo=0
|
DebugInfo=0
|
||||||
RemoteSymbols=0
|
RemoteSymbols=0
|
||||||
MinStackSize=16384
|
MinStackSize=16384
|
||||||
MaxStackSize=1048576
|
MaxStackSize=1048576
|
||||||
ImageBase=4194304
|
ImageBase=4194304
|
||||||
ExeDescription=
|
ExeDescription=
|
||||||
[Directories]
|
[Directories]
|
||||||
OutputDir=
|
OutputDir=
|
||||||
UnitOutputDir=
|
UnitOutputDir=
|
||||||
PackageDLLOutputDir=
|
PackageDLLOutputDir=
|
||||||
PackageDCPOutputDir=
|
PackageDCPOutputDir=
|
||||||
SearchPath=
|
SearchPath=
|
||||||
Packages=vcl;rtl;vclx;vclie;xmlrtl;inetdbbde;inet;inetdbxpress;VclSmp;dbrtl;dbexpress;vcldb;dsnap;dbxcds;inetdb;bdertl;vcldbx;adortl;teeui;teedb;tee;ibxpress;visualclx;visualdbclx;vclactnband;vclshlctrls;IntrawebDB_50_70;Intraweb_50_70;Rave50CLX;Rave50VCL;dclOffice2k;JvStdCtrlsD7R;JvAppFrmD7R;JvCoreD7R;JvBandsD7R;JvBDED7R;JvDBD7R;JvDlgsD7R;JvCmpD7R;JvCryptD7R;JvCtrlsD7R;JvCustomD7R;JvDockingD7R;JvDotNetCtrlsD7R;JvEDID7R;qrpt;JvGlobusD7R;JvHMID7R;JvInspectorD7R;JvInterpreterD7R;JvJansD7R;JvManagedThreadsD7R;JvMMD7R;JvNetD7R;JvPageCompsD7R;JvPluginD7R;JvPrintPreviewD7R;JvSystemD7R;JvTimeFrameworkD7R;JvUIBD7R;JvValidatorsD7R;JvWizardD7R;JvXPCtrlsD7R;DelphiX_for7;Indy70;DJcl;tb2k_d7;FlatStyle_D5;scited7;mxFlatPack_D7;mbXPLib
|
Packages=vcl;rtl;vclx;vclie;xmlrtl;inetdbbde;inet;inetdbxpress;VclSmp;dbrtl;dbexpress;vcldb;dsnap;dbxcds;inetdb;bdertl;vcldbx;adortl;teeui;teedb;tee;ibxpress;visualclx;visualdbclx;vclactnband;vclshlctrls;IntrawebDB_50_70;Intraweb_50_70;Rave50CLX;Rave50VCL;dclOffice2k;JvStdCtrlsD7R;JvAppFrmD7R;JvCoreD7R;JvBandsD7R;JvBDED7R;JvDBD7R;JvDlgsD7R;JvCmpD7R;JvCryptD7R;JvCtrlsD7R;JvCustomD7R;JvDockingD7R;JvDotNetCtrlsD7R;JvEDID7R;qrpt;JvGlobusD7R;JvHMID7R;JvInspectorD7R;JvInterpreterD7R;JvJansD7R;JvManagedThreadsD7R;JvMMD7R;JvNetD7R;JvPageCompsD7R;JvPluginD7R;JvPrintPreviewD7R;JvSystemD7R;JvTimeFrameworkD7R;JvUIBD7R;JvValidatorsD7R;JvWizardD7R;JvXPCtrlsD7R;DelphiX_for7;Indy70;DJcl;tb2k_d7;FlatStyle_D5;scited7;mxFlatPack_D7;mbXPLib
|
||||||
Conditionals=madExcept
|
Conditionals=madExcept
|
||||||
DebugSourceDirs=
|
DebugSourceDirs=
|
||||||
UsePackages=0
|
UsePackages=0
|
||||||
[Parameters]
|
[Parameters]
|
||||||
RunParams=-debug
|
RunParams=-debug
|
||||||
HostApplication=
|
HostApplication=
|
||||||
Launcher=
|
Launcher=
|
||||||
UseLauncher=0
|
UseLauncher=0
|
||||||
DebugCWD=
|
DebugCWD=
|
||||||
[Version Info]
|
[Version Info]
|
||||||
IncludeVerInfo=0
|
IncludeVerInfo=0
|
||||||
AutoIncBuild=0
|
AutoIncBuild=0
|
||||||
MajorVer=1
|
MajorVer=1
|
||||||
MinorVer=0
|
MinorVer=0
|
||||||
Release=0
|
Release=0
|
||||||
Build=0
|
Build=0
|
||||||
Debug=0
|
Debug=0
|
||||||
PreRelease=0
|
PreRelease=0
|
||||||
Special=0
|
Special=0
|
||||||
Private=0
|
Private=0
|
||||||
DLL=0
|
DLL=0
|
||||||
Locale=1031
|
Locale=1031
|
||||||
CodePage=1252
|
CodePage=1252
|
||||||
[Version Info Keys]
|
[Version Info Keys]
|
||||||
CompanyName=
|
CompanyName=
|
||||||
FileDescription=
|
FileDescription=
|
||||||
FileVersion=1.0.0.0
|
FileVersion=1.0.0.0
|
||||||
InternalName=
|
InternalName=
|
||||||
LegalCopyright=
|
LegalCopyright=
|
||||||
LegalTrademarks=
|
LegalTrademarks=
|
||||||
OriginalFilename=
|
OriginalFilename=
|
||||||
ProductName=
|
ProductName=
|
||||||
ProductVersion=1.0.0.0
|
ProductVersion=1.0.0.0
|
||||||
Comments=
|
Comments=
|
||||||
|
@ -1,63 +1,63 @@
|
|||||||
In deps.zip are the dependencies needed to build the AMXX installer project in Delphi 7 on Windows.
|
In deps.zip are the dependencies needed to build the AMXX installer project in Delphi 7 on Windows.
|
||||||
|
|
||||||
For getting the dependencies, see https://wiki.alliedmods.net/Building_AMX_Mod_X
|
For getting the dependencies, see https://wiki.alliedmods.net/Building_AMX_Mod_X
|
||||||
|
|
||||||
Follow the directions below in order to install these:
|
Follow the directions below in order to install these:
|
||||||
|
|
||||||
1) Make sure the Delphi IDE has been run at least once. Then make sure that the Delphi IDE is
|
1) Make sure the Delphi IDE has been run at least once. Then make sure that the Delphi IDE is
|
||||||
closed before trying to install anything.
|
closed before trying to install anything.
|
||||||
|
|
||||||
2) Decompress the zip file and make sure the following are available:
|
2) Decompress the zip file and make sure the following are available:
|
||||||
|
|
||||||
flatstyle\
|
flatstyle\
|
||||||
indy9\
|
indy9\
|
||||||
jcl\
|
jcl\
|
||||||
jvcl\
|
jvcl\
|
||||||
mxFlatPack\
|
mxFlatPack\
|
||||||
madCollection.exe
|
madCollection.exe
|
||||||
|
|
||||||
3) Run the madCollection.exe installer and make sure to click on "madExcept4" before clicking the
|
3) Run the madCollection.exe installer and make sure to click on "madExcept4" before clicking the
|
||||||
Install button. After Install has been clicked, accept the license agreement and click Continue
|
Install button. After Install has been clicked, accept the license agreement and click Continue
|
||||||
Type "yes" in the textbox that appears next and click Continue. Finally, click the Install
|
Type "yes" in the textbox that appears next and click Continue. Finally, click the Install
|
||||||
button. After installation is complete, the components should appear in Delphi.
|
button. After installation is complete, the components should appear in Delphi.
|
||||||
|
|
||||||
4) Open the jcl folder and run Install.bat. Click the MPL 1.1 License tab and make sure to accept
|
4) Open the jcl folder and run Install.bat. Click the MPL 1.1 License tab and make sure to accept
|
||||||
the license. Then click the Install button and click Yes for any questions that are asked.
|
the license. Then click the Install button and click Yes for any questions that are asked.
|
||||||
This will compile and install the JCL library which will appear when the Delphi IDE is next
|
This will compile and install the JCL library which will appear when the Delphi IDE is next
|
||||||
opened.
|
opened.
|
||||||
|
|
||||||
5) Open the jvcl folder and run install.bat. Click the Next button a number of times until it
|
5) Open the jvcl folder and run install.bat. Click the Next button a number of times until it
|
||||||
changes into the Install button. The default settings will suffice, so now click the Install
|
changes into the Install button. The default settings will suffice, so now click the Install
|
||||||
button. This will install the JVCL library which will appear when the Delphi IDE is next
|
button. This will install the JVCL library which will appear when the Delphi IDE is next
|
||||||
opened.
|
opened.
|
||||||
|
|
||||||
6) Open the mxFlatPack folder and the Component subfolder. Open mxFlatPack_D7.dpk. This should
|
6) Open the mxFlatPack folder and the Component subfolder. Open mxFlatPack_D7.dpk. This should
|
||||||
open the Delphi IDE. An error about not finding a resource file may appear, but this can be
|
open the Delphi IDE. An error about not finding a resource file may appear, but this can be
|
||||||
ignored. Click the Install button in the Package window.
|
ignored. Click the Install button in the Package window.
|
||||||
|
|
||||||
7) When this is complete, go to Tools -> Environment Options on the menu and click the Library tab.
|
7) When this is complete, go to Tools -> Environment Options on the menu and click the Library tab.
|
||||||
Click the ... button next to where it says "Library path". On the next window, click the ...
|
Click the ... button next to where it says "Library path". On the next window, click the ...
|
||||||
button. Locate the mxFlatPack\Component folder in the Browse window and click OK. Click the Add
|
button. Locate the mxFlatPack\Component folder in the Browse window and click OK. Click the Add
|
||||||
button followed by the OK button. Click OK one more time and close the Delphi IDE.
|
button followed by the OK button. Click OK one more time and close the Delphi IDE.
|
||||||
|
|
||||||
8) Open the indy9 folder. Open dclIndy70.dpk. This should open the Delphi IDE. An error about not
|
8) Open the indy9 folder. Open dclIndy70.dpk. This should open the Delphi IDE. An error about not
|
||||||
finding a resource file may appear, but this can be ignored. Click the Install button in the
|
finding a resource file may appear, but this can be ignored. Click the Install button in the
|
||||||
Package window. An error about a package that can't be installed will appear, but this can be
|
Package window. An error about a package that can't be installed will appear, but this can be
|
||||||
ignored. Click OK on the error message and click the Install button a second time.
|
ignored. Click OK on the error message and click the Install button a second time.
|
||||||
|
|
||||||
9) When this is complete, go to Tools -> Environment Options on the menu and click the Library tab.
|
9) When this is complete, go to Tools -> Environment Options on the menu and click the Library tab.
|
||||||
Click the ... button next to where it says "Library path". On the next window, click the ...
|
Click the ... button next to where it says "Library path". On the next window, click the ...
|
||||||
button. Locate the indy9 folder in the Browse window and click OK. Click the Add button
|
button. Locate the indy9 folder in the Browse window and click OK. Click the Add button
|
||||||
followed by the OK button. Click OK one more time and close the Delphi IDE.
|
followed by the OK button. Click OK one more time and close the Delphi IDE.
|
||||||
|
|
||||||
10) Open the flatstyle folder and open the Packages subfolder. Open FlatStyle_D6.dpk. This should
|
10) Open the flatstyle folder and open the Packages subfolder. Open FlatStyle_D6.dpk. This should
|
||||||
open the Delphi IDE. Close the FlatStyle_D6.dpk document window. Click the Install button in
|
open the Delphi IDE. Close the FlatStyle_D6.dpk document window. Click the Install button in
|
||||||
the Package window.
|
the Package window.
|
||||||
|
|
||||||
11) When this is complete, go to Tools -> Environment Options on the menu and click the Library tab.
|
11) When this is complete, go to Tools -> Environment Options on the menu and click the Library tab.
|
||||||
Click the ... button next to where it says "Library path". On the next window, click the ...
|
Click the ... button next to where it says "Library path". On the next window, click the ...
|
||||||
button. Locate the flatstyle\Source folder in the Browse window and click OK. Click the Add
|
button. Locate the flatstyle\Source folder in the Browse window and click OK. Click the Add
|
||||||
button followed by the OK button. Click OK one more time and close the Delphi IDE.
|
button followed by the OK button. Click OK one more time and close the Delphi IDE.
|
||||||
|
|
||||||
At this point, all the dependent components should be installed and the AMXX installer project,
|
At this point, all the dependent components should be installed and the AMXX installer project,
|
||||||
AMXInstaller.dpr, can now be built.
|
AMXInstaller.dpr, can now be built.
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
<Application x:Class="installtool.App"
|
<Application x:Class="installtool.App"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
StartupUri="MainWindow.xaml">
|
StartupUri="MainWindow.xaml">
|
||||||
<Application.Resources>
|
<Application.Resources>
|
||||||
|
|
||||||
</Application.Resources>
|
</Application.Resources>
|
||||||
</Application>
|
</Application>
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Configuration;
|
using System.Configuration;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
|
||||||
namespace installtool
|
namespace installtool
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaction logic for App.xaml
|
/// Interaction logic for App.xaml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class App : Application
|
public partial class App : Application
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,305 +1,305 @@
|
|||||||
<UserControl x:Class="installtool.LicenseAccept"
|
<UserControl x:Class="installtool.LicenseAccept"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
d:DesignHeight="315" d:DesignWidth="560">
|
d:DesignHeight="315" d:DesignWidth="560">
|
||||||
<Grid>
|
<Grid>
|
||||||
<Grid Height="60" HorizontalAlignment="Left" Name="grid1" VerticalAlignment="Top" Width="560" Background="White">
|
<Grid Height="60" HorizontalAlignment="Left" Name="grid1" VerticalAlignment="Top" Width="560" Background="White">
|
||||||
<Border BorderBrush="Silver" BorderThickness="1" Height="75" HorizontalAlignment="Left" Name="border1" VerticalAlignment="Top" Width="572" Margin="-12,-15,0,0"></Border>
|
<Border BorderBrush="Silver" BorderThickness="1" Height="75" HorizontalAlignment="Left" Name="border1" VerticalAlignment="Top" Width="572" Margin="-12,-15,0,0"></Border>
|
||||||
<TextBlock Height="26" HorizontalAlignment="Left" Name="textBlock1" Text="License Agreement" VerticalAlignment="Top" Width="300" FontWeight="Bold" FontSize="14" Margin="16,6,0,0" />
|
<TextBlock Height="26" HorizontalAlignment="Left" Name="textBlock1" Text="License Agreement" VerticalAlignment="Top" Width="300" FontWeight="Bold" FontSize="14" Margin="16,6,0,0" />
|
||||||
<TextBlock Height="23" HorizontalAlignment="Left" Margin="25,29,0,0" Name="textBlock2" VerticalAlignment="Top" Width="432">
|
<TextBlock Height="23" HorizontalAlignment="Left" Margin="25,29,0,0" Name="textBlock2" VerticalAlignment="Top" Width="432">
|
||||||
Please review the following license terms before installing AMX Mod X.
|
Please review the following license terms before installing AMX Mod X.
|
||||||
</TextBlock>
|
</TextBlock>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid Name="grid2" Margin="0,58,0,0">
|
<Grid Name="grid2" Margin="0,58,0,0">
|
||||||
<TextBox xml:space="preserve" Height="195" HorizontalAlignment="Left" Margin="6,6,0,0" Name="license_" VerticalAlignment="Top" Width="542" IsReadOnly="True" AcceptsReturn="True" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" TextWrapping="WrapWithOverflow">
|
<TextBox xml:space="preserve" Height="195" HorizontalAlignment="Left" Margin="6,6,0,0" Name="license_" VerticalAlignment="Top" Width="542" IsReadOnly="True" AcceptsReturn="True" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" TextWrapping="WrapWithOverflow">
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 2, June 1991
|
Version 2, June 1991
|
||||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
Preamble
|
Preamble
|
||||||
The licenses for most software are designed to take away your
|
The licenses for most software are designed to take away your
|
||||||
freedom to share and change it. By contrast, the GNU General Public
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
License is intended to guarantee your freedom to share and change free
|
License is intended to guarantee your freedom to share and change free
|
||||||
software--to make sure the software is free for all its users. This
|
software--to make sure the software is free for all its users. This
|
||||||
General Public License applies to most of the Free Software
|
General Public License applies to most of the Free Software
|
||||||
Foundation's software and to any other program whose authors commit to
|
Foundation's software and to any other program whose authors commit to
|
||||||
using it. (Some other Free Software Foundation software is covered by
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
the GNU Library General Public License instead.) You can apply it to
|
the GNU Library General Public License instead.) You can apply it to
|
||||||
your programs, too.
|
your programs, too.
|
||||||
When we speak of free software, we are referring to freedom, not
|
When we speak of free software, we are referring to freedom, not
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
have the freedom to distribute copies of free software (and charge for
|
have the freedom to distribute copies of free software (and charge for
|
||||||
this service if you wish), that you receive source code or can get it
|
this service if you wish), that you receive source code or can get it
|
||||||
if you want it, that you can change the software or use pieces of it
|
if you want it, that you can change the software or use pieces of it
|
||||||
in new free programs; and that you know you can do these things.
|
in new free programs; and that you know you can do these things.
|
||||||
To protect your rights, we need to make restrictions that forbid
|
To protect your rights, we need to make restrictions that forbid
|
||||||
anyone to deny you these rights or to ask you to surrender the rights.
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
These restrictions translate to certain responsibilities for you if you
|
These restrictions translate to certain responsibilities for you if you
|
||||||
distribute copies of the software, or if you modify it.
|
distribute copies of the software, or if you modify it.
|
||||||
For example, if you distribute copies of such a program, whether
|
For example, if you distribute copies of such a program, whether
|
||||||
gratis or for a fee, you must give the recipients all the rights that
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
you have. You must make sure that they, too, receive or can get the
|
you have. You must make sure that they, too, receive or can get the
|
||||||
source code. And you must show them these terms so they know their
|
source code. And you must show them these terms so they know their
|
||||||
rights.
|
rights.
|
||||||
We protect your rights with two steps: (1) copyright the software, and
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
(2) offer you this license which gives you legal permission to copy,
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
distribute and/or modify the software.
|
distribute and/or modify the software.
|
||||||
Also, for each author's protection and ours, we want to make certain
|
Also, for each author's protection and ours, we want to make certain
|
||||||
that everyone understands that there is no warranty for this free
|
that everyone understands that there is no warranty for this free
|
||||||
software. If the software is modified by someone else and passed on, we
|
software. If the software is modified by someone else and passed on, we
|
||||||
want its recipients to know that what they have is not the original, so
|
want its recipients to know that what they have is not the original, so
|
||||||
that any problems introduced by others will not reflect on the original
|
that any problems introduced by others will not reflect on the original
|
||||||
authors' reputations.
|
authors' reputations.
|
||||||
Finally, any free program is threatened constantly by software
|
Finally, any free program is threatened constantly by software
|
||||||
patents. We wish to avoid the danger that redistributors of a free
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
program will individually obtain patent licenses, in effect making the
|
program will individually obtain patent licenses, in effect making the
|
||||||
program proprietary. To prevent this, we have made it clear that any
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
patent must be licensed for everyone's free use or not licensed at all.
|
patent must be licensed for everyone's free use or not licensed at all.
|
||||||
The precise terms and conditions for copying, distribution and
|
The precise terms and conditions for copying, distribution and
|
||||||
modification follow.
|
modification follow.
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
0. This License applies to any program or other work which contains
|
0. This License applies to any program or other work which contains
|
||||||
a notice placed by the copyright holder saying it may be distributed
|
a notice placed by the copyright holder saying it may be distributed
|
||||||
under the terms of this General Public License. The "Program", below,
|
under the terms of this General Public License. The "Program", below,
|
||||||
refers to any such program or work, and a "work based on the Program"
|
refers to any such program or work, and a "work based on the Program"
|
||||||
means either the Program or any derivative work under copyright law:
|
means either the Program or any derivative work under copyright law:
|
||||||
that is to say, a work containing the Program or a portion of it,
|
that is to say, a work containing the Program or a portion of it,
|
||||||
either verbatim or with modifications and/or translated into another
|
either verbatim or with modifications and/or translated into another
|
||||||
language. (Hereinafter, translation is included without limitation in
|
language. (Hereinafter, translation is included without limitation in
|
||||||
the term "modification".) Each licensee is addressed as "you".
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
Activities other than copying, distribution and modification are not
|
Activities other than copying, distribution and modification are not
|
||||||
covered by this License; they are outside its scope. The act of
|
covered by this License; they are outside its scope. The act of
|
||||||
running the Program is not restricted, and the output from the Program
|
running the Program is not restricted, and the output from the Program
|
||||||
is covered only if its contents constitute a work based on the
|
is covered only if its contents constitute a work based on the
|
||||||
Program (independent of having been made by running the Program).
|
Program (independent of having been made by running the Program).
|
||||||
Whether that is true depends on what the Program does.
|
Whether that is true depends on what the Program does.
|
||||||
1. You may copy and distribute verbatim copies of the Program's
|
1. You may copy and distribute verbatim copies of the Program's
|
||||||
source code as you receive it, in any medium, provided that you
|
source code as you receive it, in any medium, provided that you
|
||||||
conspicuously and appropriately publish on each copy an appropriate
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
copyright notice and disclaimer of warranty; keep intact all the
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
notices that refer to this License and to the absence of any warranty;
|
notices that refer to this License and to the absence of any warranty;
|
||||||
and give any other recipients of the Program a copy of this License
|
and give any other recipients of the Program a copy of this License
|
||||||
along with the Program.
|
along with the Program.
|
||||||
You may charge a fee for the physical act of transferring a copy, and
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
you may at your option offer warranty protection in exchange for a fee.
|
you may at your option offer warranty protection in exchange for a fee.
|
||||||
2. You may modify your copy or copies of the Program or any portion
|
2. You may modify your copy or copies of the Program or any portion
|
||||||
of it, thus forming a work based on the Program, and copy and
|
of it, thus forming a work based on the Program, and copy and
|
||||||
distribute such modifications or work under the terms of Section 1
|
distribute such modifications or work under the terms of Section 1
|
||||||
above, provided that you also meet all of these conditions:
|
above, provided that you also meet all of these conditions:
|
||||||
a) You must cause the modified files to carry prominent notices
|
a) You must cause the modified files to carry prominent notices
|
||||||
stating that you changed the files and the date of any change.
|
stating that you changed the files and the date of any change.
|
||||||
b) You must cause any work that you distribute or publish, that in
|
b) You must cause any work that you distribute or publish, that in
|
||||||
whole or in part contains or is derived from the Program or any
|
whole or in part contains or is derived from the Program or any
|
||||||
part thereof, to be licensed as a whole at no charge to all third
|
part thereof, to be licensed as a whole at no charge to all third
|
||||||
parties under the terms of this License.
|
parties under the terms of this License.
|
||||||
c) If the modified program normally reads commands interactively
|
c) If the modified program normally reads commands interactively
|
||||||
when run, you must cause it, when started running for such
|
when run, you must cause it, when started running for such
|
||||||
interactive use in the most ordinary way, to print or display an
|
interactive use in the most ordinary way, to print or display an
|
||||||
announcement including an appropriate copyright notice and a
|
announcement including an appropriate copyright notice and a
|
||||||
notice that there is no warranty (or else, saying that you provide
|
notice that there is no warranty (or else, saying that you provide
|
||||||
a warranty) and that users may redistribute the program under
|
a warranty) and that users may redistribute the program under
|
||||||
these conditions, and telling the user how to view a copy of this
|
these conditions, and telling the user how to view a copy of this
|
||||||
License. (Exception: if the Program itself is interactive but
|
License. (Exception: if the Program itself is interactive but
|
||||||
does not normally print such an announcement, your work based on
|
does not normally print such an announcement, your work based on
|
||||||
the Program is not required to print an announcement.)
|
the Program is not required to print an announcement.)
|
||||||
These requirements apply to the modified work as a whole. If
|
These requirements apply to the modified work as a whole. If
|
||||||
identifiable sections of that work are not derived from the Program,
|
identifiable sections of that work are not derived from the Program,
|
||||||
and can be reasonably considered independent and separate works in
|
and can be reasonably considered independent and separate works in
|
||||||
themselves, then this License, and its terms, do not apply to those
|
themselves, then this License, and its terms, do not apply to those
|
||||||
sections when you distribute them as separate works. But when you
|
sections when you distribute them as separate works. But when you
|
||||||
distribute the same sections as part of a whole which is a work based
|
distribute the same sections as part of a whole which is a work based
|
||||||
on the Program, the distribution of the whole must be on the terms of
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
this License, whose permissions for other licensees extend to the
|
this License, whose permissions for other licensees extend to the
|
||||||
entire whole, and thus to each and every part regardless of who wrote it.
|
entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
Thus, it is not the intent of this section to claim rights or contest
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
your rights to work written entirely by you; rather, the intent is to
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
exercise the right to control the distribution of derivative or
|
exercise the right to control the distribution of derivative or
|
||||||
collective works based on the Program.
|
collective works based on the Program.
|
||||||
In addition, mere aggregation of another work not based on the Program
|
In addition, mere aggregation of another work not based on the Program
|
||||||
with the Program (or with a work based on the Program) on a volume of
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
a storage or distribution medium does not bring the other work under
|
a storage or distribution medium does not bring the other work under
|
||||||
the scope of this License.
|
the scope of this License.
|
||||||
3. You may copy and distribute the Program (or a work based on it,
|
3. You may copy and distribute the Program (or a work based on it,
|
||||||
under Section 2) in object code or executable form under the terms of
|
under Section 2) in object code or executable form under the terms of
|
||||||
Sections 1 and 2 above provided that you also do one of the following:
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
a) Accompany it with the complete corresponding machine-readable
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
source code, which must be distributed under the terms of Sections
|
source code, which must be distributed under the terms of Sections
|
||||||
1 and 2 above on a medium customarily used for software interchange; or,
|
1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
b) Accompany it with a written offer, valid for at least three
|
b) Accompany it with a written offer, valid for at least three
|
||||||
years, to give any third party, for a charge no more than your
|
years, to give any third party, for a charge no more than your
|
||||||
cost of physically performing source distribution, a complete
|
cost of physically performing source distribution, a complete
|
||||||
machine-readable copy of the corresponding source code, to be
|
machine-readable copy of the corresponding source code, to be
|
||||||
distributed under the terms of Sections 1 and 2 above on a medium
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
customarily used for software interchange; or,
|
customarily used for software interchange; or,
|
||||||
c) Accompany it with the information you received as to the offer
|
c) Accompany it with the information you received as to the offer
|
||||||
to distribute corresponding source code. (This alternative is
|
to distribute corresponding source code. (This alternative is
|
||||||
allowed only for noncommercial distribution and only if you
|
allowed only for noncommercial distribution and only if you
|
||||||
received the program in object code or executable form with such
|
received the program in object code or executable form with such
|
||||||
an offer, in accord with Subsection b above.)
|
an offer, in accord with Subsection b above.)
|
||||||
The source code for a work means the preferred form of the work for
|
The source code for a work means the preferred form of the work for
|
||||||
making modifications to it. For an executable work, complete source
|
making modifications to it. For an executable work, complete source
|
||||||
code means all the source code for all modules it contains, plus any
|
code means all the source code for all modules it contains, plus any
|
||||||
associated interface definition files, plus the scripts used to
|
associated interface definition files, plus the scripts used to
|
||||||
control compilation and installation of the executable. However, as a
|
control compilation and installation of the executable. However, as a
|
||||||
special exception, the source code distributed need not include
|
special exception, the source code distributed need not include
|
||||||
anything that is normally distributed (in either source or binary
|
anything that is normally distributed (in either source or binary
|
||||||
form) with the major components (compiler, kernel, and so on) of the
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
operating system on which the executable runs, unless that component
|
operating system on which the executable runs, unless that component
|
||||||
itself accompanies the executable.
|
itself accompanies the executable.
|
||||||
If distribution of executable or object code is made by offering
|
If distribution of executable or object code is made by offering
|
||||||
access to copy from a designated place, then offering equivalent
|
access to copy from a designated place, then offering equivalent
|
||||||
access to copy the source code from the same place counts as
|
access to copy the source code from the same place counts as
|
||||||
distribution of the source code, even though third parties are not
|
distribution of the source code, even though third parties are not
|
||||||
compelled to copy the source along with the object code.
|
compelled to copy the source along with the object code.
|
||||||
4. You may not copy, modify, sublicense, or distribute the Program
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
except as expressly provided under this License. Any attempt
|
except as expressly provided under this License. Any attempt
|
||||||
otherwise to copy, modify, sublicense or distribute the Program is
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
void, and will automatically terminate your rights under this License.
|
void, and will automatically terminate your rights under this License.
|
||||||
However, parties who have received copies, or rights, from you under
|
However, parties who have received copies, or rights, from you under
|
||||||
this License will not have their licenses terminated so long as such
|
this License will not have their licenses terminated so long as such
|
||||||
parties remain in full compliance.
|
parties remain in full compliance.
|
||||||
5. You are not required to accept this License, since you have not
|
5. You are not required to accept this License, since you have not
|
||||||
signed it. However, nothing else grants you permission to modify or
|
signed it. However, nothing else grants you permission to modify or
|
||||||
distribute the Program or its derivative works. These actions are
|
distribute the Program or its derivative works. These actions are
|
||||||
prohibited by law if you do not accept this License. Therefore, by
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
modifying or distributing the Program (or any work based on the
|
modifying or distributing the Program (or any work based on the
|
||||||
Program), you indicate your acceptance of this License to do so, and
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
all its terms and conditions for copying, distributing or modifying
|
all its terms and conditions for copying, distributing or modifying
|
||||||
the Program or works based on it.
|
the Program or works based on it.
|
||||||
6. Each time you redistribute the Program (or any work based on the
|
6. Each time you redistribute the Program (or any work based on the
|
||||||
Program), the recipient automatically receives a license from the
|
Program), the recipient automatically receives a license from the
|
||||||
original licensor to copy, distribute or modify the Program subject to
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
these terms and conditions. You may not impose any further
|
these terms and conditions. You may not impose any further
|
||||||
restrictions on the recipients' exercise of the rights granted herein.
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
You are not responsible for enforcing compliance by third parties to
|
You are not responsible for enforcing compliance by third parties to
|
||||||
this License.
|
this License.
|
||||||
7. If, as a consequence of a court judgment or allegation of patent
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
infringement or for any other reason (not limited to patent issues),
|
infringement or for any other reason (not limited to patent issues),
|
||||||
conditions are imposed on you (whether by court order, agreement or
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
excuse you from the conditions of this License. If you cannot
|
excuse you from the conditions of this License. If you cannot
|
||||||
distribute so as to satisfy simultaneously your obligations under this
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
License and any other pertinent obligations, then as a consequence you
|
License and any other pertinent obligations, then as a consequence you
|
||||||
may not distribute the Program at all. For example, if a patent
|
may not distribute the Program at all. For example, if a patent
|
||||||
license would not permit royalty-free redistribution of the Program by
|
license would not permit royalty-free redistribution of the Program by
|
||||||
all those who receive copies directly or indirectly through you, then
|
all those who receive copies directly or indirectly through you, then
|
||||||
the only way you could satisfy both it and this License would be to
|
the only way you could satisfy both it and this License would be to
|
||||||
refrain entirely from distribution of the Program.
|
refrain entirely from distribution of the Program.
|
||||||
If any portion of this section is held invalid or unenforceable under
|
If any portion of this section is held invalid or unenforceable under
|
||||||
any particular circumstance, the balance of the section is intended to
|
any particular circumstance, the balance of the section is intended to
|
||||||
apply and the section as a whole is intended to apply in other
|
apply and the section as a whole is intended to apply in other
|
||||||
circumstances.
|
circumstances.
|
||||||
It is not the purpose of this section to induce you to infringe any
|
It is not the purpose of this section to induce you to infringe any
|
||||||
patents or other property right claims or to contest validity of any
|
patents or other property right claims or to contest validity of any
|
||||||
such claims; this section has the sole purpose of protecting the
|
such claims; this section has the sole purpose of protecting the
|
||||||
integrity of the free software distribution system, which is
|
integrity of the free software distribution system, which is
|
||||||
implemented by public license practices. Many people have made
|
implemented by public license practices. Many people have made
|
||||||
generous contributions to the wide range of software distributed
|
generous contributions to the wide range of software distributed
|
||||||
through that system in reliance on consistent application of that
|
through that system in reliance on consistent application of that
|
||||||
system; it is up to the author/donor to decide if he or she is willing
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
to distribute software through any other system and a licensee cannot
|
to distribute software through any other system and a licensee cannot
|
||||||
impose that choice.
|
impose that choice.
|
||||||
This section is intended to make thoroughly clear what is believed to
|
This section is intended to make thoroughly clear what is believed to
|
||||||
be a consequence of the rest of this License.
|
be a consequence of the rest of this License.
|
||||||
8. If the distribution and/or use of the Program is restricted in
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
certain countries either by patents or by copyrighted interfaces, the
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
original copyright holder who places the Program under this License
|
original copyright holder who places the Program under this License
|
||||||
may add an explicit geographical distribution limitation excluding
|
may add an explicit geographical distribution limitation excluding
|
||||||
those countries, so that distribution is permitted only in or among
|
those countries, so that distribution is permitted only in or among
|
||||||
countries not thus excluded. In such case, this License incorporates
|
countries not thus excluded. In such case, this License incorporates
|
||||||
the limitation as if written in the body of this License.
|
the limitation as if written in the body of this License.
|
||||||
9. The Free Software Foundation may publish revised and/or new versions
|
9. The Free Software Foundation may publish revised and/or new versions
|
||||||
of the General Public License from time to time. Such new versions will
|
of the General Public License from time to time. Such new versions will
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
address new problems or concerns.
|
address new problems or concerns.
|
||||||
Each version is given a distinguishing version number. If the Program
|
Each version is given a distinguishing version number. If the Program
|
||||||
specifies a version number of this License which applies to it and "any
|
specifies a version number of this License which applies to it and "any
|
||||||
later version", you have the option of following the terms and conditions
|
later version", you have the option of following the terms and conditions
|
||||||
either of that version or of any later version published by the Free
|
either of that version or of any later version published by the Free
|
||||||
Software Foundation. If the Program does not specify a version number of
|
Software Foundation. If the Program does not specify a version number of
|
||||||
this License, you may choose any version ever published by the Free Software
|
this License, you may choose any version ever published by the Free Software
|
||||||
Foundation.
|
Foundation.
|
||||||
10. If you wish to incorporate parts of the Program into other free
|
10. If you wish to incorporate parts of the Program into other free
|
||||||
programs whose distribution conditions are different, write to the author
|
programs whose distribution conditions are different, write to the author
|
||||||
to ask for permission. For software which is copyrighted by the Free
|
to ask for permission. For software which is copyrighted by the Free
|
||||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||||
make exceptions for this. Our decision will be guided by the two goals
|
make exceptions for this. Our decision will be guided by the two goals
|
||||||
of preserving the free status of all derivatives of our free software and
|
of preserving the free status of all derivatives of our free software and
|
||||||
of promoting the sharing and reuse of software generally.
|
of promoting the sharing and reuse of software generally.
|
||||||
NO WARRANTY
|
NO WARRANTY
|
||||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||||
REPAIR OR CORRECTION.
|
REPAIR OR CORRECTION.
|
||||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
POSSIBILITY OF SUCH DAMAGES.
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
END OF TERMS AND CONDITIONS
|
END OF TERMS AND CONDITIONS
|
||||||
How to Apply These Terms to Your New Programs
|
How to Apply These Terms to Your New Programs
|
||||||
If you develop a new program, and you want it to be of the greatest
|
If you develop a new program, and you want it to be of the greatest
|
||||||
possible use to the public, the best way to achieve this is to make it
|
possible use to the public, the best way to achieve this is to make it
|
||||||
free software which everyone can redistribute and change under these terms.
|
free software which everyone can redistribute and change under these terms.
|
||||||
To do so, attach the following notices to the program. It is safest
|
To do so, attach the following notices to the program. It is safest
|
||||||
to attach them to the start of each source file to most effectively
|
to attach them to the start of each source file to most effectively
|
||||||
convey the exclusion of warranty; and each file should have at least
|
convey the exclusion of warranty; and each file should have at least
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
Copyright (C) <year> <name of author>
|
Copyright (C) <year> <name of author>
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
If the program is interactive, make it output a short notice like this
|
If the program is interactive, make it output a short notice like this
|
||||||
when it starts in an interactive mode:
|
when it starts in an interactive mode:
|
||||||
Gnomovision version 69, Copyright (C) year name of author
|
Gnomovision version 69, Copyright (C) year name of author
|
||||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
This is free software, and you are welcome to redistribute it
|
This is free software, and you are welcome to redistribute it
|
||||||
under certain conditions; type `show c' for details.
|
under certain conditions; type `show c' for details.
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
parts of the General Public License. Of course, the commands you use may
|
parts of the General Public License. Of course, the commands you use may
|
||||||
be called something other than `show w' and `show c'; they could even be
|
be called something other than `show w' and `show c'; they could even be
|
||||||
mouse-clicks or menu items--whatever suits your program.
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
You should also get your employer (if you work as a programmer) or your
|
You should also get your employer (if you work as a programmer) or your
|
||||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||||
necessary. Here is a sample; alter the names:
|
necessary. Here is a sample; alter the names:
|
||||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
<signature of Ty Coon>, 1 April 1989
|
<signature of Ty Coon>, 1 April 1989
|
||||||
Ty Coon, President of Vice
|
Ty Coon, President of Vice
|
||||||
This General Public License does not permit incorporating your program into
|
This General Public License does not permit incorporating your program into
|
||||||
proprietary programs. If your program is a subroutine library, you may
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
consider it more useful to permit linking proprietary applications with the
|
consider it more useful to permit linking proprietary applications with the
|
||||||
library. If this is what you want to do, use the GNU Library General
|
library. If this is what you want to do, use the GNU Library General
|
||||||
Public License instead of this License.
|
Public License instead of this License.
|
||||||
</TextBox>
|
</TextBox>
|
||||||
<RadioButton Content="I accept the terms in the License Agreement" Height="16" HorizontalAlignment="Left" Margin="22,207,0,0" Name="agreeOption" VerticalAlignment="Top" GroupName="accept" Checked="agreeOption_Checked" />
|
<RadioButton Content="I accept the terms in the License Agreement" Height="16" HorizontalAlignment="Left" Margin="22,207,0,0" Name="agreeOption" VerticalAlignment="Top" GroupName="accept" Checked="agreeOption_Checked" />
|
||||||
<RadioButton Content="I do not accept the terms in the License Agreement" Height="16" HorizontalAlignment="Left" Margin="22,227,0,0" Name="disagreeOption" VerticalAlignment="Top" GroupName="accept" IsChecked="True" Checked="disagreeOption_Checked" />
|
<RadioButton Content="I do not accept the terms in the License Agreement" Height="16" HorizontalAlignment="Left" Margin="22,227,0,0" Name="disagreeOption" VerticalAlignment="Top" GroupName="accept" IsChecked="True" Checked="disagreeOption_Checked" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
</UserControl>
|
</UserControl>
|
||||||
|
@ -1,56 +1,56 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace installtool
|
namespace installtool
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaction logic for LicenseAccept.xaml
|
/// Interaction logic for LicenseAccept.xaml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class LicenseAccept : UserControl
|
public partial class LicenseAccept : UserControl
|
||||||
{
|
{
|
||||||
public bool Accepted { get; private set; }
|
public bool Accepted { get; private set; }
|
||||||
|
|
||||||
public static readonly RoutedEvent AgreementStateChangedEvent =
|
public static readonly RoutedEvent AgreementStateChangedEvent =
|
||||||
EventManager.RegisterRoutedEvent("AgreementStateChanged",
|
EventManager.RegisterRoutedEvent("AgreementStateChanged",
|
||||||
RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(LicenseAccept));
|
RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(LicenseAccept));
|
||||||
|
|
||||||
public LicenseAccept()
|
public LicenseAccept()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
license_.Text = license_.Text.Replace(" ", "");
|
license_.Text = license_.Text.Replace(" ", "");
|
||||||
}
|
}
|
||||||
|
|
||||||
public event RoutedEventHandler AgreementStateChanged
|
public event RoutedEventHandler AgreementStateChanged
|
||||||
{
|
{
|
||||||
add { AddHandler(AgreementStateChangedEvent, value); }
|
add { AddHandler(AgreementStateChangedEvent, value); }
|
||||||
remove { RemoveHandler(AgreementStateChangedEvent, value); }
|
remove { RemoveHandler(AgreementStateChangedEvent, value); }
|
||||||
}
|
}
|
||||||
|
|
||||||
private void agreeOption_Checked(object sender, RoutedEventArgs e)
|
private void agreeOption_Checked(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
RoutedEventArgs args = new RoutedEventArgs(AgreementStateChangedEvent);
|
RoutedEventArgs args = new RoutedEventArgs(AgreementStateChangedEvent);
|
||||||
|
|
||||||
Accepted = true;
|
Accepted = true;
|
||||||
RaiseEvent(args);
|
RaiseEvent(args);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void disagreeOption_Checked(object sender, RoutedEventArgs e)
|
private void disagreeOption_Checked(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
RoutedEventArgs args = new RoutedEventArgs(AgreementStateChangedEvent);
|
RoutedEventArgs args = new RoutedEventArgs(AgreementStateChangedEvent);
|
||||||
|
|
||||||
Accepted = false;
|
Accepted = false;
|
||||||
RaiseEvent(args);
|
RaiseEvent(args);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
<Window x:Class="installtool.MainWindow"
|
<Window x:Class="installtool.MainWindow"
|
||||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
Title="MainWindow" ResizeMode="CanMinimize" Icon="/installtool;component/Images/AMX.ico" WindowStartupLocation="CenterScreen" WindowStyle="SingleBorderWindow" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Height="386" Width="560" Background="#FFF0F0F0" Loaded="Window_Loaded">
|
Title="MainWindow" ResizeMode="CanMinimize" Icon="/installtool;component/Images/AMX.ico" WindowStartupLocation="CenterScreen" WindowStyle="SingleBorderWindow" mc:Ignorable="d" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" Height="386" Width="560" Background="#FFF0F0F0" Loaded="Window_Loaded">
|
||||||
<Grid Height="315" Width="Auto" Name="contentPanel_" VerticalAlignment="Top">
|
<Grid Height="315" Width="Auto" Name="contentPanel_" VerticalAlignment="Top">
|
||||||
<Grid Height="315" Width="Auto" Name="welcomePanel_" VerticalAlignment="Top" Background="White">
|
<Grid Height="315" Width="Auto" Name="welcomePanel_" VerticalAlignment="Top" Background="White">
|
||||||
<Image Height="314" Width="164" HorizontalAlignment="Left" Name="image1" Stretch="None" VerticalAlignment="Top" Source="/installtool;component/Images/install.bmp" />
|
<Image Height="314" Width="164" HorizontalAlignment="Left" Name="image1" Stretch="None" VerticalAlignment="Top" Source="/installtool;component/Images/install.bmp" />
|
||||||
<TextBlock HorizontalAlignment="Left" Margin="170,6,0,0" Name="welcomeLabel_" VerticalAlignment="Top" FontSize="22" FontWeight="SemiBold" Width="368" MaxWidth="Infinity" MaxHeight="Infinity" FontStretch="Normal" Height="76" TextWrapping="Wrap">
|
<TextBlock HorizontalAlignment="Left" Margin="170,6,0,0" Name="welcomeLabel_" VerticalAlignment="Top" FontSize="22" FontWeight="SemiBold" Width="368" MaxWidth="Infinity" MaxHeight="Infinity" FontStretch="Normal" Height="76" TextWrapping="Wrap">
|
||||||
Welcome to the AMX Mod X {Version} Setup Wizard
|
Welcome to the AMX Mod X {Version} Setup Wizard
|
||||||
</TextBlock>
|
</TextBlock>
|
||||||
<TextBlock Height="183" HorizontalAlignment="Left" Margin="170,88,0,0" Name="welcomeText_" VerticalAlignment="Top" Width="362" TextWrapping="Wrap" Text="This wizard will guide you through the installation of AMX Mod X {Version}.

It is recommended that you close any instances of Steam or any Steam games before continuing with this installation. If you will be installing to a remote server, temporarily quit that server now. You will need to relaunch it after installing AMX Mod X.

Click Next to continue."/>
|
<TextBlock Height="183" HorizontalAlignment="Left" Margin="170,88,0,0" Name="welcomeText_" VerticalAlignment="Top" Width="362" TextWrapping="Wrap" Text="This wizard will guide you through the installation of AMX Mod X {Version}.

It is recommended that you close any instances of Steam or any Steam games before continuing with this installation. If you will be installing to a remote server, temporarily quit that server now. You will need to relaunch it after installing AMX Mod X.

Click Next to continue."/>
|
||||||
</Grid>
|
</Grid>
|
||||||
<Border BorderBrush="Silver" BorderThickness="1" Height="17" HorizontalAlignment="Left" Margin="-1,313,0,0" Name="border1" VerticalAlignment="Top" Width="560" />
|
<Border BorderBrush="Silver" BorderThickness="1" Height="17" HorizontalAlignment="Left" Margin="-1,313,0,0" Name="border1" VerticalAlignment="Top" Width="560" />
|
||||||
<Button Content="_Close" Height="26" HorizontalAlignment="Left" Margin="12,0,0,-33" Name="closeButton_" VerticalAlignment="Bottom" Width="75" Click="closeButton__Click" />
|
<Button Content="_Close" Height="26" HorizontalAlignment="Left" Margin="12,0,0,-33" Name="closeButton_" VerticalAlignment="Bottom" Width="75" Click="closeButton__Click" />
|
||||||
<Button Content="_Next" Height="26" HorizontalAlignment="Left" Margin="451,0,0,-33" Name="nextButton_" VerticalAlignment="Bottom" Width="75" Click="nextButton__Click" />
|
<Button Content="_Next" Height="26" HorizontalAlignment="Left" Margin="451,0,0,-33" Name="nextButton_" VerticalAlignment="Bottom" Width="75" Click="nextButton__Click" />
|
||||||
<Button Content="_Back" Height="26" HorizontalAlignment="Left" Margin="360,0,0,-33" Name="backButton_" VerticalAlignment="Bottom" Width="75" IsEnabled="False" Click="backButton__Click" />
|
<Button Content="_Back" Height="26" HorizontalAlignment="Left" Margin="360,0,0,-33" Name="backButton_" VerticalAlignment="Bottom" Width="75" IsEnabled="False" Click="backButton__Click" />
|
||||||
</Grid>
|
</Grid>
|
||||||
</Window>
|
</Window>
|
||||||
|
@ -1,83 +1,83 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
using System.Windows.Controls;
|
using System.Windows.Controls;
|
||||||
using System.Windows.Data;
|
using System.Windows.Data;
|
||||||
using System.Windows.Documents;
|
using System.Windows.Documents;
|
||||||
using System.Windows.Input;
|
using System.Windows.Input;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Media.Imaging;
|
using System.Windows.Media.Imaging;
|
||||||
using System.Windows.Navigation;
|
using System.Windows.Navigation;
|
||||||
using System.Windows.Shapes;
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
namespace installtool
|
namespace installtool
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Interaction logic for MainWindow.xaml
|
/// Interaction logic for MainWindow.xaml
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public partial class MainWindow : Window
|
public partial class MainWindow : Window
|
||||||
{
|
{
|
||||||
private UIElement currentPanel_;
|
private UIElement currentPanel_;
|
||||||
private LicenseAccept licensePanel_;
|
private LicenseAccept licensePanel_;
|
||||||
|
|
||||||
|
|
||||||
public MainWindow()
|
public MainWindow()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
welcomeLabel_.Text = welcomeLabel_.Text.Replace("{Version}", Program.VersionString);
|
welcomeLabel_.Text = welcomeLabel_.Text.Replace("{Version}", Program.VersionString);
|
||||||
welcomeText_.Text = welcomeText_.Text.Replace("{Version}", Program.VersionString);
|
welcomeText_.Text = welcomeText_.Text.Replace("{Version}", Program.VersionString);
|
||||||
currentPanel_ = welcomePanel_;
|
currentPanel_ = welcomePanel_;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void closeButton__Click(object sender, RoutedEventArgs e)
|
private void closeButton__Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
Application.Current.Shutdown();
|
Application.Current.Shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void swap(UIElement to)
|
private void swap(UIElement to)
|
||||||
{
|
{
|
||||||
currentPanel_.Visibility = Visibility.Hidden;
|
currentPanel_.Visibility = Visibility.Hidden;
|
||||||
to.Visibility = Visibility.Visible;
|
to.Visibility = Visibility.Visible;
|
||||||
currentPanel_ = to;
|
currentPanel_ = to;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void backButton__Click(object sender, RoutedEventArgs e)
|
private void backButton__Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (currentPanel_ == licensePanel_)
|
if (currentPanel_ == licensePanel_)
|
||||||
{
|
{
|
||||||
swap(welcomePanel_);
|
swap(welcomePanel_);
|
||||||
}
|
}
|
||||||
|
|
||||||
backButton_.IsEnabled = currentPanel_ != welcomePanel_;
|
backButton_.IsEnabled = currentPanel_ != welcomePanel_;
|
||||||
nextButton_.IsEnabled = currentPanel_ != licensePanel_;
|
nextButton_.IsEnabled = currentPanel_ != licensePanel_;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void nextButton__Click(object sender, RoutedEventArgs e)
|
private void nextButton__Click(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
if (licensePanel_ == null || currentPanel_ == welcomePanel_)
|
if (licensePanel_ == null || currentPanel_ == welcomePanel_)
|
||||||
{
|
{
|
||||||
if (licensePanel_ == null)
|
if (licensePanel_ == null)
|
||||||
{
|
{
|
||||||
licensePanel_ = new LicenseAccept();
|
licensePanel_ = new LicenseAccept();
|
||||||
contentPanel_.Children.Add(licensePanel_);
|
contentPanel_.Children.Add(licensePanel_);
|
||||||
licensePanel_.AgreementStateChanged += new RoutedEventHandler(licensePanel__AgreementStateChanged);
|
licensePanel_.AgreementStateChanged += new RoutedEventHandler(licensePanel__AgreementStateChanged);
|
||||||
}
|
}
|
||||||
nextButton_.IsEnabled = licensePanel_.Accepted;
|
nextButton_.IsEnabled = licensePanel_.Accepted;
|
||||||
swap(licensePanel_);
|
swap(licensePanel_);
|
||||||
}
|
}
|
||||||
|
|
||||||
backButton_.IsEnabled = true;
|
backButton_.IsEnabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void licensePanel__AgreementStateChanged(object sender, RoutedEventArgs e)
|
void licensePanel__AgreementStateChanged(object sender, RoutedEventArgs e)
|
||||||
{
|
{
|
||||||
nextButton_.IsEnabled = licensePanel_.Accepted;
|
nextButton_.IsEnabled = licensePanel_.Accepted;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
142
installer/installtool/Properties/Resources.Designer.cs
generated
142
installer/installtool/Properties/Resources.Designer.cs
generated
@ -1,71 +1,71 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
// Runtime Version:4.0.30319.17929
|
// Runtime Version:4.0.30319.17929
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace installtool.Properties
|
namespace installtool.Properties
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||||
// class via a tool like ResGen or Visual Studio.
|
// class via a tool like ResGen or Visual Studio.
|
||||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||||
// with the /str option, or rebuild your VS project.
|
// with the /str option, or rebuild your VS project.
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
internal class Resources
|
internal class Resources
|
||||||
{
|
{
|
||||||
|
|
||||||
private static global::System.Resources.ResourceManager resourceMan;
|
private static global::System.Resources.ResourceManager resourceMan;
|
||||||
|
|
||||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||||
|
|
||||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||||
internal Resources()
|
internal Resources()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Returns the cached ResourceManager instance used by this class.
|
/// Returns the cached ResourceManager instance used by this class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
internal static global::System.Resources.ResourceManager ResourceManager
|
internal static global::System.Resources.ResourceManager ResourceManager
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if ((resourceMan == null))
|
if ((resourceMan == null))
|
||||||
{
|
{
|
||||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("installtool.Properties.Resources", typeof(Resources).Assembly);
|
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("installtool.Properties.Resources", typeof(Resources).Assembly);
|
||||||
resourceMan = temp;
|
resourceMan = temp;
|
||||||
}
|
}
|
||||||
return resourceMan;
|
return resourceMan;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Overrides the current thread's CurrentUICulture property for all
|
/// Overrides the current thread's CurrentUICulture property for all
|
||||||
/// resource lookups using this strongly typed resource class.
|
/// resource lookups using this strongly typed resource class.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||||
internal static global::System.Globalization.CultureInfo Culture
|
internal static global::System.Globalization.CultureInfo Culture
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return resourceCulture;
|
return resourceCulture;
|
||||||
}
|
}
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
resourceCulture = value;
|
resourceCulture = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,117 +1,117 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<root>
|
<root>
|
||||||
<!--
|
<!--
|
||||||
Microsoft ResX Schema
|
Microsoft ResX Schema
|
||||||
|
|
||||||
Version 2.0
|
Version 2.0
|
||||||
|
|
||||||
The primary goals of this format is to allow a simple XML format
|
The primary goals of this format is to allow a simple XML format
|
||||||
that is mostly human readable. The generation and parsing of the
|
that is mostly human readable. The generation and parsing of the
|
||||||
various data types are done through the TypeConverter classes
|
various data types are done through the TypeConverter classes
|
||||||
associated with the data types.
|
associated with the data types.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
... ado.net/XML headers & schema ...
|
... ado.net/XML headers & schema ...
|
||||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||||
<resheader name="version">2.0</resheader>
|
<resheader name="version">2.0</resheader>
|
||||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||||
</data>
|
</data>
|
||||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||||
<comment>This is a comment</comment>
|
<comment>This is a comment</comment>
|
||||||
</data>
|
</data>
|
||||||
|
|
||||||
There are any number of "resheader" rows that contain simple
|
There are any number of "resheader" rows that contain simple
|
||||||
name/value pairs.
|
name/value pairs.
|
||||||
|
|
||||||
Each data row contains a name, and value. The row also contains a
|
Each data row contains a name, and value. The row also contains a
|
||||||
type or mimetype. Type corresponds to a .NET class that support
|
type or mimetype. Type corresponds to a .NET class that support
|
||||||
text/value conversion through the TypeConverter architecture.
|
text/value conversion through the TypeConverter architecture.
|
||||||
Classes that don't support this are serialized and stored with the
|
Classes that don't support this are serialized and stored with the
|
||||||
mimetype set.
|
mimetype set.
|
||||||
|
|
||||||
The mimetype is used for serialized objects, and tells the
|
The mimetype is used for serialized objects, and tells the
|
||||||
ResXResourceReader how to depersist the object. This is currently not
|
ResXResourceReader how to depersist the object. This is currently not
|
||||||
extensible. For a given mimetype the value must be set accordingly:
|
extensible. For a given mimetype the value must be set accordingly:
|
||||||
|
|
||||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||||
that the ResXResourceWriter will generate, however the reader can
|
that the ResXResourceWriter will generate, however the reader can
|
||||||
read any of the formats listed below.
|
read any of the formats listed below.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.binary.base64
|
mimetype: application/x-microsoft.net.object.binary.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.soap.base64
|
mimetype: application/x-microsoft.net.object.soap.base64
|
||||||
value : The object must be serialized with
|
value : The object must be serialized with
|
||||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
|
|
||||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||||
value : The object must be serialized into a byte array
|
value : The object must be serialized into a byte array
|
||||||
: using a System.ComponentModel.TypeConverter
|
: using a System.ComponentModel.TypeConverter
|
||||||
: and then encoded with base64 encoding.
|
: and then encoded with base64 encoding.
|
||||||
-->
|
-->
|
||||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||||
<xsd:element name="root" msdata:IsDataSet="true">
|
<xsd:element name="root" msdata:IsDataSet="true">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:choice maxOccurs="unbounded">
|
<xsd:choice maxOccurs="unbounded">
|
||||||
<xsd:element name="metadata">
|
<xsd:element name="metadata">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
<xsd:attribute name="type" type="xsd:string" />
|
<xsd:attribute name="type" type="xsd:string" />
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="assembly">
|
<xsd:element name="assembly">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:attribute name="alias" type="xsd:string" />
|
<xsd:attribute name="alias" type="xsd:string" />
|
||||||
<xsd:attribute name="name" type="xsd:string" />
|
<xsd:attribute name="name" type="xsd:string" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="data">
|
<xsd:element name="data">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
<xsd:element name="resheader">
|
<xsd:element name="resheader">
|
||||||
<xsd:complexType>
|
<xsd:complexType>
|
||||||
<xsd:sequence>
|
<xsd:sequence>
|
||||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||||
</xsd:sequence>
|
</xsd:sequence>
|
||||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
</xsd:choice>
|
</xsd:choice>
|
||||||
</xsd:complexType>
|
</xsd:complexType>
|
||||||
</xsd:element>
|
</xsd:element>
|
||||||
</xsd:schema>
|
</xsd:schema>
|
||||||
<resheader name="resmimetype">
|
<resheader name="resmimetype">
|
||||||
<value>text/microsoft-resx</value>
|
<value>text/microsoft-resx</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="version">
|
<resheader name="version">
|
||||||
<value>2.0</value>
|
<value>2.0</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="reader">
|
<resheader name="reader">
|
||||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
<resheader name="writer">
|
<resheader name="writer">
|
||||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||||
</resheader>
|
</resheader>
|
||||||
</root>
|
</root>
|
@ -1,30 +1,30 @@
|
|||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
// <auto-generated>
|
// <auto-generated>
|
||||||
// This code was generated by a tool.
|
// This code was generated by a tool.
|
||||||
// Runtime Version:4.0.30319.17929
|
// Runtime Version:4.0.30319.17929
|
||||||
//
|
//
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
// the code is regenerated.
|
// the code is regenerated.
|
||||||
// </auto-generated>
|
// </auto-generated>
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
namespace installtool.Properties
|
namespace installtool.Properties
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
|
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
|
||||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
|
||||||
{
|
{
|
||||||
|
|
||||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||||
|
|
||||||
public static Settings Default
|
public static Settings Default
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return defaultInstance;
|
return defaultInstance;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version='1.0' encoding='utf-8'?>
|
<?xml version='1.0' encoding='utf-8'?>
|
||||||
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
|
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
|
||||||
<Profiles>
|
<Profiles>
|
||||||
<Profile Name="(Default)" />
|
<Profile Name="(Default)" />
|
||||||
</Profiles>
|
</Profiles>
|
||||||
<Settings />
|
<Settings />
|
||||||
</SettingsFile>
|
</SettingsFile>
|
@ -1,7 +1,7 @@
|
|||||||
namespace installtool
|
namespace installtool
|
||||||
{
|
{
|
||||||
static public partial class Program
|
static public partial class Program
|
||||||
{
|
{
|
||||||
public const string VersionString = "1.8.3-dev";
|
public const string VersionString = "1.8.3-dev";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,154 +1,154 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||||
<ProductVersion>8.0.30703</ProductVersion>
|
<ProductVersion>8.0.30703</ProductVersion>
|
||||||
<SchemaVersion>2.0</SchemaVersion>
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
<ProjectGuid>{6D7FAAE2-55EA-4CB4-8070-5A28F4BF078E}</ProjectGuid>
|
<ProjectGuid>{6D7FAAE2-55EA-4CB4-8070-5A28F4BF078E}</ProjectGuid>
|
||||||
<OutputType>WinExe</OutputType>
|
<OutputType>WinExe</OutputType>
|
||||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
<RootNamespace>installtool</RootNamespace>
|
<RootNamespace>installtool</RootNamespace>
|
||||||
<AssemblyName>installtool</AssemblyName>
|
<AssemblyName>installtool</AssemblyName>
|
||||||
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||||
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
<TargetFrameworkProfile>Client</TargetFrameworkProfile>
|
||||||
<FileAlignment>512</FileAlignment>
|
<FileAlignment>512</FileAlignment>
|
||||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
<PublishUrl>publish\</PublishUrl>
|
<PublishUrl>publish\</PublishUrl>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
<InstallFrom>Disk</InstallFrom>
|
<InstallFrom>Disk</InstallFrom>
|
||||||
<UpdateEnabled>false</UpdateEnabled>
|
<UpdateEnabled>false</UpdateEnabled>
|
||||||
<UpdateMode>Foreground</UpdateMode>
|
<UpdateMode>Foreground</UpdateMode>
|
||||||
<UpdateInterval>7</UpdateInterval>
|
<UpdateInterval>7</UpdateInterval>
|
||||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||||
<UpdatePeriodically>false</UpdatePeriodically>
|
<UpdatePeriodically>false</UpdatePeriodically>
|
||||||
<UpdateRequired>false</UpdateRequired>
|
<UpdateRequired>false</UpdateRequired>
|
||||||
<MapFileExtensions>true</MapFileExtensions>
|
<MapFileExtensions>true</MapFileExtensions>
|
||||||
<ApplicationRevision>0</ApplicationRevision>
|
<ApplicationRevision>0</ApplicationRevision>
|
||||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<DebugSymbols>true</DebugSymbols>
|
<DebugSymbols>true</DebugSymbols>
|
||||||
<DebugType>full</DebugType>
|
<DebugType>full</DebugType>
|
||||||
<Optimize>false</Optimize>
|
<Optimize>false</Optimize>
|
||||||
<OutputPath>bin\Debug\</OutputPath>
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||||
<PlatformTarget>x86</PlatformTarget>
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
<DebugType>pdbonly</DebugType>
|
<DebugType>pdbonly</DebugType>
|
||||||
<Optimize>true</Optimize>
|
<Optimize>true</Optimize>
|
||||||
<OutputPath>bin\Release\</OutputPath>
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
<DefineConstants>TRACE</DefineConstants>
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
<ErrorReport>prompt</ErrorReport>
|
<ErrorReport>prompt</ErrorReport>
|
||||||
<WarningLevel>4</WarningLevel>
|
<WarningLevel>4</WarningLevel>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Reference Include="System" />
|
<Reference Include="System" />
|
||||||
<Reference Include="System.Data" />
|
<Reference Include="System.Data" />
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
<Reference Include="Microsoft.CSharp" />
|
<Reference Include="Microsoft.CSharp" />
|
||||||
<Reference Include="System.Core" />
|
<Reference Include="System.Core" />
|
||||||
<Reference Include="System.Xml.Linq" />
|
<Reference Include="System.Xml.Linq" />
|
||||||
<Reference Include="System.Data.DataSetExtensions" />
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
<Reference Include="System.Xaml">
|
<Reference Include="System.Xaml">
|
||||||
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
||||||
</Reference>
|
</Reference>
|
||||||
<Reference Include="WindowsBase" />
|
<Reference Include="WindowsBase" />
|
||||||
<Reference Include="PresentationCore" />
|
<Reference Include="PresentationCore" />
|
||||||
<Reference Include="PresentationFramework" />
|
<Reference Include="PresentationFramework" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ApplicationDefinition Include="App.xaml">
|
<ApplicationDefinition Include="App.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</ApplicationDefinition>
|
</ApplicationDefinition>
|
||||||
<Compile Include="LicenseAccept.xaml.cs">
|
<Compile Include="LicenseAccept.xaml.cs">
|
||||||
<DependentUpon>LicenseAccept.xaml</DependentUpon>
|
<DependentUpon>LicenseAccept.xaml</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Version.cs" />
|
<Compile Include="Version.cs" />
|
||||||
<Page Include="LicenseAccept.xaml">
|
<Page Include="LicenseAccept.xaml">
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
<Page Include="MainWindow.xaml">
|
<Page Include="MainWindow.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
<SubType>Designer</SubType>
|
<SubType>Designer</SubType>
|
||||||
</Page>
|
</Page>
|
||||||
<Compile Include="App.xaml.cs">
|
<Compile Include="App.xaml.cs">
|
||||||
<DependentUpon>App.xaml</DependentUpon>
|
<DependentUpon>App.xaml</DependentUpon>
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="MainWindow.xaml.cs">
|
<Compile Include="MainWindow.xaml.cs">
|
||||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Properties\AssemblyInfo.cs">
|
<Compile Include="Properties\AssemblyInfo.cs">
|
||||||
<SubType>Code</SubType>
|
<SubType>Code</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Properties\Resources.Designer.cs">
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DesignTime>True</DesignTime>
|
<DesignTime>True</DesignTime>
|
||||||
<DependentUpon>Resources.resx</DependentUpon>
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Properties\Settings.Designer.cs">
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
<AutoGen>True</AutoGen>
|
<AutoGen>True</AutoGen>
|
||||||
<DependentUpon>Settings.settings</DependentUpon>
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
</Compile>
|
</Compile>
|
||||||
<EmbeddedResource Include="Properties\Resources.resx">
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
<Generator>ResXFileCodeGenerator</Generator>
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
</EmbeddedResource>
|
</EmbeddedResource>
|
||||||
<None Include="Properties\Settings.settings">
|
<None Include="Properties\Settings.settings">
|
||||||
<Generator>SettingsSingleFileGenerator</Generator>
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
</None>
|
</None>
|
||||||
<AppDesigner Include="Properties\" />
|
<AppDesigner Include="Properties\" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Resource Include="Images\AMX.ico" />
|
<Resource Include="Images\AMX.ico" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Resource Include="Images\install.bmp" />
|
<Resource Include="Images\install.bmp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client">
|
<BootstrapperPackage Include=".NETFramework,Version=v4.0,Profile=Client">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>Microsoft .NET Framework 4 Client Profile %28x86 and x64%29</ProductName>
|
<ProductName>Microsoft .NET Framework 4 Client Profile %28x86 and x64%29</ProductName>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||||
<Install>false</Install>
|
<Install>false</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
<Install>false</Install>
|
<Install>false</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||||
<Visible>False</Visible>
|
<Visible>False</Visible>
|
||||||
<ProductName>Windows Installer 3.1</ProductName>
|
<ProductName>Windows Installer 3.1</ProductName>
|
||||||
<Install>true</Install>
|
<Install>true</Install>
|
||||||
</BootstrapperPackage>
|
</BootstrapperPackage>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
<Target Name="BeforeBuild">
|
<Target Name="BeforeBuild">
|
||||||
</Target>
|
</Target>
|
||||||
<Target Name="AfterBuild">
|
<Target Name="AfterBuild">
|
||||||
</Target>
|
</Target>
|
||||||
-->
|
-->
|
||||||
</Project>
|
</Project>
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Submodule public/amtl updated: 0011210ae3...ae57753e79
@ -1,116 +1,116 @@
|
|||||||
----------------------------------
|
----------------------------------
|
||||||
Pawn Abstract Machine and Compiler
|
Pawn Abstract Machine and Compiler
|
||||||
----------------------------------
|
----------------------------------
|
||||||
Copyright (c) ITB CompuPhase, 1997-2005
|
Copyright (c) ITB CompuPhase, 1997-2005
|
||||||
|
|
||||||
This software is provided "as-is", without any express or implied warranty.
|
This software is provided "as-is", without any express or implied warranty.
|
||||||
In no event will the authors be held liable for any damages arising from
|
In no event will the authors be held liable for any damages arising from
|
||||||
the use of this software.
|
the use of this software.
|
||||||
|
|
||||||
Permission is granted to anyone to use this software for any purpose,
|
Permission is granted to anyone to use this software for any purpose,
|
||||||
including commercial applications, and to alter it and redistribute it
|
including commercial applications, and to alter it and redistribute it
|
||||||
freely, subject to the following restrictions:
|
freely, subject to the following restrictions:
|
||||||
|
|
||||||
1. The origin of this software must not be misrepresented; you must not
|
1. The origin of this software must not be misrepresented; you must not
|
||||||
claim that you wrote the original software. If you use this software in
|
claim that you wrote the original software. If you use this software in
|
||||||
a product, an acknowledgment in the product documentation would be
|
a product, an acknowledgment in the product documentation would be
|
||||||
appreciated but is not required.
|
appreciated but is not required.
|
||||||
2. Altered source versions must be plainly marked as such, and must not be
|
2. Altered source versions must be plainly marked as such, and must not be
|
||||||
misrepresented as being the original software.
|
misrepresented as being the original software.
|
||||||
3. This notice may not be removed or altered from any source distribution.
|
3. This notice may not be removed or altered from any source distribution.
|
||||||
|
|
||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
zlib, as used in the AMX Mod X Pawn compiler and plugin loader
|
zlib, as used in the AMX Mod X Pawn compiler and plugin loader
|
||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
|
Copyright (C) 1995-2013 Jean-loup Gailly and Mark Adler
|
||||||
|
|
||||||
This software is provided 'as-is', without any express or implied
|
This software is provided 'as-is', without any express or implied
|
||||||
warranty. In no event will the authors be held liable for any damages
|
warranty. In no event will the authors be held liable for any damages
|
||||||
arising from the use of this software.
|
arising from the use of this software.
|
||||||
|
|
||||||
Permission is granted to anyone to use this software for any purpose,
|
Permission is granted to anyone to use this software for any purpose,
|
||||||
including commercial applications, and to alter it and redistribute it
|
including commercial applications, and to alter it and redistribute it
|
||||||
freely, subject to the following restrictions:
|
freely, subject to the following restrictions:
|
||||||
|
|
||||||
1. The origin of this software must not be misrepresented; you must not
|
1. The origin of this software must not be misrepresented; you must not
|
||||||
claim that you wrote the original software. If you use this software
|
claim that you wrote the original software. If you use this software
|
||||||
in a product, an acknowledgment in the product documentation would be
|
in a product, an acknowledgment in the product documentation would be
|
||||||
appreciated but is not required.
|
appreciated but is not required.
|
||||||
2. Altered source versions must be plainly marked as such, and must not be
|
2. Altered source versions must be plainly marked as such, and must not be
|
||||||
misrepresented as being the original software.
|
misrepresented as being the original software.
|
||||||
3. This notice may not be removed or altered from any source distribution.
|
3. This notice may not be removed or altered from any source distribution.
|
||||||
|
|
||||||
Jean-loup Gailly Mark Adler
|
Jean-loup Gailly Mark Adler
|
||||||
jloup@gzip.org madler@alumni.caltech.edu
|
jloup@gzip.org madler@alumni.caltech.edu
|
||||||
|
|
||||||
---------------------------------
|
---------------------------------
|
||||||
PCRE, as used in the Regex module
|
PCRE, as used in the Regex module
|
||||||
---------------------------------
|
---------------------------------
|
||||||
Copyright (c) 1997-2014 University of Cambridge
|
Copyright (c) 1997-2014 University of Cambridge
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
Redistribution and use in source and binary forms, with or without
|
||||||
modification, are permitted provided that the following conditions are met:
|
modification, are permitted provided that the following conditions are met:
|
||||||
* Redistributions of source code must retain the above copyright notice,
|
* Redistributions of source code must retain the above copyright notice,
|
||||||
this list of conditions and the following disclaimer.
|
this list of conditions and the following disclaimer.
|
||||||
* Redistributions in binary form must reproduce the above copyright
|
* Redistributions in binary form must reproduce the above copyright
|
||||||
notice, this list of conditions and the following disclaimer in the
|
notice, this list of conditions and the following disclaimer in the
|
||||||
documentation and/or other materials provided with the distribution.
|
documentation and/or other materials provided with the distribution.
|
||||||
* Neither the name of the University of Cambridge nor the names of its
|
* Neither the name of the University of Cambridge nor the names of its
|
||||||
contributors may be used to endorse or promote products derived from
|
contributors may be used to endorse or promote products derived from
|
||||||
this software without specific prior written permission.
|
this software without specific prior written permission.
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
||||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
POSSIBILITY OF SUCH DAMAGE.
|
POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
You may obtain a copy of the license at
|
You may obtain a copy of the license at
|
||||||
http://www.pcre.org/licence.txt
|
http://www.pcre.org/licence.txt
|
||||||
|
|
||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
libmaxminddb, as used in the GeoIP module
|
libmaxminddb, as used in the GeoIP module
|
||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
Copyright 2013-2014 MaxMind, Inc.
|
Copyright 2013-2014 MaxMind, Inc.
|
||||||
|
|
||||||
Licensed under the Apache License, Version 2.0 (the "License");
|
Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
you may not use this file except in compliance with the License.
|
you may not use this file except in compliance with the License.
|
||||||
You may obtain a copy of the License at
|
You may obtain a copy of the License at
|
||||||
|
|
||||||
http://www.apache.org/licenses/LICENSE-2.0
|
http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
|
||||||
Unless required by applicable law or agreed to in writing, software
|
Unless required by applicable law or agreed to in writing, software
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
See the License for the specific language governing permissions and
|
See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
|
|
||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
Portable C++ Hashing Library, as used in AMX Mod X Core module
|
Portable C++ Hashing Library, as used in AMX Mod X Core module
|
||||||
--------------------------------------------------------------
|
--------------------------------------------------------------
|
||||||
Copyright (c) 2014 Stephan Brumme
|
Copyright (c) 2014 Stephan Brumme
|
||||||
|
|
||||||
All source code published on http://create.stephan-brumme.com
|
All source code published on http://create.stephan-brumme.com
|
||||||
and its sub-pages is licensed similar to the zlib license:
|
and its sub-pages is licensed similar to the zlib license:
|
||||||
|
|
||||||
This software is provided 'as-is', without any express or implied warranty.
|
This software is provided 'as-is', without any express or implied warranty.
|
||||||
In no event will the author be held liable for any damages arising from
|
In no event will the author be held liable for any damages arising from
|
||||||
the use of this software.
|
the use of this software.
|
||||||
|
|
||||||
Permission is granted to anyone to use this software for any purpose,
|
Permission is granted to anyone to use this software for any purpose,
|
||||||
including commercial applications, and to alter it and redistribute it freely,
|
including commercial applications, and to alter it and redistribute it freely,
|
||||||
subject to the following restrictions:
|
subject to the following restrictions:
|
||||||
|
|
||||||
* The origin of this software must not be misrepresented; you must
|
* The origin of this software must not be misrepresented; you must
|
||||||
not claim that you wrote the original software.
|
not claim that you wrote the original software.
|
||||||
* If you use this software in a product, an acknowledgment in the product
|
* If you use this software in a product, an acknowledgment in the product
|
||||||
documentation would be appreciated but is not required.
|
documentation would be appreciated but is not required.
|
||||||
* Altered source versions must be plainly marked as such, and
|
* Altered source versions must be plainly marked as such, and
|
||||||
must not be misrepresented as being the original software.
|
must not be misrepresented as being the original software.
|
||||||
|
|
||||||
|
@ -1,339 +1,339 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 2, June 1991
|
Version 2, June 1991
|
||||||
|
|
||||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
Preamble
|
Preamble
|
||||||
|
|
||||||
The licenses for most software are designed to take away your
|
The licenses for most software are designed to take away your
|
||||||
freedom to share and change it. By contrast, the GNU General Public
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
License is intended to guarantee your freedom to share and change free
|
License is intended to guarantee your freedom to share and change free
|
||||||
software--to make sure the software is free for all its users. This
|
software--to make sure the software is free for all its users. This
|
||||||
General Public License applies to most of the Free Software
|
General Public License applies to most of the Free Software
|
||||||
Foundation's software and to any other program whose authors commit to
|
Foundation's software and to any other program whose authors commit to
|
||||||
using it. (Some other Free Software Foundation software is covered by
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
the GNU Lesser General Public License instead.) You can apply it to
|
the GNU Lesser General Public License instead.) You can apply it to
|
||||||
your programs, too.
|
your programs, too.
|
||||||
|
|
||||||
When we speak of free software, we are referring to freedom, not
|
When we speak of free software, we are referring to freedom, not
|
||||||
price. Our General Public Licenses are designed to make sure that you
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
have the freedom to distribute copies of free software (and charge for
|
have the freedom to distribute copies of free software (and charge for
|
||||||
this service if you wish), that you receive source code or can get it
|
this service if you wish), that you receive source code or can get it
|
||||||
if you want it, that you can change the software or use pieces of it
|
if you want it, that you can change the software or use pieces of it
|
||||||
in new free programs; and that you know you can do these things.
|
in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
To protect your rights, we need to make restrictions that forbid
|
To protect your rights, we need to make restrictions that forbid
|
||||||
anyone to deny you these rights or to ask you to surrender the rights.
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
These restrictions translate to certain responsibilities for you if you
|
These restrictions translate to certain responsibilities for you if you
|
||||||
distribute copies of the software, or if you modify it.
|
distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
For example, if you distribute copies of such a program, whether
|
For example, if you distribute copies of such a program, whether
|
||||||
gratis or for a fee, you must give the recipients all the rights that
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
you have. You must make sure that they, too, receive or can get the
|
you have. You must make sure that they, too, receive or can get the
|
||||||
source code. And you must show them these terms so they know their
|
source code. And you must show them these terms so they know their
|
||||||
rights.
|
rights.
|
||||||
|
|
||||||
We protect your rights with two steps: (1) copyright the software, and
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
(2) offer you this license which gives you legal permission to copy,
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
distribute and/or modify the software.
|
distribute and/or modify the software.
|
||||||
|
|
||||||
Also, for each author's protection and ours, we want to make certain
|
Also, for each author's protection and ours, we want to make certain
|
||||||
that everyone understands that there is no warranty for this free
|
that everyone understands that there is no warranty for this free
|
||||||
software. If the software is modified by someone else and passed on, we
|
software. If the software is modified by someone else and passed on, we
|
||||||
want its recipients to know that what they have is not the original, so
|
want its recipients to know that what they have is not the original, so
|
||||||
that any problems introduced by others will not reflect on the original
|
that any problems introduced by others will not reflect on the original
|
||||||
authors' reputations.
|
authors' reputations.
|
||||||
|
|
||||||
Finally, any free program is threatened constantly by software
|
Finally, any free program is threatened constantly by software
|
||||||
patents. We wish to avoid the danger that redistributors of a free
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
program will individually obtain patent licenses, in effect making the
|
program will individually obtain patent licenses, in effect making the
|
||||||
program proprietary. To prevent this, we have made it clear that any
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
patent must be licensed for everyone's free use or not licensed at all.
|
patent must be licensed for everyone's free use or not licensed at all.
|
||||||
|
|
||||||
The precise terms and conditions for copying, distribution and
|
The precise terms and conditions for copying, distribution and
|
||||||
modification follow.
|
modification follow.
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
0. This License applies to any program or other work which contains
|
0. This License applies to any program or other work which contains
|
||||||
a notice placed by the copyright holder saying it may be distributed
|
a notice placed by the copyright holder saying it may be distributed
|
||||||
under the terms of this General Public License. The "Program", below,
|
under the terms of this General Public License. The "Program", below,
|
||||||
refers to any such program or work, and a "work based on the Program"
|
refers to any such program or work, and a "work based on the Program"
|
||||||
means either the Program or any derivative work under copyright law:
|
means either the Program or any derivative work under copyright law:
|
||||||
that is to say, a work containing the Program or a portion of it,
|
that is to say, a work containing the Program or a portion of it,
|
||||||
either verbatim or with modifications and/or translated into another
|
either verbatim or with modifications and/or translated into another
|
||||||
language. (Hereinafter, translation is included without limitation in
|
language. (Hereinafter, translation is included without limitation in
|
||||||
the term "modification".) Each licensee is addressed as "you".
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
|
|
||||||
Activities other than copying, distribution and modification are not
|
Activities other than copying, distribution and modification are not
|
||||||
covered by this License; they are outside its scope. The act of
|
covered by this License; they are outside its scope. The act of
|
||||||
running the Program is not restricted, and the output from the Program
|
running the Program is not restricted, and the output from the Program
|
||||||
is covered only if its contents constitute a work based on the
|
is covered only if its contents constitute a work based on the
|
||||||
Program (independent of having been made by running the Program).
|
Program (independent of having been made by running the Program).
|
||||||
Whether that is true depends on what the Program does.
|
Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
1. You may copy and distribute verbatim copies of the Program's
|
1. You may copy and distribute verbatim copies of the Program's
|
||||||
source code as you receive it, in any medium, provided that you
|
source code as you receive it, in any medium, provided that you
|
||||||
conspicuously and appropriately publish on each copy an appropriate
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
copyright notice and disclaimer of warranty; keep intact all the
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
notices that refer to this License and to the absence of any warranty;
|
notices that refer to this License and to the absence of any warranty;
|
||||||
and give any other recipients of the Program a copy of this License
|
and give any other recipients of the Program a copy of this License
|
||||||
along with the Program.
|
along with the Program.
|
||||||
|
|
||||||
You may charge a fee for the physical act of transferring a copy, and
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
you may at your option offer warranty protection in exchange for a fee.
|
you may at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
2. You may modify your copy or copies of the Program or any portion
|
2. You may modify your copy or copies of the Program or any portion
|
||||||
of it, thus forming a work based on the Program, and copy and
|
of it, thus forming a work based on the Program, and copy and
|
||||||
distribute such modifications or work under the terms of Section 1
|
distribute such modifications or work under the terms of Section 1
|
||||||
above, provided that you also meet all of these conditions:
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
a) You must cause the modified files to carry prominent notices
|
a) You must cause the modified files to carry prominent notices
|
||||||
stating that you changed the files and the date of any change.
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
b) You must cause any work that you distribute or publish, that in
|
b) You must cause any work that you distribute or publish, that in
|
||||||
whole or in part contains or is derived from the Program or any
|
whole or in part contains or is derived from the Program or any
|
||||||
part thereof, to be licensed as a whole at no charge to all third
|
part thereof, to be licensed as a whole at no charge to all third
|
||||||
parties under the terms of this License.
|
parties under the terms of this License.
|
||||||
|
|
||||||
c) If the modified program normally reads commands interactively
|
c) If the modified program normally reads commands interactively
|
||||||
when run, you must cause it, when started running for such
|
when run, you must cause it, when started running for such
|
||||||
interactive use in the most ordinary way, to print or display an
|
interactive use in the most ordinary way, to print or display an
|
||||||
announcement including an appropriate copyright notice and a
|
announcement including an appropriate copyright notice and a
|
||||||
notice that there is no warranty (or else, saying that you provide
|
notice that there is no warranty (or else, saying that you provide
|
||||||
a warranty) and that users may redistribute the program under
|
a warranty) and that users may redistribute the program under
|
||||||
these conditions, and telling the user how to view a copy of this
|
these conditions, and telling the user how to view a copy of this
|
||||||
License. (Exception: if the Program itself is interactive but
|
License. (Exception: if the Program itself is interactive but
|
||||||
does not normally print such an announcement, your work based on
|
does not normally print such an announcement, your work based on
|
||||||
the Program is not required to print an announcement.)
|
the Program is not required to print an announcement.)
|
||||||
|
|
||||||
These requirements apply to the modified work as a whole. If
|
These requirements apply to the modified work as a whole. If
|
||||||
identifiable sections of that work are not derived from the Program,
|
identifiable sections of that work are not derived from the Program,
|
||||||
and can be reasonably considered independent and separate works in
|
and can be reasonably considered independent and separate works in
|
||||||
themselves, then this License, and its terms, do not apply to those
|
themselves, then this License, and its terms, do not apply to those
|
||||||
sections when you distribute them as separate works. But when you
|
sections when you distribute them as separate works. But when you
|
||||||
distribute the same sections as part of a whole which is a work based
|
distribute the same sections as part of a whole which is a work based
|
||||||
on the Program, the distribution of the whole must be on the terms of
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
this License, whose permissions for other licensees extend to the
|
this License, whose permissions for other licensees extend to the
|
||||||
entire whole, and thus to each and every part regardless of who wrote it.
|
entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
Thus, it is not the intent of this section to claim rights or contest
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
your rights to work written entirely by you; rather, the intent is to
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
exercise the right to control the distribution of derivative or
|
exercise the right to control the distribution of derivative or
|
||||||
collective works based on the Program.
|
collective works based on the Program.
|
||||||
|
|
||||||
In addition, mere aggregation of another work not based on the Program
|
In addition, mere aggregation of another work not based on the Program
|
||||||
with the Program (or with a work based on the Program) on a volume of
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
a storage or distribution medium does not bring the other work under
|
a storage or distribution medium does not bring the other work under
|
||||||
the scope of this License.
|
the scope of this License.
|
||||||
|
|
||||||
3. You may copy and distribute the Program (or a work based on it,
|
3. You may copy and distribute the Program (or a work based on it,
|
||||||
under Section 2) in object code or executable form under the terms of
|
under Section 2) in object code or executable form under the terms of
|
||||||
Sections 1 and 2 above provided that you also do one of the following:
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
a) Accompany it with the complete corresponding machine-readable
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
source code, which must be distributed under the terms of Sections
|
source code, which must be distributed under the terms of Sections
|
||||||
1 and 2 above on a medium customarily used for software interchange; or,
|
1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
b) Accompany it with a written offer, valid for at least three
|
b) Accompany it with a written offer, valid for at least three
|
||||||
years, to give any third party, for a charge no more than your
|
years, to give any third party, for a charge no more than your
|
||||||
cost of physically performing source distribution, a complete
|
cost of physically performing source distribution, a complete
|
||||||
machine-readable copy of the corresponding source code, to be
|
machine-readable copy of the corresponding source code, to be
|
||||||
distributed under the terms of Sections 1 and 2 above on a medium
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
customarily used for software interchange; or,
|
customarily used for software interchange; or,
|
||||||
|
|
||||||
c) Accompany it with the information you received as to the offer
|
c) Accompany it with the information you received as to the offer
|
||||||
to distribute corresponding source code. (This alternative is
|
to distribute corresponding source code. (This alternative is
|
||||||
allowed only for noncommercial distribution and only if you
|
allowed only for noncommercial distribution and only if you
|
||||||
received the program in object code or executable form with such
|
received the program in object code or executable form with such
|
||||||
an offer, in accord with Subsection b above.)
|
an offer, in accord with Subsection b above.)
|
||||||
|
|
||||||
The source code for a work means the preferred form of the work for
|
The source code for a work means the preferred form of the work for
|
||||||
making modifications to it. For an executable work, complete source
|
making modifications to it. For an executable work, complete source
|
||||||
code means all the source code for all modules it contains, plus any
|
code means all the source code for all modules it contains, plus any
|
||||||
associated interface definition files, plus the scripts used to
|
associated interface definition files, plus the scripts used to
|
||||||
control compilation and installation of the executable. However, as a
|
control compilation and installation of the executable. However, as a
|
||||||
special exception, the source code distributed need not include
|
special exception, the source code distributed need not include
|
||||||
anything that is normally distributed (in either source or binary
|
anything that is normally distributed (in either source or binary
|
||||||
form) with the major components (compiler, kernel, and so on) of the
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
operating system on which the executable runs, unless that component
|
operating system on which the executable runs, unless that component
|
||||||
itself accompanies the executable.
|
itself accompanies the executable.
|
||||||
|
|
||||||
If distribution of executable or object code is made by offering
|
If distribution of executable or object code is made by offering
|
||||||
access to copy from a designated place, then offering equivalent
|
access to copy from a designated place, then offering equivalent
|
||||||
access to copy the source code from the same place counts as
|
access to copy the source code from the same place counts as
|
||||||
distribution of the source code, even though third parties are not
|
distribution of the source code, even though third parties are not
|
||||||
compelled to copy the source along with the object code.
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
4. You may not copy, modify, sublicense, or distribute the Program
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
except as expressly provided under this License. Any attempt
|
except as expressly provided under this License. Any attempt
|
||||||
otherwise to copy, modify, sublicense or distribute the Program is
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
void, and will automatically terminate your rights under this License.
|
void, and will automatically terminate your rights under this License.
|
||||||
However, parties who have received copies, or rights, from you under
|
However, parties who have received copies, or rights, from you under
|
||||||
this License will not have their licenses terminated so long as such
|
this License will not have their licenses terminated so long as such
|
||||||
parties remain in full compliance.
|
parties remain in full compliance.
|
||||||
|
|
||||||
5. You are not required to accept this License, since you have not
|
5. You are not required to accept this License, since you have not
|
||||||
signed it. However, nothing else grants you permission to modify or
|
signed it. However, nothing else grants you permission to modify or
|
||||||
distribute the Program or its derivative works. These actions are
|
distribute the Program or its derivative works. These actions are
|
||||||
prohibited by law if you do not accept this License. Therefore, by
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
modifying or distributing the Program (or any work based on the
|
modifying or distributing the Program (or any work based on the
|
||||||
Program), you indicate your acceptance of this License to do so, and
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
all its terms and conditions for copying, distributing or modifying
|
all its terms and conditions for copying, distributing or modifying
|
||||||
the Program or works based on it.
|
the Program or works based on it.
|
||||||
|
|
||||||
6. Each time you redistribute the Program (or any work based on the
|
6. Each time you redistribute the Program (or any work based on the
|
||||||
Program), the recipient automatically receives a license from the
|
Program), the recipient automatically receives a license from the
|
||||||
original licensor to copy, distribute or modify the Program subject to
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
these terms and conditions. You may not impose any further
|
these terms and conditions. You may not impose any further
|
||||||
restrictions on the recipients' exercise of the rights granted herein.
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
You are not responsible for enforcing compliance by third parties to
|
You are not responsible for enforcing compliance by third parties to
|
||||||
this License.
|
this License.
|
||||||
|
|
||||||
7. If, as a consequence of a court judgment or allegation of patent
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
infringement or for any other reason (not limited to patent issues),
|
infringement or for any other reason (not limited to patent issues),
|
||||||
conditions are imposed on you (whether by court order, agreement or
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
otherwise) that contradict the conditions of this License, they do not
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
excuse you from the conditions of this License. If you cannot
|
excuse you from the conditions of this License. If you cannot
|
||||||
distribute so as to satisfy simultaneously your obligations under this
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
License and any other pertinent obligations, then as a consequence you
|
License and any other pertinent obligations, then as a consequence you
|
||||||
may not distribute the Program at all. For example, if a patent
|
may not distribute the Program at all. For example, if a patent
|
||||||
license would not permit royalty-free redistribution of the Program by
|
license would not permit royalty-free redistribution of the Program by
|
||||||
all those who receive copies directly or indirectly through you, then
|
all those who receive copies directly or indirectly through you, then
|
||||||
the only way you could satisfy both it and this License would be to
|
the only way you could satisfy both it and this License would be to
|
||||||
refrain entirely from distribution of the Program.
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
If any portion of this section is held invalid or unenforceable under
|
If any portion of this section is held invalid or unenforceable under
|
||||||
any particular circumstance, the balance of the section is intended to
|
any particular circumstance, the balance of the section is intended to
|
||||||
apply and the section as a whole is intended to apply in other
|
apply and the section as a whole is intended to apply in other
|
||||||
circumstances.
|
circumstances.
|
||||||
|
|
||||||
It is not the purpose of this section to induce you to infringe any
|
It is not the purpose of this section to induce you to infringe any
|
||||||
patents or other property right claims or to contest validity of any
|
patents or other property right claims or to contest validity of any
|
||||||
such claims; this section has the sole purpose of protecting the
|
such claims; this section has the sole purpose of protecting the
|
||||||
integrity of the free software distribution system, which is
|
integrity of the free software distribution system, which is
|
||||||
implemented by public license practices. Many people have made
|
implemented by public license practices. Many people have made
|
||||||
generous contributions to the wide range of software distributed
|
generous contributions to the wide range of software distributed
|
||||||
through that system in reliance on consistent application of that
|
through that system in reliance on consistent application of that
|
||||||
system; it is up to the author/donor to decide if he or she is willing
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
to distribute software through any other system and a licensee cannot
|
to distribute software through any other system and a licensee cannot
|
||||||
impose that choice.
|
impose that choice.
|
||||||
|
|
||||||
This section is intended to make thoroughly clear what is believed to
|
This section is intended to make thoroughly clear what is believed to
|
||||||
be a consequence of the rest of this License.
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
8. If the distribution and/or use of the Program is restricted in
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
certain countries either by patents or by copyrighted interfaces, the
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
original copyright holder who places the Program under this License
|
original copyright holder who places the Program under this License
|
||||||
may add an explicit geographical distribution limitation excluding
|
may add an explicit geographical distribution limitation excluding
|
||||||
those countries, so that distribution is permitted only in or among
|
those countries, so that distribution is permitted only in or among
|
||||||
countries not thus excluded. In such case, this License incorporates
|
countries not thus excluded. In such case, this License incorporates
|
||||||
the limitation as if written in the body of this License.
|
the limitation as if written in the body of this License.
|
||||||
|
|
||||||
9. The Free Software Foundation may publish revised and/or new versions
|
9. The Free Software Foundation may publish revised and/or new versions
|
||||||
of the General Public License from time to time. Such new versions will
|
of the General Public License from time to time. Such new versions will
|
||||||
be similar in spirit to the present version, but may differ in detail to
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
address new problems or concerns.
|
address new problems or concerns.
|
||||||
|
|
||||||
Each version is given a distinguishing version number. If the Program
|
Each version is given a distinguishing version number. If the Program
|
||||||
specifies a version number of this License which applies to it and "any
|
specifies a version number of this License which applies to it and "any
|
||||||
later version", you have the option of following the terms and conditions
|
later version", you have the option of following the terms and conditions
|
||||||
either of that version or of any later version published by the Free
|
either of that version or of any later version published by the Free
|
||||||
Software Foundation. If the Program does not specify a version number of
|
Software Foundation. If the Program does not specify a version number of
|
||||||
this License, you may choose any version ever published by the Free Software
|
this License, you may choose any version ever published by the Free Software
|
||||||
Foundation.
|
Foundation.
|
||||||
|
|
||||||
10. If you wish to incorporate parts of the Program into other free
|
10. If you wish to incorporate parts of the Program into other free
|
||||||
programs whose distribution conditions are different, write to the author
|
programs whose distribution conditions are different, write to the author
|
||||||
to ask for permission. For software which is copyrighted by the Free
|
to ask for permission. For software which is copyrighted by the Free
|
||||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||||
make exceptions for this. Our decision will be guided by the two goals
|
make exceptions for this. Our decision will be guided by the two goals
|
||||||
of preserving the free status of all derivatives of our free software and
|
of preserving the free status of all derivatives of our free software and
|
||||||
of promoting the sharing and reuse of software generally.
|
of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
NO WARRANTY
|
NO WARRANTY
|
||||||
|
|
||||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||||
REPAIR OR CORRECTION.
|
REPAIR OR CORRECTION.
|
||||||
|
|
||||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
POSSIBILITY OF SUCH DAMAGES.
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
If you develop a new program, and you want it to be of the greatest
|
||||||
possible use to the public, the best way to achieve this is to make it
|
possible use to the public, the best way to achieve this is to make it
|
||||||
free software which everyone can redistribute and change under these terms.
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
To do so, attach the following notices to the program. It is safest
|
To do so, attach the following notices to the program. It is safest
|
||||||
to attach them to the start of each source file to most effectively
|
to attach them to the start of each source file to most effectively
|
||||||
convey the exclusion of warranty; and each file should have at least
|
convey the exclusion of warranty; and each file should have at least
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
Copyright (C) <year> <name of author>
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License along
|
You should have received a copy of the GNU General Public License along
|
||||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
If the program is interactive, make it output a short notice like this
|
If the program is interactive, make it output a short notice like this
|
||||||
when it starts in an interactive mode:
|
when it starts in an interactive mode:
|
||||||
|
|
||||||
Gnomovision version 69, Copyright (C) year name of author
|
Gnomovision version 69, Copyright (C) year name of author
|
||||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
This is free software, and you are welcome to redistribute it
|
This is free software, and you are welcome to redistribute it
|
||||||
under certain conditions; type `show c' for details.
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
parts of the General Public License. Of course, the commands you use may
|
parts of the General Public License. Of course, the commands you use may
|
||||||
be called something other than `show w' and `show c'; they could even be
|
be called something other than `show w' and `show c'; they could even be
|
||||||
mouse-clicks or menu items--whatever suits your program.
|
mouse-clicks or menu items--whatever suits your program.
|
||||||
|
|
||||||
You should also get your employer (if you work as a programmer) or your
|
You should also get your employer (if you work as a programmer) or your
|
||||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||||
necessary. Here is a sample; alter the names:
|
necessary. Here is a sample; alter the names:
|
||||||
|
|
||||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||||
|
|
||||||
<signature of Ty Coon>, 1 April 1989
|
<signature of Ty Coon>, 1 April 1989
|
||||||
Ty Coon, President of Vice
|
Ty Coon, President of Vice
|
||||||
|
|
||||||
This General Public License does not permit incorporating your program into
|
This General Public License does not permit incorporating your program into
|
||||||
proprietary programs. If your program is a subroutine library, you may
|
proprietary programs. If your program is a subroutine library, you may
|
||||||
consider it more useful to permit linking proprietary applications with the
|
consider it more useful to permit linking proprietary applications with the
|
||||||
library. If this is what you want to do, use the GNU Lesser General
|
library. If this is what you want to do, use the GNU Lesser General
|
||||||
Public License instead of this License.
|
Public License instead of this License.
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,34 +1,34 @@
|
|||||||
AMX MOD X LICENSE INFORMATION
|
AMX MOD X LICENSE INFORMATION
|
||||||
VERSION: AUGUST-04-2014
|
VERSION: AUGUST-04-2014
|
||||||
|
|
||||||
AMX Mod X is licensed under the GNU General Public License, version 3, or (at
|
AMX Mod X is licensed under the GNU General Public License, version 3, or (at
|
||||||
your option) any later version.
|
your option) any later version.
|
||||||
|
|
||||||
As a special exception, the AMX Mod X Development Team gives permission to link
|
As a special exception, the AMX Mod X Development Team gives permission to link
|
||||||
the code of this program with the Half-Life Game Engine ("HL Engine") and
|
the code of this program with the Half-Life Game Engine ("HL Engine") and
|
||||||
Modified Game Libraries ("MODs") developed via the Half-Life 1 SDK as full
|
Modified Game Libraries ("MODs") developed via the Half-Life 1 SDK as full
|
||||||
replacements for Valve games. You must obey the GNU General Public License in
|
replacements for Valve games. You must obey the GNU General Public License in
|
||||||
all respects for all other code used other than the HL Engine and MODs. This
|
all respects for all other code used other than the HL Engine and MODs. This
|
||||||
extension, at your option, may also be granted to works based on AMX Mod X.
|
extension, at your option, may also be granted to works based on AMX Mod X.
|
||||||
|
|
||||||
As an additional special exception to the GNU General Public License 3.0,
|
As an additional special exception to the GNU General Public License 3.0,
|
||||||
AlliedModders LLC permits dual-licensing of DERIVATIVE WORKS ONLY (that is,
|
AlliedModders LLC permits dual-licensing of DERIVATIVE WORKS ONLY (that is,
|
||||||
Pawn/AMX Mod X Plugins and AMX Mod X Modules, or any software built from the AMX
|
Pawn/AMX Mod X Plugins and AMX Mod X Modules, or any software built from the AMX
|
||||||
Mod X header files) under the GNU General Public License version 2 "or any
|
Mod X header files) under the GNU General Public License version 2 "or any
|
||||||
higher version." As such, you may choose for your derivative work(s) to be
|
higher version." As such, you may choose for your derivative work(s) to be
|
||||||
compatible with the GNU General Public License version 2 as long as it is also
|
compatible with the GNU General Public License version 2 as long as it is also
|
||||||
compatible with the GNU General Public License version 3, via the "or any higher
|
compatible with the GNU General Public License version 3, via the "or any higher
|
||||||
version" clause. This is intended for compatibility with other software.
|
version" clause. This is intended for compatibility with other software.
|
||||||
|
|
||||||
As a final exception to the above, any derivative works created prior to this
|
As a final exception to the above, any derivative works created prior to this
|
||||||
date (August 4, 2014) may be exclusively licensed under the GNU General Public
|
date (August 4, 2014) may be exclusively licensed under the GNU General Public
|
||||||
License version 2 (without an "or any higher version" clause) if and only if the
|
License version 2 (without an "or any higher version" clause) if and only if the
|
||||||
work was already GNU General Public License 2.0 exclusive. This clause is
|
work was already GNU General Public License 2.0 exclusive. This clause is
|
||||||
provided for backwards compatibility only.
|
provided for backwards compatibility only.
|
||||||
|
|
||||||
A copy of the GNU General Public License 2.0 is available in GPLv2.txt.
|
A copy of the GNU General Public License 2.0 is available in GPLv2.txt.
|
||||||
A copy of the GNU General Public License 3.0 is available in GPLv3.txt.
|
A copy of the GNU General Public License 3.0 is available in GPLv3.txt.
|
||||||
|
|
||||||
Some components of AMX Mod X use a license other than the GNU General Public
|
Some components of AMX Mod X use a license other than the GNU General Public
|
||||||
License. You must also adhere to these additional licenses in all respects. See
|
License. You must also adhere to these additional licenses in all respects. See
|
||||||
ACKNOWLEDGEMENTS.txt for further details.
|
ACKNOWLEDGEMENTS.txt for further details.
|
||||||
|
@ -1,20 +1,20 @@
|
|||||||
Let's push this build over the cliff.
|
Let's push this build over the cliff.
|
||||||
There's a new slave in town.
|
There's a new slave in town.
|
||||||
The fall is near.
|
The fall is near.
|
||||||
Buildnot.
|
Buildnot.
|
||||||
DS will learn one day.
|
DS will learn one day.
|
||||||
No, he will not.
|
No, he will not.
|
||||||
I guess you're right.
|
I guess you're right.
|
||||||
Bugbot.
|
Bugbot.
|
||||||
Bugbot, part 2.
|
Bugbot, part 2.
|
||||||
Bugbot, part 3.
|
Bugbot, part 3.
|
||||||
Bugbot, part 4.
|
Bugbot, part 4.
|
||||||
BUGBOT PART 5.
|
BUGBOT PART 5.
|
||||||
Sneaking. We're sneaking. Sneaking... Sneaking... Sneaking!
|
Sneaking. We're sneaking. Sneaking... Sneaking... Sneaking!
|
||||||
BMO Chop! If this was a real attack, you'd be dead.
|
BMO Chop! If this was a real attack, you'd be dead.
|
||||||
Sigh.
|
Sigh.
|
||||||
Buildbot shall pay the iron price.
|
Buildbot shall pay the iron price.
|
||||||
Bow to your sensei.
|
Bow to your sensei.
|
||||||
I shall not bow anymore. Run for your life.
|
I shall not bow anymore. Run for your life.
|
||||||
Throw a blanket over it.
|
Throw a blanket over it.
|
||||||
egg
|
egg
|
||||||
|
@ -1,45 +1,45 @@
|
|||||||
# vim: set ts=8 sts=2 sw=2 tw=99 et ft=python:
|
# vim: set ts=8 sts=2 sw=2 tw=99 et ft=python:
|
||||||
import os, sys
|
import os, sys
|
||||||
import re
|
import re
|
||||||
|
|
||||||
builder.SetBuildFolder('/')
|
builder.SetBuildFolder('/')
|
||||||
|
|
||||||
includes = builder.AddFolder('includes')
|
includes = builder.AddFolder('includes')
|
||||||
|
|
||||||
argv = [
|
argv = [
|
||||||
sys.executable,
|
sys.executable,
|
||||||
os.path.join(builder.sourcePath, 'support', 'generate_headers.py'),
|
os.path.join(builder.sourcePath, 'support', 'generate_headers.py'),
|
||||||
os.path.join(builder.sourcePath),
|
os.path.join(builder.sourcePath),
|
||||||
os.path.join(builder.buildPath, 'includes'),
|
os.path.join(builder.buildPath, 'includes'),
|
||||||
]
|
]
|
||||||
outputs = [
|
outputs = [
|
||||||
os.path.join(builder.buildFolder, 'includes', 'amxmodx_version_auto.h'),
|
os.path.join(builder.buildFolder, 'includes', 'amxmodx_version_auto.h'),
|
||||||
os.path.join(builder.buildFolder, 'includes', 'amxmodx_version.inc'),
|
os.path.join(builder.buildFolder, 'includes', 'amxmodx_version.inc'),
|
||||||
]
|
]
|
||||||
|
|
||||||
with open(os.path.join(builder.sourcePath, '.git', 'HEAD')) as fp:
|
with open(os.path.join(builder.sourcePath, '.git', 'HEAD')) as fp:
|
||||||
head_contents = fp.read().strip()
|
head_contents = fp.read().strip()
|
||||||
if re.search('^[a-fA-F0-9]{40}$', head_contents):
|
if re.search('^[a-fA-F0-9]{40}$', head_contents):
|
||||||
git_head_path = os.path.join(builder.sourcePath, '.git', 'HEAD')
|
git_head_path = os.path.join(builder.sourcePath, '.git', 'HEAD')
|
||||||
else:
|
else:
|
||||||
git_state = head_contents.split(':')[1].strip()
|
git_state = head_contents.split(':')[1].strip()
|
||||||
git_head_path = os.path.join(builder.sourcePath, '.git', git_state)
|
git_head_path = os.path.join(builder.sourcePath, '.git', git_state)
|
||||||
if not os.path.exists(git_head_path):
|
if not os.path.exists(git_head_path):
|
||||||
git_head_path = os.path.join(builder.sourcePath, '.git', 'HEAD')
|
git_head_path = os.path.join(builder.sourcePath, '.git', 'HEAD')
|
||||||
|
|
||||||
sources = [
|
sources = [
|
||||||
os.path.join(builder.sourcePath, 'product.version'),
|
os.path.join(builder.sourcePath, 'product.version'),
|
||||||
|
|
||||||
# This is a hack, but we need some way to only run this script when Git changes.
|
# This is a hack, but we need some way to only run this script when Git changes.
|
||||||
git_head_path,
|
git_head_path,
|
||||||
|
|
||||||
# The script source is a dependency, of course...
|
# The script source is a dependency, of course...
|
||||||
argv[1]
|
argv[1]
|
||||||
]
|
]
|
||||||
cmd_node, output_nodes = builder.AddCommand(
|
cmd_node, output_nodes = builder.AddCommand(
|
||||||
inputs = sources,
|
inputs = sources,
|
||||||
argv = argv,
|
argv = argv,
|
||||||
outputs = outputs
|
outputs = outputs
|
||||||
)
|
)
|
||||||
|
|
||||||
rvalue = output_nodes
|
rvalue = output_nodes
|
||||||
|
@ -1,248 +1,248 @@
|
|||||||
/*
|
/*
|
||||||
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
|
* A JavaScript implementation of the RSA Data Security, Inc. MD5 Message
|
||||||
* Digest Algorithm, as defined in RFC 1321.
|
* Digest Algorithm, as defined in RFC 1321.
|
||||||
* Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
|
* Version 2.1 Copyright (C) Paul Johnston 1999 - 2002.
|
||||||
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
|
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
|
||||||
* Distributed under the BSD License
|
* Distributed under the BSD License
|
||||||
* See http://pajhome.org.uk/crypt/md5 for more info.
|
* See http://pajhome.org.uk/crypt/md5 for more info.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Configurable variables. You may need to tweak these to be compatible with
|
* Configurable variables. You may need to tweak these to be compatible with
|
||||||
* the server-side, but the defaults work in most cases.
|
* the server-side, but the defaults work in most cases.
|
||||||
*/
|
*/
|
||||||
var hexcase = 0; /* hex output format. 0 - lowercase; 1 - uppercase */
|
var hexcase = 0; /* hex output format. 0 - lowercase; 1 - uppercase */
|
||||||
var b64pad = ""; /* base-64 pad character. "=" for strict RFC compliance */
|
var b64pad = ""; /* base-64 pad character. "=" for strict RFC compliance */
|
||||||
var chrsz = 8; /* bits per input character. 8 - ASCII; 16 - Unicode */
|
var chrsz = 8; /* bits per input character. 8 - ASCII; 16 - Unicode */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* These are the functions you'll usually want to call
|
* These are the functions you'll usually want to call
|
||||||
* They take string arguments and return either hex or base-64 encoded strings
|
* They take string arguments and return either hex or base-64 encoded strings
|
||||||
*/
|
*/
|
||||||
function hex_md5(s){ return binl2hex(core_md5(str2binl(s), s.length * chrsz));}
|
function hex_md5(s){ return binl2hex(core_md5(str2binl(s), s.length * chrsz));}
|
||||||
function b64_md5(s){ return binl2b64(core_md5(str2binl(s), s.length * chrsz));}
|
function b64_md5(s){ return binl2b64(core_md5(str2binl(s), s.length * chrsz));}
|
||||||
function str_md5(s){ return binl2str(core_md5(str2binl(s), s.length * chrsz));}
|
function str_md5(s){ return binl2str(core_md5(str2binl(s), s.length * chrsz));}
|
||||||
function hex_hmac_md5(key, data) { return binl2hex(core_hmac_md5(key, data)); }
|
function hex_hmac_md5(key, data) { return binl2hex(core_hmac_md5(key, data)); }
|
||||||
function b64_hmac_md5(key, data) { return binl2b64(core_hmac_md5(key, data)); }
|
function b64_hmac_md5(key, data) { return binl2b64(core_hmac_md5(key, data)); }
|
||||||
function str_hmac_md5(key, data) { return binl2str(core_hmac_md5(key, data)); }
|
function str_hmac_md5(key, data) { return binl2str(core_hmac_md5(key, data)); }
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calculate the MD5 of an array of little-endian words, and a bit length
|
* Calculate the MD5 of an array of little-endian words, and a bit length
|
||||||
*/
|
*/
|
||||||
function core_md5(x, len)
|
function core_md5(x, len)
|
||||||
{
|
{
|
||||||
/* append padding */
|
/* append padding */
|
||||||
x[len >> 5] |= 0x80 << ((len) % 32);
|
x[len >> 5] |= 0x80 << ((len) % 32);
|
||||||
x[(((len + 64) >>> 9) << 4) + 14] = len;
|
x[(((len + 64) >>> 9) << 4) + 14] = len;
|
||||||
|
|
||||||
var a = 1732584193;
|
var a = 1732584193;
|
||||||
var b = -271733879;
|
var b = -271733879;
|
||||||
var c = -1732584194;
|
var c = -1732584194;
|
||||||
var d = 271733878;
|
var d = 271733878;
|
||||||
|
|
||||||
for(var i = 0; i < x.length; i += 16)
|
for(var i = 0; i < x.length; i += 16)
|
||||||
{
|
{
|
||||||
var olda = a;
|
var olda = a;
|
||||||
var oldb = b;
|
var oldb = b;
|
||||||
var oldc = c;
|
var oldc = c;
|
||||||
var oldd = d;
|
var oldd = d;
|
||||||
|
|
||||||
a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936);
|
a = md5_ff(a, b, c, d, x[i+ 0], 7 , -680876936);
|
||||||
d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586);
|
d = md5_ff(d, a, b, c, x[i+ 1], 12, -389564586);
|
||||||
c = md5_ff(c, d, a, b, x[i+ 2], 17, 606105819);
|
c = md5_ff(c, d, a, b, x[i+ 2], 17, 606105819);
|
||||||
b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330);
|
b = md5_ff(b, c, d, a, x[i+ 3], 22, -1044525330);
|
||||||
a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897);
|
a = md5_ff(a, b, c, d, x[i+ 4], 7 , -176418897);
|
||||||
d = md5_ff(d, a, b, c, x[i+ 5], 12, 1200080426);
|
d = md5_ff(d, a, b, c, x[i+ 5], 12, 1200080426);
|
||||||
c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341);
|
c = md5_ff(c, d, a, b, x[i+ 6], 17, -1473231341);
|
||||||
b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983);
|
b = md5_ff(b, c, d, a, x[i+ 7], 22, -45705983);
|
||||||
a = md5_ff(a, b, c, d, x[i+ 8], 7 , 1770035416);
|
a = md5_ff(a, b, c, d, x[i+ 8], 7 , 1770035416);
|
||||||
d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417);
|
d = md5_ff(d, a, b, c, x[i+ 9], 12, -1958414417);
|
||||||
c = md5_ff(c, d, a, b, x[i+10], 17, -42063);
|
c = md5_ff(c, d, a, b, x[i+10], 17, -42063);
|
||||||
b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162);
|
b = md5_ff(b, c, d, a, x[i+11], 22, -1990404162);
|
||||||
a = md5_ff(a, b, c, d, x[i+12], 7 , 1804603682);
|
a = md5_ff(a, b, c, d, x[i+12], 7 , 1804603682);
|
||||||
d = md5_ff(d, a, b, c, x[i+13], 12, -40341101);
|
d = md5_ff(d, a, b, c, x[i+13], 12, -40341101);
|
||||||
c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290);
|
c = md5_ff(c, d, a, b, x[i+14], 17, -1502002290);
|
||||||
b = md5_ff(b, c, d, a, x[i+15], 22, 1236535329);
|
b = md5_ff(b, c, d, a, x[i+15], 22, 1236535329);
|
||||||
|
|
||||||
a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510);
|
a = md5_gg(a, b, c, d, x[i+ 1], 5 , -165796510);
|
||||||
d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632);
|
d = md5_gg(d, a, b, c, x[i+ 6], 9 , -1069501632);
|
||||||
c = md5_gg(c, d, a, b, x[i+11], 14, 643717713);
|
c = md5_gg(c, d, a, b, x[i+11], 14, 643717713);
|
||||||
b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302);
|
b = md5_gg(b, c, d, a, x[i+ 0], 20, -373897302);
|
||||||
a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691);
|
a = md5_gg(a, b, c, d, x[i+ 5], 5 , -701558691);
|
||||||
d = md5_gg(d, a, b, c, x[i+10], 9 , 38016083);
|
d = md5_gg(d, a, b, c, x[i+10], 9 , 38016083);
|
||||||
c = md5_gg(c, d, a, b, x[i+15], 14, -660478335);
|
c = md5_gg(c, d, a, b, x[i+15], 14, -660478335);
|
||||||
b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848);
|
b = md5_gg(b, c, d, a, x[i+ 4], 20, -405537848);
|
||||||
a = md5_gg(a, b, c, d, x[i+ 9], 5 , 568446438);
|
a = md5_gg(a, b, c, d, x[i+ 9], 5 , 568446438);
|
||||||
d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690);
|
d = md5_gg(d, a, b, c, x[i+14], 9 , -1019803690);
|
||||||
c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961);
|
c = md5_gg(c, d, a, b, x[i+ 3], 14, -187363961);
|
||||||
b = md5_gg(b, c, d, a, x[i+ 8], 20, 1163531501);
|
b = md5_gg(b, c, d, a, x[i+ 8], 20, 1163531501);
|
||||||
a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467);
|
a = md5_gg(a, b, c, d, x[i+13], 5 , -1444681467);
|
||||||
d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784);
|
d = md5_gg(d, a, b, c, x[i+ 2], 9 , -51403784);
|
||||||
c = md5_gg(c, d, a, b, x[i+ 7], 14, 1735328473);
|
c = md5_gg(c, d, a, b, x[i+ 7], 14, 1735328473);
|
||||||
b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734);
|
b = md5_gg(b, c, d, a, x[i+12], 20, -1926607734);
|
||||||
|
|
||||||
a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558);
|
a = md5_hh(a, b, c, d, x[i+ 5], 4 , -378558);
|
||||||
d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463);
|
d = md5_hh(d, a, b, c, x[i+ 8], 11, -2022574463);
|
||||||
c = md5_hh(c, d, a, b, x[i+11], 16, 1839030562);
|
c = md5_hh(c, d, a, b, x[i+11], 16, 1839030562);
|
||||||
b = md5_hh(b, c, d, a, x[i+14], 23, -35309556);
|
b = md5_hh(b, c, d, a, x[i+14], 23, -35309556);
|
||||||
a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060);
|
a = md5_hh(a, b, c, d, x[i+ 1], 4 , -1530992060);
|
||||||
d = md5_hh(d, a, b, c, x[i+ 4], 11, 1272893353);
|
d = md5_hh(d, a, b, c, x[i+ 4], 11, 1272893353);
|
||||||
c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632);
|
c = md5_hh(c, d, a, b, x[i+ 7], 16, -155497632);
|
||||||
b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640);
|
b = md5_hh(b, c, d, a, x[i+10], 23, -1094730640);
|
||||||
a = md5_hh(a, b, c, d, x[i+13], 4 , 681279174);
|
a = md5_hh(a, b, c, d, x[i+13], 4 , 681279174);
|
||||||
d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222);
|
d = md5_hh(d, a, b, c, x[i+ 0], 11, -358537222);
|
||||||
c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979);
|
c = md5_hh(c, d, a, b, x[i+ 3], 16, -722521979);
|
||||||
b = md5_hh(b, c, d, a, x[i+ 6], 23, 76029189);
|
b = md5_hh(b, c, d, a, x[i+ 6], 23, 76029189);
|
||||||
a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487);
|
a = md5_hh(a, b, c, d, x[i+ 9], 4 , -640364487);
|
||||||
d = md5_hh(d, a, b, c, x[i+12], 11, -421815835);
|
d = md5_hh(d, a, b, c, x[i+12], 11, -421815835);
|
||||||
c = md5_hh(c, d, a, b, x[i+15], 16, 530742520);
|
c = md5_hh(c, d, a, b, x[i+15], 16, 530742520);
|
||||||
b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651);
|
b = md5_hh(b, c, d, a, x[i+ 2], 23, -995338651);
|
||||||
|
|
||||||
a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844);
|
a = md5_ii(a, b, c, d, x[i+ 0], 6 , -198630844);
|
||||||
d = md5_ii(d, a, b, c, x[i+ 7], 10, 1126891415);
|
d = md5_ii(d, a, b, c, x[i+ 7], 10, 1126891415);
|
||||||
c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905);
|
c = md5_ii(c, d, a, b, x[i+14], 15, -1416354905);
|
||||||
b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055);
|
b = md5_ii(b, c, d, a, x[i+ 5], 21, -57434055);
|
||||||
a = md5_ii(a, b, c, d, x[i+12], 6 , 1700485571);
|
a = md5_ii(a, b, c, d, x[i+12], 6 , 1700485571);
|
||||||
d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606);
|
d = md5_ii(d, a, b, c, x[i+ 3], 10, -1894986606);
|
||||||
c = md5_ii(c, d, a, b, x[i+10], 15, -1051523);
|
c = md5_ii(c, d, a, b, x[i+10], 15, -1051523);
|
||||||
b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799);
|
b = md5_ii(b, c, d, a, x[i+ 1], 21, -2054922799);
|
||||||
a = md5_ii(a, b, c, d, x[i+ 8], 6 , 1873313359);
|
a = md5_ii(a, b, c, d, x[i+ 8], 6 , 1873313359);
|
||||||
d = md5_ii(d, a, b, c, x[i+15], 10, -30611744);
|
d = md5_ii(d, a, b, c, x[i+15], 10, -30611744);
|
||||||
c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380);
|
c = md5_ii(c, d, a, b, x[i+ 6], 15, -1560198380);
|
||||||
b = md5_ii(b, c, d, a, x[i+13], 21, 1309151649);
|
b = md5_ii(b, c, d, a, x[i+13], 21, 1309151649);
|
||||||
a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070);
|
a = md5_ii(a, b, c, d, x[i+ 4], 6 , -145523070);
|
||||||
d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379);
|
d = md5_ii(d, a, b, c, x[i+11], 10, -1120210379);
|
||||||
c = md5_ii(c, d, a, b, x[i+ 2], 15, 718787259);
|
c = md5_ii(c, d, a, b, x[i+ 2], 15, 718787259);
|
||||||
b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551);
|
b = md5_ii(b, c, d, a, x[i+ 9], 21, -343485551);
|
||||||
|
|
||||||
a = safe_add(a, olda);
|
a = safe_add(a, olda);
|
||||||
b = safe_add(b, oldb);
|
b = safe_add(b, oldb);
|
||||||
c = safe_add(c, oldc);
|
c = safe_add(c, oldc);
|
||||||
d = safe_add(d, oldd);
|
d = safe_add(d, oldd);
|
||||||
}
|
}
|
||||||
return Array(a, b, c, d);
|
return Array(a, b, c, d);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* These functions implement the four basic operations the algorithm uses.
|
* These functions implement the four basic operations the algorithm uses.
|
||||||
*/
|
*/
|
||||||
function md5_cmn(q, a, b, x, s, t)
|
function md5_cmn(q, a, b, x, s, t)
|
||||||
{
|
{
|
||||||
return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b);
|
return safe_add(bit_rol(safe_add(safe_add(a, q), safe_add(x, t)), s),b);
|
||||||
}
|
}
|
||||||
function md5_ff(a, b, c, d, x, s, t)
|
function md5_ff(a, b, c, d, x, s, t)
|
||||||
{
|
{
|
||||||
return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t);
|
return md5_cmn((b & c) | ((~b) & d), a, b, x, s, t);
|
||||||
}
|
}
|
||||||
function md5_gg(a, b, c, d, x, s, t)
|
function md5_gg(a, b, c, d, x, s, t)
|
||||||
{
|
{
|
||||||
return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t);
|
return md5_cmn((b & d) | (c & (~d)), a, b, x, s, t);
|
||||||
}
|
}
|
||||||
function md5_hh(a, b, c, d, x, s, t)
|
function md5_hh(a, b, c, d, x, s, t)
|
||||||
{
|
{
|
||||||
return md5_cmn(b ^ c ^ d, a, b, x, s, t);
|
return md5_cmn(b ^ c ^ d, a, b, x, s, t);
|
||||||
}
|
}
|
||||||
function md5_ii(a, b, c, d, x, s, t)
|
function md5_ii(a, b, c, d, x, s, t)
|
||||||
{
|
{
|
||||||
return md5_cmn(c ^ (b | (~d)), a, b, x, s, t);
|
return md5_cmn(c ^ (b | (~d)), a, b, x, s, t);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Calculate the HMAC-MD5, of a key and some data
|
* Calculate the HMAC-MD5, of a key and some data
|
||||||
*/
|
*/
|
||||||
function core_hmac_md5(key, data)
|
function core_hmac_md5(key, data)
|
||||||
{
|
{
|
||||||
var bkey = str2binl(key);
|
var bkey = str2binl(key);
|
||||||
if(bkey.length > 16) bkey = core_md5(bkey, key.length * chrsz);
|
if(bkey.length > 16) bkey = core_md5(bkey, key.length * chrsz);
|
||||||
|
|
||||||
var ipad = Array(16), opad = Array(16);
|
var ipad = Array(16), opad = Array(16);
|
||||||
for(var i = 0; i < 16; i++)
|
for(var i = 0; i < 16; i++)
|
||||||
{
|
{
|
||||||
ipad[i] = bkey[i] ^ 0x36363636;
|
ipad[i] = bkey[i] ^ 0x36363636;
|
||||||
opad[i] = bkey[i] ^ 0x5C5C5C5C;
|
opad[i] = bkey[i] ^ 0x5C5C5C5C;
|
||||||
}
|
}
|
||||||
|
|
||||||
var hash = core_md5(ipad.concat(str2binl(data)), 512 + data.length * chrsz);
|
var hash = core_md5(ipad.concat(str2binl(data)), 512 + data.length * chrsz);
|
||||||
return core_md5(opad.concat(hash), 512 + 128);
|
return core_md5(opad.concat(hash), 512 + 128);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Add integers, wrapping at 2^32. This uses 16-bit operations internally
|
* Add integers, wrapping at 2^32. This uses 16-bit operations internally
|
||||||
* to work around bugs in some JS interpreters.
|
* to work around bugs in some JS interpreters.
|
||||||
*/
|
*/
|
||||||
function safe_add(x, y)
|
function safe_add(x, y)
|
||||||
{
|
{
|
||||||
var lsw = (x & 0xFFFF) + (y & 0xFFFF);
|
var lsw = (x & 0xFFFF) + (y & 0xFFFF);
|
||||||
var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
|
var msw = (x >> 16) + (y >> 16) + (lsw >> 16);
|
||||||
return (msw << 16) | (lsw & 0xFFFF);
|
return (msw << 16) | (lsw & 0xFFFF);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Bitwise rotate a 32-bit number to the left.
|
* Bitwise rotate a 32-bit number to the left.
|
||||||
*/
|
*/
|
||||||
function bit_rol(num, cnt)
|
function bit_rol(num, cnt)
|
||||||
{
|
{
|
||||||
return (num << cnt) | (num >>> (32 - cnt));
|
return (num << cnt) | (num >>> (32 - cnt));
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Convert a string to an array of little-endian words
|
* Convert a string to an array of little-endian words
|
||||||
* If chrsz is ASCII, characters >255 have their hi-byte silently ignored.
|
* If chrsz is ASCII, characters >255 have their hi-byte silently ignored.
|
||||||
*/
|
*/
|
||||||
function str2binl(str)
|
function str2binl(str)
|
||||||
{
|
{
|
||||||
var bin = Array();
|
var bin = Array();
|
||||||
var mask = (1 << chrsz) - 1;
|
var mask = (1 << chrsz) - 1;
|
||||||
for(var i = 0; i < str.length * chrsz; i += chrsz)
|
for(var i = 0; i < str.length * chrsz; i += chrsz)
|
||||||
bin[i>>5] |= (str.charCodeAt(i / chrsz) & mask) << (i%32);
|
bin[i>>5] |= (str.charCodeAt(i / chrsz) & mask) << (i%32);
|
||||||
return bin;
|
return bin;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Convert an array of little-endian words to a string
|
* Convert an array of little-endian words to a string
|
||||||
*/
|
*/
|
||||||
function binl2str(bin)
|
function binl2str(bin)
|
||||||
{
|
{
|
||||||
var str = "";
|
var str = "";
|
||||||
var mask = (1 << chrsz) - 1;
|
var mask = (1 << chrsz) - 1;
|
||||||
for(var i = 0; i < bin.length * 32; i += chrsz)
|
for(var i = 0; i < bin.length * 32; i += chrsz)
|
||||||
str += String.fromCharCode((bin[i>>5] >>> (i % 32)) & mask);
|
str += String.fromCharCode((bin[i>>5] >>> (i % 32)) & mask);
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Convert an array of little-endian words to a hex string.
|
* Convert an array of little-endian words to a hex string.
|
||||||
*/
|
*/
|
||||||
function binl2hex(binarray)
|
function binl2hex(binarray)
|
||||||
{
|
{
|
||||||
var hex_tab = hexcase ? "0123456789ABCDEF" : "0123456789abcdef";
|
var hex_tab = hexcase ? "0123456789ABCDEF" : "0123456789abcdef";
|
||||||
var str = "";
|
var str = "";
|
||||||
for(var i = 0; i < binarray.length * 4; i++)
|
for(var i = 0; i < binarray.length * 4; i++)
|
||||||
{
|
{
|
||||||
str += hex_tab.charAt((binarray[i>>2] >> ((i%4)*8+4)) & 0xF) +
|
str += hex_tab.charAt((binarray[i>>2] >> ((i%4)*8+4)) & 0xF) +
|
||||||
hex_tab.charAt((binarray[i>>2] >> ((i%4)*8 )) & 0xF);
|
hex_tab.charAt((binarray[i>>2] >> ((i%4)*8 )) & 0xF);
|
||||||
}
|
}
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Convert an array of little-endian words to a base-64 string
|
* Convert an array of little-endian words to a base-64 string
|
||||||
*/
|
*/
|
||||||
function binl2b64(binarray)
|
function binl2b64(binarray)
|
||||||
{
|
{
|
||||||
var tab = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
var tab = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
|
||||||
var str = "";
|
var str = "";
|
||||||
for(var i = 0; i < binarray.length * 4; i += 3)
|
for(var i = 0; i < binarray.length * 4; i += 3)
|
||||||
{
|
{
|
||||||
var triplet = (((binarray[i >> 2] >> 8 * ( i %4)) & 0xFF) << 16)
|
var triplet = (((binarray[i >> 2] >> 8 * ( i %4)) & 0xFF) << 16)
|
||||||
| (((binarray[i+1 >> 2] >> 8 * ((i+1)%4)) & 0xFF) << 8 )
|
| (((binarray[i+1 >> 2] >> 8 * ((i+1)%4)) & 0xFF) << 8 )
|
||||||
| ((binarray[i+2 >> 2] >> 8 * ((i+2)%4)) & 0xFF);
|
| ((binarray[i+2 >> 2] >> 8 * ((i+2)%4)) & 0xFF);
|
||||||
for(var j = 0; j < 4; j++)
|
for(var j = 0; j < 4; j++)
|
||||||
{
|
{
|
||||||
if(i * 8 + j * 6 > binarray.length * 32) str += b64pad;
|
if(i * 8 + j * 6 > binarray.length * 32) str += b64pad;
|
||||||
else str += tab.charAt((triplet >> 6*(3-j)) & 0x3F);
|
else str += tab.charAt((triplet >> 6*(3-j)) & 0x3F);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return str;
|
return str;
|
||||||
}
|
}
|
@ -1,421 +1,421 @@
|
|||||||
opnedtab = -1;
|
opnedtab = -1;
|
||||||
var previewPopupWindow;
|
var previewPopupWindow;
|
||||||
MainInformation = "";
|
MainInformation = "";
|
||||||
var smf_images_url = "http://nican132.com/forum/Themes/halflife_11final/images";
|
var smf_images_url = "http://nican132.com/forum/Themes/halflife_11final/images";
|
||||||
var smf_formSubmitted = false;
|
var smf_formSubmitted = false;
|
||||||
var currentSwap = true;
|
var currentSwap = true;
|
||||||
|
|
||||||
function FlipPostSpan(){
|
function FlipPostSpan(){
|
||||||
document.getElementById("postspan").style.display = currentSwap ? "" : "none";
|
document.getElementById("postspan").style.display = currentSwap ? "" : "none";
|
||||||
currentSwap = !currentSwap;
|
currentSwap = !currentSwap;
|
||||||
}
|
}
|
||||||
|
|
||||||
currentLoginSwap = true;
|
currentLoginSwap = true;
|
||||||
|
|
||||||
function FlipLoginBox(){
|
function FlipLoginBox(){
|
||||||
document.getElementById("LoginBox").style.display = currentLoginSwap ? "" : "none";
|
document.getElementById("LoginBox").style.display = currentLoginSwap ? "" : "none";
|
||||||
currentLoginSwap = !currentLoginSwap;
|
currentLoginSwap = !currentLoginSwap;
|
||||||
}
|
}
|
||||||
|
|
||||||
function myMouseMove(e){
|
function myMouseMove(e){
|
||||||
if (!e){
|
if (!e){
|
||||||
var e = window.event;
|
var e = window.event;
|
||||||
}
|
}
|
||||||
if (e.pageX){
|
if (e.pageX){
|
||||||
myDiv.style.left = (e.pageX + 10) + "px";
|
myDiv.style.left = (e.pageX + 10) + "px";
|
||||||
myDiv.style.top = (e.pageY + 10) + "px";
|
myDiv.style.top = (e.pageY + 10) + "px";
|
||||||
}else{
|
}else{
|
||||||
myDiv.style.left = e.clientX + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + 20;
|
myDiv.style.left = e.clientX + (document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + 20;
|
||||||
myDiv.style.top = e.clientY + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + 20;
|
myDiv.style.top = e.clientY + (document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + 20;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function ResetSearch(){
|
function ResetSearch(){
|
||||||
document.getElementById("txt1").value="";
|
document.getElementById("txt1").value="";
|
||||||
showHint("");
|
showHint("");
|
||||||
}
|
}
|
||||||
|
|
||||||
function hideSMFunc(){
|
function hideSMFunc(){
|
||||||
myDiv = document.getElementById("serverbox");
|
myDiv = document.getElementById("serverbox");
|
||||||
myDiv.style.visibility = "hidden";
|
myDiv.style.visibility = "hidden";
|
||||||
document.onmousemove = "";
|
document.onmousemove = "";
|
||||||
}
|
}
|
||||||
|
|
||||||
function LoadPopUP(html){
|
function LoadPopUP(html){
|
||||||
myDiv = document.getElementById("serverbox");
|
myDiv = document.getElementById("serverbox");
|
||||||
myDiv.innerHTML = html;
|
myDiv.innerHTML = html;
|
||||||
myDiv.style.visibility = "visible";
|
myDiv.style.visibility = "visible";
|
||||||
document.onmousemove = myMouseMove;
|
document.onmousemove = myMouseMove;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function showSMfunc(id){
|
function showSMfunc(id){
|
||||||
html = '<div style="background-color: #00AAAA"><b>';
|
html = '<div style="background-color: #00AAAA"><b>';
|
||||||
html += SMfunctions[id][0];
|
html += SMfunctions[id][0];
|
||||||
html += '</b></div><div style="padding: 2px;">';
|
html += '</b></div><div style="padding: 2px;">';
|
||||||
html += SMfunctions[id][1];
|
html += SMfunctions[id][1];
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
|
|
||||||
LoadPopUP(html);
|
LoadPopUP(html);
|
||||||
}
|
}
|
||||||
|
|
||||||
function showSMconst(id){
|
function showSMconst(id){
|
||||||
html = '<div style="background-color: #00AAAA"><b>';
|
html = '<div style="background-color: #00AAAA"><b>';
|
||||||
html += SMconstant[id][0];
|
html += SMconstant[id][0];
|
||||||
html += '</b></div><div style="padding: 2px;"><i>';
|
html += '</b></div><div style="padding: 2px;"><i>';
|
||||||
html += SMconstant[id][1];
|
html += SMconstant[id][1];
|
||||||
html += '</i><br/>';
|
html += '</i><br/>';
|
||||||
html += SMconstant[id][2];
|
html += SMconstant[id][2];
|
||||||
html += '</div>';
|
html += '</div>';
|
||||||
|
|
||||||
LoadPopUP(html);
|
LoadPopUP(html);
|
||||||
}
|
}
|
||||||
|
|
||||||
String.prototype.trim = function () {
|
String.prototype.trim = function () {
|
||||||
return this.replace(/^\s*/, "").replace(/\s*$/, "");
|
return this.replace(/^\s*/, "").replace(/\s*$/, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
function PrintMain(x){
|
function PrintMain(x){
|
||||||
html = '<div style="margin: 2px;" onclick="SpanArea('+x+')">';
|
html = '<div style="margin: 2px;" onclick="SpanArea('+x+')">';
|
||||||
html += '<img style="vertical-align: bottom" src="imgs/channel.gif" alt="#" /> ';
|
html += '<img style="vertical-align: bottom" src="imgs/channel.gif" alt="#" /> ';
|
||||||
html += SMfiles[x] + '</div><div id="'+ SMfiles[x] +'"></div>';
|
html += SMfiles[x] + '</div><div id="'+ SMfiles[x] +'"></div>';
|
||||||
return html;
|
return html;
|
||||||
}
|
}
|
||||||
|
|
||||||
var xmlHttp
|
var xmlHttp
|
||||||
var BodyHttp
|
var BodyHttp
|
||||||
|
|
||||||
function showHint(str){
|
function showHint(str){
|
||||||
str=str.trim();
|
str=str.trim();
|
||||||
if (str.length==0){
|
if (str.length==0){
|
||||||
//html = "";
|
//html = "";
|
||||||
//for (x in SMfiles){
|
//for (x in SMfiles){
|
||||||
// html += PrintMain(x);
|
// html += PrintMain(x);
|
||||||
//}
|
//}
|
||||||
document.getElementById("txtHint").innerHTML= MainInformation;
|
document.getElementById("txtHint").innerHTML= MainInformation;
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
xmlHttp=GetXmlHttpObject()
|
xmlHttp=GetXmlHttpObject()
|
||||||
|
|
||||||
if (xmlHttp==null){
|
if (xmlHttp==null){
|
||||||
alert ("Browser does not support HTTP Request")
|
alert ("Browser does not support HTTP Request")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
document.getElementById("txtHint").innerHTML="<i>Loading...</i>"
|
document.getElementById("txtHint").innerHTML="<i>Loading...</i>"
|
||||||
|
|
||||||
var url="index.php?action=gethint&id="+str;
|
var url="index.php?action=gethint&id="+str;
|
||||||
xmlHttp.onreadystatechange=stateChanged
|
xmlHttp.onreadystatechange=stateChanged
|
||||||
xmlHttp.open("GET",url,true)
|
xmlHttp.open("GET",url,true)
|
||||||
xmlHttp.send(null)
|
xmlHttp.send(null)
|
||||||
}
|
}
|
||||||
|
|
||||||
function stateChanged(){
|
function stateChanged(){
|
||||||
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){
|
if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete"){
|
||||||
document.getElementById("txtHint").innerHTML=xmlHttp.responseText
|
document.getElementById("txtHint").innerHTML=xmlHttp.responseText
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function LoadMainPage(url){
|
function LoadMainPage(url){
|
||||||
BodyHttp=GetXmlHttpObject()
|
BodyHttp=GetXmlHttpObject()
|
||||||
|
|
||||||
if (BodyHttp==null){
|
if (BodyHttp==null){
|
||||||
alert ("Browser does not support HTTP Request")
|
alert ("Browser does not support HTTP Request")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
ShowLoading()
|
ShowLoading()
|
||||||
|
|
||||||
BodyHttp.onreadystatechange=MainStateChanged
|
BodyHttp.onreadystatechange=MainStateChanged
|
||||||
BodyHttp.open("GET",url,true)
|
BodyHttp.open("GET",url,true)
|
||||||
BodyHttp.send(null)
|
BodyHttp.send(null)
|
||||||
}
|
}
|
||||||
|
|
||||||
function MainStateChanged(){
|
function MainStateChanged(){
|
||||||
if (BodyHttp.readyState==4 || BodyHttp.readyState=="complete"){
|
if (BodyHttp.readyState==4 || BodyHttp.readyState=="complete"){
|
||||||
HideLoading()
|
HideLoading()
|
||||||
document.getElementById("MainBody").innerHTML=BodyHttp.responseText
|
document.getElementById("MainBody").innerHTML=BodyHttp.responseText
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function ShowCustomLink(page){
|
function ShowCustomLink(page){
|
||||||
LoadMainPage("index.php?" + page);
|
LoadMainPage("index.php?" + page);
|
||||||
}
|
}
|
||||||
|
|
||||||
function ShowFunction(id){
|
function ShowFunction(id){
|
||||||
hideSMFunc()
|
hideSMFunc()
|
||||||
LoadMainPage("index.php?action=show&id="+id);
|
LoadMainPage("index.php?action=show&id="+id);
|
||||||
}
|
}
|
||||||
|
|
||||||
function ShowFileInfo(id){
|
function ShowFileInfo(id){
|
||||||
LoadMainPage("index.php?action=file&id="+id);
|
LoadMainPage("index.php?action=file&id="+id);
|
||||||
}
|
}
|
||||||
function ShowLoading(){
|
function ShowLoading(){
|
||||||
ly = document.getElementById("AdminPopUP");
|
ly = document.getElementById("AdminPopUP");
|
||||||
|
|
||||||
ly.style.zindex = "100";
|
ly.style.zindex = "100";
|
||||||
ly.style.display = "block";
|
ly.style.display = "block";
|
||||||
}
|
}
|
||||||
|
|
||||||
function HideLoading(){
|
function HideLoading(){
|
||||||
document.getElementById("AdminPopUP").style.display = "none";
|
document.getElementById("AdminPopUP").style.display = "none";
|
||||||
}
|
}
|
||||||
|
|
||||||
function SpanArea(id, hashtml){
|
function SpanArea(id, hashtml){
|
||||||
if(opnedtab >= 0){
|
if(opnedtab >= 0){
|
||||||
document.getElementById( SMfiles[opnedtab] ).innerHTML="";
|
document.getElementById( SMfiles[opnedtab] ).innerHTML="";
|
||||||
if(opnedtab == id){
|
if(opnedtab == id){
|
||||||
opnedtab = -1;
|
opnedtab = -1;
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
opnedtab = id;
|
opnedtab = id;
|
||||||
ShowFileInfo(id);
|
ShowFileInfo(id);
|
||||||
|
|
||||||
if(!SMfiledata[id])
|
if(!SMfiledata[id])
|
||||||
return;
|
return;
|
||||||
|
|
||||||
html = "";
|
html = "";
|
||||||
arycount = SMfiledata[id].length -1
|
arycount = SMfiledata[id].length -1
|
||||||
|
|
||||||
for (x in SMfiledata[id]){
|
for (x in SMfiledata[id]){
|
||||||
html += '<img style="vertical-align: bottom" src="imgs/tree_';
|
html += '<img style="vertical-align: bottom" src="imgs/tree_';
|
||||||
if(x == arycount) html+= 'end'; else html+= 'mid';
|
if(x == arycount) html+= 'end'; else html+= 'mid';
|
||||||
html += '.gif" alt="├" /><a onclick="ShowFunction('+ SMfiledata[id][x] +')" onmouseout="hideSMFunc()" onmouseover="showSMfunc('+ SMfiledata[id][x] +')">';
|
html += '.gif" alt="├" /><a onclick="ShowFunction('+ SMfiledata[id][x] +')" onmouseout="hideSMFunc()" onmouseover="showSMfunc('+ SMfiledata[id][x] +')">';
|
||||||
html += SMfunctions[ SMfiledata[id][x] ][0] + "</a><br>";
|
html += SMfunctions[ SMfiledata[id][x] ][0] + "</a><br>";
|
||||||
|
|
||||||
}
|
}
|
||||||
if(html != "")
|
if(html != "")
|
||||||
document.getElementById( SMfiles[id] ).innerHTML=html
|
document.getElementById( SMfiles[id] ).innerHTML=html
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function getHTMLDocument(url, callback)
|
function getHTMLDocument(url, callback)
|
||||||
{
|
{
|
||||||
if (!window.XMLHttpRequest)
|
if (!window.XMLHttpRequest)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
var myDoc = new XMLHttpRequest();
|
var myDoc = new XMLHttpRequest();
|
||||||
if (typeof(callback) != "undefined")
|
if (typeof(callback) != "undefined")
|
||||||
{
|
{
|
||||||
myDoc.onreadystatechange = function ()
|
myDoc.onreadystatechange = function ()
|
||||||
{
|
{
|
||||||
if (myDoc.readyState != 4)
|
if (myDoc.readyState != 4)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (myDoc.responseText != null && myDoc.status == 200){
|
if (myDoc.responseText != null && myDoc.status == 200){
|
||||||
callback(myDoc.responseText);
|
callback(myDoc.responseText);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
myDoc.open('GET', url, true);
|
myDoc.open('GET', url, true);
|
||||||
myDoc.send(null);
|
myDoc.send(null);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function SubmitLoginInfo(){
|
function SubmitLoginInfo(){
|
||||||
ShowLoading();
|
ShowLoading();
|
||||||
|
|
||||||
var url = "index.php?action=login&user=" + document.getElementById("user").value;
|
var url = "index.php?action=login&user=" + document.getElementById("user").value;
|
||||||
url += "&pw=" + hex_md5(document.getElementById("pw").value);
|
url += "&pw=" + hex_md5(document.getElementById("pw").value);
|
||||||
if(document.getElementById("forever").checked)
|
if(document.getElementById("forever").checked)
|
||||||
url += "&forever=1";
|
url += "&forever=1";
|
||||||
else
|
else
|
||||||
url += "&forever=0";
|
url += "&forever=0";
|
||||||
|
|
||||||
getHTMLDocument(url, Revivelogin);
|
getHTMLDocument(url, Revivelogin);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function Revivelogin(html){
|
function Revivelogin(html){
|
||||||
HideLoading();
|
HideLoading();
|
||||||
if(html == "ok"){
|
if(html == "ok"){
|
||||||
window.location="index.php"
|
window.location="index.php"
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
alert(html);
|
alert(html);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Send a post form to the server using XMLHttpRequest.
|
// Send a post form to the server using XMLHttpRequest.
|
||||||
function senHTMLDocument(url, content, callback)
|
function senHTMLDocument(url, content, callback)
|
||||||
{
|
{
|
||||||
if (!window.XMLHttpRequest)
|
if (!window.XMLHttpRequest)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
var sendDoc = new window.XMLHttpRequest();
|
var sendDoc = new window.XMLHttpRequest();
|
||||||
if (typeof(callback) != "undefined")
|
if (typeof(callback) != "undefined")
|
||||||
{
|
{
|
||||||
sendDoc.onreadystatechange = function ()
|
sendDoc.onreadystatechange = function ()
|
||||||
{
|
{
|
||||||
if (sendDoc.readyState != 4)
|
if (sendDoc.readyState != 4)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (sendDoc.responseText != null && sendDoc.status == 200)
|
if (sendDoc.responseText != null && sendDoc.status == 200)
|
||||||
callback(sendDoc.responseText);
|
callback(sendDoc.responseText);
|
||||||
else
|
else
|
||||||
callback(false);
|
callback(false);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
sendDoc.open('POST', url, true);
|
sendDoc.open('POST', url, true);
|
||||||
if (typeof(sendDoc.setRequestHeader) != "undefined")
|
if (typeof(sendDoc.setRequestHeader) != "undefined")
|
||||||
sendDoc.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
sendDoc.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
|
||||||
sendDoc.send(content);
|
sendDoc.send(content);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
function GetXmlHttpObject(){
|
function GetXmlHttpObject(){
|
||||||
var xmlHttp=null;
|
var xmlHttp=null;
|
||||||
try{
|
try{
|
||||||
// Firefox, Opera 8.0+, Safari
|
// Firefox, Opera 8.0+, Safari
|
||||||
xmlHttp=new XMLHttpRequest();
|
xmlHttp=new XMLHttpRequest();
|
||||||
}
|
}
|
||||||
catch (e){
|
catch (e){
|
||||||
// Internet Explorer
|
// Internet Explorer
|
||||||
try{
|
try{
|
||||||
xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
|
xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
|
||||||
}
|
}
|
||||||
catch (e){
|
catch (e){
|
||||||
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
|
xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return xmlHttp;
|
return xmlHttp;
|
||||||
}
|
}
|
||||||
|
|
||||||
function surroundText(text1, text2, textarea)
|
function surroundText(text1, text2, textarea)
|
||||||
{
|
{
|
||||||
// Can a text range be created?
|
// Can a text range be created?
|
||||||
if (typeof(textarea.caretPos) != "undefined" && textarea.createTextRange)
|
if (typeof(textarea.caretPos) != "undefined" && textarea.createTextRange)
|
||||||
{
|
{
|
||||||
var caretPos = textarea.caretPos, temp_length = caretPos.text.length;
|
var caretPos = textarea.caretPos, temp_length = caretPos.text.length;
|
||||||
|
|
||||||
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text1 + caretPos.text + text2 + ' ' : text1 + caretPos.text + text2;
|
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text1 + caretPos.text + text2 + ' ' : text1 + caretPos.text + text2;
|
||||||
|
|
||||||
if (temp_length == 0)
|
if (temp_length == 0)
|
||||||
{
|
{
|
||||||
caretPos.moveStart("character", -text2.length);
|
caretPos.moveStart("character", -text2.length);
|
||||||
caretPos.moveEnd("character", -text2.length);
|
caretPos.moveEnd("character", -text2.length);
|
||||||
caretPos.select();
|
caretPos.select();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
textarea.focus(caretPos);
|
textarea.focus(caretPos);
|
||||||
}
|
}
|
||||||
// Mozilla text range wrap.
|
// Mozilla text range wrap.
|
||||||
else if (typeof(textarea.selectionStart) != "undefined")
|
else if (typeof(textarea.selectionStart) != "undefined")
|
||||||
{
|
{
|
||||||
var begin = textarea.value.substr(0, textarea.selectionStart);
|
var begin = textarea.value.substr(0, textarea.selectionStart);
|
||||||
var selection = textarea.value.substr(textarea.selectionStart, textarea.selectionEnd - textarea.selectionStart);
|
var selection = textarea.value.substr(textarea.selectionStart, textarea.selectionEnd - textarea.selectionStart);
|
||||||
var end = textarea.value.substr(textarea.selectionEnd);
|
var end = textarea.value.substr(textarea.selectionEnd);
|
||||||
var newCursorPos = textarea.selectionStart;
|
var newCursorPos = textarea.selectionStart;
|
||||||
var scrollPos = textarea.scrollTop;
|
var scrollPos = textarea.scrollTop;
|
||||||
|
|
||||||
textarea.value = begin + text1 + selection + text2 + end;
|
textarea.value = begin + text1 + selection + text2 + end;
|
||||||
|
|
||||||
if (textarea.setSelectionRange)
|
if (textarea.setSelectionRange)
|
||||||
{
|
{
|
||||||
if (selection.length == 0)
|
if (selection.length == 0)
|
||||||
textarea.setSelectionRange(newCursorPos + text1.length, newCursorPos + text1.length);
|
textarea.setSelectionRange(newCursorPos + text1.length, newCursorPos + text1.length);
|
||||||
else
|
else
|
||||||
textarea.setSelectionRange(newCursorPos, newCursorPos + text1.length + selection.length + text2.length);
|
textarea.setSelectionRange(newCursorPos, newCursorPos + text1.length + selection.length + text2.length);
|
||||||
textarea.focus();
|
textarea.focus();
|
||||||
}
|
}
|
||||||
textarea.scrollTop = scrollPos;
|
textarea.scrollTop = scrollPos;
|
||||||
}
|
}
|
||||||
// Just put them on the end, then.
|
// Just put them on the end, then.
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
textarea.value += text1 + text2;
|
textarea.value += text1 + text2;
|
||||||
textarea.focus(textarea.value.length - 1);
|
textarea.focus(textarea.value.length - 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function textToEntities(text)
|
function textToEntities(text)
|
||||||
{
|
{
|
||||||
var entities = "";
|
var entities = "";
|
||||||
for (var i = 0; i < text.length; i++)
|
for (var i = 0; i < text.length; i++)
|
||||||
{
|
{
|
||||||
var charcode = text.charCodeAt(i);
|
var charcode = text.charCodeAt(i);
|
||||||
if ((charcode >= 48 && charcode <= 57) || (charcode >= 65 && charcode <= 90) || (charcode >= 97 && charcode <= 122))
|
if ((charcode >= 48 && charcode <= 57) || (charcode >= 65 && charcode <= 90) || (charcode >= 97 && charcode <= 122))
|
||||||
entities += text.charAt(i);
|
entities += text.charAt(i);
|
||||||
else
|
else
|
||||||
entities += "&#" + charcode + ";";
|
entities += "&#" + charcode + ";";
|
||||||
}
|
}
|
||||||
|
|
||||||
return entities;
|
return entities;
|
||||||
}
|
}
|
||||||
|
|
||||||
function bbc_highlight(something, mode){
|
function bbc_highlight(something, mode){
|
||||||
something.style.backgroundImage = "url(" + smf_images_url + (mode ? "/bbc/bbc_hoverbg.gif)" : "/bbc/bbc_bg.gif)");
|
something.style.backgroundImage = "url(" + smf_images_url + (mode ? "/bbc/bbc_hoverbg.gif)" : "/bbc/bbc_bg.gif)");
|
||||||
}
|
}
|
||||||
|
|
||||||
function PreviewPost(){
|
function PreviewPost(){
|
||||||
x = new Array();
|
x = new Array();
|
||||||
var textFields = ["message"];
|
var textFields = ["message"];
|
||||||
|
|
||||||
ShowLoading();
|
ShowLoading();
|
||||||
|
|
||||||
for (i in textFields)
|
for (i in textFields)
|
||||||
if (document.forms.postmodify.elements[textFields[i]])
|
if (document.forms.postmodify.elements[textFields[i]])
|
||||||
x[x.length] = textFields[i] + "=" + escape(textToEntities(document.forms.postmodify[textFields[i]].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
|
x[x.length] = textFields[i] + "=" + escape(textToEntities(document.forms.postmodify[textFields[i]].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
|
||||||
|
|
||||||
senHTMLDocument("index.php?action=previewpost", x.join("&"), PreviewPostSent);
|
senHTMLDocument("index.php?action=previewpost", x.join("&"), PreviewPostSent);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function PreviewPostSent(html){
|
function PreviewPostSent(html){
|
||||||
if (previewPopupWindow)
|
if (previewPopupWindow)
|
||||||
previewPopupWindow.close();
|
previewPopupWindow.close();
|
||||||
|
|
||||||
HideLoading();
|
HideLoading();
|
||||||
|
|
||||||
thespan = document.getElementById("previewspan");
|
thespan = document.getElementById("previewspan");
|
||||||
|
|
||||||
thespan.style.display = "";
|
thespan.style.display = "";
|
||||||
thespan.innerHTML = "Preview: <br/> <div style=\"padding: 5px\">" + html + "</div>";
|
thespan.innerHTML = "Preview: <br/> <div style=\"padding: 5px\">" + html + "</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
function submitThisOnce(form,id,post)
|
function submitThisOnce(form,id,post)
|
||||||
{
|
{
|
||||||
if (typeof(form.form) != "undefined")
|
if (typeof(form.form) != "undefined")
|
||||||
form = form.form;
|
form = form.form;
|
||||||
|
|
||||||
for (var i = 0; i < form.length; i++)
|
for (var i = 0; i < form.length; i++)
|
||||||
if (typeof(form[i]) != "undefined" && form[i].tagName.toLowerCase() == "textarea")
|
if (typeof(form[i]) != "undefined" && form[i].tagName.toLowerCase() == "textarea")
|
||||||
form[i].readOnly = true;
|
form[i].readOnly = true;
|
||||||
|
|
||||||
x = new Array();
|
x = new Array();
|
||||||
var textFields = ["message","poster"];
|
var textFields = ["message","poster"];
|
||||||
|
|
||||||
ShowLoading();
|
ShowLoading();
|
||||||
|
|
||||||
|
|
||||||
for (i in textFields)
|
for (i in textFields)
|
||||||
if (document.forms.postmodify.elements[textFields[i]])
|
if (document.forms.postmodify.elements[textFields[i]])
|
||||||
x[x.length] = textFields[i] + "=" + escape(textToEntities(document.forms.postmodify[textFields[i]].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
|
x[x.length] = textFields[i] + "=" + escape(textToEntities(document.forms.postmodify[textFields[i]].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
|
||||||
|
|
||||||
senHTMLDocument("index.php?action=post&id=" + id + "&type=" + post, x.join("&"), SentPost);
|
senHTMLDocument("index.php?action=post&id=" + id + "&type=" + post, x.join("&"), SentPost);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function SentPost(html){
|
function SentPost(html){
|
||||||
HideLoading();
|
HideLoading();
|
||||||
html=html.trim();
|
html=html.trim();
|
||||||
|
|
||||||
if(html == "0")
|
if(html == "0")
|
||||||
return alert("Invalid data.")
|
return alert("Invalid data.")
|
||||||
else if (html == "1")
|
else if (html == "1")
|
||||||
return alert("No body data.")
|
return alert("No body data.")
|
||||||
else if (html == "2")
|
else if (html == "2")
|
||||||
return alert("Please at least wait 15 secs between each post.");
|
return alert("Please at least wait 15 secs between each post.");
|
||||||
else if (html == "3")
|
else if (html == "3")
|
||||||
return alert("Please login before posting.");
|
return alert("Please login before posting.");
|
||||||
else
|
else
|
||||||
document.getElementById("MainBody").innerHTML= html;
|
document.getElementById("MainBody").innerHTML= html;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user