Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
2556005
Fixed: Unable to display unicode characters on Script Editor
takeshich Mar 25, 2016
47513a1
Added premake to replace the out of date and no longer maintained pre…
nooperation Jun 5, 2016
6741bb9
Fixed premake5.lua. Still needs filters for win/mac/linux
nooperation Jun 6, 2016
2d53989
Premake script no longer including source files in <projectname>/obj
nooperation Jun 6, 2016
128302b
Added conditionals to exclude platform-specific speech projects
nooperation Jun 6, 2016
9840611
Better os detection
nooperation Jun 7, 2016
21d046d
Added premake binaries and updated batch files/shell scripts.
nooperation Jun 7, 2016
80eaff3
Don't need execute permissions on windows batch files
nooperation Jun 7, 2016
60621b4
Fixed runprebuild.sh
nooperation Jun 7, 2016
b627fbb
Merge branch 'add_premake' of https://github.com/nooperation/radegast…
nooperation Jun 7, 2016
da2ca4a
Changed permissions for premake binaries
nooperation Jun 7, 2016
d02d69d
Updated premake5.lua with project dependencies and better links for x…
nooperation Jun 7, 2016
618094a
Merge branch 'add_premake' of https://github.com/nooperation/radegast…
nooperation Jun 7, 2016
8f208c0
Added IRC plugin to premake, switch to .net 4.5
nooperation Jun 9, 2016
c4d89c2
Updated readme
nooperation Jun 9, 2016
cf82e49
Merge pull request #25 from takeshich/RAD-481
nooperation Jun 14, 2016
07d904d
Adds theme compatibility mode setting
nooperation Jun 14, 2016
a56697e
Forced all guis to fixup controls if theme compatibility mode is enab…
nooperation Jun 15, 2016
c38a65b
Ignoring hardcoded colors for theme compatibility mode
nooperation Jun 15, 2016
2028d91
Added color overrides for labels/textboxes/lists so they show up bett…
nooperation Jun 15, 2016
a31fda0
Added theme compatibility mode for context and menuitems
nooperation Jun 17, 2016
b7f3882
Added basic color config settings tab
nooperation Jun 18, 2016
7bb8be7
Implemented chat color settings backend, still needs to be integrated
nooperation Jun 19, 2016
5d2dfa7
Integrated chat color settings
nooperation Jun 19, 2016
6a2c271
Implemented resetting colors back to defaults
nooperation Jun 19, 2016
6cc99a1
Updated prebuild
nooperation Jun 19, 2016
44bcada
Updated preview text
nooperation Jun 19, 2016
7e2e97b
Added more chat font options - should work with IM/Group tabs now
nooperation Jun 19, 2016
9226e74
Fixed double-logging issue when reprinting text in IM consoles
nooperation Jun 19, 2016
54d6b3b
Updating gitignore for vs2015
nooperation Jun 19, 2016
40ef7ac
Fixed double-logging of IM messages when repriting messages
nooperation Jun 19, 2016
326d120
Fix spacing
nooperation Jun 19, 2016
37862fb
Rearranged settings gui to remove chat size option
nooperation Jun 19, 2016
a8ff4da
Restored 'ownersay' color
nooperation Jun 19, 2016
7b2e763
RichTextBox colors now modified by theme compatibility mode
nooperation Jun 19, 2016
27d8094
Merge branch 'add_theme_compatibility_mode' into adds_color_settings
nooperation Jun 19, 2016
5e29bb1
Merge pull request #30 from nooperation/fix_double_logging_of_ims
nooperation Jun 19, 2016
88b9c47
Changed default colors to use Control and ControlText background/fore…
nooperation Jun 19, 2016
524dfb0
Merge branch 'master' into adds_color_settings
nooperation Jun 19, 2016
02055a2
Merge pull request #29 from nooperation/add_theme_compatibility_mode
nooperation Jun 19, 2016
e1aea81
Merge branch 'master' of https://github.com/radegastdev/radegast.git …
nooperation Jun 19, 2016
9e40db9
Merge pull request #31 from nooperation/adds_color_settings
nooperation Jun 19, 2016
0ba195b
Added rlv support for attachall, attachallover, paths with trailing s…
nooperation Jul 18, 2016
682946e
Don't detach no-detach items (RLV)
nooperation Jul 21, 2016
f9d864d
Merge pull request #34 from nooperation/rlv_oc_outfit_support
nooperation Jul 23, 2016
8409145
Added support for rlv command findfolders
nooperation Jul 23, 2016
32d2e96
Added travis ci support. Currently only supported on my clone. Needs …
nooperation Jul 24, 2016
1be11a6
Merge pull request #36 from nooperation/add_travis_ci
nooperation Jul 24, 2016
3b12bb2
Merge branch 'master' into rlv_addfolders_support
nooperation Jul 24, 2016
f7dbd36
Merge branch 'master' into add_premake
nooperation Jul 24, 2016
eb79836
Updating premake
nooperation Jul 24, 2016
0dedb89
Updating ci for premake5
nooperation Jul 24, 2016
83f0b03
Updating CI script (install libc6)
nooperation Jul 24, 2016
44c1252
Updating CI - trying to get the correct version of libc6
nooperation Jul 24, 2016
feae996
Updating premake5 (alpha 9) and ci (linux and osx builds)
nooperation Jul 24, 2016
030cf96
Removed osx ci runner (missing monobjc dependency on system)
nooperation Jul 24, 2016
6fbee6c
Transparent background for default chat colors
nooperation Jul 25, 2016
11923e0
Updating submodule
nooperation Jul 26, 2016
d936443
Merge pull request #37 from nooperation/fix_chat_color
nooperation Jul 26, 2016
8532207
Merge pull request #35 from nooperation/rlv_addfolders_support
nooperation Jul 26, 2016
08973fc
Merge pull request #38 from nooperation/update_submodule
nooperation Jul 26, 2016
6694c88
Updating ci artifact name
nooperation Jul 26, 2016
b65a4fd
Merge pull request #39 from nooperation/update_ci_artifact_name
nooperation Jul 26, 2016
b1a6689
Suppress exceptions that will be raised in designer mode (ApplyGuiFixes)
nooperation Jul 27, 2016
9e757fc
Merge pull request #40 from nooperation/fix_designer_exception
nooperation Jul 27, 2016
312a743
Fix warnings
nooperation Jul 30, 2016
644f0bf
Fixed incorrect string format
nooperation Jul 30, 2016
f63d48f
Fix more warnings
nooperation Jul 30, 2016
5a950f8
Fixed unsafe call of libomv parallel.foreach an defaulting to use htt…
nooperation Jul 30, 2016
33578d2
Merge pull request #41 from nooperation/fix_warnings
nooperation Aug 3, 2016
18863ed
UDP inventory is deprecated as of 2015-03-30 and no longer supported.
nooperation Aug 4, 2016
34b2996
Merge pull request #42 from nooperation/default_http_inventory
nooperation Aug 4, 2016
385d6bd
Attempts to logout when exception occurs to speed up debugging. Fixed…
nooperation Aug 5, 2016
580416b
Add leave group confirmation
nooperation Aug 5, 2016
c7cabae
Merge pull request #44 from nooperation/leave_group_confirmation_box
nooperation Aug 6, 2016
4828a00
Moving all build numbers to one location
nooperation Aug 6, 2016
c206f72
No longer continuously pumping out builds in a loop
nooperation Aug 6, 2016
f785500
Updating ci install script
nooperation Aug 6, 2016
eadfab5
Merge pull request #45 from nooperation/update_build_numbers_ci
nooperation Aug 6, 2016
5b52781
Merge branch 'develop' of https://github.com/radegastdev/radegast.git…
nooperation Aug 6, 2016
528a551
Fixing version number (last release was 2.18, not 2.19)
nooperation Aug 6, 2016
e06b3f5
Merge pull request #47 from nooperation/fix_version_number
nooperation Aug 6, 2016
ad0cadd
Merge pull request #48 from radegastdev/develop
nooperation Aug 6, 2016
f59e0e3
Removed prebuild
nooperation Aug 9, 2016
0b88898
No longer building the demo plugin
nooperation Aug 9, 2016
8a34acb
Fixed linking of Monobjc, building all speech libs
nooperation Aug 10, 2016
dd31841
No longer attempting to build RadSpeechWin on linux/mac
nooperation Aug 10, 2016
a7051c7
renamed Assemblies to assemblies for case sensitive platforms
nooperation Aug 10, 2016
001bc10
Merge pull request #46 from nooperation/add_premake
nooperation Aug 10, 2016
c14ee17
Merge pull request #50 from radegastdev/develop
nooperation Aug 10, 2016
69d2b33
Update submodule to fix RAD-509
takeshich Oct 22, 2016
5d29a03
Merge pull request #51 from takeshich/fix-RAD-509
nooperation Nov 4, 2016
f295fd9
Added HTTP Proxy configuration and functionality
Jan 9, 2017
b7bebc3
Merge branch 'master' of https://github.com/OliveiraLands/Radegast
Jan 9, 2017
5b67397
Sincronizado com master
Jan 9, 2017
36dfb24
Merge branch 'master' of https://github.com/OS-Development/Radegast
Jan 9, 2017
a6c8113
Sync
Jan 9, 2017
554f397
Resync
Jan 9, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ compile.bat
*.resources
*~
*.userprefs
.vs
39 changes: 39 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
language: csharp
solution: Radegast.sln

os:
- linux

branches:
except:
- /^build-/

install:
<<<<<<< HEAD
- "export BUILD_MAJOR=2"
- "export BUILD_MINOR=19"
- "export GIT_TAG=build-$BUILD_MAJOR.$BUILD_MINOR.$TRAVIS_BUILD_NUMBER-$TRAVIS_OS_NAME-$TRAVIS_BRANCH-$(date -u '+%Y-%m-%d')"
- "export GIT_ARTIFACT=Radegast-$GIT_TAG.zip"
- "./ci/install.sh"
=======
- "./runprebuild.sh"
>>>>>>> parent of 4828a00... Moving all build numbers to one location

before_deploy:
- "export GIT_TAG=build-$TRAVIS_BUILD_NUMBER-$TRAVIS_OS_NAME-$TRAVIS_BRANCH-$(date -u '+%Y-%m-%d')"
- "export GIT_ARTIFACT=Radegast-$GIT_TAG.zip"
- "./before_deploy.sh"

deploy:
provider: releases
api_key:
secure: wDIvmLG2B0wA4Ngp+avp1qQOU3lpUIC79C/iEo/BDNA4TQJLeAvYrQ7mXVjXrSP41LCB9aWmjjlTJk8nRbEcTWwiYTRDPRqvxo32/BPsW6zaBrqHGP1dF3R8L/KtVRf97iNJJRXWHZssNYsuakBKTHp6dPt68qU6k3cig7aiVH/qTwawYpI9/qtUUdfuN3h9/PciujyAr/XBpTzS7xLHsHShchMpgEVhGqtjd+yR2z0qojNs645Iit7lZOMrtjuqNLjxXS3WLbWVHT22upX+00ovlJXT6fUtkHKWuAW3hSEN525/I8bl7NExLpy9yOUa/D1JALBgrd2qxhsECJ+sJ9ms59iQxYJOOpfuk6KIjmtD+i4f6h2rSOjOtbc1dUvA9+SH27o00DPjFQKPA0lLqEPGBxdlFE0ocOHI2UW1wvTRSAUhJe6QLLatVLJl5TfcDOsM7JC29XeuHXL1wHFRqEq8agpdR8UqueaDkfAWVPXQRywVD/aUFrMMJEfxTncVhRXepLL3z2uHwjpRaw5JJ7hsU5eaEEvIRMzR73IOCHlfmqCtjE7bMVmO9Zn0BjGJURHCk77I395QLWnCOuMShWm1OnH5Klxjehlgqtpdhaj83OgsnE7/sXsMPaqxwtzusTRsRYmJz/4D5B7/TPVNDzK2Xewr0NKEBmY3n/MnAqc=
skip_cleanup: true
file: $GIT_ARTIFACT
on:
repo: nooperation/radegast
all_branches: true

env:
global:
secure: u7t+c2187aIGA/Kn/DV1/4kjJ/BmQ6/x5AKAbqdFy7R8xdY2ohOpbITclZ7aox+6PdErmrQBUNZoTfQmehYTw/DOIhA6DE3N4wJ0tGVMnOWAwsX/KWddeQkycfF/SIhcOUrl+3Muv9CJiskYHul7mnfNZzv78ZHFfoaP3zt0Jy6JEOJmAiE36OLh9NBGRyRjVWLg4AVTXdNo0vFmOZgzOoJHPAtkB/18OjZp1RHe5l9io5ww4BY/ZcxodG52WaqTwKh2fCt1juF64a1rncQiUgkBWl7jocErS3DOQ9c5/60kAhimEVAKyaSJJlpBXbYwY7IIAatDwa6ep/0xZ5pIh6QW0ffSXuxBrf15NmlKZqmuUVJ32avVRJ53rvg2MZLrsJwBC+8bsrk6RyXoph/lCweiepHm5v0c68i89xviXXV8X9xN8fxyCGQOMKR6xP7/uMbpEbIWiSmuz5ayw19HFKkTeefqWq+Q4McaTOXf56lJ7gQIDN1QLOlmGJd7A57ftJYlfr5He7hS5ciXrEshDh+Yu4PdIUz2pB73LsHmT22XPWs575g0nxwcsE3dv86h/CuVWuOyZT6u5DIokj4k+rF2rXqqXCrJ3/Wp9T26S3UO/Q5gVVXTEymIsBqjPzbnbuRcYwK97r8vEXJ1dGKZMrhNX33GnqBVVIfrs7ZJHas=
12 changes: 0 additions & 12 deletions NullBuild.txt

This file was deleted.

6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Developers:
# License

**Radegast Metaverse Client**<br>
*Copyright © 2009-2011, Radegast Development Team*<br>
*Copyright © 2009-2016, Radegast Development Team*<br>
*All rights reserved.*

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Expand Down Expand Up @@ -73,3 +73,7 @@ http://commandline.codeplex.com/<br>
Uses code snippets from CSAT Library (MIT License)<br>
Copyright © 2011 mjt<br>
http://code.google.com/p/csat/<br>

Uses SmartIrc4net (LGPL)<br>
Copyright © 2003-2005 Mirco Bauer<br>
http://www.meebey.net/projects/smartirc4net/<br>
4 changes: 3 additions & 1 deletion Radegast/Core/ChatBufferItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ public enum ChatBufferTextStyle
Error,
Alert,
OwnerSay,
Invisible
Invisible,
Emote,
Self
}
}
153 changes: 107 additions & 46 deletions Radegast/Core/ChatTextManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,14 @@
using Radegast.Netcom;
using OpenMetaverse;
using OpenMetaverse.StructuredData;
using System.Web.Script.Serialization;
using System.ComponentModel;

namespace Radegast
{
public class ChatTextManager : IDisposable
{

public event EventHandler<ChatLineAddedArgs> ChatLineAdded;

private RadegastInstance instance;
Expand All @@ -51,6 +54,8 @@ public class ChatTextManager : IDisposable

private bool showTimestamps;

public static Dictionary<string, Settings.FontSetting> fontSettings = new Dictionary<string, Settings.FontSetting>();

public ChatTextManager(RadegastInstance instance, ITextPrinter textPrinter)
{
this.textPrinter = textPrinter;
Expand All @@ -75,9 +80,32 @@ public void Dispose()
private void InitializeConfig()
{
Settings s = instance.GlobalSettings;
var serializer = new JavaScriptSerializer();

if (s["chat_timestamps"].Type == OSDType.Unknown)
{
s["chat_timestamps"] = OSD.FromBoolean(true);
}
if (s["chat_fonts"].Type == OSDType.Unknown)
{
try
{
s["chat_fonts"] = serializer.Serialize(Settings.DefaultFontSettings);
}
catch (Exception ex)
{
System.Windows.Forms.MessageBox.Show("Failed to save default font settings: " + ex.Message);
}
}

try
{
fontSettings = serializer.Deserialize<Dictionary<string, Settings.FontSetting>>(s["chat_fonts"]);
}
catch (Exception ex)
{
System.Windows.Forms.MessageBox.Show("Failed to read chat font settings: " + ex.Message);
}

showTimestamps = s["chat_timestamps"].AsBoolean();

Expand All @@ -91,6 +119,19 @@ void s_OnSettingChanged(object sender, SettingsEventArgs e)
showTimestamps = e.Value.AsBoolean();
ReprintAllText();
}
else if(e.Key == "chat_fonts")
{
try
{
var serializer = new JavaScriptSerializer();
fontSettings = serializer.Deserialize<Dictionary<string, Settings.FontSetting>>(e.Value);
}
catch (Exception ex)
{
System.Windows.Forms.MessageBox.Show("Failed to read new font settings: " + ex.Message);
}
ReprintAllText();
}
}

private void netcom_ChatSent(object sender, ChatSentEventArgs e)
Expand Down Expand Up @@ -143,59 +184,60 @@ public void ProcessBufferItem(ChatBufferItem item, bool addToBuffer)

if (showTimestamps)
{
textPrinter.ForeColor = SystemColors.GrayText;
textPrinter.PrintText(item.Timestamp.ToString("[HH:mm] "));
if(fontSettings.ContainsKey("Timestamp"))
{
var fontSetting = fontSettings["Timestamp"];
textPrinter.ForeColor = fontSetting.ForeColor;
textPrinter.BackColor = fontSetting.BackColor;
textPrinter.Font = fontSetting.Font;
textPrinter.PrintText(item.Timestamp.ToString("[HH:mm] "));
}
else
{
textPrinter.ForeColor = SystemColors.GrayText;
textPrinter.BackColor = Color.Transparent;
textPrinter.Font = Settings.FontSetting.DefaultFont;
textPrinter.PrintText(item.Timestamp.ToString("[HH:mm] "));
}
}

switch (item.Style)
if(fontSettings.ContainsKey("Name"))
{
case ChatBufferTextStyle.Normal:
textPrinter.ForeColor = SystemColors.WindowText;
break;

case ChatBufferTextStyle.StatusBlue:
textPrinter.ForeColor = Color.Blue;
break;

case ChatBufferTextStyle.StatusDarkBlue:
textPrinter.ForeColor = Color.DarkBlue;
break;

case ChatBufferTextStyle.LindenChat:
textPrinter.ForeColor = Color.DarkGreen;
break;

case ChatBufferTextStyle.ObjectChat:
textPrinter.ForeColor = Color.DarkCyan;
break;

case ChatBufferTextStyle.StartupTitle:
textPrinter.ForeColor = SystemColors.WindowText;
textPrinter.Font = new Font(textPrinter.Font, FontStyle.Bold);
break;

case ChatBufferTextStyle.Alert:
textPrinter.ForeColor = Color.DarkRed;
break;

case ChatBufferTextStyle.Error:
textPrinter.ForeColor = Color.Red;
break;

case ChatBufferTextStyle.OwnerSay:
textPrinter.ForeColor = Color.FromArgb(255, 180, 150, 0);
break;
var fontSetting = fontSettings["Name"];
textPrinter.ForeColor = fontSetting.ForeColor;
textPrinter.BackColor = fontSetting.BackColor;
textPrinter.Font = fontSetting.Font;
}
else
{
textPrinter.ForeColor = SystemColors.WindowText;
textPrinter.BackColor = Color.Transparent;
textPrinter.Font = Settings.FontSetting.DefaultFont;
}

if (item.Style == ChatBufferTextStyle.Normal && item.ID != UUID.Zero && instance.GlobalSettings["av_name_link"])
{
textPrinter.InsertLink(item.From, string.Format("secondlife:///app/agent/{0}/about", item.ID));
textPrinter.PrintTextLine(item.Text);
}
else
{
textPrinter.PrintTextLine(item.From + item.Text);
textPrinter.PrintText(item.From);
}

if(fontSettings.ContainsKey(item.Style.ToString()))
{
var fontSetting = fontSettings[item.Style.ToString()];
textPrinter.ForeColor = fontSetting.ForeColor;
textPrinter.BackColor = fontSetting.BackColor;
textPrinter.Font = fontSetting.Font;
}
else
{
textPrinter.ForeColor = SystemColors.WindowText;
textPrinter.BackColor = Color.Transparent;
textPrinter.Font = Settings.FontSetting.DefaultFont;
}
textPrinter.PrintTextLine(item.Text);
}
}

Expand Down Expand Up @@ -315,15 +357,34 @@ private void ProcessIncomingChat(ChatEventArgs e)
switch (e.SourceType)
{
case ChatSourceType.Agent:
item.Style =
(e.FromName.EndsWith("Linden") ?
ChatBufferTextStyle.LindenChat : ChatBufferTextStyle.Normal);
if(e.FromName.EndsWith("Linden"))
{
item.Style = ChatBufferTextStyle.LindenChat;
}
else if(isEmote)
{
item.Style = ChatBufferTextStyle.Emote;
}
else if(e.SourceID == client.Self.AgentID)
{
item.Style = ChatBufferTextStyle.Self;
}
else
{
item.Style = ChatBufferTextStyle.Normal;
}
break;

case ChatSourceType.Object:
if (e.Type == ChatType.OwnerSay)
{
item.Style = ChatBufferTextStyle.OwnerSay;
if(isEmote)
{
item.Style = ChatBufferTextStyle.Emote;
}
else
{
item.Style = ChatBufferTextStyle.OwnerSay;
}
}
else if (e.Type == ChatType.Debug)
{
Expand Down
Loading