Bug#285102: marked as done (libgtksourceview-common: gtksourceview don't highlight numeric types in python)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 27 Feb 2005 07:48:25 -0800


Your message dated Sun, 27 Feb 2005 10:32:14 -0500
with message-id <E1D5QP0-0003J5-00@newraff.debian.org>
and subject line Bug#285102: fixed in gtksourceview 1.1.92-1
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Dec 2004 16:52:09 +0000
>From leonardosoto@tutopia.com Fri Dec 10 08:52:09 2004
Return-path: <leonardosoto@tutopia.com>
Received: from 90-203-238.adsl.cust.tie.cl (fenix.spilchile.cl) [200.90.203.238] (postfix)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cco00-0002dg-00; Fri, 10 Dec 2004 08:52:09 -0800
Received: by fenix.spilchile.cl (Postfix, from userid 500)
	id 6875075847; Fri, 10 Dec 2004 13:52:06 -0300 (CLST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Leonardo Soto <leonardosoto@tutopia.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libgtksourceview-common: gtksourceview don't highlight numeric types in
 python
X-Mailer: reportbug 3.4
Date: Fri, 10 Dec 2004 13:52:06 -0300
Message-Id: <20041210165206.6875075847@fenix.spilchile.cl>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: libgtksourceview-common
Version: 1.1.1-1
Severity: minor


There is no mention to numeric python types in python language
definition (share/gtksourceview-1.0/language-specs/python.lang)

A trivial patch (stolen  from c.lang, as python and c numbers has the same syntax
AFAIK) would be:


--- /tmp/python.lang.orig       2004-12-10 13:38:41.000000000 -0300
+++ python.lang 2004-12-10 13:34:25.000000000 -0300
@@ -191,5 +191,23 @@
        <pattern-item _name = "Self" style = "Data Type">
                <regex>\bself\b</regex>
        </pattern-item>
+        <pattern-item _name = "Decimal" style = "Decimal">
+
<regex>\b([1-9][0-9]*|0)([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b</regex>
+        </pattern-item>
+
+        <pattern-item _name = "Floating Point Number" style = "Floating
Point">
+
<regex>\b([0-9]+[Ee][-]?[0-9]+|([0-9]*\.[0-9]+|[0-9]+\.)([Ee][-]?[0-9]+)?)[fFlL]?</regex>
+        </pattern-item>
+
+        <pattern-item _name = "Octal Number" style = "Base-N Integer">
+
<regex>\b0[0-7]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b</regex>
+        </pattern-item>
+
+        <pattern-item _name = "Hex Number" style = "Base-N Integer">
+
<regex>\b0[xX][0-9a-fA-F]+([Uu]([Ll]|LL|ll)?|([Ll]|LL|ll)[Uu]?)?\b</regex>
+        </pattern-item>
+
+
+

 </language>


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (900, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.9leo
Locale: LANG=es_CL, LC_CTYPE=es_CL (charmap=ISO-8859-1)

-- no debconf information

---------------------------------------
Received: (at 285102-close) by bugs.debian.org; 27 Feb 2005 15:38:10 +0000
>From katie@ftp-master.debian.org Sun Feb 27 07:38:10 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D5QUk-0008KL-00; Sun, 27 Feb 2005 07:38:10 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1D5QP0-0003J5-00; Sun, 27 Feb 2005 10:32:14 -0500
From: Andrew Lau <netsnipe@users.sourceforge.net>
To: 285102-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#285102: fixed in gtksourceview 1.1.92-1
Message-Id: <E1D5QP0-0003J5-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 27 Feb 2005 10:32:14 -0500
Delivered-To: 285102-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: gtksourceview
Source-Version: 1.1.92-1

We believe that the bug you reported is fixed in the latest version of
gtksourceview, which is due to be installed in the Debian FTP archive:

gtksourceview_1.1.92-1.diff.gz
  to pool/main/g/gtksourceview/gtksourceview_1.1.92-1.diff.gz
gtksourceview_1.1.92-1.dsc
  to pool/main/g/gtksourceview/gtksourceview_1.1.92-1.dsc
gtksourceview_1.1.92.orig.tar.gz
  to pool/main/g/gtksourceview/gtksourceview_1.1.92.orig.tar.gz
libgtksourceview-common_1.1.92-1_all.deb
  to pool/main/g/gtksourceview/libgtksourceview-common_1.1.92-1_all.deb
libgtksourceview-dev_1.1.92-1_i386.deb
  to pool/main/g/gtksourceview/libgtksourceview-dev_1.1.92-1_i386.deb
libgtksourceview-doc_1.1.92-1_all.deb
  to pool/main/g/gtksourceview/libgtksourceview-doc_1.1.92-1_all.deb
libgtksourceview1.0-0_1.1.92-1_i386.deb
  to pool/main/g/gtksourceview/libgtksourceview1.0-0_1.1.92-1_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 285102@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrew Lau <netsnipe@users.sourceforge.net> (supplier of updated gtksourceview package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sat, 26 Feb 2005 15:30:01 +1100
Source: gtksourceview
Binary: libgtksourceview-dev libgtksourceview-common libgtksourceview1.0-0 libgtksourceview-doc
Architecture: source all i386
Version: 1.1.92-1
Distribution: unstable
Urgency: low
Maintainer: Andrew Lau <netsnipe@users.sourceforge.net>
Changed-By: Andrew Lau <netsnipe@users.sourceforge.net>
Description: 
 libgtksourceview-common - common files for the GTK+ syntax highlighting widget
 libgtksourceview-dev - development files for the GTK+ syntax highlighting widget
 libgtksourceview-doc - documentation for the GTK+ syntax highlighting widget
 libgtksourceview1.0-0 - shared libraries for the GTK+ syntax highlighting widget
Closes: 280235 285102 292658
Changes: 
 gtksourceview (1.1.92-1) unstable; urgency=low
 .
   * New upstream release.
     - Merged: [debian/patches/00_python-numeric.patch]
       (closes: #285102)
     - Improved Latex comment handling.
       (closes: #280235)
     - Fixed line number printing.
       (closes: #292658)
Files: 
 aa1fb5a9007d3e686b9b058e5429c62e 1682 libs optional gtksourceview_1.1.92-1.dsc
 de92984530cb8bafc05dd821a4c247f7 1352663 libs optional gtksourceview_1.1.92.orig.tar.gz
 2650a1bb3f8f8363b8aa53c8b0b4b97d 30762 libs optional gtksourceview_1.1.92-1.diff.gz
 4bc885e49e2bb637c2c4d2643e0a1faa 288112 misc optional libgtksourceview-common_1.1.92-1_all.deb
 2e577f90bbc0f87f8d095d6ba32d6bc8 66408 doc optional libgtksourceview-doc_1.1.92-1_all.deb
 6563f45e881c4837ef9eb32561a91c9c 97850 libs optional libgtksourceview1.0-0_1.1.92-1_i386.deb
 ff0498891efc86e26674610b7a8940d5 34736 libdevel optional libgtksourceview-dev_1.1.92-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCIeL7Qxo87aLX0pIRAtrUAJ9bDWDqZeDjsUt9Hw4tLr9rEi7GiQCgn9AH
U0HbYGWXBKS0BaUHTuoqcAU=
=qI/7
-----END PGP SIGNATURE-----