Page 2 of 3

Posted: Thu 20 Jan 2011, 15:35
by disciple
I guess I shouldn't suggest that as it goes against the GPL. But even if the main site is hard to find, it shouldn't take long to get the source from somewhere like the Debian packages site.

Posted: Thu 20 Jan 2011, 16:12
by seaside
You could get tac from most pups and it's only around the same size as pTiming.

Another alternative is to emulate "tac" with "sed" and create a function in pTiming.

Code: Select all

tac() {
	sed '1!G;h;$!d' $1
}
export -f tac
should work.

Regards,
s

Posted: Thu 20 Jan 2011, 19:30
by zigbert
Great stuff guys
- I will use sed instead of tac. Less dependencies is always good.
- I will fix the global ffontsize issue


Sigmund

Posted: Fri 21 Jan 2011, 00:17
by zigbert
tac stays...... (else new arguments)
sed works, but troubles inside gtkdialog code.
It is replaceable, but much cleaner code with tac.


Sigmund

Posted: Fri 21 Jan 2011, 07:52
by john biles
Hello zigbert,
So "tac" is part of the coreutils package. Got "tac" out of a Mandriva 2007 rpm and now your app works as expected. Those using Legacy OS and want to use pTiming just copy the attached file to /usr/bin

Posted: Fri 21 Jan 2011, 13:21
by zigbert
Version 0.5
See main post

Changelog
- Bugfix: Fontsize fits your global font-setting at first run. Else, set in preferences. (thanks to disciple)
- Bugfix: Export results after edited timestamp when competitor is not defined.

Posted: Fri 21 Jan 2011, 15:05
by seaside
john biles wrote:Hello zigbert,
So "tac" is part of the coreutils package. Got "tac" out of a Mandriva 2007 rpm and now your app works as expected. Those using Legacy OS and want to use pTiming just copy the attached file to /usr/bin
Here's the "tac" file from pup431 which is only 16k.

Regards,
s

Posted: Mon 24 Jan 2011, 11:57
by zigbert
Version 0.6
See main post

- Language support.
- Cancel button in preferences window.

Posted: Sat 29 Jan 2011, 00:38
by zigbert
Version 0.7 is uploaded
See main post

The introduction of Language support gave some bugs. Sorry about that.

Changelog
- Bugfix: syntax in tree header 'Laptime'
- Bugfix: edit in shuffle window

Posted: Thu 27 Oct 2011, 18:03
by zigbert
esmourguit has improved the code to use the NLS-variables completely. I have uploaded 0.7-1.


Sigmund

Posted: Wed 22 Feb 2012, 14:34
by zigbert
Version 0.8
See main post

- Message in preferences: Restart pTiming to activate changes. (thanks to esmourguit)
- Uses gtkdialog4.
- Bugfix: Sort order in exported results.
- Bugfix: Timer moved some pixels because not 100% mono.
- Bugfix: Detect macrolanguage (fr, en..) when lang contains utf or similar post info.
- Bugfix: Do not allow more than one detected langauge. (thanks to shinobar)
- Bugfix: NLS variables in Competitors window for default Name, Organization and class. (thanks to esmourguit)
- Bugfix: NLS variables in Competitors window for ID in list heading. (thanks to esmourguit)
- Bugfix: Some missing icons in competitor window.

Posted: Tue 27 Mar 2012, 06:19
by broomdodger
racy5290

pTiming 0.8 works very well.

But when pTiming is quit it sometimes leaves the following running:

sh -c while [ ! -f /root/.ptiming/tmp/end_while ]; do func_time; sleep 0.05; done

It can be seen in top.

Bill

Posted: Tue 27 Mar 2012, 16:28
by zigbert
broomdodger
I tested here and pTiming closes the end_while-loop when exiting.

How did you operate pTiming to get the end_while-loop to stay alive after closing the program? I need to reproduce the bug before I can fix it.


Thank you
Sigmund

Posted: Wed 28 Mar 2012, 04:02
by broomdodger
zigbert wrote:broomdodger
I tested here and pTiming closes the end_while-loop when exiting.

How did you operate pTiming to get the end_while-loop to stay alive after closing the program? I need to reproduce the bug before I can fix it.
Just now opened Menu > Personal > pTiming event timer system
Then let it run about 5 seconds
Then File > Quit

Code: Select all

32212 32185 root     R     2640   1%   0   0% top -d3
32185  3886 root     S     5204   1%   0   1% urxvt -g 127x27-0-28 +sb -bg black -fg green -e top -d3
30353     2 root     SW       0   0%   0   0% [flush-8:0]
28686     1 root     S     3248   1%   0   3% sh -c while [ ! -f /root/.ptiming/tmp/end_while ]; do func_time; sleep 0.05; done
26173 19531 root     S     122m  25%   0   0% /usr/lib/seamonkey-2.6.1/plugin-container /usr/lib/mozilla/plugins/libflashplayer
19531  3886 root     S     394m  80%   0   1% /usr/lib/seamonkey-2.6.1/seamonkey-bin
17412     1 root     S     3248   1%   0   2% sh -c while [ ! -f /root/.ptiming/tmp/end_while ]; do func_time; sleep 0.05; done
I did it again, now there are two remaining running,
even after quitting several minutes ago.

Posted: Sat 31 Mar 2012, 17:43
by zigbert
I see
Exit from menu doesn't kill the loop, while using the windowmanager close-button works as expected.

I will fix. Thank you.
Sigmund

Posted: Sat 31 Mar 2012, 17:51
by zigbert
Version 0.8.1
See main post

Changelog
Bugfix: Kill background loop when exiting from menu (thanks to broomdodger)

Posted: Mon 02 Apr 2012, 03:23
by broomdodger
zigbert wrote:Version 0.8.1
See main post

Changelog
Bugfix: Kill background loop when exiting from menu (thanks to broomdodger)
Thank you.
That fixed it.

Posted: Sat 30 Mar 2013, 16:06
by zigbert
Version 1.0.0
See main post

Changelog
- Gettext for locals.
- Sort by click on tree-header. Removed sort menu.
- pTiming icon.
- Switch from gtkdialog4 to gtkdialog as executable.
- Smoother color scheme.
- Bugfix: Edit timestamps using recent gtkdialog.
- Bugfix: Export result to spredsheet doesn't rank competitors.

Posted: Mon 15 Jul 2013, 15:42
by zigbert
Version 1.0.1
See main post

Changelog
- Bugfix: Kill background loop when exit gui (thanks to SFR)

Posted: Tue 06 Aug 2013, 22:32
by zigbert
Version 1.0.2
See main post

Changelog
- Adjust fontsize to fit 96dpi


Sigmund