From: <kak...@us...> - 2009-12-10 21:56:17
|
Revision: 11842 http://amsn.svn.sourceforge.net/amsn/?rev=11842&view=rev Author: kakaroto Date: 2009-12-10 21:56:09 +0000 (Thu, 10 Dec 2009) Log Message: ----------- no more need for the ns setting in advanced prefs.. useless for users, and useless since MSNP15+ and SOAP Modified Paths: -------------- trunk/amsn/config.tcl Modified: trunk/amsn/config.tcl =================================================================== --- trunk/amsn/config.tcl 2009-12-10 20:25:46 UTC (rev 11841) +++ trunk/amsn/config.tcl 2009-12-10 21:56:09 UTC (rev 11842) @@ -413,7 +413,6 @@ [list title connection] \ [list local getdisppic bool getdisppic] \ [list local checkemail bool checkemail] \ - [list local default_ns_server str notificationserver]\ [list local lazypicretrieval bool lazypicretrieval]\ [list local noftpreview bool noftpreview]\ [list title MSN] \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <bi...@us...> - 2009-12-15 21:01:42
|
Revision: 11847 http://amsn.svn.sourceforge.net/amsn/?rev=11847&view=rev Author: billiob Date: 2009-12-15 21:01:32 +0000 (Tue, 15 Dec 2009) Log Message: ----------- don't save temp vars... Modified Paths: -------------- trunk/amsn/config.tcl Modified: trunk/amsn/config.tcl =================================================================== --- trunk/amsn/config.tcl 2009-12-14 20:21:11 UTC (rev 11846) +++ trunk/amsn/config.tcl 2009-12-15 21:01:32 UTC (rev 11847) @@ -803,7 +803,7 @@ set var_value [PathAbsToRel $var_value] } - if { ("$var_attribute" != "remotepassword") && ("$var_attribute" != "os") } { + if { ("$var_attribute" != "remotepassword") && ("$var_attribute" != "os") && ([string first "tempgroup_" "$var_attribute"] != 0) } { set var_value [::sxml::xmlreplace $var_value] puts $file_id " <entry>\n <attribute>$var_attribute</attribute>\n <value>$var_value</value>\n </entry>" } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kak...@us...> - 2009-12-16 01:10:27
|
Revision: 11849 http://amsn.svn.sourceforge.net/amsn/?rev=11849&view=rev Author: kakaroto Date: 2009-12-16 01:10:20 +0000 (Wed, 16 Dec 2009) Log Message: ----------- collapse the offline and nonim groups by default Modified Paths: -------------- trunk/amsn/config.tcl Modified: trunk/amsn/config.tcl =================================================================== --- trunk/amsn/config.tcl 2009-12-15 21:02:27 UTC (rev 11848) +++ trunk/amsn/config.tcl 2009-12-16 01:10:20 UTC (rev 11849) @@ -358,6 +358,10 @@ ::config::setKey fs_in_volume -5.0 ::config::setKey fs_out_volume -5.0 + + ::config::setKey expanded_group_offline 0 + ::config::setKey expanded_group_nonim 0 + #Advanced options, not in preferences window # Create the entry in the list and then, set # the variable at bottom This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2010-02-12 13:32:43
|
Revision: 11914 http://amsn.svn.sourceforge.net/amsn/?rev=11914&view=rev Author: vivia Date: 2010-02-12 13:32:36 +0000 (Fri, 12 Feb 2010) Log Message: ----------- Disabling GetProfile for FLNs by default since it may affect connectivity for large contact lists (timeout?) Modified Paths: -------------- trunk/amsn/config.tcl Modified: trunk/amsn/config.tcl =================================================================== --- trunk/amsn/config.tcl 2010-02-11 11:03:27 UTC (rev 11913) +++ trunk/amsn/config.tcl 2010-02-12 13:32:36 UTC (rev 11914) @@ -281,7 +281,7 @@ ::config::setKey charscounter 1 ;#Display typed characters counter ::config::setKey checkemail 1 ;#Show inbox email notification line ::config::setKey recentmsg 0 ;#Recent message window closing protection - ::config::setKey getprofileoffline 1 ;#Use GetProfile for offline users + ::config::setKey getprofileoffline 0 ;#Use GetProfile for offline users ::config::setKey displayp4context 1 ;#Accept P4-Context fieds ::config::setKey p4contextprefix "" ; #Prefix for P4-Context messages ::config::setKey notifytimeout 8000 ; #Number of milisecs before the notify will go away This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ale...@us...> - 2010-05-13 19:58:43
|
Revision: 12032 http://amsn.svn.sourceforge.net/amsn/?rev=12032&view=rev Author: alexandernst Date: 2010-05-13 19:58:37 +0000 (Thu, 13 May 2010) Log Message: ----------- Remove an extra ] at the end of advanced_options list Modified Paths: -------------- trunk/amsn/config.tcl Modified: trunk/amsn/config.tcl =================================================================== --- trunk/amsn/config.tcl 2010-05-12 22:32:58 UTC (rev 12031) +++ trunk/amsn/config.tcl 2010-05-13 19:58:37 UTC (rev 12032) @@ -442,7 +442,7 @@ [list local escape_close_cw bool escapeclosescw ] \ [list local no_oim_confirmation bool nooimconfirmation ] \ [list global disableprofiles bool disableprofiles] \ - ] + set osspecific_keys [list receiveddir soundcommand browser notifyXoffset \ notifyYoffset filemanager openfilecommand usesnack \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <kak...@us...> - 2010-05-13 20:28:11
|
Revision: 12033 http://amsn.svn.sourceforge.net/amsn/?rev=12033&view=rev Author: kakaroto Date: 2010-05-13 20:28:05 +0000 (Thu, 13 May 2010) Log Message: ----------- Use XDG_DOWNLOAD_DIR for the default download directory on new profiles. Should fix https://bugs.launchpad.net/ubuntu/+source/amsn/+bug/407661 Modified Paths: -------------- trunk/amsn/config.tcl Modified: trunk/amsn/config.tcl =================================================================== --- trunk/amsn/config.tcl 2010-05-13 19:58:37 UTC (rev 12032) +++ trunk/amsn/config.tcl 2010-05-13 20:28:05 UTC (rev 12033) @@ -65,22 +65,7 @@ ::config::setKey protocoloverride 0 - #Dir for received files - if { [OnDarwin] } { - ::config::setKey receiveddir "[file join $::env(HOME) Desktop]" - } elseif { [OnMaemo] } { - ::config::setKey receiveddir "[file join $::env(HOME) MyDocs amsn_received]" - } elseif { [OnUnix] } { - ::config::setKey receiveddir "[file join $::env(HOME) amsn_received]" - } elseif { [OnWin] } { - if {[info exists env(USERPROFILE)]} { - ::config::setKey receiveddir "[file join $::env(USERPROFILE) amsn_received]" - } else { - ::config::setKey receiveddir "[file join [pwd] amsn_received]" - } - } else { - ::config::setKey receiveddir "[file join [pwd] amsn_received]" - } + ::config::setKey receiveddir [::config::getDefaultDownloadDir] #Some Autodetected options if { [OnDarwin] } { @@ -382,9 +367,11 @@ [list local leavejoinsinchat bool leavejoinsinchat] \ [list local animatenotify bool animatenotify]\ ] + if { ![OnWin] } { lappend advanced_options [list local blinktray bool blinktray] } + lappend advanced_options \ [list local enablebanner bool showbanner] \ [list local truncatenames bool truncatenames1] \ @@ -441,8 +428,7 @@ [list local globaloverride bool globaloverride ] \ [list local escape_close_cw bool escapeclosescw ] \ [list local no_oim_confirmation bool nooimconfirmation ] \ - [list global disableprofiles bool disableprofiles] \ - + [list global disableprofiles bool disableprofiles] set osspecific_keys [list receiveddir soundcommand browser notifyXoffset \ notifyYoffset filemanager openfilecommand usesnack \ @@ -609,6 +595,82 @@ } + proc getDefaultDownloadDir { } { + + #Dir for received files + if { [OnDarwin] } { + return "[file join $::env(HOME) Desktop]" + } elseif { [OnWin] } { + if {[info exists env(USERPROFILE)]} { + return "[file join $::env(USERPROFILE) amsn_received]" + } else { + return "[file join [pwd] amsn_received]" + } + } elseif { [OnUnix] } { + set path "" + if {[catch { + if {[info exists ::env(XDG_CONFIG_HOME)] } { + set config_dir [set ::env(XDG_CONFIG_HOME)] + } else { + set config_dir [file join [set ::env(HOME)] .config] + } + status_log "Opening xdg file in [file join $config_dir user-dirs.dir]" + set fd [open [file join $config_dir user-dirs.dirs] r] + set data [read $fd] + close $fd + foreach line [split $data "\n"] { + status_log "Parsing line $line" + set line [string trim $line] + if {[string first "XDG_DOWNLOAD_DIR" $line ] == 0} { + status_log "found XDG_DOWNLOAD_DIR" + set line [string trim [string range $line 16 end]] + if {[string first "=" $line] == 0} { + status_log "Found =" + set path [string trim [string range $line 1 end]] + if {[string first "\"" $path] == 0} { + status_log "found first quote" + set path [string trim [string range $path 1 end]] + set second_quote [string first "\"" $path] + status_log "second quote at $second_quote" + if {$second_quote != -1} { + incr second_quote -1 + set path [string trim [string range $path 0 $second_quote]] + status_log "path is $path" + } + break; + } + } + } + } + if {$path != ""} { + status_log "Found a path : $path" + if {[string first "\$HOME/" $path] == 0} { + status_log "Path is relative" + set relative 1 + set path [string range $path 6 end] + set path [file join $::env(HOME) $path] + } + status_log "Final path is : $path" + } + }]} { + set path "" + status_log "Error parsing XDG_DOWNLOAD_DIR" red + } + if {$path == ""} { + if { [OnMaemo] } { + return "[file join $::env(HOME) MyDocs amsn_received]" + } else { + return "[file join $::env(HOME) amsn_received]" + } + } else { + return $path + } + + } else { + return "[file join [pwd] amsn_received]" + } + } + proc get {key} { return [set ::config($key)] } @@ -1450,6 +1512,7 @@ ::config::setKey log_event_nick 0 ::config::setKey log_event_psm 0 ::config::setKey displaypic "amsn.png" + ::config::setKey receiveddir [::config::getDefaultDownloadDir] foreach file [glob -nocomplain -type f [file join $::HOME2 displaypic *]] { catch {file delete $file} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2011-05-22 21:22:10
|
Revision: 12326 http://amsn.svn.sourceforge.net/amsn/?rev=12326&view=rev Author: vivia Date: 2011-05-22 21:22:04 +0000 (Sun, 22 May 2011) Log Message: ----------- Fixed a bug in the lockexists check. Should stop default profile from writing abook.xml Modified Paths: -------------- trunk/amsn/config.tcl Modified: trunk/amsn/config.tcl =================================================================== --- trunk/amsn/config.tcl 2011-05-17 20:33:15 UTC (rev 12325) +++ trunk/amsn/config.tcl 2011-05-22 21:22:04 UTC (rev 12326) @@ -1371,7 +1371,7 @@ lockexists { set tmp_list [array get LockList] - return [lsearch $tmp_list [LoginList getlock "" "$email"]] + return [expr {[lsearch $tmp_list [LoginList getlock "" "$email"]] >= 0}] } size { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2012-10-01 21:11:42
|
Revision: 12418 http://amsn.svn.sourceforge.net/amsn/?rev=12418&view=rev Author: vivia Date: 2012-10-01 21:11:36 +0000 (Mon, 01 Oct 2012) Log Message: ----------- Enabling autoresizedp by default, as requested by Steven Chamberlain in http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=689243 Modified Paths: -------------- trunk/amsn/config.tcl Modified: trunk/amsn/config.tcl =================================================================== --- trunk/amsn/config.tcl 2012-09-10 19:43:09 UTC (rev 12417) +++ trunk/amsn/config.tcl 2012-10-01 21:11:36 UTC (rev 12418) @@ -51,7 +51,7 @@ ::config::setKey ShowButtonBar 1 ::config::setKey show_contactdps_in_cl 0 - ::config::setKey autoresizedp 0 + ::config::setKey autoresizedp 1 ::config::setKey lowrescam 0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <vi...@us...> - 2012-10-11 17:59:55
|
Revision: 12419 http://amsn.svn.sourceforge.net/amsn/?rev=12419&view=rev Author: vivia Date: 2012-10-11 17:59:45 +0000 (Thu, 11 Oct 2012) Log Message: ----------- Use snack by default on Unix, added a comment for distros to change the default soundcommand to whatever is shipped Modified Paths: -------------- trunk/amsn/config.tcl Modified: trunk/amsn/config.tcl =================================================================== --- trunk/amsn/config.tcl 2012-10-01 21:11:36 UTC (rev 12418) +++ trunk/amsn/config.tcl 2012-10-11 17:59:45 UTC (rev 12419) @@ -89,13 +89,14 @@ ::config::setKey os "unix" } elseif { [OnUnix] } { + #Distros are free to change the default sound command to whatever is shipped with them, if they don't distribute snack with amsn ::config::setKey soundcommand "play \$sound" ::config::setKey browser "xdg-open \$url" ::config::setKey notifyXoffset 0 ::config::setKey notifyYoffset 0 ::config::setKey filemanager "xdg-open \$location" ::config::setKey openfilecommand "xdg-open \$file" - ::config::setKey usesnack 0 + ::config::setKey usesnack 1 ::config::setKey os "unix" } elseif { [OnWin] } { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |