[tasque] 2010-03-08 Mario Carrion <mario carrion mx>



commit fdfee1f80930f72c45f4f57f18e1660c3682e757
Author: Mario Carrion <mario carrion mx>
Date:   Mon Mar 8 20:07:27 2010 -0500

    2010-03-08  Mario Carrion  <mario carrion mx>
    
    In /:
    	* tasque.csproj:
    	* src/libtasque/IBackend.cs:
    	* src/libtasque/ICategory.cs:
    	* src/libtasque/INote.cs:
    	* src/libtasque/ITask.cs:
    	* src/libtasque/TaskPriority.cs:
    	* src/libtasque/TaskState.cs: Files moved from src/.
    	* src/libtasque/libtasque.csproj: New project.
    	* .gitignore: *.swp added.
    	* RtmNet/RtmNet.csproj: MD flush.
    	* src/Makefile.am: Updated to include moved files.
    	* tasque.sln: New project added: libtasque, it will be used for
    	testing.

 .gitignore                          |    1 +
 ChangeLog                           |   16 +++++++++
 RtmNet/RtmNet.csproj                |    5 ++-
 src/Makefile.am                     |   16 +++++----
 src/{ => libtasque}/IBackend.cs     |    0
 src/{ => libtasque}/ICategory.cs    |    0
 src/{ => libtasque}/INote.cs        |    0
 src/{ => libtasque}/ITask.cs        |    0
 src/{ => libtasque}/TaskPriority.cs |    0
 src/{ => libtasque}/TaskState.cs    |    0
 src/libtasque/libtasque.csproj      |   43 ++++++++++++++++++++++++
 tasque.csproj                       |   38 ++++++----------------
 tasque.sln                          |   61 ++++++++++++++++++++---------------
 13 files changed, 117 insertions(+), 63 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index bf1ddf8..64e7b46 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,7 @@
 # Global ignores
 *~
 *.pyc
+*.swp
 Makefile
 Makefile.in
 
diff --git a/ChangeLog b/ChangeLog
index d9b50d8..1b84197 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,19 @@
+2010-03-08  Mario Carrion  <mario carrion mx>
+	
+	* tasque.csproj:
+	* src/libtasque/IBackend.cs: 
+	* src/libtasque/ICategory.cs:
+	* src/libtasque/INote.cs:
+	* src/libtasque/ITask.cs:
+	* src/libtasque/TaskPriority.cs:
+	* src/libtasque/TaskState.cs: Files moved from src/.
+	* src/libtasque/libtasque.csproj: New project.
+	* .gitignore: *.swp added.
+	* RtmNet/RtmNet.csproj: MD flush.
+	* src/Makefile.am: Updated to include moved files.
+	* tasque.sln: New project added: libtasque, it will be used for
+	testing.
+
 2010-03-07  Mario Carrion  <mario carrion mx>
 
 	* tasque.csproj: Project updated.
diff --git a/RtmNet/RtmNet.csproj b/RtmNet/RtmNet.csproj
index 19d97ae..127a70a 100644
--- a/RtmNet/RtmNet.csproj
+++ b/RtmNet/RtmNet.csproj
@@ -1,4 +1,5 @@
-<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="3.5" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
   <PropertyGroup>
     <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
     <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
@@ -67,7 +68,7 @@
   <ItemGroup>
     <Content Include="License.txt" />
   </ItemGroup>
-  <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
   <ProjectExtensions>
     <VisualStudio AllowExistingFolder="true" />
   </ProjectExtensions>
diff --git a/src/Makefile.am b/src/Makefile.am
index 162a825..667b131 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -67,10 +67,6 @@ CSFILES = \
 	$(srcdir)/DateButton.cs \
 	$(srcdir)/GtkApplication.cs \
 	$(srcdir)/GnomeApplication.cs \
-	$(srcdir)/IBackend.cs \
-	$(srcdir)/ICategory.cs \
-	$(srcdir)/ITask.cs \
-	$(srcdir)/INote.cs \
 	$(srcdir)/Logger.cs \
 	$(srcdir)/NativeApplication.cs \
 	$(srcdir)/NoteDialog.cs \
@@ -84,11 +80,15 @@ CSFILES = \
 	$(srcdir)/CompletedTaskGroupModel.cs \
 	$(srcdir)/TaskGroupModelFactory.cs \
 	$(srcdir)/TaskGroup.cs \
-	$(srcdir)/TaskPriority.cs \
-	$(srcdir)/TaskState.cs \
 	$(srcdir)/TaskWindow.cs \
 	$(srcdir)/TaskTreeView.cs \
 	$(srcdir)/Utilities.cs \
+	$(srcdir)/libtasque/IBackend.cs \
+	$(srcdir)/libtasque/ICategory.cs \
+	$(srcdir)/libtasque/ITask.cs \
+	$(srcdir)/libtasque/INote.cs \
+	$(srcdir)/libtasque/TaskPriority.cs \
+	$(srcdir)/libtasque/TaskState.cs \
 	\
 	$(DUMMY_CSFILES) \
 	\
@@ -184,7 +184,9 @@ EXTRA_DIST = \
 	$(srcdir)/Backends/Rtm/*.cs	\
 	$(srcdir)/Backends/Sqlite/*.cs  \
 	$(srcdir)/Backends/Hiveminder/*.cs \
-	$(srcdir)/Backends/Hiveminder/service/*.cs
+	$(srcdir)/Backends/Hiveminder/service/*.cs \
+	$(srcdir)/libtasque/*.cs \
+	$(srcdir)/libtasque/libtasque.csproj
 
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = tasque.pc
diff --git a/src/IBackend.cs b/src/libtasque/IBackend.cs
similarity index 100%
rename from src/IBackend.cs
rename to src/libtasque/IBackend.cs
diff --git a/src/ICategory.cs b/src/libtasque/ICategory.cs
similarity index 100%
rename from src/ICategory.cs
rename to src/libtasque/ICategory.cs
diff --git a/src/INote.cs b/src/libtasque/INote.cs
similarity index 100%
rename from src/INote.cs
rename to src/libtasque/INote.cs
diff --git a/src/ITask.cs b/src/libtasque/ITask.cs
similarity index 100%
rename from src/ITask.cs
rename to src/libtasque/ITask.cs
diff --git a/src/TaskPriority.cs b/src/libtasque/TaskPriority.cs
similarity index 100%
rename from src/TaskPriority.cs
rename to src/libtasque/TaskPriority.cs
diff --git a/src/TaskState.cs b/src/libtasque/TaskState.cs
similarity index 100%
rename from src/TaskState.cs
rename to src/libtasque/TaskState.cs
diff --git a/src/libtasque/libtasque.csproj b/src/libtasque/libtasque.csproj
new file mode 100644
index 0000000..3eb06e4
--- /dev/null
+++ b/src/libtasque/libtasque.csproj
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003";>
+  <PropertyGroup>
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+    <ProductVersion>9.0.21022</ProductVersion>
+    <SchemaVersion>2.0</SchemaVersion>
+    <ProjectGuid>{784C9AA8-2B28-400B-8CC4-DCDC48CA37F0}</ProjectGuid>
+    <OutputType>Library</OutputType>
+    <RootNamespace>libtasque</RootNamespace>
+    <AssemblyName>libtasque</AssemblyName>
+    <TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
+  </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>
+  </PropertyGroup>
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+    <DebugType>none</DebugType>
+    <Optimize>false</Optimize>
+    <OutputPath>bin\Release</OutputPath>
+    <ErrorReport>prompt</ErrorReport>
+    <WarningLevel>4</WarningLevel>
+  </PropertyGroup>
+  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+  <ItemGroup>
+    <Compile Include="IBackend.cs" />
+    <Compile Include="ICategory.cs" />
+    <Compile Include="INote.cs" />
+    <Compile Include="ITask.cs" />
+    <Compile Include="TaskPriority.cs" />
+    <Compile Include="TaskState.cs" />
+  </ItemGroup>
+  <ItemGroup>
+    <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="System" />
+  </ItemGroup>
+</Project>
\ No newline at end of file
diff --git a/tasque.csproj b/tasque.csproj
index 6557475..d71b608 100644
--- a/tasque.csproj
+++ b/tasque.csproj
@@ -32,30 +32,10 @@
     <WarningLevel>4</WarningLevel>
   </PropertyGroup>
   <ItemGroup>
-    <Reference Include="atk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\..\..\..\Program Files\Medsphere\Gtk# SDK\lib\gtk-sharp-2.0\atk\atk-sharp.dll</HintPath>
-    </Reference>
-    <Reference Include="gdk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\..\..\..\Program Files\Medsphere\Gtk# SDK\lib\gtk-sharp-2.0\gdk\gdk-sharp.dll</HintPath>
-    </Reference>
-    <Reference Include="glib-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\..\..\..\Program Files\Medsphere\Gtk# SDK\lib\gtk-sharp-2.0\glib\glib-sharp.dll</HintPath>
-    </Reference>
-    <Reference Include="gtk-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\..\..\..\Program Files\Medsphere\Gtk# SDK\lib\gtk-sharp-2.0\gtk\gtk-sharp.dll</HintPath>
-    </Reference>
     <Reference Include="Mono.Posix, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756">
       <SpecificVersion>False</SpecificVersion>
       <HintPath>winbin\Mono.Posix.dll</HintPath>
     </Reference>
-    <Reference Include="pango-sharp, Version=2.10.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f">
-      <SpecificVersion>False</SpecificVersion>
-      <HintPath>..\..\..\..\Program Files\Medsphere\Gtk# SDK\lib\gtk-sharp-2.0\pango\pango-sharp.dll</HintPath>
-    </Reference>
     <Reference Include="System" />
     <Reference Include="System.Data" />
     <Reference Include="System.Xml" />
@@ -63,6 +43,11 @@
       <SpecificVersion>False</SpecificVersion>
       <HintPath>winbin\Mono.Data.Sqlite.dll</HintPath>
     </Reference>
+    <Reference Include="atk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="glib-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
+    <Reference Include="pango-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
   </ItemGroup>
   <ItemGroup>
     <None Include="ChangeLog" />
@@ -70,9 +55,8 @@
     <None Include="data\images\note-22.svg" />
     <None Include="data\images\tasque-icons-source.svg" />
     <None Include="data\images\tasque.svg" />
-    <Compile Include="src\Defines.WIN32.cs" />
-    <None Include="src\Defines.cs.in" />
     <None Include="src\Tasque.exe.config.in" />
+    <Compile Include="src\Defines.cs" />
   </ItemGroup>
   <ItemGroup>
     <Content Include="data\images\clock-16-0.png" />
@@ -129,10 +113,6 @@
     <Compile Include="src\DateButton.cs" />
     <None Include="src\GnomeApplication.cs" />
     <Compile Include="src\GtkApplication.cs" />
-    <Compile Include="src\IBackend.cs" />
-    <Compile Include="src\ICategory.cs" />
-    <Compile Include="src\INote.cs" />
-    <Compile Include="src\ITask.cs" />
     <Compile Include="src\Logger.cs" />
     <Compile Include="src\NativeApplication.cs" />
     <Compile Include="src\NoteDialog.cs" />
@@ -144,8 +124,6 @@
     <Compile Include="src\TaskGroup.cs" />
     <Compile Include="src\TaskGroupModel.cs" />
     <Compile Include="src\TaskGroupModelFactory.cs" />
-    <Compile Include="src\TaskPriority.cs" />
-    <Compile Include="src\TaskState.cs" />
     <Compile Include="src\TaskTreeView.cs" />
     <Compile Include="src\TaskWindow.cs" />
     <Compile Include="src\Utilities.cs" />
@@ -155,6 +133,10 @@
       <Project>{0AA1B96E-03DE-4D26-B4FD-507E988FD9B7}</Project>
       <Name>RtmNet</Name>
     </ProjectReference>
+    <ProjectReference Include="src\libtasque\libtasque.csproj">
+      <Project>{784C9AA8-2B28-400B-8CC4-DCDC48CA37F0}</Project>
+      <Name>libtasque</Name>
+    </ProjectReference>
   </ItemGroup>
   <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
   <ProjectExtensions>
diff --git a/tasque.sln b/tasque.sln
index 0236762..4e9c7c6 100644
--- a/tasque.sln
+++ b/tasque.sln
@@ -1,26 +1,35 @@
-
-Microsoft Visual Studio Solution File, Format Version 10.00
-# Visual Studio 2008
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "tasque", "tasque.csproj", "{B19B9840-669D-4984-9772-E1F55193A67F}"
-EndProject
-Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RtmNet", "RtmNet\RtmNet.csproj", "{0AA1B96E-03DE-4D26-B4FD-507E988FD9B7}"
-EndProject
-Global
-	GlobalSection(SolutionConfigurationPlatforms) = preSolution
-		Debug|Any CPU = Debug|Any CPU
-		Release|Any CPU = Release|Any CPU
-	EndGlobalSection
-	GlobalSection(ProjectConfigurationPlatforms) = postSolution
-		{B19B9840-669D-4984-9772-E1F55193A67F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{B19B9840-669D-4984-9772-E1F55193A67F}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{B19B9840-669D-4984-9772-E1F55193A67F}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{B19B9840-669D-4984-9772-E1F55193A67F}.Release|Any CPU.Build.0 = Release|Any CPU
-		{0AA1B96E-03DE-4D26-B4FD-507E988FD9B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
-		{0AA1B96E-03DE-4D26-B4FD-507E988FD9B7}.Debug|Any CPU.Build.0 = Debug|Any CPU
-		{0AA1B96E-03DE-4D26-B4FD-507E988FD9B7}.Release|Any CPU.ActiveCfg = Release|Any CPU
-		{0AA1B96E-03DE-4D26-B4FD-507E988FD9B7}.Release|Any CPU.Build.0 = Release|Any CPU
-	EndGlobalSection
-	GlobalSection(SolutionProperties) = preSolution
-		HideSolutionNode = FALSE
-	EndGlobalSection
-EndGlobal
+
+Microsoft Visual Studio Solution File, Format Version 10.00
+# Visual Studio 2008
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "tasque", "tasque.csproj", "{B19B9840-669D-4984-9772-E1F55193A67F}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RtmNet", "RtmNet\RtmNet.csproj", "{0AA1B96E-03DE-4D26-B4FD-507E988FD9B7}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "libtasque", "src\libtasque\libtasque.csproj", "{784C9AA8-2B28-400B-8CC4-DCDC48CA37F0}"
+EndProject
+Global
+	GlobalSection(SolutionConfigurationPlatforms) = preSolution
+		Debug|Any CPU = Debug|Any CPU
+		Release|Any CPU = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(ProjectConfigurationPlatforms) = postSolution
+		{0AA1B96E-03DE-4D26-B4FD-507E988FD9B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{0AA1B96E-03DE-4D26-B4FD-507E988FD9B7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{0AA1B96E-03DE-4D26-B4FD-507E988FD9B7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{0AA1B96E-03DE-4D26-B4FD-507E988FD9B7}.Release|Any CPU.Build.0 = Release|Any CPU
+		{784C9AA8-2B28-400B-8CC4-DCDC48CA37F0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{784C9AA8-2B28-400B-8CC4-DCDC48CA37F0}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{784C9AA8-2B28-400B-8CC4-DCDC48CA37F0}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{784C9AA8-2B28-400B-8CC4-DCDC48CA37F0}.Release|Any CPU.Build.0 = Release|Any CPU
+		{B19B9840-669D-4984-9772-E1F55193A67F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+		{B19B9840-669D-4984-9772-E1F55193A67F}.Debug|Any CPU.Build.0 = Debug|Any CPU
+		{B19B9840-669D-4984-9772-E1F55193A67F}.Release|Any CPU.ActiveCfg = Release|Any CPU
+		{B19B9840-669D-4984-9772-E1F55193A67F}.Release|Any CPU.Build.0 = Release|Any CPU
+	EndGlobalSection
+	GlobalSection(MonoDevelopProperties) = preSolution
+		StartupItem = tasque.csproj
+	EndGlobalSection
+	GlobalSection(SolutionProperties) = preSolution
+		HideSolutionNode = FALSE
+	EndGlobalSection
+EndGlobal



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]