<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/gitk-git, branch gitk-resize-error</title>
<subtitle>Fork of git SCM with my patches.</subtitle>
<id>http://git.kilabit.info/git/atom?h=gitk-resize-error</id>
<link rel='self' href='http://git.kilabit.info/git/atom?h=gitk-resize-error'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/'/>
<updated>2022-02-08T05:57:16Z</updated>
<entry>
<title>gitk: fix error when resizing gitk</title>
<updated>2022-02-08T05:57:16Z</updated>
<author>
<name>Shulhan</name>
<email>ms@kilabit.info</email>
</author>
<published>2021-10-06T15:45:04Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=c857d54a1f99cf8dc829b3ff4c395c831e9016eb'/>
<id>urn:sha1:c857d54a1f99cf8dc829b3ff4c395c831e9016eb</id>
<content type='text'>
When using gitk run on Wayland (in this case using sway window manager)
and the window is vertical split, trying to resize the split will thrown
the following error,

	expected integer but got ""
	expected integer but got ""
	    while executing
	"$win sash place 0 $sash0 [lindex $s0 1]"
	    (procedure "resizeclistpanes" line 38)
	    invoked from within
	"resizeclistpanes .tf.histframe.pwclist 983"
	    (command bound to event)

The issue is confirmed by Anders Kaseorg on the list [1].

This commit fix this issue by checking if the $s0 or $s1 is empty
string, if its true set it to 0.

PS: I have send this patch to paulus@ozlabs.org, and it seems like there
is no reply since 7 Oct. Either the email is not received or somethings
in between.

[1] https://public-inbox.org/git/1f6e179c-d9c3-e503-3218-0acf4ff27cca@mit.edu/

Signed-off-by: Shulhan &lt;ms@kilabit.info&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'paulus/master' into pm/gitk-update</title>
<updated>2020-10-03T17:06:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2020-10-03T17:06:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=e2b9cb1c5a45290f568681862fb27714d6e4e52b'/>
<id>urn:sha1:e2b9cb1c5a45290f568681862fb27714d6e4e52b</id>
<content type='text'>
* paulus/master:
  gitk: Resize panes correctly when reducing window size
  gitk: replace tabs with spaces
  gitk: fix the context menu not appearing in the presence of submodule diffs
  gitk: Un-hide selection in areas with non-default background color
  gitk: add diff lines background colors
  gitk: be prepared to be run in a bare repository
  gitk: Preserve window dimensions on exit when not using ttk themes
  gitk: don't highlight files after submodules as submodules
  gitk: fix branch name encoding error
  gitk: rename "commit summary" to "commit reference"
</content>
</entry>
<entry>
<title>Merge gitk to pick up emergency build fix</title>
<updated>2019-09-17T21:59:18Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-09-17T21:59:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=8a3a6817e24ae1cf1fd08fb90b4a99e6817f646d'/>
<id>urn:sha1:8a3a6817e24ae1cf1fd08fb90b4a99e6817f646d</id>
<content type='text'>
  gitk: rename zh_CN.po to zh_cn.po
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://ozlabs.org/~paulus/gitk</title>
<updated>2019-09-16T17:25:08Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-09-16T17:25:08Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=3cb8921f74354a3a4aeaa932869acb7e6aabe630'/>
<id>urn:sha1:3cb8921f74354a3a4aeaa932869acb7e6aabe630</id>
<content type='text'>
* 'master' of git://ozlabs.org/~paulus/gitk:
  gitk: Do not mistake unchanged lines for submodule changes
  gitk: Use right colour for remote refs in the "Tags and heads" dialog
  gitk: Add Chinese (zh_CN) translation
  gitk: Make web links clickable
</content>
</entry>
<entry>
<title>Merge git://ozlabs.org/~paulus/gitk</title>
<updated>2019-03-18T02:18:49Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2019-03-18T02:18:49Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=0e94f7aa730b108f7907cfab1b2a7fba965de442'/>
<id>urn:sha1:0e94f7aa730b108f7907cfab1b2a7fba965de442</id>
<content type='text'>
* git://ozlabs.org/~paulus/gitk:
  gitk: Update Bulgarian translation (317t)
</content>
</entry>
<entry>
<title>Merge git://ozlabs.org/~paulus/gitk</title>
<updated>2017-01-18T18:27:59Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2017-01-18T18:27:59Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=ffac48d093d4b518a0cc0e8bf1b7cb53e0c3d7a2'/>
<id>urn:sha1:ffac48d093d4b518a0cc0e8bf1b7cb53e0c3d7a2</id>
<content type='text'>
* 'master' of git://ozlabs.org/~paulus/gitk:
  gitk: Remove translated message from comments
  gitk: ru.po: Update Russian translation
  gitk: Update copyright notice to 2016
  gitk: Clear array 'commitinfo' on reload
  gitk: Remove closed file descriptors from $blobdifffd
  gitk: Turn off undo manager in the text widget
  gitk: Fix Japanese translation for "marked commit"
  gitk: Fix missing commits when using -S or -G
  gitk: Use explicit RGB green instead of "lime"
  gitk: Add Portuguese translation
  gitk: Makefile: create install bin directory
  gitk: Include commit title in branch dialog
  gitk: Allow checking out a remote branch
  gitk: Add a 'rename' option to the branch context menu
</content>
</entry>
<entry>
<title>Merge branch 'master' of git://ozlabs.org/~paulus/gitk</title>
<updated>2016-03-21T01:05:10Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2016-03-21T01:05:10Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=257000c617cfdc99fb2916b81268a7e971c12ca6'/>
<id>urn:sha1:257000c617cfdc99fb2916b81268a7e971c12ca6</id>
<content type='text'>
* 'master' of git://ozlabs.org/~paulus/gitk:
  gitk: Follow themed bgcolor in help dialogs
  gitk: fr.po: Sync translations with git
  gitk: Update French translation (311t)
  gitk: Update German translation
  gitk: Update Bulgarian translation (311t)
</content>
</entry>
<entry>
<title>Merge git://ozlabs.org/~paulus/gitk</title>
<updated>2015-12-21T16:56:16Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-12-21T16:56:16Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=c3ee2e2c9deb1e7846e864494cdb2fbc7bb1a285'/>
<id>urn:sha1:c3ee2e2c9deb1e7846e864494cdb2fbc7bb1a285</id>
<content type='text'>
* git://ozlabs.org/~paulus/gitk:
  gitk: sv.po: Update Swedish translation (311t)
  gitk: Let .bleft.mid widgets 'breathe'
  gitk: Match ttk fonts to gitk fonts
  gitk: Update revision date in Japanese PO file
  gitk: Update "Language:" header
  gitk: Improve translation message
  gitk: Remove unused line
  gitk: Update year
  gitk: Change last translator line
  gitk: Update fuzzy messages
  gitk: Update Japanese translation
  gitk: Fix translation around copyright sign
  gitk: Update Japanese translation
  gitk: Fix wrong translation
  gitk: Translate Japanese catalog
  gitk: Translate more to Japanese catalog
  gitk: Update Japanese message catalog
  gitk: Re-sync line number in Japanese message catalogue
  gitk: Color name update
</content>
</entry>
<entry>
<title>Merge git://ozlabs.org/~paulus/gitk</title>
<updated>2015-10-30T16:02:27Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-10-30T16:02:27Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=482456a414d69d8c44b92bbf73eb4ee53b5d8ab9'/>
<id>urn:sha1:482456a414d69d8c44b92bbf73eb4ee53b5d8ab9</id>
<content type='text'>
* git://ozlabs.org/~paulus/gitk:
  gitk: Update Russian translation
  gitk: Add accelerator to German locale
  gitk: Add accelerators to Japanese locale
  gitk: Update msgid's for menu items with accelerator
  gitk: l10n: Update Catalan translation
  gitk: Add missing accelerators
  Updated Vietnamese translation
</content>
</entry>
<entry>
<title>Merge git://ozlabs.org/~paulus/gitk</title>
<updated>2015-09-14T18:50:21Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2015-09-14T18:50:21Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/git/commit/?id=3f26fe76449d61c2dd528dd54d42297d1a2b7ab2'/>
<id>urn:sha1:3f26fe76449d61c2dd528dd54d42297d1a2b7ab2</id>
<content type='text'>
* git://ozlabs.org/~paulus/gitk:
  gitk: Accelerators for the main menu
  gitk: Adjust the menu line numbers to compensate for the new entry
  gitk: Add a "Copy commit summary" command
  gitk: Update Bulgarian translation (307t)
  gitk: Update .po files
  gitk: Update Bulgarian translation (304t)
  gitk: Use translated version of "Command line" in getcommitlines
  gitk: Make it easier to go quickly to a specific commit
  gitk: Show the current view's name in the window title
  gitk: Add mouse right-click options to copy path and branch name
  gitk: Remove mc parameter from proc show_error
  gitk: Fix error when changing colors after closing "List references" window
  gitk: Replace catch {unset foo} with unset -nocomplain foo
  gitk: Rearrange window title to be more conventional
  gitk: sv.po: Update Swedish translation (305t0f0u)
  gitk: Fix bad English grammar "Matches none Commit Info"
</content>
</entry>
</feed>
