diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-November/019944.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/2012-November/019944.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-November/019944.html | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-November/019944.html b/zarb-ml/mageia-dev/2012-November/019944.html new file mode 100644 index 000000000..2d8238346 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-November/019944.html @@ -0,0 +1,115 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] [soft-commits] [6435] Added a first log viewer module. + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B6435%5D%20Added%20a%20first%20log%20viewer%0A%09module.&In-Reply-To=%3C50A0CB9B.303%40linux.it%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="019942.html"> + <LINK REL="Next" HREF="019957.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.</H1> + <B>Angelo Naselli</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20%5Bsoft-commits%5D%20%5B6435%5D%20Added%20a%20first%20log%20viewer%0A%09module.&In-Reply-To=%3C50A0CB9B.303%40linux.it%3E" + TITLE="[Mageia-dev] [soft-commits] [6435] Added a first log viewer module.">anaselli at linux.it + </A><BR> + <I>Mon Nov 12 11:12:43 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="019942.html">[Mageia-dev] [soft-commits] [6435] Added a first log viewer module. +</A></li> + <LI>Next message: <A HREF="019957.html">[Mageia-dev] [changelog] [RPM] cauldron core/release supertux-0.3.3-39.mga3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#19944">[ date ]</a> + <a href="thread.html#19944">[ thread ]</a> + <a href="subject.html#19944">[ subject ]</a> + <a href="author.html#19944">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +Il 12/11/2012 10:06, Guillaume Rousse ha scritto: +><i> I forgot this one... +</I>><i> +</I>><i> Le 11/11/2012 19:13, <A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">root at mageia.org</A> a écrit : +</I>>><i> +## Append a custom string to log view adding date +sub logText +</I>>><i> { + my ($st) = @_; + my $string = chomp_(`LC_ALL=C date +</I>>><i> '+%Y %b %d %T'`) . " " . $st . "\n"; + # `` return non utf8 +</I>>><i> and concat of non utf8 & utf8 is non utf8: + +</I>>><i> c::set_tagged_utf8($string); + + # log given text + +</I>>><i> $logView->appendLines($string); +} +</I>><i> It is especially ugly to call external date binary, whereas perl +</I>><i> has everything needed as builtin functions for this. See "time +</I>><i> related functions" in perlfunc(1), and POSIX::strftime in +</I>><i> POSIX(3pm) if you need a simple formation function. +</I>Ok so you're offering yourself to rewrite all without leaving +any old code in new implementation :D + +Anyway I understand what you mean, and i agree i will fix it asap. + +Angelo +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.12 (GNU/Linux) +Comment: Using GnuPG with Mozilla - <A HREF="http://enigmail.mozdev.org/">http://enigmail.mozdev.org/</A> + +iEYEARECAAYFAlCgy5sACgkQqEs9DA4DquDZ6ACeKl3WUjETSj6tFCXhTC9xox7W +BiQAn1sDo7GNTIdl7IgQu3q3UFrd/M3Y +=NCMa +-----END PGP SIGNATURE----- +</PRE> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="019942.html">[Mageia-dev] [soft-commits] [6435] Added a first log viewer module. +</A></li> + <LI>Next message: <A HREF="019957.html">[Mageia-dev] [changelog] [RPM] cauldron core/release supertux-0.3.3-39.mga3 +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#19944">[ date ]</a> + <a href="thread.html#19944">[ thread ]</a> + <a href="subject.html#19944">[ subject ]</a> + <a href="author.html#19944">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |