[sword-svn] r3202 - in trunk/bindings/csharp: . examples tests
scribe at crosswire.org
scribe at crosswire.org
Tue Apr 29 00:30:27 MST 2014
Author: scribe
Date: 2014-04-29 00:30:26 -0700 (Tue, 29 Apr 2014)
New Revision: 3202
Added:
trunk/bindings/csharp/Makefile
trunk/bindings/csharp/README
trunk/bindings/csharp/examples/LookupExample.csproj
trunk/bindings/csharp/sword.snk
trunk/bindings/csharp/tests/AssemblyInfo.cs
trunk/bindings/csharp/tests/Main.cs
Removed:
trunk/bindings/csharp/examples/LookupExample.exe
Modified:
trunk/bindings/csharp/AssemblyInfo.cs
trunk/bindings/csharp/Sword.csproj
trunk/bindings/csharp/Sword.sln
trunk/bindings/csharp/examples/Makefile
trunk/bindings/csharp/tests/Sword.Tests.csproj
Log:
updated with Daniel's latest changes to clean up my reorganization
Modified: trunk/bindings/csharp/AssemblyInfo.cs
===================================================================
--- trunk/bindings/csharp/AssemblyInfo.cs 2014-04-29 04:06:19 UTC (rev 3201)
+++ trunk/bindings/csharp/AssemblyInfo.cs 2014-04-29 07:30:26 UTC (rev 3202)
@@ -17,7 +17,7 @@
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
-[assembly: AssemblyTitle("Sword.Tests")]
+[assembly: AssemblyTitle("Sword")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
@@ -37,4 +37,3 @@
//[assembly: AssemblyDelaySign(false)]
//[assembly: AssemblyKeyFile("")]
-
Added: trunk/bindings/csharp/Makefile
===================================================================
--- trunk/bindings/csharp/Makefile (rev 0)
+++ trunk/bindings/csharp/Makefile 2014-04-29 07:30:26 UTC (rev 3202)
@@ -0,0 +1,7 @@
+all: Sword.exe
+
+Sword.exe:
+ xbuild Sword.csproj /p:Configuration=Release
+
+clean:
+ xbuild Sword.csproj /p:Configuration=Release /t:Clean
Added: trunk/bindings/csharp/README
===================================================================
--- trunk/bindings/csharp/README (rev 0)
+++ trunk/bindings/csharp/README 2014-04-29 07:30:26 UTC (rev 3202)
@@ -0,0 +1,24 @@
+Building on debian/ubuntu the commandline way
+1. sudo apt-get install cli-common-dev
+2. sudo apt-get install mono-xbuild
+3. navigate to bindings/csharp
+4. make or xbuild Sword.csproj to build the bindings project only
+5. xbuild Sword.sln to build everything; bindings, unit tests and LookupExample.
+
+Building on debian/ubuntu the IDE way
+1. sudo apt-get install MonoDevelop
+2. launch MonoDevelop and open sword/bindings/csharp/Sword.sln
+3. Hit the run button
+
+Unit Tests
+MonoDevelop has a unit test runner built in.
+1. launch the Sword.sln file in monodevelop
+2. View->Unit Testing
+3. Right click on top level test (Sword)
+4. Run test
+
+LookupExample
+1. Navigate to sword/bindings/csharp/examples
+2. make
+3. output will be in bin/Release
+4. mono LookupExample.exe KJV john.3.16
Modified: trunk/bindings/csharp/Sword.csproj
===================================================================
--- trunk/bindings/csharp/Sword.csproj 2014-04-29 04:06:19 UTC (rev 3201)
+++ trunk/bindings/csharp/Sword.csproj 2014-04-29 07:30:26 UTC (rev 3202)
@@ -10,7 +10,7 @@
<RootNamespace>Sword</RootNamespace>
<AssemblyName>CSSword</AssemblyName>
<SignAssembly>true</SignAssembly>
- <AssemblyOriginatorKeyFile>..\sword.snk</AssemblyOriginatorKeyFile>
+ <AssemblyOriginatorKeyFile>sword.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Modified: trunk/bindings/csharp/Sword.sln
===================================================================
--- trunk/bindings/csharp/Sword.sln 2014-04-29 04:06:19 UTC (rev 3201)
+++ trunk/bindings/csharp/Sword.sln 2014-04-29 07:30:26 UTC (rev 3202)
@@ -1,16 +1,22 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sword", "Sword\Sword.csproj", "{EFEE3557-86F2-4E46-AF7E-8BADEE240764}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sword", "Sword.csproj", "{EFEE3557-86F2-4E46-AF7E-8BADEE240764}"
EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sword.Tests", "Sword.Tests\Sword.Tests.csproj", "{72212684-1186-4F68-8FBD-BDBFDB8CC9BC}"
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Sword.Tests", "tests\Sword.Tests.csproj", "{72212684-1186-4F68-8FBD-BDBFDB8CC9BC}"
EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LookupExample", "examples\LookupExample.csproj", "{60F12DE9-FBC5-42B1-8341-9AB097D661AE}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {60F12DE9-FBC5-42B1-8341-9AB097D661AE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {60F12DE9-FBC5-42B1-8341-9AB097D661AE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {60F12DE9-FBC5-42B1-8341-9AB097D661AE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {60F12DE9-FBC5-42B1-8341-9AB097D661AE}.Release|Any CPU.Build.0 = Release|Any CPU
{72212684-1186-4F68-8FBD-BDBFDB8CC9BC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{72212684-1186-4F68-8FBD-BDBFDB8CC9BC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{72212684-1186-4F68-8FBD-BDBFDB8CC9BC}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -21,7 +27,7 @@
{EFEE3557-86F2-4E46-AF7E-8BADEE240764}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
- StartupItem = Sword\Sword.csproj
+ StartupItem = Sword.csproj
Policies = $0
$0.DotNetNamingPolicy = $1
$1.DirectoryNamespaceAssociation = None
Copied: trunk/bindings/csharp/examples/LookupExample.csproj (from rev 3199, trunk/bindings/csharp/Sword.csproj)
===================================================================
--- trunk/bindings/csharp/examples/LookupExample.csproj (rev 0)
+++ trunk/bindings/csharp/examples/LookupExample.csproj 2014-04-29 07:30:26 UTC (rev 3202)
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.0</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{60F12DE9-FBC5-42B1-8341-9AB097D661AE}</ProjectGuid>
+ <OutputType>Exe</OutputType>
+ <RootNamespace>LookupExample</RootNamespace>
+ <AssemblyName>LookupExample</AssemblyName>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug</OutputPath>
+ <DefineConstants>DEBUG;</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <Externalconsole>true</Externalconsole>
+ <Commandlineparameters>ESV john.3.16</Commandlineparameters>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>none</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Release</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <Externalconsole>true</Externalconsole>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <Compile Include="LookupExample.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Sword.csproj">
+ <Project>{EFEE3557-86F2-4E46-AF7E-8BADEE240764}</Project>
+ <Name>Sword</Name>
+ </ProjectReference>
+ </ItemGroup>
+</Project>
\ No newline at end of file
Deleted: trunk/bindings/csharp/examples/LookupExample.exe
===================================================================
--- trunk/bindings/csharp/examples/LookupExample.exe 2014-04-29 04:06:19 UTC (rev 3201)
+++ trunk/bindings/csharp/examples/LookupExample.exe 2014-04-29 07:30:26 UTC (rev 3202)
@@ -1,279 +0,0 @@
-MZ ÿÿ ¸ @ º ´ Í!¸LÍ!This program cannot be run in DOS mode.
-
-$ PE L ¥Ø]S à @ ` @ O ` ( d H .text ¨? @ `.rsrc ( ` B @ @.reloc F @ B ÿ% @ @ Z N _CorExeMain mscoree.dll @ H D1 d. @1 (
-*i; r p(
-*( * 0$ ä s
-o :b (
-r; po
-o o
-8 o
-
-r p{
- { (
-o
-:ÖÿÿÿÝ
- 9 o
-ÜÝm o% o$ (
-r¯ p(
-o' (
-rß p(
-o& (
-r p(
-o) (
-rE p(
-Ý
- 9 o
-Ü*A4 0 4 d
- Ð Ö
- 00 A s
-r{ po :f (
-r; pr{ po
-o o
-8 o
-
-r p{
- { (
-o
-:ÖÿÿÿÝ
- 9 o
-ÜÝÂ r po% r p(
-o$ (
-rÉ po& (
-
-(
-rã po) (
-
-(
-rû po' (
-
-(
-rE p(
-r po/ o
-8 o
-(
-o
-:äÿÿÿÝ 9 o
-ÜÝ
- 9 o
-Ü* AL ù & 8 4 l
- - 3
- 0! ç s
-r{ po :f (
-r; pr{ po
-o o
-8 o
-
-r p{
- { (
-o
-:ÖÿÿÿÝ
- 9 o
-ÜÝh r+ pjo* o
-
-8 o
-(; (
-o
-:ßÿÿÿÝ 9 o
-Üo+ Ý
- 9 o
-Ü* AL + ¿ 8 4 l
- Ó Ù
- b(
-~
-(f } * 2{ (g * 0 { (h
-: 8 * 0 { (i
-(n * 0 { (k
-: 8 * 0 { o (j
-(o * 0 " { o (l
-: 8 * 0 ' 9 { ~
-(
-9 { (m * 6(
- (
-* J(
-(= } * N(
-(> } *{ *Ê9+ { ~
-(
-9 { (D ~
-} * 0 & { (?
-~
-(
-9 *s * 0 sp
-} %þ} * 0 { ([
-(
-* 0 { (\
-(
-* 0 { (]
-(
-* :{ (^ * 0 { (_
-(n *:{ (` * 6{ (a * 0 { (b
-(n * 6{ (c * 0 { (d
-(
-* 6( (
-* :(
-} * 0 { (P
-(
-* 0 { (Q
-(
-* 0 { (R
-(
-* 0 { (C
-(
-* 6{ (@ * 0 { (A
-(
-* 0 { (B
-(
-* 6{ (G * 0 { (F
-(
-* 0 Q sx
-} } } } } } }! }" }# %þ} * 2{ (H * 2{ (I * 2{ (J * 0 { (K
-(n *0 { (L
-(n *0 { (N
-@ 8 * 0 { (O
-(n * 0 { (O
-(
-* 2{ (T * 2{ (U * 2{ (V * 0 { (W
-(
-* 0 { (X
-(
-*2{ (Y * 2{ (Z * F{ ~
-(
-* 0 # { ~
-(
-9 *{ (
-* 0 # { ~
-(
-9 *{ (
-* 0 s
-}$ }) %þ}' * 0
- s
-}* }. %þ}, * (
-*{ *2{ * (t *0 ( | þ(
-þ3*sp
-{ } *0 Ö {
-} E X 8± { { (E } { Ð (
-(
-¥ } 8_ { } } 8` | (
-Ð (
-(
-jXs
-} { Ð (
-(
-¥ } | {
- :ÿÿÿ} ** "} * s
-z (
-*{ *2{ * (| *0 X | þ(
-þ3*sx
-{# }# { } { } {! } {" } *0
- ó {
-} E u 8Î {# { { { { { ~
-(M } { Ð (
-(
-¥ } 8_ { } } 8` | (
-Ð (
-(
-jXs
-} { Ð (
-(
-¥ } | (: 9ÿÿÿ} ** "} * s
-z (
-*{( *{( *( *0 ( |' þ(
-þ3*s
-{) }$ *0 Ñ {'
-}' E x 8¬ {$ ~
-(
-9 8 8q {$ (
-}% {% ~
-(
-9 8b {% (
-}& {& }( }' 8; |$ (
-(
-jXs
-}$ {$ ~
-(
-:zÿÿÿ}' ** "}' * s
-z (
-*{- *2{- * ( *0 (
- |, þ(
-þ3*s
-{. }* *0 À {,
-}, E B 8 {* Ð (
-(
-¥ }+ 8_ {+ }- }, 8` |* (
-Ð (
-(
-jXs
-}* {* Ð (
-(
-¥ }+ |+ {
- :ÿÿÿ}, **"}, * s
-z BSJB v2.0.50727 p x #~ è 4 #Strings ) 4 #US P+ #Blob T. #GUID W¢
- . t * $ 1
- 0 ; O ] x ] ¬ È Ü ê R^ Æ í " S¬ à÷ ÷ &÷ E÷ ^÷ w÷ ÷ Ë ë Ë þ ð +% :% B% I%A : T%E
- : \%E : f% = t p x ¦ $ Ç * ! e e e òÐVúÓV ÓVÓVÓVÓ × × ¦× ,× 5e >e CÚVp× _e sr Ð r v
× Ó Ú £× àe ò Ð × Ó Ú (× ¢ -e ûe × Ð ×
-e Ke Èr Ð r Õe ì ô êÕ ! ôÛ <" n Ø# n % 4% 1 D% LA l% W% % i1 ´% 6 Ü% ¥B & Ô J @& æÔ P& d& x& ÙW
- & Ô J
- ´& ä[ è& ùa ' o ,' o L' #o l' 2s |' Oy ' e ¬' rJ ¼' % Ü' ì' ¨ ( æÔ ( 0( o P( !o p( 1o ( >o °( J À( Vo à( ao ) n ) {o 0) ) © ) ¹³ °)  À) з ä) y# * A $ ,* %$ L* +o$ l* 9 $ |* A $ * F $ * Lo$ ¼* ]Ç$ Ü* l % ì* A % ü* IA % + Po% @+ Xo% xÝ% ¢á% Èæ& ì( 6 * ^ + , ¯ò- Ð . ù / ì0 U ò2 ÷3 ¨ ü4 Ò 5
-æ: +
-
-< `
-÷B
- C ¸
- D Ý
- E F 2 G \òH òI ¤òJ Ç K ôæL òN SO P ¥ Q Í R õS #
-æV S
- X z
-([ ¬
- ] Ú
-ì^ .` )òc [5d òf Ï;g ù h )@i sGl ¦Mn ôòr p+ Us + 6ct È+ u Ð+ á zu Ø+ á Ùu è+ áu ð+ á1u $, æ¿ A u - æÔ u - æu u - u $- á 1¦u ,- á Ùu <- áu D- áu«u ¨- æ¿ A u ¨. æÔ u ´. æu u ¼. u Ä. á ou Ì. á Ùu Ô. áu Ü. áT¹u / æ¿ A u ð/ æÔ u ü/ æu u 0 u 0 á zu 0 á Ùu $0 áu ,0 á1u `0 æ¿ A u ,1 æÔ u 81 æu u ï û # } } ¹ } û ¼ Ô ¼ ô B I B û I I ² · I I
£ â é ð ÷ Ô ò ù , , , , ò ò , , I , , , , â é ð ÷ , ,
£ O
- , , , , , , , , , , , , , ò ò ò ò B
- ò B ò û ò ¢
- ò ò ô ò ² · O ~ O O O O ] } O } Ù ê } û O - K
-
-
-
-
-
- I I I
-
-
-
-
-
- I & E & . & : 1 ¿ A 9 Ô A ã E $ . , 4 . I ñ e I ö h Q n Y 6r I Fh a ow i Y ¨ I · Y ¿ I y Y Ü I ç¡ ¡ © ± ¹ Á É Ñ Ù á 1 $ . ¥ ª ¯ ´ $ ¹ D ¾ . ë Á. ó Ò. û Ò. Ò. Ò. Ø. Ò. #äC3¥ c3¥ 3¥ £3¥ +¥ @+¥ À
-+¥ à
-+¥ +¥ @+¥ +¥ À+¥ à+¥ +¥ @+¥ +¥ À+¥ à+¥ +¥ @+¥ +¥ À+¥ à+¥ +¥ @+¥ +¥ À+¥ à+¥ á ð !-j®Ã^m
-
- ÆO Â É Ñ Ü ç òO ¦ ¯ · ÀÌ ÊO Ö à d h { ¹ »´ ¹ ¹ { ¹
- ! " # % $ ( ' - 1 2 ! 6 # ; % < ' q ) r + y - z / 1 3 5 7
- â
-
- ä O
- æ Q
- è ò ô O ö Q ø S O Q U
-
-
- O
- Q
- ' 3 K Q W ^ { x } ¢ È 6
^ ¯ Ð ù U ¨ Ò
- +
- `
-
- ¡ ¸
- £ Ý
- ¥ § 2 © \ « ¤ ¯ Ç ± ô ³ µ S · ¹ ¥ » Í ½ õ ¿ #
- Á S
- Ã z
- Å ¬
- Ç Ú
- É Ë ) Í [ Ï Ñ Ï Ó ù Õ ) × s Ù ¦ Û ô nÚ ð
-
- mscorlib Object System .ctor Console WriteLine TextWriter System.IO get_Error IEnumerator`1 System.Collections.Generic IEnumerable`1 GetEnumerator get_Current IEnumerator System.Collections MoveNext IDisposable Dispose String Concat IntPtr Zero op_Inequality GC Collect Marshal System.Runtime.InteropServices PtrToStringAnsi op_Equality Interlocked System.Threading CompareExchange Type RuntimeTypeHandle GetTypeFromHandle PtrToStructure ToInt64 SizeOf NotSupportedException ReadIntPtr get_Size LookupExample <Module> LookupExample.exe Sword.Tests Sword InstallManager Manager Module SearchType ModInfo SearchHit NativeMethods <GetModInfoList>c__Iterator0 <Search>c__Iterator1 <MarshalStringArray>c__Iterator2 <MarshallModInfoArray>c__Iterator3 Main args Lookup modName key ParseKeyList Search _handle baseDirectory SetUserDisclaimerConfirmed SyncConfig get_RemoteSources RefreshRemoteSource sourceName GetRemoteModInfoList manager RemoteInstallModule to disposing RemoteSources path get_Handle GetModuleByName name GetModInfoList get_Version get_PrefixPath get_ConfigPath SetGlobalOption option value GetGlobalOptionValues SetCipherKey set_Javascript get_AvailableLocales set_DefaultLocale Translate text localeName Handle Version PrefixPath ConfigPath Javascript AvailableLocales DefaultLocale handle get_Name get_Description get_Category get_KeyText set_KeyText RenderText get_RawEntry set_RawEntry StripText searchString searchType flags scope TerminateSearch PopError get_EntrySize GetEntryAttribute level1 level2 level3 filteredBool keyText HasKeyChildren get_KeyChildren get_KeyParent Prevous Next Begin get_RenderHeader GetConfigEntry DeleteSearchFramework HasSearchFramework Name Description Category KeyText RawEntry EntrySize KeyChildren KeyParent RenderHeader Enum value__ REGEX PHRASE MULTIWORD ENTRYATTR LUCENE ValueType Language _modName _key Score IsNull get_Key get_ModName Key ModName DLLNAME org_crosswire_sword_SWMgr_new libsword.so org_crosswire_sword_SWMgr_newWithPath org_crosswire_sword_SWMgr_getModuleByName hSWMgr moduleName org_crosswire_sword_SWModule_setKeyText hSWModule org_crosswire_sword_SWModule_renderText org_crosswire_sword_SWModule_getRawEntry org_crosswire_sword_SWModule_getKeyText org_crosswire_sword_SWMgr_delete org_crosswire_sword_SWMgr_getModInfoList org_crosswire_sword_SWModule_stripText org_crosswire_sword_SWModule_setRawEntry entryBuffer org_crosswire_sword_SWModule_terminateSearch org_crosswire_sword_SWModule_popError org_crosswire_sword_SWModule_getEntrySize org_crosswire_sword_SWModule_getEntryAttribute org_crosswire_sword_SWModule_parseKeyList org_crosswire_sword_SWModule_search progressReporter org_crosswire_sword_SWModule_hasKeyChildren org_crosswire_sword_SWModule_getKeyChildren org_crosswire_sword_SWModule_getName org_crosswire_sword_SWModule_getDescription org_crosswire_sword_SWModule_getCategory org_crosswire_sword_SWModule_getKeyParent org_crosswire_sword_SWModule_previous org_crosswire_sword_SWModule_next org_crosswire_sword_SWModule_begin org_crosswire_sword_SWModule_getRenderHeader org_crosswire_sword_SWModule_getConfigEntry org_crosswire_sword_SWModule_deleteSearchFramework org_crosswire_sword_SWModule_hasSearchFramework org_crosswire_sword_SWMgr_version org_crosswire_sword_SWMgr_getPrefixPath org_crosswire_sword_SWMgr_getConfigPath org_crosswire_sword_SWMgr_setGlobalOption val org_crosswire_sword_SWMgr_getGlobalOptionValues org_crosswire_sword_SWMgr_setCipherKey org_crosswire_sword_SWMgr_setJavascript valueBool org_crosswire_sword_SWMgr_getAvailableLocales org_crosswire_sword_SWMgr_setDefaultLocale org_crosswire_sword_SWMgr_translate org_crosswire_sword_InstallMgr_reInit hInstallMgr org_crosswire_sword_InstallMgr_new baseDir statusReporter org_crosswire_sword_InstallMgr_setUserDisclaimerConfirmed org_crosswire_sword_InstallMgr_syncConfig org_crosswire_sword_InstallMgr_getRemoteSources org_crosswire_sword_InstallMgr_getRemoteModInfoList hSWMgr_deltaCompareTo org_crosswire_sword_InstallMgr_refreshRemoteSource org_crosswire_sword_InstallMgr_remoteInstallModule hInstallMgr_from hSWMgr_to org_crosswire_sword_InstallMgr_delete MarshalStringArray arrayPtr MarshallModInfoArray pointer IEnumerable <modulesPointer>__0 <modInfo>__1 $PC $current <>f__this System.Collections.Generic.IEnumerator<Sword.ModInfo>.get_Current System.Collections.IEnumerator.get_Current System.Collections.IEnumerable.GetEnumerator System.Collections.Generic.IEnumerable<Sword.ModInfo>.GetEnumerator Reset System.Collections.Generic.IEnumerator<Sword.ModInfo>.Current System.Collections.IEnumerator.Current <searchHitPtr>__0 <searchHit>__1 <$>searchString <$>searchType <$>flags <$>scope System.Collections.Generic.IEnumerator<Sword.SearchHit>.get_Current System.Collections.Generic.IEnumerable<Sword.SearchHit>.GetEnumerator System.Collections.Generic.IEnumerator<Sword.SearchHit>.Current <ptr>__0 <key>__1 <$>arrayPtr System.Collections.Generic.IEnumerator<string>.get_Current System.Collections.Generic.IEnumerable<string>.GetEnumerator System.Collections.Generic.IEnumerator<string>.Current <modInfo>__0 <$>pointer AssemblyTitleAttribute System.Reflection AssemblyDescriptionAttribute AssemblyConfigurationAttribute AssemblyCompanyAttribute AssemblyProductAttribute AssemblyCopyrightAttribute AssemblyTrademarkAttribute RuntimeCompatibilityAttribute System.Runtime.CompilerServices DebuggerHiddenAttribute System.Diagnostics CompilerGeneratedAttribute 9u s a g e : l o o k u p < m o d u l e > < k e y > ]C o u l d n o t f i n d m o d u l e { 0 } . A v a i l a b l e m o d u l e s : { 0 } - { 1 } /= = R a w = E n t r y = = = = = = = = = = = = 3= = R e n d e r = T e x t = = = = = = = = = = = = 1= = S t r i p = T e x t = = = = = = = = = = = = 5= = = = = = = = = = = = = = = = = = = = = = = = = = E S V j n . 3 . 1 6 5= = R e n d e r = E n t r y = = = = = = = = = = = = R e n d e r T e x t : S t r i p T e x t : R a w T e x t : J a m e s 1 : 1 9 - 3 0 s i n ·z\V4à
- 59 5
- 5
- ÿÿÿÿþÿÿÿýÿÿÿüÿÿÿl i b s w o r d . s o ( ( ( ( (
-
-, (
-
-
-
- 0 4 ( ( ( Sword.Tests daniel TWrapNonExceptionThrows ç̲X°OI+àóTé 0 H X` Ð Ð4 V S _ V E R S I O N _ I N F O ½ïþ Ún ? D V a r F i l e I n f o $ T r a n s l a t i o n °0 S t r i n g F i l e I n f o 0 0 7 f 0 4 b 0 ( P r o d u c t V e r s i o n $ C o m p a n y N a m e $ P r o d u c t N a m e 4 L e g a l C o p y r i g h t d a n i e l < I n t e r n a l N a m e L o o k u p E x a m p l e @ F i l e D e s c r i p t i o n S w o r d . T e s t s C o m m e n t s @ F i l e V e r s i o n 1 . 0 . 5 2 3 0 . 3 8 6 1 8 L O r i g i n a l F i l e n a m e L o o k u p E x a m p l e . e x e , L e g a l T r a d e m a r k s 0
\ No newline at end of file
Modified: trunk/bindings/csharp/examples/Makefile
===================================================================
--- trunk/bindings/csharp/examples/Makefile 2014-04-29 04:06:19 UTC (rev 3201)
+++ trunk/bindings/csharp/examples/Makefile 2014-04-29 07:30:26 UTC (rev 3202)
@@ -1,14 +1,7 @@
-SWORD_BINDINGS= \
- ../AssemblyInfo.cs \
- ../InstallManager.cs \
- ../Manager.cs \
- ../Module.cs \
- ../NativeMethods.cs
-
all: LookupExample.exe
LookupExample.exe: LookupExample.cs
- gmcs LookupExample.cs ${SWORD_BINDINGS}
+ xbuild LookupExample.csproj /p:Configuration=Release
clean:
- rm -f *.exe
+ xbuild LookupExample.csproj /p:Configuration=Release /t:Clean
Added: trunk/bindings/csharp/sword.snk
===================================================================
--- trunk/bindings/csharp/sword.snk (rev 0)
+++ trunk/bindings/csharp/sword.snk 2014-04-29 07:30:26 UTC (rev 3202)
@@ -0,0 +1,8 @@
+ $ RSA2 ]rVI
»8UÝKë²ÂÝøA!xhXOL]]5ës?¿ÌªYt,
+5sÉ~w *ѤÅQ±ænXÙ8 Ã'¤kȧ-ß÷ñiPßWÚx ÄûÄ\&ÉÌâ¢ä8R^À?
+aè©ÖÐÌ9¸ÿâ8cQÔCÆbóN<ê"ÂþxV}¾d @"yõ®{«f8ÿìRØ¡ìhÐ;2Më\m(Çòp\-®'âßj¼-s`íê¶gvî?Y¾hÆѦûú ìÌ]ç¨zñVÅÐ;nIaøÉì¼¾ji«L;ðgÿ.Æ("þß
+7Õ´õ}ô¡ÇwÈbÝ`
+îËÓÊÇ
+¬ÃßdÜWÆ\Ù¼á \>@¨Ê6ãøYSý{zÚt.l:Õ*|à ìÊ-¼¤~£¶Ge5{¾07eGfVìÿGAÓ$بCǶs¶wêWåßAÑ xíãðî|l VãJið0ãÆzÔ´^'ß
+í¶ªOHó|X#dÀk1ø¨gI$@)Lù÷ÍQá£6Î-8t¸û§@T
-9ãtDï0ÿ%Í+øæÓ2îâ¤ë¯¶å¬µo¬¨VI¼^^¦T/dkeþGsC«~+j¬®Ù¶k{S&:}"ñÿÄM´6d"!m
+@þÃ:ùå"!
\ No newline at end of file
Copied: trunk/bindings/csharp/tests/AssemblyInfo.cs (from rev 3199, trunk/bindings/csharp/AssemblyInfo.cs)
===================================================================
--- trunk/bindings/csharp/tests/AssemblyInfo.cs (rev 0)
+++ trunk/bindings/csharp/tests/AssemblyInfo.cs 2014-04-29 07:30:26 UTC (rev 3202)
@@ -0,0 +1,40 @@
+// Copyright 2014 CrossWire Bible Society (http://www.crosswire.org)
+// CrossWire Bible Society
+// P. O. Box 2528
+// Tempe, AZ 85280-2528
+//
+// 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 the
+// Free Software Foundation version 2.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+using System.Reflection;
+using System.Runtime.CompilerServices;
+
+// Information about this assembly is defined by the following attributes.
+// Change them to the values specific to your project.
+
+[assembly: AssemblyTitle("Sword.Tests")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("")]
+[assembly: AssemblyCopyright("daniel")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
+// The form "{Major}.{Minor}.*" will automatically update the build and revision,
+// and "{Major}.{Minor}.{Build}.*" will update just the revision.
+
+[assembly: AssemblyVersion("1.0.*")]
+
+// The following attributes are used to specify the signing key for the assembly,
+// if desired. See the Mono documentation for more information about signing.
+
+//[assembly: AssemblyDelaySign(false)]
+//[assembly: AssemblyKeyFile("")]
+
Added: trunk/bindings/csharp/tests/Main.cs
===================================================================
--- trunk/bindings/csharp/tests/Main.cs (rev 0)
+++ trunk/bindings/csharp/tests/Main.cs 2014-04-29 07:30:26 UTC (rev 3202)
@@ -0,0 +1,25 @@
+// Copyright 2002-2014 CrossWire Bible Society (http://www.crosswire.org)
+// CrossWire Bible Society
+// P. O. Box 2528
+// Tempe, AZ 85280-2528
+//
+// 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 the
+// Free Software Foundation version 2.
+//
+// This program is distributed in the hope that it will be useful, but
+// WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+// General Public License for more details.
+using System;
+
+namespace Sword.Tests
+{
+ public class MainClass
+ {
+ public static void Main(string[] args)
+ {
+ }
+ }
+}
+
Modified: trunk/bindings/csharp/tests/Sword.Tests.csproj
===================================================================
--- trunk/bindings/csharp/tests/Sword.Tests.csproj 2014-04-29 04:06:19 UTC (rev 3201)
+++ trunk/bindings/csharp/tests/Sword.Tests.csproj 2014-04-29 07:30:26 UTC (rev 3202)
@@ -42,14 +42,14 @@
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
- <Compile Include="FlatApiLookup.cs" />
<Compile Include="ModuleTests.cs" />
<Compile Include="ManagerTests.cs" />
<Compile Include="InstallManagerTests.cs" />
+ <Compile Include="Main.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
- <ProjectReference Include="..\Sword\Sword.csproj">
+ <ProjectReference Include="..\Sword.csproj">
<Project>{EFEE3557-86F2-4E46-AF7E-8BADEE240764}</Project>
<Name>Sword</Name>
</ProjectReference>
More information about the sword-cvs
mailing list