Tkabber

Check-in [181a01095e]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Mitigated race condition with unset variable connected with the roster item nickname. Closes ticket [5f4781f0b9].
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 181a01095ecb73c487ce7af903d017104a716d11
User & Date: sergei 2015-12-31 19:42:02
Context
2016-01-01
09:52
Switched to he gpg package import command for missing GPG key importing from direct gpg binary call. Also, made this import asynchronous. check-in: 32cc76b904 user: sgolovan tags: trunk
2015-12-31
19:42
Mitigated race condition with unset variable connected with the roster item nickname. Closes ticket [5f4781f0b9]. check-in: 181a01095e user: sergei tags: trunk
2015-12-29
20:32
Added an optional parameter which makes some of the choices in checkbox dialogs disabled. Replaced the group encrypt menu by a dialog. Fixed fetching missing key. check-in: a757414821 user: sgolovan tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to ChangeLog.







1
2
3
4
5
6
7






2015-12-29  Sergei Golovan  <sgolovan@nes.ru>

	* login.tcl, proxy.tcl: Enabled TLS1.1 and TLS1.2 protocols if they
	  are available.

	* utils.tcl: Added an optional parameter which makes some of the
	  choices in checkbox dialogs disabled.
>
>
>
>
>
>







1
2
3
4
5
6
7
8
9
10
11
12
13
2015-12-31  Sergei Golovan  <sgolovan@nes.ru>

	* plugins/roster/itemedit.tcl: Mitigated race condition with unset
	  variable connected with the roster item nickname. Closes ticket
	  [5f4781f0b9].

2015-12-29  Sergei Golovan  <sgolovan@nes.ru>

	* login.tcl, proxy.tcl: Enabled TLS1.1 and TLS1.2 protocols if they
	  are available.

	* utils.tcl: Added an optional parameter which makes some of the
	  choices in checkbox dialogs disabled.

Changes to plugins/roster/itemedit.tcl.

176
177
178
179
180
181
182


183
184
185
186
187
188
189
    hook::run roster_itemedit_commit_hook $xlib $jid [$grlist get 0 end]

    destroy [winfo toplevel $grlist]
}

proc ::itemedit::commit_changes_fallback {xlib jid groups} {
    variable gra_name



    roster::itemconfig $xlib $jid \
        -name $gra_name \
        -group $groups
    roster::send_item $xlib $jid
}








>
>







176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
    hook::run roster_itemedit_commit_hook $xlib $jid [$grlist get 0 end]

    destroy [winfo toplevel $grlist]
}

proc ::itemedit::commit_changes_fallback {xlib jid groups} {
    variable gra_name

    if {![info exists gra_name]} return

    roster::itemconfig $xlib $jid \
        -name $gra_name \
        -group $groups
    roster::send_item $xlib $jid
}