tasque r109 - in trunk: . src src/Backends/Rtm winbin
- From: sharm svn gnome org
- To: svn-commits-list gnome org
- Subject: tasque r109 - in trunk: . src src/Backends/Rtm winbin
- Date: Fri, 26 Sep 2008 10:44:18 +0000 (UTC)
Author: sharm
Date: Fri Sep 26 10:44:18 2008
New Revision: 109
URL: http://svn.gnome.org/viewvc/tasque?rev=109&view=rev
Log:
2008-09-26 Sandy Armstrong <sanfordarmstrong gmail com>
* tasque.sln, tasque.csproj: Visual Studio 2008 solution for building
Tasque with the Dummy and RTM backends.
* src/Application.cs, src/NativeApplication.cs, src/GnomeApplication.cs,
src/WindowsApplication.cs: Platform-specific app management code.
* src/Logger.cs: Some ugly (temporary) #if WIN32 lines.
* src/Defines.cs.in: Rename GnomeLocaleDir to LocaleDir.
* src/Defines.cs: Commit a copy for building on Windows.
* src/Preferences.cs: Pick conf file in platform-independent way.
* src/Utilities.cs: Process-renaming code moved to src/GnomeApplication.cs.
* winbin/: Mono assemblies needed on Windows.
Added:
trunk/src/Defines.cs (contents, props changed)
trunk/src/GnomeApplication.cs (contents, props changed)
trunk/src/NativeApplication.cs (contents, props changed)
trunk/src/WindowsApplication.cs (contents, props changed)
trunk/tasque.csproj (contents, props changed)
trunk/tasque.sln (contents, props changed)
trunk/winbin/
trunk/winbin/Mono.Posix.dll (contents, props changed)
trunk/winbin/MonoPosixHelper.dll (contents, props changed)
Modified:
trunk/ (props changed)
trunk/ChangeLog
trunk/src/ (props changed)
trunk/src/Application.cs
trunk/src/Backends/Rtm/RtmPreferencesWidget.cs
trunk/src/Defines.cs.in
trunk/src/Logger.cs
trunk/src/Preferences.cs
trunk/src/Utilities.cs
Modified: trunk/src/Application.cs
==============================================================================
--- trunk/src/Application.cs (original)
+++ trunk/src/Application.cs Fri Sep 26 10:44:18 2008
@@ -38,7 +38,6 @@
using Gtk;
using Gdk;
-using Gnome;
using Mono.Unix;
using Mono.Unix.Native;
#if ENABLE_NOTIFY_SHARP
@@ -52,9 +51,10 @@
{
private static Tasque.Application application = null;
private static System.Object locker = new System.Object();
-
- private Gnome.Program program;
+ private INativeApplication nativeApp;
+#if !WIN32
private RemoteControl remoteControl;
+#endif
private Gdk.Pixbuf normalPixBuf;
private Gtk.Image trayImage;
private Gtk.StatusIcon trayIcon;
@@ -131,6 +131,14 @@
}
}
+ public INativeApplication NativeApplication
+ {
+ get
+ {
+ return nativeApp;
+ }
+ }
+
public static Preferences Preferences
{
get { return Application.Instance.preferences; }
@@ -148,14 +156,20 @@
private void Init(string[] args)
{
- program = new Gnome.Program (
- "Tasque",
- Defines.Version,
- Gnome.Modules.UI,
- args);
+#if WIN32
+ nativeApp = new WindowsApplication ();
+#else
+ nativeapp = new GnomeApplication ();
+#endif
+ nativeApp.Initialize (
+ Defines.LocaleDir,
+ "Tasque",
+ "Tasque",
+ args);
- preferences = new Preferences();
+ preferences = new Preferences (nativeApp.ConfDir);
+#if !WIN32
// Register Tasque RemoteControl
try {
remoteControl = RemoteControlProxy.Register ();
@@ -178,6 +192,7 @@
Logger.Debug ("Tasque remote control disabled (DBus exception): {0}",
e.Message);
}
+#endif
// Read the args and check to see if a specific backend is specified
if (args.Length > 0) {
@@ -448,7 +463,8 @@
backend.Cleanup();
}
TaskWindow.SavePosition();
- program.Quit (); // Should this be called instead?
+
+ nativeApp.QuitMainLoop ();
}
private void OnRefreshAction (object sender, EventArgs args)
@@ -518,18 +534,15 @@
public static void Main(string[] args)
{
- Catalog.Init ("tasque", Defines.GnomeLocaleDir);
-
try
{
- Utilities.SetProcessName ("Tasque");
application = GetApplicationWithArgs(args);
application.StartMainLoop ();
}
catch (Exception e)
{
Tasque.Logger.Debug("Exception is: {0}", e);
- Exit (-1);
+ Instance.NativeApplication.Exit (-1);
}
}
@@ -548,22 +561,6 @@
}
}
- public static void OnExitSignal (int signal)
- {
- if (ExitingEvent != null)
- ExitingEvent (null, EventArgs.Empty);
- if (signal >= 0)
- System.Environment.Exit (0);
- }
-
- public static event EventHandler ExitingEvent = null;
-
- public static void Exit (int exitcode)
- {
- OnExitSignal (-1);
- System.Environment.Exit (exitcode);
- }
-
#if ENABLE_NOTIFY_SHARP
public static void ShowAppNotification(Notification notification)
{
@@ -577,7 +574,7 @@
public void StartMainLoop ()
{
- program.Run ();
+ nativeApp.StartMainLoop ();
}
public void Quit ()
Modified: trunk/src/Backends/Rtm/RtmPreferencesWidget.cs
==============================================================================
--- trunk/src/Backends/Rtm/RtmPreferencesWidget.cs (original)
+++ trunk/src/Backends/Rtm/RtmPreferencesWidget.cs Fri Sep 26 10:44:18 2008
@@ -96,7 +96,7 @@
if (!isAuthorized && !authRequested) {
string url = rtmBackend.GetAuthUrl();
Logger.Debug("Launching browser to authorize with Remember the Milk");
- Gnome.Url.Show(url);
+ Application.Instance.NativeApplication.OpenUrl (url);
authRequested = true;
authButton.Label = "Click Here After Authorizing Tasque";
} else if (!isAuthorized && authRequested) {
Added: trunk/src/Defines.cs
==============================================================================
--- (empty file)
+++ trunk/src/Defines.cs Fri Sep 26 10:44:18 2008
@@ -0,0 +1,40 @@
+/***************************************************************************
+ * Defines.cs.in
+ *
+ * Copyright (C) 2008 Novell, Inc.
+ * Written by Calvin Gaisford <calvinrg gmail com>
+ ****************************************************************************/
+
+/* THIS FILE IS LICENSED UNDER THE MIT LICENSE AS OUTLINED IMMEDIATELY BELOW:
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ * DEALINGS IN THE SOFTWARE.
+ */
+
+using System;
+
+namespace Tasque
+{
+ public class Defines
+ {
+ public const string Version = "0.1.8";
+ public const string DataDir = "@datadir@";
+ public const string LocaleDir = "@datadir@/locale";
+ public const string SoundDir = "@datadir@/tasque/sounds";
+ }
+}
Modified: trunk/src/Defines.cs.in
==============================================================================
--- trunk/src/Defines.cs.in (original)
+++ trunk/src/Defines.cs.in Fri Sep 26 10:44:18 2008
@@ -34,7 +34,7 @@
{
public const string Version = "@version@";
public const string DataDir = "@datadir@";
- public const string GnomeLocaleDir = "@datadir@/locale";
+ public const string LocaleDir = "@datadir@/locale";
public const string SoundDir = "@datadir@/tasque/sounds";
}
}
Added: trunk/src/GnomeApplication.cs
==============================================================================
--- (empty file)
+++ trunk/src/GnomeApplication.cs Fri Sep 26 10:44:18 2008
@@ -0,0 +1,102 @@
+using System;
+using System.Collections;
+using System.Runtime.InteropServices;
+using System.Text;
+using System.IO;
+using System.Xml;
+
+using Mono.Unix;
+using Mono.Unix.Native;
+
+namespace Tasque
+{
+ public class GnomeApplication : INativeApplication
+ {
+ private Gnome.Program program;
+ private string confDir;
+
+ public GnomeApplication ()
+ {
+ confDir = Path.Combine (
+ Environment.GetFolderPath (
+ Environment.SpecialFolder.ApplicationData),
+ "tasque");
+ if (!Directory.Exists (confDir))
+ Directory.CreateDirectory (confDir);
+ }
+
+ public void Initialize (string locale_dir,
+ string display_name,
+ string process_name,
+ string [] args)
+ {
+ try {
+ SetProcessName (process_name);
+ } catch {} // Ignore exception if fail (not needed to run)
+
+ Gtk.Application.Init ();
+ program = new Gnome.Program (display_name,
+ Defines.VERSION,
+ Gnome.Modules.UI,
+ args);
+ }
+
+ public event EventHandler ExitingEvent;
+
+ public void Exit (int exitcode)
+ {
+ OnExitSignal (-1);
+ System.Environment.Exit (exitcode);
+ }
+
+ public void StartMainLoop ()
+ {
+ program.Run ();
+ }
+
+ public void QuitMainLoop ()
+ {
+ Gtk.Main.Quit ();
+ }
+
+ [DllImport("libc")]
+ private static extern int prctl (int option,
+ byte [] arg2,
+ IntPtr arg3,
+ IntPtr arg4,
+ IntPtr arg5);
+
+ // From Banshee: Banshee.Base/Utilities.cs
+ private void SetProcessName (string name)
+ {
+ if (prctl (15 /* PR_SET_NAME */,
+ Encoding.ASCII.GetBytes (name + "\0"),
+ IntPtr.Zero,
+ IntPtr.Zero,
+ IntPtr.Zero) != 0)
+ throw new ApplicationException (
+ "Error setting process name: " +
+ Mono.Unix.Native.Stdlib.GetLastError ());
+ }
+
+ private void OnExitSignal (int signal)
+ {
+ if (ExitingEvent != null)
+ ExitingEvent (null, new EventArgs ());
+
+ if (signal >= 0)
+ System.Environment.Exit (0);
+ }
+
+ public void OpenUrl (string url)
+ {
+ Gnome.Url.Show (url);
+ }
+
+ public string ConfDir {
+ get {
+ return confDir;
+ }
+ }
+ }
+}
Modified: trunk/src/Logger.cs
==============================================================================
--- trunk/src/Logger.cs (original)
+++ trunk/src/Logger.cs Fri Sep 26 10:44:18 2008
@@ -63,7 +63,11 @@
{
try {
log = File.CreateText (Path.Combine (
+#if WIN32
+ Environment.GetFolderPath (Environment.SpecialFolder.ApplicationData),
+#else
Environment.GetEnvironmentVariable ("HOME"),
+#endif
".tasque.log"));
log.Flush ();
} catch (IOException) {
@@ -76,7 +80,13 @@
~FileLogger ()
{
if (log != null)
- log.Flush ();
+#if WIN32
+ try {
+#endif
+ log.Flush ();
+#if WIN32
+ } catch { }
+#endif
}
public void Log (LogLevel lvl, string msg, params object[] args)
Added: trunk/src/NativeApplication.cs
==============================================================================
--- (empty file)
+++ trunk/src/NativeApplication.cs Fri Sep 26 10:44:18 2008
@@ -0,0 +1,22 @@
+using System;
+
+namespace Tasque
+{
+ public interface INativeApplication
+ {
+ void Initialize (string locale_dir,
+ string display_name,
+ string process_name,
+ string [] args);
+
+ event EventHandler ExitingEvent;
+
+ void Exit (int exitcode);
+ void StartMainLoop ();
+ void QuitMainLoop ();
+
+ string ConfDir { get; }
+
+ void OpenUrl (string url);
+ }
+}
Modified: trunk/src/Preferences.cs
==============================================================================
--- trunk/src/Preferences.cs (original)
+++ trunk/src/Preferences.cs Fri Sep 26 10:44:18 2008
@@ -222,11 +222,10 @@
NotifyHandlersOfSettingChange (settingKey.Trim ());
}
- public Preferences ()
+ public Preferences (string confDir)
{
document = new XmlDocument();
- location = Path.Combine(Environment.GetFolderPath(
- Environment.SpecialFolder.ApplicationData), "tasque/preferences");
+ location = Path.Combine (confDir, "preferences");
if(!File.Exists(location)) {
CreateDefaultPrefs();
} else {
Modified: trunk/src/Utilities.cs
==============================================================================
--- trunk/src/Utilities.cs (original)
+++ trunk/src/Utilities.cs Fri Sep 26 10:44:18 2008
@@ -42,19 +42,6 @@
{
internal class Utilities
{
- [DllImport("libc")]
- private static extern int prctl(int option, byte [] arg2,
- IntPtr arg3, IntPtr arg4, IntPtr arg5);
-
- public static void SetProcessName(string name)
- {
- // 15 = PR_SET_NAME
- if(prctl(15, Encoding.ASCII.GetBytes(name + "\0"), IntPtr.Zero, IntPtr.Zero, IntPtr.Zero) != 0)
- {
- throw new ApplicationException("Error setting process name: " + Mono.Unix.Native.Stdlib.GetLastError());
- }
- }
-
public static string ReplaceString (string originalString, string searchString, string replaceString)
{
return Utilities.ReplaceString (originalString, searchString, replaceString, false);
Added: trunk/src/WindowsApplication.cs
==============================================================================
--- (empty file)
+++ trunk/src/WindowsApplication.cs Fri Sep 26 10:44:18 2008
@@ -0,0 +1,91 @@
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+//
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+//
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+// Copyright (c) 2008 Novell, Inc. (http://www.novell.com)
+//
+// Authors:
+// Sandy Armstrong <sanfordarmstrong gmail com>
+//
+
+
+using System;
+using System.IO;
+
+namespace Tasque
+{
+ public class WindowsApplication : INativeApplication
+ {
+ #region INativeApplication implementation
+
+ private string confDir;
+
+ public event EventHandler ExitingEvent;
+
+ public WindowsApplication ()
+ {
+ confDir = Path.Combine (
+ Environment.GetFolderPath (
+ Environment.SpecialFolder.ApplicationData),
+ "tasque");
+ if (!Directory.Exists (confDir))
+ Directory.CreateDirectory (confDir);
+ }
+
+ public void Initialize (string locale_dir, string display_name, string process_name, string[] args)
+ {
+ Gtk.Application.Init ();
+ }
+
+ public void Exit (int exitcode)
+ {
+ if (ExitingEvent != null)
+ ExitingEvent (null, new EventArgs ());
+ System.Environment.Exit (exitcode);
+ }
+
+ public void StartMainLoop ()
+ {
+ Gtk.Application.Run ();
+ }
+
+ public void QuitMainLoop ()
+ {
+ Gtk.Application.Quit ();
+ }
+
+ public string ConfDir
+ {
+ get
+ {
+ return confDir;
+ }
+ }
+
+ public void OpenUrl (string url)
+ {
+ try {
+ System.Diagnostics.Process.Start (url);
+ } catch (Exception e) {
+ Logger.Error ("Error opening url [{0}]:\n{1}", url, e.ToString ());
+ }
+ }
+
+ #endregion
+ }
+}
Added: trunk/tasque.csproj
==============================================================================
--- (empty file)
+++ trunk/tasque.csproj Fri Sep 26 10:44:18 2008
@@ -0,0 +1,186 @@
+ï<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>
+ <ProjectGuid>{B19B9840-669D-4984-9772-E1F55193A67F}</ProjectGuid>
+ <ProductVersion>9.0.21022</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <OutputType>Exe</OutputType>
+ <NoStandardLibraries>false</NoStandardLibraries>
+ <AssemblyName>tasque</AssemblyName>
+ <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
+ <FileAlignment>512</FileAlignment>
+ <NoWin32Manifest>true</NoWin32Manifest>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug\</OutputPath>
+ <DefineConstants>TRACE;DEBUG;WIN32</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>pdbonly</DebugType>
+ <Optimize>true</Optimize>
+ <OutputPath>bin\Release\</OutputPath>
+ <DefineConstants>TRACE</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <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.Core" />
+ <Reference Include="System.Data" />
+ <Reference Include="System.Data.DataSetExtensions" />
+ <Reference Include="System.Web" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Xml.Linq" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="ChangeLog" />
+ <None Include="data\images\clock-16-0.svg" />
+ <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.cs" />
+ <None Include="src\Defines.cs.in" />
+ <None Include="src\Tasque.exe.config.in" />
+ </ItemGroup>
+ <ItemGroup>
+ <EmbeddedResource Include="clock-16-1.png" />
+ <EmbeddedResource Include="clock-16-10.png" />
+ <EmbeddedResource Include="clock-16-11.png" />
+ <EmbeddedResource Include="clock-16-2.png" />
+ <EmbeddedResource Include="clock-16-3.png" />
+ <EmbeddedResource Include="clock-16-4.png" />
+ <EmbeddedResource Include="clock-16-5.png" />
+ <EmbeddedResource Include="clock-16-6.png" />
+ <EmbeddedResource Include="clock-16-7.png" />
+ <EmbeddedResource Include="clock-16-8.png" />
+ <EmbeddedResource Include="clock-16-9.png" />
+ <Content Include="data\images\clock-16-0.png" />
+ <Content Include="data\images\clock-16-1.png" />
+ <Content Include="data\images\clock-16-10.png" />
+ <Content Include="data\images\clock-16-11.png" />
+ <Content Include="data\images\clock-16-2.png" />
+ <Content Include="data\images\clock-16-3.png" />
+ <Content Include="data\images\clock-16-4.png" />
+ <Content Include="data\images\clock-16-5.png" />
+ <Content Include="data\images\clock-16-6.png" />
+ <Content Include="data\images\clock-16-7.png" />
+ <Content Include="data\images\clock-16-8.png" />
+ <Content Include="data\images\clock-16-9.png" />
+ <Content Include="data\images\note-16.png" />
+ <Content Include="data\images\rtmLogo.png" />
+ <Content Include="data\images\tasque-16.png" />
+ <Content Include="data\images\tasque-22.png" />
+ <Content Include="data\images\tasque-24.png" />
+ <Content Include="data\images\tasque-32.png" />
+ <Content Include="data\images\tasque-48.png" />
+ <Content Include="data\sounds\notify.wav" />
+ <EmbeddedResource Include="note-16.png" />
+ <EmbeddedResource Include="rtmLogo.png" />
+ <EmbeddedResource Include="tasque-16.png" />
+ <EmbeddedResource Include="tasque-22.png" />
+ <EmbeddedResource Include="tasque-24.png" />
+ <EmbeddedResource Include="tasque-32.png" />
+ <EmbeddedResource Include="tasque-48.png" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="RtmNet\ApiKeyRequiredException.cs" />
+ <Compile Include="RtmNet\AssemblyInfo.cs" />
+ <Compile Include="RtmNet\Auth.cs" />
+ <Compile Include="RtmNet\AuthenticationRequiredException.cs" />
+ <Compile Include="RtmNet\Categories.cs" />
+ <Compile Include="RtmNet\Contacts.cs" />
+ <Compile Include="RtmNet\DateGranularity.cs" />
+ <Compile Include="RtmNet\Enums.cs" />
+ <Compile Include="RtmNet\Groups.cs" />
+ <Compile Include="RtmNet\GroupSearchResults.cs" />
+ <Compile Include="RtmNet\List.cs" />
+ <Compile Include="RtmNet\Methods.cs" />
+ <Compile Include="RtmNet\Note.cs" />
+ <Compile Include="RtmNet\Response.cs" />
+ <Compile Include="RtmNet\ResponseXmlException.cs" />
+ <Compile Include="RtmNet\Rtm.cs" />
+ <Compile Include="RtmNet\RtmApiException.cs" />
+ <Compile Include="RtmNet\RtmException.cs" />
+ <Compile Include="RtmNet\RtmWebException.cs" />
+ <Compile Include="RtmNet\SignatureRequiredException.cs" />
+ <Compile Include="RtmNet\Tags.cs" />
+ <Compile Include="RtmNet\Task.cs" />
+ <Compile Include="RtmNet\User.cs" />
+ <Compile Include="RtmNet\Utils.cs" />
+ <Compile Include="src\AbstractTask.cs" />
+ <Compile Include="src\AllCategory.cs" />
+ <Compile Include="src\Application.cs" />
+ <Compile Include="src\Backends\Dummy\DummyBackend.cs" />
+ <Compile Include="src\Backends\Dummy\DummyCategory.cs" />
+ <Compile Include="src\Backends\Dummy\DummyNote.cs" />
+ <Compile Include="src\Backends\Dummy\DummyTask.cs" />
+ <Compile Include="src\Backends\Rtm\RtmBackend.cs" />
+ <Compile Include="src\Backends\Rtm\RtmCategory.cs" />
+ <Compile Include="src\Backends\Rtm\RtmNote.cs" />
+ <Compile Include="src\Backends\Rtm\RtmPreferencesWidget.cs" />
+ <Compile Include="src\Backends\Rtm\RtmTask.cs" />
+ <Compile Include="src\CellRendererDate.cs" />
+ <Compile Include="src\CompletedTaskGroup.cs" />
+ <Compile Include="src\DateButton.cs" />
+ <None Include="src\GnomeApplication.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" />
+ <Compile Include="src\NoteWidget.cs" />
+ <Compile Include="src\Preferences.cs" />
+ <Compile Include="src\PreferencesDialog.cs" />
+ <Compile Include="src\TaskCalendar.cs" />
+ <Compile Include="src\TaskGroup.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" />
+ <Compile Include="src\WindowsApplication.cs" />
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="Properties\" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSHARP.Targets" />
+ <ProjectExtensions>
+ <VisualStudio AllowExistingFolder="true" />
+ </ProjectExtensions>
+ <PropertyGroup>
+ <PostBuildEvent>copy $(SolutionDir)\winbin $(TargetDir)</PostBuildEvent>
+ <PreBuildEvent>copy $(SolutionDir)\data\images\*.png $(ProjectDir)</PreBuildEvent>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
Added: trunk/tasque.sln
==============================================================================
--- (empty file)
+++ trunk/tasque.sln Fri Sep 26 10:44:18 2008
@@ -0,0 +1,20 @@
+ï
+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
+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
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
Added: trunk/winbin/Mono.Posix.dll
==============================================================================
Binary file. No diff available.
Added: trunk/winbin/MonoPosixHelper.dll
==============================================================================
Binary file. No diff available.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]