summaryrefslogtreecommitdiff
path: root/protocols/Omegle
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Omegle')
-rw-r--r--protocols/Omegle/docs/omegle - readme_cz.txt27
-rw-r--r--protocols/Omegle/docs/omegle - readme_en.txt29
-rw-r--r--protocols/Omegle/docs/readme.txt2
-rw-r--r--protocols/Omegle/omegle_10.vcxproj3
-rw-r--r--protocols/Omegle/omegle_10.vcxproj.filters5
-rw-r--r--protocols/Omegle/res/omegle.rc37
-rw-r--r--protocols/Omegle/src/connection.cpp5
-rw-r--r--protocols/Omegle/src/constants.h4
-rw-r--r--protocols/Omegle/src/db.h1
-rw-r--r--protocols/Omegle/src/dialogs.cpp3
-rw-r--r--protocols/Omegle/src/resource.h1
11 files changed, 82 insertions, 35 deletions
diff --git a/protocols/Omegle/docs/omegle - readme_cz.txt b/protocols/Omegle/docs/omegle - readme_cz.txt
index bdad6cd73d..4881ad9697 100644
--- a/protocols/Omegle/docs/omegle - readme_cz.txt
+++ b/protocols/Omegle/docs/omegle - readme_cz.txt
@@ -1,17 +1,18 @@
---------------------------
-| Omegle Protocol 0.1.0.0 |
-| (26.4.2012) |
+| Omegle Protocol 0.1.1.0 |
+| pro Miranda NG |
+| (8.3.2013) |
---------------------------
Autor: Robyer
E-mail: robyer@seznam.cz
Jabber: robyer@jabbim.cz
ICQ: 372317536
- Web: http://robyer.info
-
-SVN: http://code.google.com/p/robyer/
+ Web: http://www.robyer.cz
-!!!! Vyžadována Miranda 0.9.43 a novější nebo 0.10.2 a novější !!!!!
+Info:
+ - Tento plugin používá část kódu z Facebook Protokolu (autor jarvis) verze 0.1.3.3 (open source).
+ - Originální zdrojové kódy jsou k nalezení na http://code.google.com/p/eternityplugins/
--------------------------------
SKRYTÉ NASTAVENÍ
@@ -21,6 +22,20 @@ TimeoutsLimit (byte) - počet povolených timeoutů před odpojením protokolu
--------------------------------
Historie verzí
--------------------------------
+0.1.1.0 - 8.3.2013
+ + Možnost automaticky se připojit při přepnutí protokolu do online
+ * Aktualizace (tohoto) readme
+
+=== STARÉ ZMĚNY (MIRANDA IM) ===
+
+0.1.0.1 - 24.5.2012
+ * Stejné GUID pro 32bit a 64bit verzi pluginu
+ * Aktualizace pro novou verzi smileyadd pluginu
+ ! Opravena funkčnost pluginu kvůli změnám na Omegle
+ ! Opraveno nastavení (ukládání textových hodnot, TAB přepínání)
+ ! Zobrazení vlastního jména v tooltipu v kontaktlistu (díky FREAK_THEMIGHTY)
+ ! Interní opravy
+
0.1.0.0 - 26.4.2012
První vydání na addons
diff --git a/protocols/Omegle/docs/omegle - readme_en.txt b/protocols/Omegle/docs/omegle - readme_en.txt
index 33973f00e8..deba95663f 100644
--- a/protocols/Omegle/docs/omegle - readme_en.txt
+++ b/protocols/Omegle/docs/omegle - readme_en.txt
@@ -1,18 +1,19 @@
---------------------------
-| Omegle Protocol 0.1.0.0 |
-| (26.4.2012) |
+| Omegle Protocol 0.1.1.0 |
+| for Miranda NG |
+| (8.3.2013) |
---------------------------
Autor: Robyer
E-mail: robyer@seznam.cz
Jabber: robyer@jabbim.cz
ICQ: 372317536
- Web: http://robyer.info
-
-SVN: http://code.google.com/p/robyer/
-
-!!!! Required Miranda 0.9.43 or newer or Miranda 0.10.2 and newer !!!!
+ Web: http://www.robyer.cz
+Info:
+ - This plugin uses part of code from Facebook Protocol (author jarvis) version 0.1.3.3 (open source).
+ - Original source code can be found on http://code.google.com/p/eternityplugins/
+
--------------------------------
HIDDEN SETTINGS
--------------------------------
@@ -21,6 +22,20 @@ TimeoutsLimit (byte) - number of allowed timeouts before disconnection protocol
--------------------------------
Version history
--------------------------------
+0.1.1.0 - 8.3.2013
+ + Option to automatically connect to stranger when protocol is turned online
+ * Updated (this) readme
+
+=== OLD CHANGES (MIRANDA IM) ===
+
+0.1.0.1 - 24.5.2012
+ * Same GUID for 32bit and 64bit versions
+ * Updated for new version of smileyadd plugin
+ ! Fixed functionality of plugin due to changes on Omegle
+ ! Fixed Options (saving text values, tab order)
+ ! Show own name in contact list tooltip (thanks FREAK_THEMIGHTY)
+ ! Internal fixes
+
0.1.0.0 - 26.4.2012
First addons release
diff --git a/protocols/Omegle/docs/readme.txt b/protocols/Omegle/docs/readme.txt
deleted file mode 100644
index cbc85e0bb8..0000000000
--- a/protocols/Omegle/docs/readme.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-This plugin is based on sources of Facebook Protocol (OpenSource version 0.1.3.3) by Jarvis,
-which can be found there: http://code.google.com/p/eternityplugins \ No newline at end of file
diff --git a/protocols/Omegle/omegle_10.vcxproj b/protocols/Omegle/omegle_10.vcxproj
index 81722fe4f9..e453bec912 100644
--- a/protocols/Omegle/omegle_10.vcxproj
+++ b/protocols/Omegle/omegle_10.vcxproj
@@ -205,6 +205,9 @@
<ItemGroup>
<ResourceCompile Include="res\omegle.rc" />
</ItemGroup>
+ <ItemGroup>
+ <None Include="res\omegle.ico" />
+ </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
diff --git a/protocols/Omegle/omegle_10.vcxproj.filters b/protocols/Omegle/omegle_10.vcxproj.filters
index 1dbee5e29b..ae6518148d 100644
--- a/protocols/Omegle/omegle_10.vcxproj.filters
+++ b/protocols/Omegle/omegle_10.vcxproj.filters
@@ -92,4 +92,9 @@
<Filter>Resource Files</Filter>
</ResourceCompile>
</ItemGroup>
+ <ItemGroup>
+ <None Include="res\omegle.ico">
+ <Filter>Resource Files</Filter>
+ </None>
+ </ItemGroup>
</Project> \ No newline at end of file
diff --git a/protocols/Omegle/res/omegle.rc b/protocols/Omegle/res/omegle.rc
index c8c56d3df1..61481f7302 100644
--- a/protocols/Omegle/res/omegle.rc
+++ b/protocols/Omegle/res/omegle.rc
@@ -31,28 +31,31 @@ FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
COMBOBOX IDC_SERVER,84,7,130,30,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "Server:",IDC_STATIC,24,9,60,8
- LTEXT "Visible name:",IDC_STATIC,24,26,60,8
- EDITTEXT IDC_NAME,84,23,130,14,ES_AUTOHSCROLL
+ LTEXT "Visible name:",IDC_STATIC,24,25,60,8
+ EDITTEXT IDC_NAME,84,22,130,14,ES_AUTOHSCROLL
CONTROL "Meet strangers with common interests (separated by commas):",IDC_MEET_COMMON,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,41,272,10
- EDITTEXT IDC_INTERESTS,24,52,272,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,39,272,10
+ EDITTEXT IDC_INTERESTS,24,49,272,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
CONTROL "Automatically send this message to stranger after connection:",IDC_HI_ENABLED,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,76,272,10
- EDITTEXT IDC_HI_MESSAGE,24,87,272,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
- LTEXT "This text will be sent when you use ""/asl"" message:",IDC_STATIC,24,111,272,8
- EDITTEXT IDC_ASL_MESSAGE,24,121,272,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
- LTEXT "Last used question (Question mode):",IDC_STATIC,24,144,272,8
- EDITTEXT IDC_LAST_QUESTION,24,154,272,20,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,72,272,10
+ EDITTEXT IDC_HI_MESSAGE,24,82,272,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
+ LTEXT "This text will be sent when you use ""/asl"" message:",IDC_STATIC,24,105,272,8
+ EDITTEXT IDC_ASL_MESSAGE,24,114,272,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
+ LTEXT "Last used question (Question mode):",IDC_STATIC,24,136,272,8
+ EDITTEXT IDC_LAST_QUESTION,24,145,272,20,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL
CONTROL "I want Omegle to reuse my questions if they are good enough (Question mode)",IDC_REUSE_QUESTIONS,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,176,272,10
- CONTROL "Don't clear chat before connecting to new stranger",IDC_NOCLEAR,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,167,272,10
+ CONTROL "Automatically connect to stranger when protocol is turned online",IDC_AUTO_CONNECT,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,180,272,10
+ CONTROL "Automatically connect to another stranger when current disconnects",IDC_DONTSTOP,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,192,272,10
- CONTROL "Automatically connect to another stranger when current disconnects",IDC_DONTSTOP,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,204,272,10
+ CONTROL "Don't clear chat before connecting to new stranger",IDC_NOCLEAR,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,204,272,10
CONTROL "Load count of users on actual server after connection",IDC_SERVER_INFO,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,216,272,10
CONTROL "Enable logging for debugging purposes",IDC_LOGGING,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,228,272,10
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,228,272,10
+
END
@@ -184,12 +187,12 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Omegle protocol plugin for Miranda NG"
- VALUE "FileVersion", "0.1.0.1"
+ VALUE "FileVersion", "0.1.1.0"
VALUE "InternalName", "Omegle"
VALUE "LegalCopyright", "Copyright © 2011-12 Robert Pösel"
VALUE "OriginalFilename", "omegle.dll"
VALUE "ProductName", "Omegle Protocol"
- VALUE "ProductVersion", "0.1.0.1"
+ VALUE "ProductVersion", "0.1.1.0"
END
END
BLOCK "VarFileInfo"
diff --git a/protocols/Omegle/src/connection.cpp b/protocols/Omegle/src/connection.cpp
index 1ce07385d9..409b376a33 100644
--- a/protocols/Omegle/src/connection.cpp
+++ b/protocols/Omegle/src/connection.cpp
@@ -36,7 +36,10 @@ void OmegleProto::SignOn(void*)
setDword( "LogonTS", (DWORD)time(NULL));
ClearChat();
- OnJoinChat(0,false);
+ OnJoinChat(0,false);
+
+ if (getByte(OMEGLE_KEY_AUTO_CONNECT, 0))
+ NewChat();
//ToggleStatusMenuItems(true);
}
diff --git a/protocols/Omegle/src/constants.h b/protocols/Omegle/src/constants.h
index 6f1fbda166..319c184992 100644
--- a/protocols/Omegle/src/constants.h
+++ b/protocols/Omegle/src/constants.h
@@ -23,8 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// Version management
-#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0,1,0,1)
-#define __VERSION_STRING "0.1.0.1"
+#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0,1,1,0)
+#define __VERSION_STRING "0.1.1.0"
// Product management
#define OMEGLE_NAME "Omegle"
diff --git a/protocols/Omegle/src/db.h b/protocols/Omegle/src/db.h
index fd0d290b3c..ea80a53d48 100644
--- a/protocols/Omegle/src/db.h
+++ b/protocols/Omegle/src/db.h
@@ -53,3 +53,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define OMEGLE_KEY_LOGGING "EnableLogging"
#define OMEGLE_KEY_SERVER_INFO "GetServerInfo"
#define OMEGLE_KEY_LAST_QUESTION "LastQuestion"
+#define OMEGLE_KEY_AUTO_CONNECT "AutoConnect"
diff --git a/protocols/Omegle/src/dialogs.cpp b/protocols/Omegle/src/dialogs.cpp
index 8045ea2e43..19f9fde011 100644
--- a/protocols/Omegle/src/dialogs.cpp
+++ b/protocols/Omegle/src/dialogs.cpp
@@ -167,6 +167,7 @@ INT_PTR CALLBACK OmegleOptionsProc( HWND hwnd, UINT message, WPARAM wparam, LPAR
LoadDBCheckState(proto, hwnd, IDC_REUSE_QUESTIONS, OMEGLE_KEY_REUSE_QUESTION);
LoadDBCheckState(proto, hwnd, IDC_SERVER_INFO, OMEGLE_KEY_SERVER_INFO);
LoadDBCheckState(proto, hwnd, IDC_LOGGING, OMEGLE_KEY_LOGGING);
+ LoadDBCheckState(proto, hwnd, IDC_AUTO_CONNECT, OMEGLE_KEY_AUTO_CONNECT);
} return TRUE;
@@ -194,6 +195,7 @@ INT_PTR CALLBACK OmegleOptionsProc( HWND hwnd, UINT message, WPARAM wparam, LPAR
case IDC_REUSE_QUESTIONS:
case IDC_SERVER_INFO:
case IDC_LOGGING:
+ case IDC_AUTO_CONNECT:
if (HIWORD(wparam) == BN_CLICKED) {
SendMessage(GetParent(hwnd), PSM_CHANGED, 0, 0);
} break;
@@ -220,6 +222,7 @@ INT_PTR CALLBACK OmegleOptionsProc( HWND hwnd, UINT message, WPARAM wparam, LPAR
StoreDBCheckState(proto, hwnd, IDC_REUSE_QUESTIONS, OMEGLE_KEY_REUSE_QUESTION);
StoreDBCheckState(proto, hwnd, IDC_SERVER_INFO, OMEGLE_KEY_SERVER_INFO);
StoreDBCheckState(proto, hwnd, IDC_LOGGING, OMEGLE_KEY_LOGGING);
+ StoreDBCheckState(proto, hwnd, IDC_AUTO_CONNECT, OMEGLE_KEY_AUTO_CONNECT);
return TRUE;
}
diff --git a/protocols/Omegle/src/resource.h b/protocols/Omegle/src/resource.h
index 0cfab1d840..cc7a7d5af1 100644
--- a/protocols/Omegle/src/resource.h
+++ b/protocols/Omegle/src/resource.h
@@ -18,6 +18,7 @@
#define IDC_REUSE_QUESTIONS 1215
#define IDC_LOGGING 1216
#define IDC_SERVER_INFO 1217
+#define IDC_AUTO_CONNECT 1219
// Next default values for new objects
//