зеркало из https://github.com/mono/moma.git
01-18-2007 Jonathan Pobst <monkey@jpobst.com>
* Apply contributed patch: fix a date parsing error, add makefiles. Thanks! svn path=/trunk/moma/; revision=71291
This commit is contained in:
Родитель
f51251a7fb
Коммит
e0273620a4
|
@ -1,3 +1,7 @@
|
|||
01-18-2007 Jonathan Pobst <monkey@jpobst.com>
|
||||
|
||||
* Apply contributed patch: fix a date parsing error, add makefiles. Thanks!
|
||||
|
||||
01-07-2007 Jonathan Pobst <monkey@jpobst.com>
|
||||
|
||||
* We were picking up public methods inside private/internal classes, fixed.
|
||||
|
|
|
@ -350,9 +350,9 @@ namespace MoMA
|
|||
this.label2.Font = new System.Drawing.Font ("Arial", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label2.Location = new System.Drawing.Point (9, 445);
|
||||
this.label2.Name = "label2";
|
||||
this.label2.Size = new System.Drawing.Size (63, 14);
|
||||
this.label2.Size = new System.Drawing.Size (72, 14);
|
||||
this.label2.TabIndex = 32;
|
||||
this.label2.Text = "Version 1.1";
|
||||
this.label2.Text = "Version 1.1.1";
|
||||
//
|
||||
// MonoVersionCombo
|
||||
//
|
||||
|
|
|
@ -0,0 +1,53 @@
|
|||
ifndef TARGET
|
||||
TARGET=./bin
|
||||
else
|
||||
TARGET=./bin/$(TARGET)
|
||||
endif
|
||||
|
||||
MCS=gmcs
|
||||
RESGEN=resgen
|
||||
ifndef (RELEASE)
|
||||
MCSFLAGS=-debug
|
||||
endif
|
||||
LIBS=-lib:/usr/lib/mono/2.0
|
||||
|
||||
|
||||
MOMA_EXE=$(TARGET)/MoMA.exe
|
||||
MOMA_PDB=$(TARGET)/MoMA.exe.pdb
|
||||
MOMA_SRC=DefinitionDownloader.Designer.cs \
|
||||
DefinitionDownloader.cs \
|
||||
MainForm.Designer.cs \
|
||||
MainForm.cs \
|
||||
Program.cs \
|
||||
Properties/AssemblyInfo.cs \
|
||||
WizardStep.cs
|
||||
|
||||
MOMA_RES=-resource:MoMA.DefinitionDownloader.resources \
|
||||
-resource:MoMA.MainForm.resources
|
||||
|
||||
MOMA_LINKRES=-linkresource:Resources/button_ok.png \
|
||||
-linkresource:Resources/list-add.png \
|
||||
-linkresource:Resources/monkey.png \
|
||||
-linkresource:Resources/spinner.gif \
|
||||
-linkresource:Resources/dialog-warning.png \
|
||||
-linkresource:Resources/list-remove.png \
|
||||
-linkresource:Resources/monoback.png
|
||||
|
||||
|
||||
all: $(MOMA_EXE)
|
||||
$(MOMA_EXE): $(MOMA_SRC)
|
||||
-mkdir -p $(TARGET)
|
||||
$(MCS) $(MCSFLAGS) -lib:. $(LIBS) -r:lib/MoMA.Analyzer.dll -r:System.dll -r:System.Drawing.dll -r:System.Data.dll -r:System.Web.dll -r:System.Xml.dll -r:System.EnterpriseServices -r:System.Web.Services -r:System.Windows.Forms -target:winexe -out:$(MOMA_EXE) $(MOMA_RES) $(MOMA_SRC)
|
||||
chmod 0755 $(MOMA_EXE)
|
||||
|
||||
# common targets
|
||||
|
||||
all: $(MOMA_EXE)
|
||||
|
||||
clean:
|
||||
-rm -f "$(MOMA_EXE)"* 2> /dev/null
|
||||
-rm -f "$(MOMA_PDB)" 2> /dev/null
|
||||
|
||||
# project names as targets
|
||||
|
||||
MoMA: $(MOMA_EXE)
|
|
@ -47,7 +47,7 @@ namespace MoMA.Analyzer
|
|||
FileDefinition fd = new FileDefinition ();
|
||||
|
||||
fd.Version = sr.ReadLine ();
|
||||
fd.Date = DateTime.Parse(sr.ReadLine ());
|
||||
fd.Date = DateTime.ParseExact (sr.ReadLine (), "MM/dd/yy", new System.Globalization.CultureInfo("en-US").DateTimeFormat);
|
||||
fd.FileName = s;
|
||||
|
||||
sr.Close ();
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace MoMA.Analyzer
|
|||
public FileDefinition (string version, string date, string filename)
|
||||
{
|
||||
this.version = version;
|
||||
this.date = DateTime.Parse(date);
|
||||
this.date = DateTime.ParseExact (date, "MM/dd/yy", new System.Globalization.CultureInfo("en-US").DateTimeFormat);
|
||||
this.filename = filename;
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,49 @@
|
|||
ifndef TARGET
|
||||
TARGET=./bin
|
||||
else
|
||||
TARGET=./bin/$(TARGET)
|
||||
endif
|
||||
|
||||
MCS=gmcs
|
||||
RESGEN=resgen
|
||||
ifndef (RELEASE)
|
||||
MCSFLAGS=-debug
|
||||
endif
|
||||
LIBS=-lib:/usr/lib/mono/2.0
|
||||
|
||||
|
||||
MOMA_ANALYZER_DLL=$(TARGET)/MoMA.Analyzer.dll
|
||||
MOMA_ANALYZER_PDB=$(TARGET)/MoMA.Analyzer.dll.pdb
|
||||
MOMA_ANALYZER_SRC=Analysis/BaseChecker.cs \
|
||||
AssemblyAnalyzer.cs \
|
||||
Definitions/FileDefinition.cs \
|
||||
Definitions/DefinitionHandler.cs \
|
||||
Results/BaseError.cs \
|
||||
Analysis/CheckMonoTodo.cs \
|
||||
Analysis/CheckPInvokes.cs \
|
||||
MethodExtractor.cs \
|
||||
Method.cs \
|
||||
Results/MissingMethodError.cs \
|
||||
Results/MonoTodoError.cs \
|
||||
Results/NotImplementedExceptionError.cs \
|
||||
Results/PInvokeError.cs \
|
||||
Properties/AssemblyInfo.cs \
|
||||
Web\ References/MoMAWebService/Reference.cs
|
||||
|
||||
all: $(MOMA_ANALYZER_DLL)
|
||||
$(MOMA_ANALYZER_DLL): $(MOMA_ANALYZER_SRC)
|
||||
-mkdir -p $(TARGET)
|
||||
$(MCS) $(MCSFLAGS) -lib:. $(LIBS) -r:ICSharpCode.SharpZipLib.dll -r:../lib/Mono.Cecil.dll -r:System.dll -r:System.Data.dll -r:System.Web.dll -r:System.Xml.dll -r:System.EnterpriseServices -r:System.Web.Services -target:library -out:$(MOMA_ANALYZER_DLL) $(MOMA_RES) $(MOMA_ANALYZER_SRC)
|
||||
chmod 0755 $(MOMA_ANALYZER_DLL)
|
||||
|
||||
# common targets
|
||||
|
||||
all: $(MOMA_ANALYZER_DLL)
|
||||
|
||||
clean:
|
||||
-rm -f "$(MOMA_ANALYZER_DLL)"* 2> /dev/null
|
||||
-rm -f "$(MOMA_ANALYZER_PDB)" 2> /dev/null
|
||||
|
||||
# project names as targets
|
||||
|
||||
MoMA: $(MOMA_ANALYZER_DLL)
|
Загрузка…
Ссылка в новой задаче