Mercurial > pidgin.yaz
changeset 17468:c8ee24d443c6
merge of '158f2188a42dc47993ef8c4456fb084051cd485e'
and '69f1848deb99093ace5393f554c3554be7f07735'
author | William Ehlhardt <williamehlhardt@gmail.com> |
---|---|
date | Wed, 30 May 2007 04:37:55 +0000 |
parents | f5de0f3c0034 (current diff) 103a37dd9398 (diff) |
children | c52b7911a229 |
files | |
diffstat | 3 files changed, 24 insertions(+), 112 deletions(-) [+] |
line wrap: on
line diff
--- a/COPYRIGHT Wed May 30 04:02:50 2007 +0000 +++ b/COPYRIGHT Wed May 30 04:37:55 2007 +0000 @@ -336,6 +336,7 @@ David Stoddard Sun Microsystems MÃ¥rten Svantesson (fursten) +Amir Szekely (kichik) Robert T. Greg Taeger Peter Tang
--- a/libpurple/cipher.c Wed May 30 04:02:50 2007 +0000 +++ b/libpurple/cipher.c Wed May 30 04:37:55 2007 +0000 @@ -1447,14 +1447,14 @@ * Structs ******************************************************************************/ struct _PurpleCipher { - gchar *name; - PurpleCipherOps *ops; - guint ref; + gchar *name; /**< Internal name - used for searching */ + PurpleCipherOps *ops; /**< Operations supported by this cipher */ + guint ref; /**< Reference count */ }; struct _PurpleCipherContext { - PurpleCipher *cipher; - gpointer data; + PurpleCipher *cipher; /**< Cipher this context is under */ + gpointer data; /**< Internal cipher state data */ }; /******************************************************************************
--- a/pidgin/win32/nsis/pidgin-installer.nsi Wed May 30 04:02:50 2007 +0000 +++ b/pidgin/win32/nsis/pidgin-installer.nsi Wed May 30 04:37:55 2007 +0000 @@ -2,7 +2,7 @@ ; Original Author: Herman Bloggs <hermanator12002@yahoo.com> ; Updated By: Daniel Atallah <daniel_atallah@yahoo.com> -; NOTE: this .NSI script is intended for NSIS 2.08 +; NOTE: this .NSI script is intended for NSIS 2.27 ; ;-------------------------------- @@ -38,6 +38,8 @@ !include "MUI.nsh" !include "Sections.nsh" +!include "WinVer.nsh" +!include "LogicLib.nsh" !include "FileFunc.nsh" !insertmacro GetParameters @@ -94,6 +96,13 @@ !endif ;-------------------------------- +;Reserve files used in .onInit +;for faster start-up +ReserveFile "${NSISDIR}\Plugins\System.dll" +!insertmacro MUI_RESERVEFILE_INSTALLOPTIONS +!insertmacro MUI_RESERVEFILE_LANGDLL + +;-------------------------------- ;Modern UI Configuration !define MUI_ICON ".\pixmaps\pidgin-install.ico" @@ -481,12 +490,12 @@ ; If this is under NT4, delete the SILC support stuff ; there is a bug that will prevent any account from connecting ; See https://lists.silcnet.org/pipermail/silc-devel/2005-January/001588.html - Call GetWindowsVersion - Pop $R2 - StrCmp $R2 "NT 4.0" +1 +4 - Delete "$INSTDIR\plugins\libsilc.dll" - Delete "$INSTDIR\silcclient.dll" - Delete "$INSTDIR\silc.dll" + ${If} ${IsNT} + ${AndIf} ${IsWinNT4} + Delete "$INSTDIR\plugins\libsilc.dll" + Delete "$INSTDIR\silcclient.dll" + Delete "$INSTDIR\silc.dll" + ${EndIf} SetOutPath "$INSTDIR" @@ -1310,19 +1319,13 @@ gtk_not_mandatory: ; If on Win95/98/ME warn them that the GTK+ version wont work - Call GetWindowsVersion - Pop $R1 - StrCmp $R1 "95" win_ver_bad - StrCmp $R1 "98" win_ver_bad - StrCmp $R1 "ME" win_ver_bad - Goto done - - win_ver_bad: + ${Unless} ${IsNT} !insertmacro UnselectSection ${SecGtk} !insertmacro SetSectionFlag ${SecGtk} ${SF_RO} MessageBox MB_OK $(GTK_WINDOWS_INCOMPATIBLE) /SD IDOK IntCmp $R0 1 done done ; Upgrade isn't optional - abort if we don't have a suitable version Quit + ${EndIf} done: Pop $R2 @@ -1385,98 +1388,6 @@ FunctionEnd !endif -; GetWindowsVersion -; -; Based on Yazno's function, http://yazno.tripod.com/powerpimpit/ -; Updated by Joost Verburg -; -; Returns on top of stack -; -; Windows Version (95, 98, ME, NT x.x, 2000, XP, 2003, Vista) -; or -; '' (Unknown Windows Version) -; -; Usage: -; Call GetWindowsVersion -; Pop $R0 -; -; at this point $R0 is "NT 4.0" or whatnot -Function GetWindowsVersion - - Push $R0 - Push $R1 - - ClearErrors - ReadRegStr $R0 HKLM \ - "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion - - IfErrors 0 lbl_winnt - - ; we are not NT - ReadRegStr $R0 HKLM \ - "SOFTWARE\Microsoft\Windows\CurrentVersion" VersionNumber - - StrCpy $R1 $R0 1 - StrCmp $R1 '4' 0 lbl_error - - StrCpy $R1 $R0 3 - - StrCmp $R1 '4.0' lbl_win32_95 - StrCmp $R1 '4.9' lbl_win32_ME lbl_win32_98 - - lbl_win32_95: - StrCpy $R0 '95' - Goto lbl_done - - lbl_win32_98: - StrCpy $R0 '98' - Goto lbl_done - - lbl_win32_ME: - StrCpy $R0 'ME' - Goto lbl_done - - lbl_winnt: - StrCpy $R1 $R0 1 - - StrCmp $R1 '3' lbl_winnt_x - StrCmp $R1 '4' lbl_winnt_x - - StrCpy $R1 $R0 3 - - StrCmp $R1 '5.0' lbl_winnt_2000 - StrCmp $R1 '5.1' lbl_winnt_XP - StrCmp $R1 '5.2' lbl_winnt_2003 - StrCmp $R1 '6.0' lbl_winnt_vista lbl_error - - lbl_winnt_x: - StrCpy $R0 "NT $R0" 6 - Goto lbl_done - - lbl_winnt_2000: - Strcpy $R0 '2000' - Goto lbl_done - - lbl_winnt_XP: - Strcpy $R0 'XP' - Goto lbl_done - - lbl_winnt_2003: - Strcpy $R0 '2003' - Goto lbl_done - - lbl_winnt_vista: - Strcpy $R0 'Vista' - Goto lbl_done - - lbl_error: - Strcpy $R0 '' - lbl_done: - - Pop $R1 - Exch $R0 -FunctionEnd - ; SpellChecker Related Functions ;-------------------------------