-rw-r--r-- | dipstick.rc | 8 | ||||
-rw-r--r-- | help/dipstick.rtf | 3 | ||||
-rw-r--r-- | help/dipstick.xml | 3 | ||||
-rw-r--r-- | install/install.cpp | 8 |
4 files changed, 15 insertions, 7 deletions
diff --git a/dipstick.rc b/dipstick.rc index 8797946..305eb77 100644 --- a/dipstick.rc +++ b/dipstick.rc | |||
@@ -77,28 +77,28 @@ IDI_UNREACHABLE ICON DISCARDABLE "res\\unreach.ico" | |||
77 | // | 77 | // |
78 | 78 | ||
79 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 213, 61 | 79 | IDD_ABOUTBOX DIALOG DISCARDABLE 0, 0, 213, 61 |
80 | STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU | 80 | STYLE DS_MODALFRAME | DS_3DLOOK | WS_POPUP | WS_CAPTION | WS_SYSMENU |
81 | CAPTION "About Dipstick" | 81 | CAPTION "About Dipstick" |
82 | FONT 8, "MS Sans Serif" | 82 | FONT 8, "MS Sans Serif" |
83 | BEGIN | 83 | BEGIN |
84 | ICON IDR_MAINFRAME,IDC_STATIC,11,17,21,20 | 84 | ICON IDR_MAINFRAME,IDC_STATIC,11,17,21,20 |
85 | LTEXT "Dipstick, Version 3.1-trunk",IDC_STATIC,40,7,89,8,SS_NOPREFIX | 85 | LTEXT "Dipstick, Version 3.1",IDC_STATIC,40,7,89,8,SS_NOPREFIX |
86 | LTEXT "Copyright © 1996-2005 Klever Group",IDC_STATIC,40,25, | 86 | LTEXT "Copyright © 1996-2005 Klever Group",IDC_STATIC,40,25, |
87 | 166,8 | 87 | 166,8 |
88 | DEFPUSHBUTTON "OK",IDOK,174,7,32,14,WS_GROUP | 88 | DEFPUSHBUTTON "OK",IDOK,174,7,32,14,WS_GROUP |
89 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,40,40,91,14 | 89 | PUSHBUTTON "http://www.klever.net/",IDC_KLEVERNET,40,40,91,14 |
90 | END | 90 | END |
91 | 91 | ||
92 | IDD_DIPSTICK_DIALOG DIALOGEX 0, 0, 419, 152 | 92 | IDD_DIPSTICK_DIALOG DIALOGEX 0, 0, 419, 152 |
93 | STYLE DS_3DLOOK | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | 93 | STYLE DS_3DLOOK | WS_CAPTION | WS_SYSMENU | WS_THICKFRAME |
94 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | WS_EX_CONTEXTHELP | | 94 | EXSTYLE WS_EX_TOOLWINDOW | WS_EX_CLIENTEDGE | WS_EX_CONTEXTHELP | |
95 | WS_EX_APPWINDOW | 95 | WS_EX_APPWINDOW |
96 | CAPTION " Dipstick 3.1-trunk" | 96 | CAPTION " Dipstick 3.1" |
97 | FONT 8, "MS Sans Serif", 0, 0, 0x1 | 97 | FONT 8, "MS Sans Serif", 0, 0, 0x1 |
98 | BEGIN | 98 | BEGIN |
99 | CONTROL "List1",IDC_HOSTLIST,"SysListView32",LVS_REPORT | | 99 | CONTROL "List1",IDC_HOSTLIST,"SysListView32",LVS_REPORT | |
100 | LVS_SORTASCENDING | LVS_AUTOARRANGE | WS_BORDER | | 100 | LVS_SORTASCENDING | LVS_AUTOARRANGE | WS_BORDER | |
101 | WS_TABSTOP,8,8,349,136,WS_EX_CLIENTEDGE | 101 | WS_TABSTOP,8,8,349,136,WS_EX_CLIENTEDGE |
102 | PUSHBUTTON "&Manual Ping",IDC_MANUALPING,361,8,50,14 | 102 | PUSHBUTTON "&Manual Ping",IDC_MANUALPING,361,8,50,14 |
103 | PUSHBUTTON "&Reping",IDC_REPING,361,23,50,14,WS_DISABLED | 103 | PUSHBUTTON "&Reping",IDC_REPING,361,23,50,14,WS_DISABLED |
104 | PUSHBUTTON "Reping &All",IDC_REPINGALL,361,38,50,14,WS_DISABLED | 104 | PUSHBUTTON "Reping &All",IDC_REPINGALL,361,38,50,14,WS_DISABLED |
@@ -454,17 +454,17 @@ BEGIN | |||
454 | IDS_ABOUTBOX "&About Dipstick.." | 454 | IDS_ABOUTBOX "&About Dipstick.." |
455 | IDS_PS_FAILEDTOLOCK "Failed to gain access to internal resources. Please, report to Klever." | 455 | IDS_PS_FAILEDTOLOCK "Failed to gain access to internal resources. Please, report to Klever." |
456 | IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed." | 456 | IDP_SOCKETS_INIT_FAILED "Windows sockets initialization failed." |
457 | IDS_CSVEXT ".csv" | 457 | IDS_CSVEXT ".csv" |
458 | IDS_HN_BADURL "Bad URL" | 458 | IDS_HN_BADURL "Bad URL" |
459 | IDS_ABEST_CLEANUP "Remove all locations from list?" | 459 | IDS_ABEST_CLEANUP "Remove all locations from list?" |
460 | IDS_ABEST_NONEFOUND "No reachable locations were found." | 460 | IDS_ABEST_NONEFOUND "No reachable locations were found." |
461 | IDS_ABEST_TITLE " Dipstick - report" | 461 | IDS_ABEST_TITLE " Dipstick - report" |
462 | IDS_DRAGPAD_TITLE " Dipstick 3.1-trunk" | 462 | IDS_DRAGPAD_TITLE " Dipstick 3.1" |
463 | IDS_DRAGPAD_URLS " %d/%d URL(s)" | 463 | IDS_DRAGPAD_URLS " %d/%d URL(s)" |
464 | IDS_REGEX_HTMLURL "<A[^[:alpha:]][^>]*href[[:space:]]*=[[:space:]]*""?([^[:space:]>""]+)""?[^>]*>" | 464 | IDS_REGEX_HTMLURL "<A[^[:alpha:]][^>]*href[[:space:]]*=[[:space:]]*""?([^[:space:]>""]+)""?[^>]*>" |
465 | END | 465 | END |
466 | 466 | ||
467 | STRINGTABLE DISCARDABLE | 467 | STRINGTABLE DISCARDABLE |
468 | BEGIN | 468 | BEGIN |
469 | IDS_KLEVERNET_URL "http://www.klever.net/" | 469 | IDS_KLEVERNET_URL "http://www.klever.net/" |
470 | IDS_PS_INTERNALERROR "Internal Error. Please report to Klever." | 470 | IDS_PS_INTERNALERROR "Internal Error. Please report to Klever." |
@@ -474,17 +474,17 @@ BEGIN | |||
474 | IDS_PS_PORTUNREACHABLE "Destination port unreachable" | 474 | IDS_PS_PORTUNREACHABLE "Destination port unreachable" |
475 | IDS_PS_NORESOURCES "No resources" | 475 | IDS_PS_NORESOURCES "No resources" |
476 | IDS_PS_HWERROR "Hardware error" | 476 | IDS_PS_HWERROR "Hardware error" |
477 | IDS_PS_BIGPACKET "Packet size is too big" | 477 | IDS_PS_BIGPACKET "Packet size is too big" |
478 | END | 478 | END |
479 | 479 | ||
480 | STRINGTABLE DISCARDABLE | 480 | STRINGTABLE DISCARDABLE |
481 | BEGIN | 481 | BEGIN |
482 | IDC_DNDTARGET "Dipstick 3.1-trunk, click the right mouse button to display main window, left mouse button for menu" | 482 | IDC_DNDTARGET "Dipstick 3.1, click the right mouse button to display main window, left mouse button for menu" |
483 | IDC_HOST "Host name as specified or resolved by Dipstick" | 483 | IDC_HOST "Host name as specified or resolved by Dipstick" |
484 | END | 484 | END |
485 | 485 | ||
486 | STRINGTABLE DISCARDABLE | 486 | STRINGTABLE DISCARDABLE |
487 | BEGIN | 487 | BEGIN |
488 | IDC_URLCAPTION "Universal Resource Locator (URL) associated with this location" | 488 | IDC_URLCAPTION "Universal Resource Locator (URL) associated with this location" |
489 | IDC_URL "Universal Resource Locator (URL) associated with this location" | 489 | IDC_URL "Universal Resource Locator (URL) associated with this location" |
490 | IDC_HOSTCAPTION "Host name as specified or resolved by Dipstick" | 490 | IDC_HOSTCAPTION "Host name as specified or resolved by Dipstick" |
diff --git a/help/dipstick.rtf b/help/dipstick.rtf index 839d331..6568499 100644 --- a/help/dipstick.rtf +++ b/help/dipstick.rtf | |||
@@ -26,18 +26,19 @@ K{\footnote about} | |||
26 | \par \sa0\sb120\ql \f1\fs16 Author: {\b\uldb\cf11 Michael Krelin ({\i hacker@klever.net})}{\v %!ExecFile("mailto:hacker@klever.net")} | 26 | \par \sa0\sb120\ql \f1\fs16 Author: {\b\uldb\cf11 Michael Krelin ({\i hacker@klever.net})}{\v %!ExecFile("mailto:hacker@klever.net")} |
27 | \par \sa0\sb0 Fan mail send to {\i\uldb gefilte@klever.net}{\v %!ExecFile("mailto:gefilte@klever.net")} | 27 | \par \sa0\sb0 Fan mail send to {\i\uldb gefilte@klever.net}{\v %!ExecFile("mailto:gefilte@klever.net")} |
28 | \page | 28 | \page |
29 | 29 | ||
30 | \pard\plain\keepn | 30 | \pard\plain\keepn |
31 | #{\footnote News} | 31 | #{\footnote News} |
32 | ${\footnote What's new} | 32 | ${\footnote What's new} |
33 | { \f1\fs18\b\sb120 What's New} | 33 | { \f1\fs18\b\sb120 What's New} |
34 | \par\pard\plain\f1\fs24\qc\cf2\b 3.1 - July 26th, 2005 | 34 | \par\pard\plain\f1\fs24\qc\cf2\b 3.1 - August 6th, 2005 |
35 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Ability to parse multiple URLs from plaintext selection | 35 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Ability to parse multiple URLs from plaintext selection |
36 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Fixed uninstall procedure so that it works on XP | ||
36 | \par\pard\plain\f1\fs24\qc\cf2\b 3.0 - July 11th, 2004 | 37 | \par\pard\plain\f1\fs24\qc\cf2\b 3.0 - July 11th, 2004 |
37 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Change of {\uldb license}{\v About} and opening the source. | 38 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Change of {\uldb license}{\v About} and opening the source. |
38 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Minor cosmetic changes | 39 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Minor cosmetic changes |
39 | \par\pard\plain\f1\fs24\qc\cf2\b 2.52 - June 3rd, 1998 | 40 | \par\pard\plain\f1\fs24\qc\cf2\b 2.52 - June 3rd, 1998 |
40 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Now works properly with Winsock 2 for Windows95. Also may start working with non-Microsoft TCP/IP stacks. | 41 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Now works properly with Winsock 2 for Windows95. Also may start working with non-Microsoft TCP/IP stacks. |
41 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Fixed bug that caused GPF when removing all URLs after testing is over and you picked the URL of your choice. | 42 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Fixed bug that caused GPF when removing all URLs after testing is over and you picked the URL of your choice. |
42 | \par\pard\plain\f1\fs24\qc\cf2\b 2.5 - December 30th, 1997 | 43 | \par\pard\plain\f1\fs24\qc\cf2\b 2.5 - December 30th, 1997 |
43 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Ability to export/import sets of URLs. | 44 | \par\pard\plain\fi0\li0\f1\fs18 \bullet Ability to export/import sets of URLs. |
diff --git a/help/dipstick.xml b/help/dipstick.xml index 8ed0383..21363ab 100644 --- a/help/dipstick.xml +++ b/help/dipstick.xml | |||
@@ -5,18 +5,19 @@ | |||
5 | <p><kin>Dipstick</kin> is our award-winning freeware that allows you to evaluate <term>mirror sites</term> to figure out which one has currently the least traffic.</p> | 5 | <p><kin>Dipstick</kin> is our award-winning freeware that allows you to evaluate <term>mirror sites</term> to figure out which one has currently the least traffic.</p> |
6 | <p/> | 6 | <p/> |
7 | <p><b><i>Enjoy!</i></b></p> | 7 | <p><b><i>Enjoy!</i></b></p> |
8 | <license years="1996-2005"/> | 8 | <license years="1996-2005"/> |
9 | <credits/> | 9 | <credits/> |
10 | </topic> | 10 | </topic> |
11 | <topic id="News" title="What's new"> | 11 | <topic id="News" title="What's new"> |
12 | <heading scroll="no">What's New</heading> | 12 | <heading scroll="no">What's New</heading> |
13 | <newsfor version="3.1" date="July 26th, 2005"> | 13 | <newsfor version="3.1" date="August 6th, 2005"> |
14 | <ni>Ability to parse multiple URLs from plaintext selection</ni> | 14 | <ni>Ability to parse multiple URLs from plaintext selection</ni> |
15 | <ni>Fixed uninstall procedure so that it works on XP</ni> | ||
15 | </newsfor> | 16 | </newsfor> |
16 | <newsfor version="3.0" date="July 11th, 2004"> | 17 | <newsfor version="3.0" date="July 11th, 2004"> |
17 | <ni>Change of <a href="#About">license</a> and opening the source.</ni> | 18 | <ni>Change of <a href="#About">license</a> and opening the source.</ni> |
18 | <ni>Minor cosmetic changes</ni> | 19 | <ni>Minor cosmetic changes</ni> |
19 | </newsfor> | 20 | </newsfor> |
20 | <newsfor version="2.52" date="June 3rd, 1998"> | 21 | <newsfor version="2.52" date="June 3rd, 1998"> |
21 | <ni>Now works properly with Winsock 2 for Windows95. Also may start working with non-Microsoft TCP/IP stacks.</ni> | 22 | <ni>Now works properly with Winsock 2 for Windows95. Also may start working with non-Microsoft TCP/IP stacks.</ni> |
22 | <ni>Fixed bug that caused GPF when removing all URLs after testing is over and you picked the URL of your choice.</ni> | 23 | <ni>Fixed bug that caused GPF when removing all URLs after testing is over and you picked the URL of your choice.</ni> |
diff --git a/install/install.cpp b/install/install.cpp index 1d91bc2..fcd32d7 100644 --- a/install/install.cpp +++ b/install/install.cpp | |||
@@ -1,14 +1,14 @@ | |||
1 | #include "resource.h" | 1 | #include "resource.h" |
2 | #include "../shared-code/install.h" | 2 | #include "../shared-code/install.h" |
3 | 3 | ||
4 | #define KINNAME "Dipstick" | 4 | #define KINNAME "Dipstick" |
5 | #define KINSHORT KINNAME | 5 | #define KINSHORT KINNAME |
6 | #define VERSION "3.1-trunk" | 6 | #define VERSION "3.1" |
7 | 7 | ||
8 | BOOL Install(void) | 8 | BOOL Install(void) |
9 | { | 9 | { |
10 | STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",KINSHORT "Path"); | 10 | STRING dPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group",KINSHORT "Path"); |
11 | STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); | 11 | STRING kPath = strFETCH_REG_KEY(HKEY_LOCAL_MACHINE,"Software\\Klever Group","KINPath"); |
12 | LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); | 12 | LPCSTR qPath = ((LPCSTR)dPath)?(LPCSTR)dPath:(((LPCSTR)kPath)?(LPSTR)kPath:"C:\\Program Files\\Klever\\Nothings"); |
13 | STRING path = REQUESTPATH(" " KINNAME " " VERSION,"\nEnter destination path:",qPath); | 13 | STRING path = REQUESTPATH(" " KINNAME " " VERSION,"\nEnter destination path:",qPath); |
14 | if(!path) | 14 | if(!path) |
@@ -56,13 +56,19 @@ FILE* inf=CREATE_INF_FILE(path,KINSHORT ".INF"); | |||
56 | INF_FILE_SECTION(inf,"kReg"); | 56 | INF_FILE_SECTION(inf,"kReg"); |
57 | INF_UNINSTALL_REG(inf,KINSHORT); | 57 | INF_UNINSTALL_REG(inf,KINSHORT); |
58 | INF_FILE_SECTION(inf,"kMenu"); | 58 | INF_FILE_SECTION(inf,"kMenu"); |
59 | INF_MENU_GROUP(inf,1,"Klever Group"); | 59 | INF_MENU_GROUP(inf,1,"Klever Group"); |
60 | INF_MENU_ITEM(inf,1,KINNAME); | 60 | INF_MENU_ITEM(inf,1,KINNAME); |
61 | fclose(inf); | 61 | fclose(inf); |
62 | 62 | ||
63 | REG_UNINSTALL_COMMAND(KINSHORT,"Klever " KINNAME " " VERSION,shortPath,KINSHORT ".INF","Uninstall"); | 63 | REG_UNINSTALL_COMMAND(KINSHORT,"Klever " KINNAME " " VERSION,shortPath,KINSHORT ".INF","Uninstall"); |
64 | REG_UNINSTALL_ICON(KINSHORT,path,"dipstick.exe",0); | ||
65 | REG_UNINSTALL_COMMENT(KINSHORT,"Klever Dipstick"); | ||
66 | REG_UNINSTALL_VERSION(KINSHORT,VERSION); | ||
67 | REG_UNINSTALL_LOCATION(KINSHORT,path); | ||
68 | REG_UNINSTALL_PUBLISHER(KINSHORT,"Klever Group"); | ||
69 | REG_UNINSTALL_URLS(KINSHORT,"http://www.klever.net/","http://kin.klever.net/dipstick/"); | ||
64 | 70 | ||
65 | MessageBox(NULL,KINNAME " " VERSION " installed successfully, you may now run it from 'Programs/Klever Group' menu or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK); | 71 | MessageBox(NULL,KINNAME " " VERSION " installed successfully, you may now run it from 'Programs/Klever Group' menu or remove it using Control Panel Add/Remove Programs applet."," Rejoice!",MB_ICONINFORMATION|MB_OK); |
66 | 72 | ||
67 | return TRUE; | 73 | return TRUE; |
68 | } | 74 | } |