Skip to content

Commit

Permalink
v2.0.2 release (2.0.2.9);Korean translation;misc other updates
Browse files Browse the repository at this point in the history
  • Loading branch information
briandunnington committed Mar 22, 2010
1 parent 1065d5b commit 3615c7c
Show file tree
Hide file tree
Showing 224 changed files with 12,707 additions and 3,849 deletions.
10 changes: 5 additions & 5 deletions Growl Connectors/Javascript/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<script src="swfobject.js"></script>
<script src="growl.js"></script>

<link rel="stylesheet" href="http://www.growlforwindows.com/gfw/reset.css" media="all">
<link rel="stylesheet" href="http://www.growlforwindows.com/gfw/style.css" media="all">
<link rel="stylesheet" href="http://www.growlforwindows.com/gfw/help/help.css" media="all">
<link rel="stylesheet" href="/gfw/reset.css" media="all">
<link rel="stylesheet" href="/gfw/style.css" media="all">
<link rel="stylesheet" href="/gfw/help/help.css" media="all">

<style>
#notifyarea {display:none;}
Expand Down Expand Up @@ -38,7 +38,7 @@ <h3>Growl for Windows - Javascript Connector Example</h3>

<p>&nbsp;</p>

<p>This example requires Growl for Windows v2.0b4 (2.0.0.4) or higher.</p>
<p>This example requires Growl for Windows v2.0 or higher.</p>

<p>Make sure Growl for Windows is running and that 'Allow network notifications' and 'Allow notifications
from websites' are check on the 'Security' tab.</p>
Expand All @@ -62,7 +62,7 @@ <h3>Growl for Windows - Javascript Connector Example</h3>
<button onclick="notify2();return false;">notify (w/ callback)</button>
</p>
</div>

<div id="growlconnectorcontainer"></div>
</div>
</div>
Expand Down
Binary file modified Growl Connectors/NET/libraries/Growl.Connector.dll
Binary file not shown.
Binary file modified Growl Connectors/NET/libraries/Growl.CoreLibrary.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions Growl Extras/BlueFlower/BlueFlower/BlueFlowerWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public BlueFlowerWindow()

HookUpClickEvents(this);

AutoClose(4000);
SetAutoCloseInterval(4000);
}

void BlueFlowerWindow_Load(object sender, EventArgs e)
Expand Down Expand Up @@ -71,7 +71,7 @@ public override void SetNotification(Notification n)
{
base.SetNotification(n);

if (n.Duration > 0) this.AutoClose(n.Duration * 1000);
if (n.Duration > 0) SetAutoCloseInterval(n.Duration * 1000);

this.pictureBox1.Image = n.Image;

Expand Down
4 changes: 2 additions & 2 deletions Growl Extras/Bubbles/Bubbles/BubblesWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public BubblesWindow()

HookUpClickEvents(this);

AutoClose(4000);
SetAutoCloseInterval(4000);
}

void BubblesWindow_Load(object sender, EventArgs e)
Expand Down Expand Up @@ -71,7 +71,7 @@ public override void SetNotification(Notification n)
{
base.SetNotification(n);

if (n.Duration > 0) this.AutoClose(n.Duration * 1000);
if (n.Duration > 0) SetAutoCloseInterval(n.Duration * 1000);

this.pictureBox1.Image = n.Image;

Expand Down
4 changes: 2 additions & 2 deletions Growl Extras/Degree Display/Degree Display/DegreeWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public DegreeWindow()

HookUpClickEvents(this);

AutoClose(4000);
SetAutoCloseInterval(4000);
}

void DegreeWindow_Load(object sender, EventArgs e)
Expand Down Expand Up @@ -71,7 +71,7 @@ public override void SetNotification(Notification n)
{
base.SetNotification(n);

if (n.Duration > 0) this.AutoClose(n.Duration * 1000);
if (n.Duration > 0) SetAutoCloseInterval(n.Duration * 1000);

this.pictureBox1.Image = n.Image;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public override void Install(IDictionary stateSaver)

// detect if/where growl is installed
Growl.CoreLibrary.Detector detector = new Growl.CoreLibrary.Detector();
if (detector.IsAvailable)
if (detector.IsInstalled)
{
// growl was detected - read the Display folder location
string displayFolder = Path.Combine(detector.DisplaysFolder, folderName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ public SampleVisualWindow()
HookUpClickEvents(this);

// If you want your notification to automatically close after a set amount of time,
// call the AutoClose property to set the duration. The autoclose behavior will
// call the SetAutoCloseInterval method to set the duration. The autoclose behavior will
// automatically trigger any associated Animator to peform any closing animation.
// Setting the .Sticky property of the notification will override the AutoClose
// behavior in the default implementation. It is almost always preferred to call
// this method and let the base class handle the logic for you.
this.AutoClose(4000);
SetAutoCloseInterval(4000);
}

void SampleVisualWindow_AfterLoad(object sender, EventArgs e)
Expand Down
Binary file modified Growl Extras/Growl Display SDK/libraries/Growl.CoreLibrary.dll
Binary file not shown.
Binary file modified Growl Extras/Growl Display SDK/libraries/Growl.DisplayStyle.dll
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@
// Revision
//
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.8")]

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ public SettingsForm()
this.checkBoxEnableNewMail.Checked = Properties.Settings.Default.EnableNewMailNotifications;
this.checkBoxEnableReminders.Checked = Properties.Settings.Default.EnableReminderNotifications;
this.textBoxPassword.Text = Properties.Settings.Default.Password;

System.Diagnostics.FileVersionInfo fvi = System.Diagnostics.FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetExecutingAssembly().Location);
this.labelVersion.Text = "v" + fvi.FileVersion;
}

private void Button2_Click(object sender, EventArgs e)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,12 @@ void ThisApplication_NewMailEx(string EntryIDCollection)
if (obj is Outlook.MailItem)
{
Outlook.MailItem message = (Outlook.MailItem)obj;
string body = message.Body.Replace("\r\n", "\n");
body = (body.Length > 50 ? body.Substring(0, 50) + "..." : body);
string body = message.Body;
if (!String.IsNullOrEmpty(body))
{
body = body.Replace("\r\n", "\n");
body = (body.Length > 50 ? body.Substring(0, 50) + "..." : body);
}

// just saving this for future reference
//Outlook.MAPIFolder folder = message.Parent as Outlook.MAPIFolder;
Expand All @@ -98,8 +102,12 @@ void ThisApplication_NewMailEx(string EntryIDCollection)
else if (obj is Outlook.MeetingItem)
{
Outlook.MeetingItem message = (Outlook.MeetingItem)obj;
string body = message.Body.Replace("\r\n", "\n");
body = (body.Length > 50 ? body.Substring(0, 50) + "..." : body);
string body = message.Body;
if (!String.IsNullOrEmpty(body))
{
body = body.Replace("\r\n", "\n");
body = (body.Length > 50 ? body.Substring(0, 50) + "..." : body);
}

title = message.Subject;
if (!String.IsNullOrEmpty(title)) title = title.Trim();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -588,14 +588,14 @@
{
"Name" = "8:Microsoft Visual Studio"
"ProductName" = "8:Growl Outlook Add-In"
"ProductCode" = "8:{A759CC3A-AA8E-4B10-9431-36B3ECB7816D}"
"PackageCode" = "8:{BB599851-35F8-4062-B2C7-CBED819F387C}"
"ProductCode" = "8:{267D2340-EDAD-47F9-906F-BAE7CB6176BB}"
"PackageCode" = "8:{77920AA8-6874-4E48-AA29-54AA7DB93392}"
"UpgradeCode" = "8:{49A7FB61-9235-4718-B57C-A8C2DB8C84C8}"
"RestartWWWService" = "11:FALSE"
"RemovePreviousVersions" = "11:FALSE"
"DetectNewerInstalledVersion" = "11:TRUE"
"InstallAllUsers" = "11:FALSE"
"ProductVersion" = "8:1.0.7"
"ProductVersion" = "8:1.0.8"
"Manufacturer" = "8:Growl Extras"
"ARPHELPTELEPHONE" = "8:"
"ARPHELPLINK" = "8:"
Expand Down
4 changes: 2 additions & 2 deletions Growl Extras/Growl.Displays.CompactDark/CompactDarkWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public CompactDarkWindow()
this.Animator = new FadeAnimator(this);

HookUpClickEvents(this);
this.AutoClose(4000);
SetAutoCloseInterval(4000);
}

void CompactDarkWindow_FormClosed(object sender, FormClosedEventArgs e)
Expand All @@ -51,7 +51,7 @@ public override void SetNotification(Notification n)
{
base.SetNotification(n);

if (n.Duration > 0) this.AutoClose(n.Duration * 1000);
if (n.Duration > 0) SetAutoCloseInterval(n.Duration * 1000);

this.applicationNameLabel.Text = n.ApplicationName;
this.titleLabel.Text = n.Title;
Expand Down
6 changes: 3 additions & 3 deletions Growl Extras/IPhone Style Display/IphoneWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public IphoneWindow()

HookUpClickEvents(this);

AutoClose(4000);
SetAutoCloseInterval(4000);
}

void IphoneWindow_Load(object sender, EventArgs e)
Expand Down Expand Up @@ -68,11 +68,11 @@ public void SetDisplayLocation(IphoneDisplay.Location location)
this.location = location;
}

public void SetNotification(Notification n)
public override void SetNotification(Notification n)
{
base.SetNotification(n);

if (n.Duration > 0) this.AutoClose(n.Duration * 1000);
if (n.Duration > 0) SetAutoCloseInterval(n.Duration * 1000);

this.pictureBox1.Image = n.Image;

Expand Down
4 changes: 2 additions & 2 deletions Growl Extras/NotifyDisplay/NotifyDisplay/NotifyWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public NotifyWindow()

HookUpClickEvents(this);

AutoClose(4000);
SetAutoCloseInterval(4000);
}

void NotifyWindow_Load(object sender, EventArgs e)
Expand Down Expand Up @@ -71,7 +71,7 @@ public override void SetNotification(Notification n)
{
base.SetNotification(n);

if (n.Duration > 0) this.AutoClose(n.Duration * 1000);
if (n.Duration > 0) SetAutoCloseInterval(n.Duration * 1000);

this.pictureBox1.Image = n.Image;

Expand Down
6 changes: 5 additions & 1 deletion Growl Extras/Scripty/Scripty/ScriptyDisplay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,12 @@ protected override void HandleNotification(Notification notification, string dis
sb.AppendFormat(" -{0} \"{1}\"", item.Key, item.Value);
}
}

string arguments = sb.ToString();
System.Diagnostics.Process.Start(filename, arguments);
System.Diagnostics.ProcessStartInfo psi = new System.Diagnostics.ProcessStartInfo(filename, arguments);
psi.UseShellExecute = false;
psi.CreateNoWindow = true;
System.Diagnostics.Process.Start(psi);
}
}

Expand Down
4 changes: 2 additions & 2 deletions Growl Extras/Sticky Note/Sticky Note/StickyNoteWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public StickyNoteWindow()

HookUpClickEvents(this);

AutoClose(4000);
SetAutoCloseInterval(4000);
}

void StickyNoteWindow_Load(object sender, EventArgs e)
Expand Down Expand Up @@ -71,7 +71,7 @@ public override void SetNotification(Notification n)
{
base.SetNotification(n);

if (n.Duration > 0) this.AutoClose(n.Duration * 1000);
if (n.Duration > 0) SetAutoCloseInterval(n.Duration * 1000);

this.pictureBox1.Image = n.Image;

Expand Down
8 changes: 8 additions & 0 deletions Growl Extras/Winamp Plugin/gen_growl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@ int init() {
_getcwd(CurrentPath, _MAX_PATH);
strcat (CurrentPath, "\\..\\Plugins\\winamp.png");

// if the buffer is too small on XP/2k the null is omitted, so we will make sure there is one
if (GetModuleFileNameA(NULL, CurrentPath, _MAX_PATH) == _MAX_PATH)
CurrentPath[_MAX_PATH - 1] = '\0';
char *lastSlash = strrchr(CurrentPath, '\\');
if (lastSlash != NULL)
*lastSlash = '\0';
strcat(CurrentPath, "\\Plugins\\winamp.png");

return 0;
}

Expand Down
1 change: 1 addition & 0 deletions Growl/Growl.Connector/Growl.Connector.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
<Compile Include="Priority.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RequestData.cs" />
<Compile Include="RequestInfo.cs" />
<Compile Include="RequestType.cs" />
<Compile Include="Response.cs" />
<Compile Include="ResponseType.cs" />
Expand Down
4 changes: 2 additions & 2 deletions Growl/Growl.Connector/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("2.0.0.0")]
[assembly: AssemblyFileVersion("2.0.0.27")]
[assembly: AssemblyInformationalVersion("2.0")]
[assembly: AssemblyFileVersion("2.0.2.8")]
[assembly: AssemblyInformationalVersion("2.0.2")]
Loading

0 comments on commit 3615c7c

Please sign in to comment.