summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-09-14gitk: Use right colour for remote refs in the "Tags and heads" dialogLibravatar Paul Wise1-1/+8
Makes it easier to see which refs are local and which refs are remote. Adds consistency with the remote background colour in the graph display. Signed-off-by: Paul Wise <pabs3@bonedaddy.net> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2019-09-14gitk: Add Chinese (zh_CN) translationLibravatar YanKe1-0/+1367
Signed-off-by: YanKe <imyanke@163.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2019-08-29gitk: Make web links clickableLibravatar Paul Mackerras1-1/+50
This makes gitk look for http or https URLs in the commit description and make the URLs clickable. Clicking on them will invoke an external web browser with the URL. The web browser command is by default "xdg-open" on Linux, "open" on MacOS, and "cmd /c start" on Windows. The command can be changed in the preferences window, and it can include parameters as well as the command name. If it is set to the empty string then URLs will no longer be made clickable. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2019-03-14gitk: Update Bulgarian translation (317t)Libravatar Alexander Shopov1-317/+343
Signed-off-by: Alexander Shopov <ash@kambanaria.org> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2017-01-18gitk: Remove translated message from commentsLibravatar David Aguilar1-15/+0
"make update-po" fails because a previously untranslated string has now been translated: Updating po/sv.po po/sv.po:1388: duplicate message definition... po/sv.po:380: ...this is the location of the first definition Remove the duplicate message definition. Reported-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: David Aguilar <davvid@gmail.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-12-31gitk: ru.po: Update Russian translationLibravatar Dimitriy Ryazantcev1-314/+356
Signed-off-by: Dimitriy Ryazantcev <dimitriy.ryazantcev@gmail.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-12-12gitk: Update copyright notice to 2016Libravatar Paul Mackerras14-31/+31
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-12-12gitk: Clear array 'commitinfo' on reloadLibravatar Markus Hitter1-1/+2
After a reload we might have an entirely different set of commits, so keeping all of them leaks memory. Remove them all because re-creating them is not more expensive than testing wether they're still valid. Lazy (re-)creation is already well established, so a missing entry can't cause harm. Signed-off-by: Markus Hitter <mah@jump-ing.de> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-12-12gitk: Remove closed file descriptors from $blobdifffdLibravatar Markus Hitter1-0/+5
One shouldn't have descriptors of already closed files around. The first idea to deal with this (previously) ever growing array was to remove it entirely, but it's needed to detect start of a new diff with ths old diff not yet done. This happens when a user clicks on the same commit in the commit list repeatedly without delay. Signed-off-by: Markus Hitter <mah@jump-ing.de> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-12-12gitk: Turn off undo manager in the text widgetLibravatar Markus Hitter1-1/+1
The diff text widget is read-only, so there's zero point in building an undo stack. This change reduces memory consumption of this widget by about 95%. Memory usage of the whole program for viewing a reference commit before; 579'692'744 bytes, after: 32'724'446 bytes. Test procedure: - Choose a largish commit and check it out. In this case one with 90'802 lines, 5'006'902 bytes. - Have a Tcl version with memory debugging enabled. This is, build one with --enable-symbols=mem passed to configure. - Instrument Gitk to regularly show a memory dump. E.g. by adding these code lines at the very bottom: proc memDump {} { catch { set output [memory info] puts $output } after 3000 memDump } memDump - Start Gitk, it'll load this largish commit into the diff text field automatically (because it's the current commit). - Wait until memory consumption levels out and note the numbers. Note that the numbers reported by [memory info] are much smaller than the ones reported in 'top' (1.75 GB vs. 105 MB in this case), likely due to all the instrumentation coming with the debug version of Tcl. Signed-off-by: Markus Hitter <mah@jump-ing.de> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-12-12gitk: Fix Japanese translation for "marked commit"Libravatar Satoshi Yasushima1-4/+5
Signed-off-by: Satoshi Yasushima <s.yasushima@gmail.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-12-12gitk: Fix missing commits when using -S or -GLibravatar Stefan Dotterweich1-1/+4
When -S or -G is used as a filter option, the resulting commit list rarely contains all matching commits. Only a certain number of commits are displayed and the rest are missing. "git log --boundary -S" does not return as many boundary commits as you might expect. gitk makes up for this in closevarcs() by adding missing parent (boundary) commits. However, it does not change $numcommits, which limits how many commits are shown. In the end, some commits at the end of the commit list are simply not shown. Change $numcommits whenever a missing parent is added to the current view. Signed-off-by: Stefan Dotterweich <stefandotterweich@gmx.de> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-12-12gitk: Use explicit RGB green instead of "lime"Libravatar Paul Mackerras1-6/+6
Some systems don't recognize "lime" as a color, leading to errors when gitk is run. What we want is a bright green, so use "#00ff00" instead. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-12-12gitk: Add Portuguese translationLibravatar Vasco Almeida1-0/+1376
Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-12-12gitk: Makefile: create install bin directoryLibravatar Vasco Almeida1-0/+1
Force creation of destination bin directory. Without this, gitk would fail to install if this directory didn't already exist. Signed-off-by: Vasco Almeida <vascomalmeida@sapo.pt> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-12-12gitk: Include commit title in branch dialogLibravatar Rogier Goossens1-1/+6
Hi, I made another branch dialog related change, included in this message. It applies on top of my other two patches. Rogier. ------- 8< ------------------- 8< -------------- Only the SHA1 was included. It's convenient to have the title mentioned as well. Signed-off-by: Rogier Goossens <goossens.rogier@gmail.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-12-12gitk: Allow checking out a remote branchLibravatar Rogier Goossens1-5/+31
Git allows checking out remote branches, creating a local tracking branch in the process. Allow gitk to do this as well, provided a local branch of the same name does not yet exist. Signed-off-by: Rogier Goossens <goossens.rogier@gmail.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-12-12gitk: Add a 'rename' option to the branch context menuLibravatar Rogier Goossens1-11/+85
Signed-off-by: Rogier Goossens <goossens.rogier@gmail.com> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
2016-03-19gitk: Follow themed bgcolor in help dialogsLibravatar Guillermo S. Romero1-4/+4
Make Help > About & Key bindings dialogs readable if theme has changed font color to something incompatible with white. Signed-off-by: Guillermo S. Romero <gsromero@infernal-iceberg.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
2016-03-19gitk: fr.po: Sync translations with gitLibravatar Jean-Noel Avila1-50/+46
Signed-off-by: Jean-Noel Avila <jn.avila@free.fr> Signed-off-by: Paul Mackerras <paulus@samba.org>
2016-03-19gitk: Update French translation (311t)Libravatar Jean-Noel Avila1-388/+373
Signed-off-by: Jean-Noel Avila <jn.avila@free.fr> Signed-off-by: Paul Mackerras <paulus@samba.org>
2016-03-19gitk: Update German translationLibravatar Ralf Thielow1-46/+33
Signed-off-by: Ralf Thielow <ralf.thielow@gmail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
2016-03-19gitk: Update Bulgarian translation (311t)Libravatar Alexander Shopov1-320/+336
Signed-off-by: Alexander Shopov <ash@kambanaria.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
2015-12-19Merge branch 'ja.po' of https://github.com/qykth-git/gitkLibravatar Paul Mackerras1-356/+336
2015-12-19Merge branch 'color-fix' of https://github.com/qykth-git/gitkLibravatar Paul Mackerras1-6/+6
2015-12-12gitk: sv.po: Update Swedish translation (311t)Libravatar Peter Krefting1-300/+314
Signed-off-by: Peter Krefting <peter@softwolves.pp.se> Signed-off-by: Paul Mackerras <paulus@samba.org>
2015-12-12gitk: Let .bleft.mid widgets 'breathe'Libravatar Giuseppe Bilotta1-2/+6
The widgets on top of the diff window are very tightly packed. Make them breathe a little by adding an 'i'-spaced padding between them. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
2015-12-12gitk: Match ttk fonts to gitk fontsLibravatar Giuseppe Bilotta1-0/+18
The fonts set in setoptions aren't consistently picked up by ttk, which uses its own predefined fonts. This is noticeable when switching between using and not using ttk with custom fonts or in HiDPI settings (where the default TTK fonts do _not_ respect tk sclaing). Fix by mapping the ttk fontset to the one used by gitk internally. Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
2015-11-12gitk: Update revision date in Japanese PO fileLibravatar YOKOTA Hiroshi1-1/+1
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Update "Language:" headerLibravatar YOKOTA Hiroshi1-1/+1
msgfmt(1) wants this header. Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Improve translation messageLibravatar YOKOTA Hiroshi1-1/+1
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Remove unused lineLibravatar YOKOTA Hiroshi1-18/+0
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Update yearLibravatar YOKOTA Hiroshi1-1/+1
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Change last translator lineLibravatar YOKOTA Hiroshi1-1/+2
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Update fuzzy messagesLibravatar YOKOTA Hiroshi1-9/+2
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Update Japanese translationLibravatar YOKOTA Hiroshi1-1/+1
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Fix translation around copyright signLibravatar YOKOTA Hiroshi1-1/+1
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Update Japanese translationLibravatar YOKOTA Hiroshi1-0/+2
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Fix wrong translationLibravatar YOKOTA Hiroshi1-3/+3
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Translate Japanese catalogLibravatar YOKOTA Hiroshi1-9/+9
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Translate more to Japanese catalogLibravatar YOKOTA Hiroshi1-31/+16
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Update Japanese message catalogLibravatar YOKOTA Hiroshi1-13/+11
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Re-sync line number in Japanese message catalogueLibravatar YOKOTA Hiroshi1-275/+294
Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-11-12gitk: Color name updateLibravatar YOKOTA Hiroshi1-6/+6
Color name "green" was darken since Tcl/Tk 7.6. Because color name scheme was changed from "X11 colors" to "Web colors". Use "lime" to keep colors. See also: http://www.tcl.tk/cgi-bin/tct/tip/403.html Signed-off-by: YOKOTA Hiroshi <yokota@netlab.cs.tsukuba.ac.jp>
2015-10-30Merge https://github.com/vnwildman/gitkLibravatar Paul Mackerras1-22/+23
This brings in an update to the Vietnamese translation. Signed-off-by: Paul Mackerras <paulus@samba.org>
2015-10-30gitk: Update Russian translationLibravatar Dimitriy Ryazantcev1-239/+160
Signed-off-by: Dimitriy Ryazantcev <dimitriy.ryazantcev@gmail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
2015-10-30gitk: Add accelerator to German localeLibravatar Takashi Iwai1-18/+18
Assigned either to the first letter or some unique letter. At least there are no conflicts, as far as I see... Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
2015-10-30gitk: Add accelerators to Japanese localeLibravatar Takashi Iwai1-17/+17
Just follow the English accelerator keys. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
2015-10-30gitk: Update msgid's for menu items with acceleratorLibravatar Takashi Iwai12-205/+205
The commit d99b4b0de27a ("gitk: Accelerators for the main menu") modified the menu item strings with the accelerator, but the translations didn't follow, thus the menus are shown without translations. This patch systematically update the msgid keys just to follow this change. The contents aren't changed, so the accelerator won't work in these locales for now. Each locale translator needs to add proper acceleration keys appropriately. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Paul Mackerras <paulus@samba.org>
2015-10-30gitk: l10n: Update Catalan translationLibravatar Alex Henrie1-28/+25
The gitk included in git 2.6.0 crashes if run from a Catalan locale. I'm hoping that a translation update will fix this. Signed-off-by: Alex Henrie <alexhenrie24@gmail.com> Signed-off-by: Paul Mackerras <paulus@samba.org>