From owner-freebsd-libh Sun Jun 2 14:15:37 2002 Delivered-To: freebsd-libh@freebsd.org Received: from postal.sdsc.edu (postal.sdsc.edu [132.249.20.114]) by hub.freebsd.org (Postfix) with ESMTP id 21CF637B405 for ; Sun, 2 Jun 2002 14:15:35 -0700 (PDT) Received: from multivac.sdsc.edu (multivac.sdsc.edu [132.249.20.57]) by postal.sdsc.edu (8.11.6/8.11.6/server/38) with ESMTP id g52LFVN17835; Sun, 2 Jun 2002 14:15:31 -0700 (PDT) Received: by multivac (8.11.6+Sun/1.11-SolarisClient) id g52LFVb24686; Sun, 2 Jun 2002 14:15:31 -0700 (PDT) To: The Anarcat Cc: libh@FreeBSD.ORG Subject: Re: cvs commit: libh/include/hui HuiTVObjects.hh libh/lib/hui HuiTVision_ButtonsGroupWidget.cc HuiTVision_CheckBoxesWidget.cc HuiTVision_InputLineWidget.cc HuiTVision_LabelWidget.cc HuiTVision_ListBoxWidget.cc HuiTVision_ProgressIndicatorWidget.cc HuiTVision_RadioMenuWidget.cc References: <20020601074915.C9BFB17407@usw4.freebsd.org> <20020602004111.GC357@lenny.anarcat.ath.cx> From: Max Okumoto Date: 02 Jun 2002 14:15:31 -0700 In-Reply-To: The Anarcat's message of "Sat, 1 Jun 2002 20:41:11 -0400" Message-ID: Lines: 28 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I am trying to find bugs in the widget layout code. The only time these functions are called is from the constructors. No other objects call minSize() or maxSize(), nor can you call them from tcl. In all cases the results are directly feed into resize() in the constructor. But in most cases, the widget constructor already sizes the object to the correct size... so its redundent to resize it again. The constructors that require resize need to be fixed. FooWidget { /** Constructor. */ FooWidget() { resize(minSize()); } }; The Anarcat writes: > On Sat Jun 01, 2002 at 02:49:15AM -0500, Max Okumoto wrote: > > > > Removed minSize() from all the HuiTVision objects. > > Why is this necessary? > > A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 16:14:25 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts14-srv.bellnexxia.net (tomts14.bellnexxia.net [209.226.175.35]) by hub.freebsd.org (Postfix) with ESMTP id 54DA137B400 for ; Sun, 2 Jun 2002 16:14:19 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.145.70]) by tomts14-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020602231418.PJJA10788.tomts14-srv.bellnexxia.net@shall.anarcat.ath.cx>; Sun, 2 Jun 2002 19:14:18 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id F3F2F5; Sun, 2 Jun 2002 19:17:58 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Sun, 2 Jun 2002 19:12:37 -0400 Date: Sun, 2 Jun 2002 19:12:37 -0400 From: The Anarcat To: Max Okumoto Cc: The Anarcat , libh@FreeBSD.ORG Subject: Re: cvs commit: libh/include/hui HuiTVObjects.hh libh/lib/hui HuiTVision_ButtonsGroupWidget.cc HuiTVision_CheckBoxesWidget.cc HuiTVision_InputLineWidget.cc HuiTVision_LabelWidget.cc HuiTVision_ListBoxWidget.cc HuiTVision_ProgressIndicatorWidget.cc HuiTVision_RadioMenuWidget.cc Message-ID: <20020602231237.GB288@lenny.anarcat.ath.cx> References: <20020601074915.C9BFB17407@usw4.freebsd.org> <20020602004111.GC357@lenny.anarcat.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="U+BazGySraz5kW0T" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --U+BazGySraz5kW0T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun Jun 02, 2002 at 02:15:31PM -0700, Max Okumoto wrote: >=20 > I am trying to find bugs in the widget layout code. The only > time these functions are called is from the constructors. > No other objects call minSize() or maxSize(), nor can you call > them from tcl. These kind of informations are precious to the project, and should be recorded in the CVS history. > In all cases the results are directly feed into resize() in the > constructor. But in most cases, the widget constructor already > sizes the object to the correct size... so its redundent to > resize it again. The constructors that require resize need to be > fixed. >=20 > FooWidget { > /** Constructor. */ > FooWidget() { resize(minSize()); } > }; But why does this *require* removing the whole minSize() functions? Couldn't these functions be used at some point? A. > The Anarcat writes: > > On Sat Jun 01, 2002 at 02:49:15AM -0500, Max Okumoto wrote: > > > > > > Removed minSize() from all the HuiTVision objects. > >=20 > > Why is this necessary? > >=20 > > A. --=20 Imagination is more important than knowledge - Albert Einstein --U+BazGySraz5kW0T Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8+qZlttcWHAnWiGcRAvM8AJ4lpCFwcnguWUZljUjVjf5LvzFiLwCeKjwn naBcb3692tX74NyPdgt7qck= =gzp+ -----END PGP SIGNATURE----- --U+BazGySraz5kW0T-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 16:47: 4 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 2607037B406 for ; Sun, 2 Jun 2002 16:47:02 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 4174717407; Sun, 2 Jun 2002 18:47:01 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 18:47:01 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020602234701.4174717407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 18:47:01 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: move a part of a sentence in a foot note to ligthen up the text Revision Changes Path 1.30 +8 -8 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 16:54:46 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 4D00137B409 for ; Sun, 2 Jun 2002 16:54:44 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id B3C2C17407; Sun, 2 Jun 2002 18:54:43 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 18:54:43 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020602235443.B3C2C17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 18:54:43 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: add prepositions and make note a real note Revision Changes Path 1.31 +13 -13 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 16:58:42 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 91E3A37B406 for ; Sun, 2 Jun 2002 16:58:41 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 207E517407; Sun, 2 Jun 2002 18:58:41 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 18:58:41 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020602235841.207E517407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 18:58:41 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: note which part of a feature version specification is mandatory ("regular version") and optional (SN, snapshot date) remove extra newlines while I'm here Revision Changes Path 1.32 +4 -5 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 17: 1:21 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id BDC8637B408 for ; Sun, 2 Jun 2002 17:01:19 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 4DED017407; Sun, 2 Jun 2002 19:01:19 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 19:01:19 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020603000119.4DED017407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 19:01:19 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: make link to package file structure in features list Revision Changes Path 1.33 +7 -6 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 17:18: 8 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 0972537B403 for ; Sun, 2 Jun 2002 17:18:06 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id D17F217407; Sun, 2 Jun 2002 19:18:04 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 19:18:04 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020603001804.D17F217407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 19:18:04 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: general ispell(1) sweep Revision Changes Path 1.34 +14 -14 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 17:26:39 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id A4DCB37B400 for ; Sun, 2 Jun 2002 17:26:38 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 7C0E517407; Sun, 2 Jun 2002 19:26:37 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 19:26:37 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020603002637.7C0E517407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 19:26:37 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: remove reundant phrase Revision Changes Path 1.35 +2 -2 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 17:28: 0 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id C388C37B403 for ; Sun, 2 Jun 2002 17:27:58 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 52A1717407; Sun, 2 Jun 2002 19:27:58 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 19:27:58 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020603002758.52A1717407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 19:27:58 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: default path to db is not /var/sysinstall anymore Revision Changes Path 1.36 +3 -3 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 17:29:43 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 5EB8A37B404 for ; Sun, 2 Jun 2002 17:29:41 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 7B36817407; Sun, 2 Jun 2002 19:29:40 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 19:29:40 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020603002940.7B36817407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 19:29:40 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: fix typo s/are/and Revision Changes Path 1.37 +1 -1 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 17:32: 8 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 1160937B403 for ; Sun, 2 Jun 2002 17:32:07 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 6AB4017407; Sun, 2 Jun 2002 19:32:06 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 19:32:06 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020603003206.6AB4017407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 19:32:06 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: fix preposition use again Revision Changes Path 1.38 +2 -2 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 17:33:34 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts17-srv.bellnexxia.net (tomts17.bellnexxia.net [209.226.175.71]) by hub.freebsd.org (Postfix) with ESMTP id 0082D37B405 for ; Sun, 2 Jun 2002 17:33:30 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.145.70]) by tomts17-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020603003330.QBGW2581.tomts17-srv.bellnexxia.net@shall.anarcat.ath.cx> for ; Sun, 2 Jun 2002 20:33:30 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 06E455 for ; Sun, 2 Jun 2002 20:37:11 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Sun, 2 Jun 2002 20:31:49 -0400 Date: Sun, 2 Jun 2002 20:31:49 -0400 From: The Anarcat To: libh@FreeBSD.org Subject: Re: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-ID: <20020603003149.GD288@lenny.anarcat.ath.cx> References: <20020603003206.6AB4017407@usw4.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="brEuL7wsLY8+TuWz" Content-Disposition: inline In-Reply-To: <20020603003206.6AB4017407@usw4.freebsd.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --brEuL7wsLY8+TuWz Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Some native english speaker should really read through this file and submit corrections. :) A. On Sun Jun 02, 2002 at 07:32:06PM -0500, Antoine Beaupr=E9 wrote: > antoine 2002/06/02 19:32:06 CDT >=20 > Modified files: > doc/sysinstall2 sysinstall2.sgml=20 > Log: > fix preposition use again > =20 > Revision Changes Path > 1.38 +2 -2 libh/doc/sysinstall2/sysinstall2.sgml >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-libh" in the body of the message --=20 =46rom the age of uniformity, from the age of solitude, from the age of Big Brother, from the age of doublethink - greetings! --brEuL7wsLY8+TuWz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8+rj0ttcWHAnWiGcRAtMOAJ47UJdsukyaP2NB+qC8+IwUSAqsxQCbB6Zg QLDAAF3PvzD0ul/LiSxPSUA= =GvZh -----END PGP SIGNATURE----- --brEuL7wsLY8+TuWz-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 17:39:22 2002 Delivered-To: freebsd-libh@freebsd.org Received: from postal.sdsc.edu (postal.sdsc.edu [132.249.20.114]) by hub.freebsd.org (Postfix) with ESMTP id C574337B400 for ; Sun, 2 Jun 2002 17:39:19 -0700 (PDT) Received: from multivac.sdsc.edu (multivac.sdsc.edu [132.249.20.57]) by postal.sdsc.edu (8.11.6/8.11.6/server/38) with ESMTP id g530dIN00976; Sun, 2 Jun 2002 17:39:19 -0700 (PDT) Received: by multivac (8.11.6+Sun/1.11-SolarisClient) id g530dIZ02790; Sun, 2 Jun 2002 17:39:18 -0700 (PDT) To: The Anarcat Cc: libh@FreeBSD.ORG Subject: Re: cvs commit: libh/include/hui HuiTVObjects.hh libh/lib/hui HuiTVision_ButtonsGroupWidget.cc HuiTVision_CheckBoxesWidget.cc HuiTVision_InputLineWidget.cc HuiTVision_LabelWidget.cc HuiTVision_ListBoxWidget.cc HuiTVision_ProgressIndicatorWidget.cc HuiTVision_RadioMenuWidget.cc References: <20020601074915.C9BFB17407@usw4.freebsd.org> <20020602004111.GC357@lenny.anarcat.ath.cx> <20020602231237.GB288@lenny.anarcat.ath.cx> From: Max Okumoto Date: 02 Jun 2002 17:39:18 -0700 In-Reply-To: The Anarcat's message of "Sun, 2 Jun 2002 19:12:37 -0400" Message-ID: Lines: 41 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The Anarcat writes: > On Sun Jun 02, 2002 at 02:15:31PM -0700, Max Okumoto wrote: > > I am trying to find bugs in the widget layout code. The only > > time these functions are called is from the constructors. > > No other objects call minSize() or maxSize(), nor can you call > > them from tcl. > > These kind of informations are precious to the project, and should be > recorded in the CVS history. > > > In all cases the results are directly feed into resize() in the > > constructor. But in most cases, the widget constructor already > > sizes the object to the correct size... so its redundent to > > resize it again. The constructors that require resize need to be > > fixed. > > > > FooWidget { > > /** Constructor. */ > > FooWidget() { resize(minSize()); } > > }; > > But why does this *require* removing the whole minSize() functions? > Couldn't these functions be used at some point? > > A. Yes, it doen't require removing the function, but since nobody calls it I think removing unused code is better for maintaining the code readablity. If someone added those functions to the exported API (make it accessable to tcl) then some one might be able to use it. But internally they wouldn't be called. Did you have plans to use it from tcl? If we decided to add some sort of dynamic layout code. We might use minSize() internally. Max Okumoto To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 17:45:12 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 78CAC37B406 for ; Sun, 2 Jun 2002 17:45:08 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 3226F17407; Sun, 2 Jun 2002 19:45:08 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 19:45:08 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/sysinstall PackageStream.hh Message-Id: <20020603004508.3226F17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 19:45:08 CDT Modified files: include/sysinstall PackageStream.hh Log: convert comments to doxygen's Revision Changes Path 1.6 +112 -68 libh/include/sysinstall/PackageStream.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 17:46:30 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts17-srv.bellnexxia.net (tomts17.bellnexxia.net [209.226.175.71]) by hub.freebsd.org (Postfix) with ESMTP id DADD037B405 for ; Sun, 2 Jun 2002 17:46:24 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.145.70]) by tomts17-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020603004624.QEZI2581.tomts17-srv.bellnexxia.net@shall.anarcat.ath.cx>; Sun, 2 Jun 2002 20:46:24 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 4DE1D5; Sun, 2 Jun 2002 20:50:05 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Sun, 2 Jun 2002 20:44:43 -0400 Date: Sun, 2 Jun 2002 20:44:43 -0400 From: The Anarcat To: Max Okumoto Cc: The Anarcat , libh@FreeBSD.ORG Subject: Re: cvs commit: libh/include/hui HuiTVObjects.hh libh/lib/hui HuiTVision_ButtonsGroupWidget.cc HuiTVision_CheckBoxesWidget.cc HuiTVision_InputLineWidget.cc HuiTVision_LabelWidget.cc HuiTVision_ListBoxWidget.cc HuiTVision_ProgressIndicatorWidget.cc HuiTVision_RadioMenuWidget.cc Message-ID: <20020603004443.GE288@lenny.anarcat.ath.cx> References: <20020601074915.C9BFB17407@usw4.freebsd.org> <20020602004111.GC357@lenny.anarcat.ath.cx> <20020602231237.GB288@lenny.anarcat.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eDB11BtaWSyaBkpc" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --eDB11BtaWSyaBkpc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun Jun 02, 2002 at 05:39:18PM -0700, Max Okumoto wrote: > The Anarcat writes: > > On Sun Jun 02, 2002 at 02:15:31PM -0700, Max Okumoto wrote: > > > I am trying to find bugs in the widget layout code. The only > > > time these functions are called is from the constructors. > > > No other objects call minSize() or maxSize(), nor can you call > > > them from tcl. > >=20 > > These kind of informations are precious to the project, and should be > > recorded in the CVS history. > >=20 > > > In all cases the results are directly feed into resize() in the > > > constructor. But in most cases, the widget constructor already > > > sizes the object to the correct size... so its redundent to > > > resize it again. The constructors that require resize need to be > > > fixed. > > > > > > FooWidget { > > > /** Constructor. */ > > > FooWidget() { resize(minSize()); } > > > }; > >=20 > > But why does this *require* removing the whole minSize() functions? > > Couldn't these functions be used at some point? > >=20 > > A. >=20 > Yes, it doen't require removing the function, but since nobody > calls it I think removing unused code is better for maintaining > the code readablity. Ok, I guess. > If someone added those functions to the exported API (make it > accessable to tcl) then some one might be able to use it. But > internally they wouldn't be called. Did you have plans to use > it from tcl? Nope. =20 > If we decided to add some sort of dynamic layout code. We might > use minSize() internally. And we can fetch it from CVS history. Fine, case closed. :) A. --=20 The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he who, by peddling second-rate technology, led them into it in the first place. - Douglas Adams (1952-2001) --eDB11BtaWSyaBkpc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8+rv6ttcWHAnWiGcRArXyAKCDMK3g/fnS0T+xrKlyw3t2JlAiVQCfaDj1 uZD3dBQ/26nZq/9gHg12uAQ= =OxaC -----END PGP SIGNATURE----- --eDB11BtaWSyaBkpc-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 18:10: 1 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id CE09437B405 for ; Sun, 2 Jun 2002 18:09:58 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id D486917407; Sun, 2 Jun 2002 20:09:57 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 20:09:57 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools pkg_info.tcl Message-Id: <20020603010957.D486917407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 20:09:57 CDT Modified files: release/scripts/pkgtools pkg_info.tcl Log: output features list in tab-seperated columns Revision Changes Path 1.5 +2 -2 libh/release/scripts/pkgtools/pkg_info.tcl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 18:19: 8 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 28BE737B403 for ; Sun, 2 Jun 2002 18:19:07 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id BAD7E17407; Sun, 2 Jun 2002 20:19:06 -0500 (CDT) From: Max Okumoto Date: Sun, 2 Jun 2002 20:19:06 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui HuiTVision_ButtonWidget.cc Message-Id: <20020603011906.BAD7E17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/02 20:19:06 CDT Modified files: (Branch: HUI_CLEANUP_0) lib/hui HuiTVision_ButtonWidget.cc Log: Corrected constructor to size the created button correctly. Revision Changes Path 1.37.2.25 +24 -22 libh/lib/hui/HuiTVision_ButtonWidget.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 18:35:40 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 01D4037B407 for ; Sun, 2 Jun 2002 18:35:39 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 7B7D417407; Sun, 2 Jun 2002 20:35:38 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 20:35:38 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools pkg_info.tcl Message-Id: <20020603013538.7B7D417407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 20:35:38 CDT Modified files: release/scripts/pkgtools pkg_info.tcl Log: print features table header and make column spacing even Revision Changes Path 1.6 +3 -2 libh/release/scripts/pkgtools/pkg_info.tcl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 19: 2:32 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts10-srv.bellnexxia.net (tomts10.bellnexxia.net [209.226.175.54]) by hub.freebsd.org (Postfix) with ESMTP id C859A37B408 for ; Sun, 2 Jun 2002 19:02:26 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.145.70]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020603020223.YLZH18503.tomts10-srv.bellnexxia.net@shall.anarcat.ath.cx>; Sun, 2 Jun 2002 22:02:23 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id DC1545; Sun, 2 Jun 2002 22:06:05 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Sun, 2 Jun 2002 22:00:43 -0400 Date: Sun, 2 Jun 2002 22:00:43 -0400 From: The Anarcat To: libh@freebsd.org Cc: Alexander Langer Subject: SYSTEM package contradictions Message-ID: <20020603020043.GF288@lenny.anarcat.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eMnpOGXCMazMAbfp" Content-Disposition: inline User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --eMnpOGXCMazMAbfp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable The SYSTEM package documentation is contradictory to its implementation. The doc in sysinstall pretends that the "SYSTEM package provides the following features: OSNAME (FreeBSD for us) OSVERSION: `uname -s` version `uname -r` PLATFORM (i386, alpha, sparc64, IA64, ...) CPU (386, 486, Pentium, Athlon, ...; MMX, 3DNow, SSE, ...) libh version (comparable to /var/db/port.mkversion) " The current implementation gives me: Features: i386 3.0 386 0 FreeBSD 4.5-STABLE 0 0 on my machine. A few questions: 1- shouldn't the feature names be (eg) "OSNAME" instead of "FreeBSD"? In the case of the "CPU" feature, the feature names could become arbitrarly esoteric and obstruct the feature namespace.=20 I suggest using (eg, again) "OSNAME" instead.=20 2- there are features missing: the OSVERSION, CPU and libh version. I could probably implement dummy feature entries in the DB along with #warnings. [cf. Database.cc:733 features->push_back( new Feature( architecture_feature, architecture_f= eature_version, architecture_feature_serial, 0 ) ); features->push_back( new Feature( buf.sysname, buf.release, 0, 0 ) ); ] 3- I don't understand what use is OSVERSION. From the doc, my OSVERSION string would be something like: FreeBSD lenny.anarcat.ath.cx 4.5-STABLE FreeBSD 4.5-STABLE #6: Sun May 26 1= 8:16:45 EDT 2002 anarcat@lenny.anarcat.ath.cx:/usr/obj/usr/src/sys/LENN= Y i386 version 4.5-STABLE I don't think it's necessary. 4- what is the format of the "standard revision" feature element? x.y? x.y,z? And in any case, how should be interpreted the version of the FreeBSD (or OSNAME) feature? 5- libh version? That's 0.2.2 right now? Should this be harmonized with the zip archive attributes? The way I see it, the SYSTEM package should provide the features: Name Version Serial Snapshot OSVERSION 4.5 [1] [1] OSNAME FreeBSD 0 0 PLATFORM i386 0 0 CPU i586 0 0 LIBH_VERS 0.2.2 0 200206022150 [2] [1] there's been discussions on how to handle versionning of the FreeBSD source tree, but this is a tricky situation. I guess that with tree-based releases, only the snapshot date could be used. I'm not sure how to use those 2 columns. [2] this is not really formatted this way, but gives an idea I'm not sure this is appropriate since "Version" maybe shouldn't support arbitrary strings... A. --=20 Imagination is more important than knowledge - Albert Einstein --eMnpOGXCMazMAbfp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8+s3KttcWHAnWiGcRAkwIAJ9lfq0rg2BV0sUO1BTmtNs4vlK0EwCff3tI jM8MlogYAGBoCYqZhyCUnH0= =FG6g -----END PGP SIGNATURE----- --eMnpOGXCMazMAbfp-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 19: 6:10 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 5998537B403 for ; Sun, 2 Jun 2002 19:06:09 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id BE9A317407; Sun, 2 Jun 2002 21:06:08 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 21:06:08 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools makepackage.sh Message-Id: <20020603020608.BE9A317407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 21:06:08 CDT Modified files: release/scripts/pkgtools makepackage.sh Log: make usage a bit less esoteric Revision Changes Path 1.7 +5 -6 libh/release/scripts/pkgtools/makepackage.sh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 19:10: 5 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 245B037B400 for ; Sun, 2 Jun 2002 19:10:04 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 7A36517407; Sun, 2 Jun 2002 21:10:03 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 21:10:03 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools makepackage.sh Message-Id: <20020603021003.7A36517407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 21:10:03 CDT Modified files: release/scripts/pkgtools makepackage.sh Log: add usage sub and use it to quit if $PORTDIR or $PKGDIR doesn't exist Revision Changes Path 1.8 +13 -4 libh/release/scripts/pkgtools/makepackage.sh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 19:27:48 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 9CAA137B401 for ; Sun, 2 Jun 2002 19:27:45 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 3EAE817407; Sun, 2 Jun 2002 21:27:45 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 21:27:45 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools makepackage.sh Message-Id: <20020603022745.3EAE817407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 21:27:45 CDT Modified files: release/scripts/pkgtools makepackage.sh Log: this script is now one directory deeper, so builded tclh.static isn't at the same place Revision Changes Path 1.9 +2 -2 libh/release/scripts/pkgtools/makepackage.sh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 19:30:10 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 74B3837B403 for ; Sun, 2 Jun 2002 19:30:09 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 17C3317407; Sun, 2 Jun 2002 21:30:09 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 21:30:09 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools makepackage.sh Message-Id: <20020603023009.17C3317407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 21:30:09 CDT Modified files: release/scripts/pkgtools makepackage.sh Log: trap interrupts with cleanup functions Revision Changes Path 1.10 +13 -3 libh/release/scripts/pkgtools/makepackage.sh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 19:36:58 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 2EBC237B400 for ; Sun, 2 Jun 2002 19:36:57 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 9CF9717407; Sun, 2 Jun 2002 21:36:56 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 21:36:56 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools makepackage.sh Message-Id: <20020603023656.9CF9717407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 21:36:56 CDT Modified files: release/scripts/pkgtools makepackage.sh Log: handle make install and tar copy cleanly Revision Changes Path 1.11 +5 -3 libh/release/scripts/pkgtools/makepackage.sh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 19:40: 6 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 5186837B400 for ; Sun, 2 Jun 2002 19:39:56 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id D454417407; Sun, 2 Jun 2002 21:39:55 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 21:39:55 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools makepackage.sh Message-Id: <20020603023955.D454417407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 21:39:55 CDT Modified files: release/scripts/pkgtools makepackage.sh Log: oops! Correct trap(1) usage Revision Changes Path 1.12 +2 -2 libh/release/scripts/pkgtools/makepackage.sh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 19:49:22 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id D436637B406 for ; Sun, 2 Jun 2002 19:49:20 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 56BBB17407; Sun, 2 Jun 2002 21:49:20 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 21:49:20 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools makepackage.sh Message-Id: <20020603024920.56BBB17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 21:49:20 CDT Modified files: release/scripts/pkgtools makepackage.sh Log: install port in a temporary directory and build package directly from there instead of installing it as a real port and copying it to a real directory this also implies that we must run the make install on a clean build directory (in order to make PREFIX work) so make clean before install Revision Changes Path 1.13 +10 -15 libh/release/scripts/pkgtools/makepackage.sh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 19:51:26 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts9-srv.bellnexxia.net (tomts9.bellnexxia.net [209.226.175.53]) by hub.freebsd.org (Postfix) with ESMTP id C0FFD37B401 for ; Sun, 2 Jun 2002 19:51:23 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.145.70]) by tomts9-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020603025122.FEZG21842.tomts9-srv.bellnexxia.net@shall.anarcat.ath.cx> for ; Sun, 2 Jun 2002 22:51:22 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id D14B95 for ; Sun, 2 Jun 2002 22:55:04 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Sun, 2 Jun 2002 22:49:42 -0400 Date: Sun, 2 Jun 2002 22:49:42 -0400 From: The Anarcat To: libh@FreeBSD.org Subject: Re: cvs commit: libh/release/scripts/pkgtools makepackage.sh Message-ID: <20020603024942.GI288@lenny.anarcat.ath.cx> References: <20020603023656.9CF9717407@usw4.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lYetfuAxy9ic4HK3" Content-Disposition: inline In-Reply-To: <20020603023656.9CF9717407@usw4.freebsd.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --lYetfuAxy9ic4HK3 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun Jun 02, 2002 at 09:36:56PM -0500, Antoine Beaupr=E9 wrote: > antoine 2002/06/02 21:36:56 CDT >=20 > Modified files: > release/scripts/pkgtools makepackage.sh=20 > Log: > handle make install and tar copy cleanly humph... This sentence lacks an important word: "failure". :) It should have read: "handle make install and tar copy failures cleanly" A. --=20 Pemature optimization is the root of all evil - Donald Knuth --lYetfuAxy9ic4HK3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8+tlFttcWHAnWiGcRAoqJAJ4k6o34ZI9GuyU3HpyoXazsWClGUgCgk+lL kajBDQLEN7ZegLxL8APdks8= =v5pC -----END PGP SIGNATURE----- --lYetfuAxy9ic4HK3-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 20: 1:33 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 441DE37B407 for ; Sun, 2 Jun 2002 20:01:32 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id D33C717407; Sun, 2 Jun 2002 22:01:31 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 22:01:31 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools makepackage.sh Message-Id: <20020603030131.D33C717407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 22:01:31 CDT Modified files: release/scripts/pkgtools makepackage.sh Log: remove the need to escape quotes in description.tcl file Revision Changes Path 1.14 +5 -9 libh/release/scripts/pkgtools/makepackage.sh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 20: 4:44 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 1186E37B404 for ; Sun, 2 Jun 2002 20:04:43 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id A1F0A17407; Sun, 2 Jun 2002 22:04:42 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 22:04:42 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools pkg_install.tcl Message-Id: <20020603030442.A1F0A17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 22:04:42 CDT Modified files: release/scripts/pkgtools pkg_install.tcl Log: don't print package description unless verbose is set to 1 verbose is now hard coded to 0 but that should be changeable from the command line Revision Changes Path 1.4 +8 -3 libh/release/scripts/pkgtools/pkg_install.tcl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 21:10: 8 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 1476937B401 for ; Sun, 2 Jun 2002 21:10:07 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 33C8F17407; Sun, 2 Jun 2002 23:10:06 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 23:10:06 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools create_db.tcl Message-Id: <20020603041006.33C8F17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 23:10:06 CDT Modified files: release/scripts/pkgtools create_db.tcl Log: allow specification of allow directories on command line, to help debugging of a problem where allow directories list isn't updated Revision Changes Path 1.6 +6 -3 libh/release/scripts/pkgtools/create_db.tcl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 21:11:49 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 208B737B405 for ; Sun, 2 Jun 2002 21:11:47 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id A5C6117407; Sun, 2 Jun 2002 23:11:46 -0500 (CDT) From: Antoine Beaupré Date: Sun, 2 Jun 2002 23:11:46 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools directory_access.tcl Message-Id: <20020603041146.A5C6117407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/02 23:11:46 CDT Added files: release/scripts/pkgtools directory_access.tcl Log: simple script to modify directory access configuration To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 21:15: 3 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts15-srv.bellnexxia.net (tomts15.bellnexxia.net [209.226.175.3]) by hub.freebsd.org (Postfix) with ESMTP id B19F937B405 for ; Sun, 2 Jun 2002 21:14:55 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.145.70]) by tomts15-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020603041454.DEVS3010.tomts15-srv.bellnexxia.net@shall.anarcat.ath.cx> for ; Mon, 3 Jun 2002 00:14:54 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 974E35 for ; Mon, 3 Jun 2002 00:18:36 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Mon, 3 Jun 2002 00:13:13 -0400 Date: Mon, 3 Jun 2002 00:13:13 -0400 From: The Anarcat To: libh@FreeBSD.org Subject: HEADS UP: package install broken (Re: cvs commit: libh/release/scripts/pkgtools create_db.tcl) Message-ID: <20020603041313.GJ288@lenny.anarcat.ath.cx> References: <20020603041006.33C8F17407@usw4.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VSVNCtZB1QZ8vhj+" Content-Disposition: inline In-Reply-To: <20020603041006.33C8F17407@usw4.freebsd.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --VSVNCtZB1QZ8vhj+ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable There seems to be a bug in the directory access code. I can't install a package anymore since it seems that the allowed directory access defaults to /usr/local. Complete test case: anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% rm -rf /var= /db/npkg/* zsh: sure you want to delete all the files in /var/db/npkg [yn]? y anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% ../../../co= mpile/none/tclh.static create_db.tcl /var/db/npkg /opt Database created in /var/db/npkg Adding /opt as default prefix... anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% ../../../co= mpile/none/tclh.static directory_access.tcl=20 allow directories: /usr/local anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% ../../../co= mpile/none/tclh.static directory_access.tcl /opt allow directories: /usr/local new allowed: /opt anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% ../../../co= mpile/none/tclh.static directory_access.tcl =20 allow directories: /usr/local I'm still trying to figure out what the heck is going on here. As far as I can remember, this used to work. A. On Sun Jun 02, 2002 at 11:10:06PM -0500, Antoine Beaupr=E9 wrote: > antoine 2002/06/02 23:10:06 CDT >=20 > Modified files: > release/scripts/pkgtools create_db.tcl=20 > Log: > allow specification of allow directories on command line, to help > debugging of a problem where allow directories list isn't updated > =20 > Revision Changes Path > 1.6 +6 -3 libh/release/scripts/pkgtools/create_db.tcl >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-libh" in the body of the message --=20 Why bother building more nukes until we use the ones we already have? --VSVNCtZB1QZ8vhj+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8+uzYttcWHAnWiGcRAt++AJ9dv0IWXcL6hDxpBthTuAH8fExa4wCcDggG q78YhqH/KMSMXslIzREALTg= =1JKl -----END PGP SIGNATURE----- --VSVNCtZB1QZ8vhj+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 22: 0:28 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id C057237B405 for ; Sun, 2 Jun 2002 22:00:27 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 1D93A17407; Mon, 3 Jun 2002 00:00:27 -0500 (CDT) From: Antoine Beaupré Date: Mon, 3 Jun 2002 00:00:27 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/sysinstall Database.hh Message-Id: <20020603050027.1D93A17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/03 00:00:27 CDT Modified files: include/sysinstall Database.hh Log: reorder declaration order to silence warning Revision Changes Path 1.10 +2 -2 libh/include/sysinstall/Database.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 22:23:15 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id E2D0A37B404 for ; Sun, 2 Jun 2002 22:23:13 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 592AF17407; Mon, 3 Jun 2002 00:23:13 -0500 (CDT) From: Antoine Beaupré Date: Mon, 3 Jun 2002 00:23:13 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/sysinstall Database.cc Message-Id: <20020603052313.592AF17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/03 00:23:13 CDT Modified files: lib/sysinstall Database.cc Log: read directory access info from database before inserting SYSTEM package in order to have insert_denied_allowed_directories() Do The Right thing this fixes a bug where allowed access list was reset to a hardcoded default each time the database was open note, while I'm here, that there shouldn't be such a hardcoded value in there the existence and use of insert_denied_allowed_directories() is also debatable. It should at least readDirectoriesAccess instead of relying on it to be called by the consumer Revision Changes Path 1.7 +4 -4 libh/lib/sysinstall/Database.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 22:24:24 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts15-srv.bellnexxia.net (tomts15.bellnexxia.net [209.226.175.3]) by hub.freebsd.org (Postfix) with ESMTP id 2CF9F37B406 for ; Sun, 2 Jun 2002 22:24:17 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.145.70]) by tomts15-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020603052416.DRQR3010.tomts15-srv.bellnexxia.net@shall.anarcat.ath.cx> for ; Mon, 3 Jun 2002 01:24:16 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 4E4A15; Mon, 3 Jun 2002 01:27:58 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Mon, 3 Jun 2002 01:22:34 -0400 Date: Mon, 3 Jun 2002 01:22:34 -0400 From: The Anarcat To: The Anarcat Cc: libh@FreeBSD.org Subject: Re: HEADS UP: package install broken (Re: cvs commit: libh/release/scripts/pkgtools create_db.tcl) Message-ID: <20020603052234.GK288@lenny.anarcat.ath.cx> References: <20020603041006.33C8F17407@usw4.freebsd.org> <20020603041313.GJ288@lenny.anarcat.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hTKW8p8tUZ/8vLMe" Content-Disposition: inline In-Reply-To: <20020603041313.GJ288@lenny.anarcat.ath.cx> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --hTKW8p8tUZ/8vLMe Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Ok. This should be fixed with the last commit on Database.cc. Boy this one was a pain to track down. A. On Mon Jun 03, 2002 at 12:13:13AM -0400, The Anarcat wrote: > There seems to be a bug in the directory access code. I can't install > a package anymore since it seems that the allowed directory access > defaults to /usr/local. Complete test case: >=20 > anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% rm -rf /v= ar/db/npkg/* > zsh: sure you want to delete all the files in /var/db/npkg [yn]? y > anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% ../../../= compile/none/tclh.static create_db.tcl /var/db/npkg /opt > Database created in /var/db/npkg > Adding /opt as default prefix... > anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% ../../../= compile/none/tclh.static directory_access.tcl=20 > allow directories: /usr/local > anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% ../../../= compile/none/tclh.static directory_access.tcl /opt > allow directories: /usr/local > new allowed: /opt > anarcat@lenny[/usr/home/anarcat/libh/release/scripts/pkgtools]% ../../../= compile/none/tclh.static directory_access.tcl =20 > allow directories: /usr/local >=20 > I'm still trying to figure out what the heck is going on here. As far > as I can remember, this used to work. >=20 > A. >=20 > On Sun Jun 02, 2002 at 11:10:06PM -0500, Antoine Beaupr=E9 wrote: > > antoine 2002/06/02 23:10:06 CDT > >=20 > > Modified files: > > release/scripts/pkgtools create_db.tcl=20 > > Log: > > allow specification of allow directories on command line, to help > > debugging of a problem where allow directories list isn't updated > > =20 > > Revision Changes Path > > 1.6 +6 -3 libh/release/scripts/pkgtools/create_db.tcl > >=20 > >=20 > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-libh" in the body of the message >=20 >=20 >=20 >=20 --=20 =46rom the age of uniformity, from the age of solitude, from the age of Big Brother, from the age of doublethink - greetings! --hTKW8p8tUZ/8vLMe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8+v0attcWHAnWiGcRAltWAJ9c5ptZwQZknYu2JGMt9jQ7QryDvQCfUbfE CB9auCuP368LHO2upCOENQo= =qzBl -----END PGP SIGNATURE----- --hTKW8p8tUZ/8vLMe-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 22:25:11 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184]) by hub.freebsd.org (Postfix) with ESMTP id AEA9837B401 for ; Sun, 2 Jun 2002 22:25:07 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.145.70]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020603052506.QCDV25645.tomts22-srv.bellnexxia.net@shall.anarcat.ath.cx> for ; Mon, 3 Jun 2002 01:25:06 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id ED6B45 for ; Mon, 3 Jun 2002 01:28:49 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Mon, 3 Jun 2002 01:23:26 -0400 Date: Mon, 3 Jun 2002 01:23:26 -0400 From: The Anarcat To: libh@FreeBSD.org Subject: Re: cvs commit: libh/lib/sysinstall Database.cc Message-ID: <20020603052326.GL288@lenny.anarcat.ath.cx> References: <20020603052313.592AF17407@usw4.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wAI/bQb0EMvlZCHl" Content-Disposition: inline In-Reply-To: <20020603052313.592AF17407@usw4.freebsd.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --wAI/bQb0EMvlZCHl Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'll try to setup a regression test to forbid this to happen again. A. On Mon Jun 03, 2002 at 12:23:13AM -0500, Antoine Beaupr=E9 wrote: > antoine 2002/06/03 00:23:13 CDT >=20 > Modified files: > lib/sysinstall Database.cc=20 > Log: > read directory access info from database before inserting SYSTEM > package in order to have insert_denied_allowed_directories() Do The > Right thing > =20 > this fixes a bug where allowed access list was reset to a hardcoded > default each time the database was open > =20 > note, while I'm here, that there shouldn't be such a hardcoded value > in there > =20 > the existence and use of insert_denied_allowed_directories() is also > debatable. It should at least readDirectoriesAccess instead of relying > on it to be called by the consumer > =20 > Revision Changes Path > 1.7 +4 -4 libh/lib/sysinstall/Database.cc >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-libh" in the body of the message --=20 The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he who, by peddling second-rate technology, led them into it in the first place. - Douglas Adams (1952-2001) --wAI/bQb0EMvlZCHl Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8+v1NttcWHAnWiGcRAvL4AKCM3CSl4g6gOCvFKDvj7L+89pfd5gCffi5o mpXPSpnrXqdoCm0k2mDoBZA= =kUWE -----END PGP SIGNATURE----- --wAI/bQb0EMvlZCHl-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sun Jun 2 23:26:55 2002 Delivered-To: freebsd-libh@freebsd.org Received: from jkh-gw.queasyweasel.com (adsl-64-173-3-158.dsl.sntc01.pacbell.net [64.173.3.158]) by hub.freebsd.org (Postfix) with ESMTP id BCD4937B403 for ; Sun, 2 Jun 2002 23:26:49 -0700 (PDT) Received: from localhost (jkh@mango.freebsd.com [64.173.15.99]) by jkh-gw.queasyweasel.com (8.12.3/8.12.3) with ESMTP id g536QTNk013773; Sun, 2 Jun 2002 23:26:29 -0700 (PDT) (envelope-from jkh@queasyweasel.com) Date: Sun, 2 Jun 2002 23:26:39 -0700 Subject: Re: SYSTEM package contradictions Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v522) Cc: libh@FreeBSD.ORG, Alexander Langer To: The Anarcat From: Jordan K Hubbard In-Reply-To: <20020603020043.GF288@lenny.anarcat.ath.cx> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.522) Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The package documentation describes the correct behavior. The implementation only describes what got implemented, and not even correctly. :) On Sunday, June 2, 2002, at 07:00PM, The Anarcat wrote: > The SYSTEM package documentation is contradictory to its > implementation. The doc in sysinstall pretends that the > > "SYSTEM package provides the following features: > OSNAME (FreeBSD for us) > OSVERSION: `uname -s` version `uname -r` > PLATFORM (i386, alpha, sparc64, IA64, ...) > CPU (386, 486, Pentium, Athlon, ...; MMX, 3DNow, SSE, ...) > libh version (comparable to /var/db/port.mkversion) > " > > The current implementation gives me: > > Features: > i386 3.0 386 0 > FreeBSD 4.5-STABLE 0 0 > > on my machine. A few questions: > > 1- shouldn't the feature names be (eg) "OSNAME" instead of "FreeBSD"? > In the case of the "CPU" feature, the feature names could become > arbitrarly esoteric and obstruct the feature namespace. > > I suggest using (eg, again) "OSNAME" instead. > > 2- there are features missing: the OSVERSION, CPU and libh version. > > I could probably implement dummy feature entries in the DB along with > #warnings. > > [cf. Database.cc:733 > features->push_back( new Feature( architecture_feature, > architecture_feature_version, architecture_feature_serial, 0 ) ); > features->push_back( new Feature( buf.sysname, buf.release, 0, 0 > ) ); > ] > > 3- I don't understand what use is OSVERSION. From the doc, my > OSVERSION string would be something like: > FreeBSD lenny.anarcat.ath.cx 4.5-STABLE FreeBSD 4.5-STABLE #6: Sun May > 26 18:16:45 EDT 2002 > anarcat@lenny.anarcat.ath.cx:/usr/obj/usr/src/sys/LENNY i386 version > 4.5-STABLE > > I don't think it's necessary. > > 4- what is the format of the "standard revision" feature element? x.y? > x.y,z? And in any case, how should be interpreted the version of the > FreeBSD (or OSNAME) feature? > > 5- libh version? That's 0.2.2 right now? Should this be harmonized > with the zip archive attributes? > > The way I see it, the SYSTEM package should provide the features: > > Name Version Serial Snapshot > OSVERSION 4.5 [1] [1] > OSNAME FreeBSD 0 0 > PLATFORM i386 0 0 > CPU i586 0 0 > LIBH_VERS 0.2.2 0 200206022150 [2] > > [1] there's been discussions on how to handle versionning of the > FreeBSD source tree, but this is a tricky situation. I guess that with > tree-based releases, only the snapshot date could be used. I'm not > sure how to use those 2 columns. > [2] this is not really formatted this way, but gives an idea > > I'm not sure this is appropriate since "Version" maybe shouldn't > support arbitrary strings... > > A. > > -- > Imagination is more important than knowledge > - Albert Einstein > -- Jordan K. Hubbard Engineering Manager, BSD technology group Apple Computer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Mon Jun 3 1:42:52 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 6A69B37B409 for ; Mon, 3 Jun 2002 01:42:49 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id C0D8617407; Mon, 3 Jun 2002 03:42:48 -0500 (CDT) From: Max Okumoto Date: Mon, 3 Jun 2002 03:42:48 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiQt.hh HuiQtObjects.hh libh/lib/hui HuiQt.cc HuiQt_ButtonWidget.cc HuiQt_ButtonsGroupWidget.cc HuiQt_CheckBoxesWidget.cc HuiQt_InputLineWidget.cc HuiQt_RadioMenuWidget.cc HuiQt_TitledWidget.cc HuiQt_WindowWidget.cc HuiTVision_ListBoxWidget.cc Message-Id: <20020603084248.C0D8617407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/03 03:42:48 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiQt.hh HuiQtObjects.hh lib/hui HuiQt.cc HuiQt_ButtonWidget.cc HuiQt_ButtonsGroupWidget.cc HuiQt_CheckBoxesWidget.cc HuiQt_InputLineWidget.cc HuiQt_RadioMenuWidget.cc HuiQt_TitledWidget.cc HuiQt_WindowWidget.cc HuiTVision_ListBoxWidget.cc Log: Moved static member functions out of HuiQt object into the objects that use them. HuiQt::translateAccel() -> HuiQtEmbeddedWidget::translateAccel() HuiQt::stripAccel() -> HuiQtButtonsGroupWidget::stripAccel() HuiQt::make_lineedit_validator() -> HuiQtInputLineWidget::make_lineedit_validator() Revision Changes Path 1.37.2.25 +1 -10 libh/include/hui/HuiQt.hh 1.1.2.30 +27 -1 libh/include/hui/Attic/HuiQtObjects.hh 1.32.2.18 +1 -26 libh/lib/hui/HuiQt.cc 1.31.2.18 +3 -3 libh/lib/hui/HuiQt_ButtonWidget.cc 1.29.2.14 +3 -3 libh/lib/hui/HuiQt_ButtonsGroupWidget.cc 1.30.2.10 +2 -2 libh/lib/hui/HuiQt_CheckBoxesWidget.cc 1.30.2.14 +3 -3 libh/lib/hui/HuiQt_InputLineWidget.cc 1.30.2.10 +2 -2 libh/lib/hui/HuiQt_RadioMenuWidget.cc 1.32.2.15 +3 -3 libh/lib/hui/HuiQt_TitledWidget.cc 1.33.2.17 +3 -3 libh/lib/hui/HuiQt_WindowWidget.cc 1.35.2.18 +3 -1 libh/lib/hui/HuiTVision_ListBoxWidget.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Mon Jun 3 3:46:37 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id A5B0137B408 for ; Mon, 3 Jun 2002 03:46:35 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id DC9FB17407; Mon, 3 Jun 2002 05:46:34 -0500 (CDT) From: Max Okumoto Date: Mon, 3 Jun 2002 05:46:34 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiQt.hh HuiQtObjects.hh HuiTVision.hh libh/lib/hui HuiQt.cc HuiQt_MenuBarWidget.cc HuiQt_TitledWidget.cc HuiQt_WindowWidget.cc Message-Id: <20020603104634.DC9FB17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/03 05:46:34 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiQt.hh HuiQtObjects.hh HuiTVision.hh lib/hui HuiQt.cc HuiQt_MenuBarWidget.cc HuiQt_TitledWidget.cc HuiQt_WindowWidget.cc Log: Cleanup passing of parent references. Revision Changes Path 1.37.2.26 +8 -4 libh/include/hui/HuiQt.hh 1.1.2.31 +18 -8 libh/include/hui/Attic/HuiQtObjects.hh 1.54.2.28 +5 -4 libh/include/hui/HuiTVision.hh 1.32.2.19 +5 -11 libh/lib/hui/HuiQt.cc 1.30.2.12 +1 -6 libh/lib/hui/HuiQt_MenuBarWidget.cc 1.32.2.16 +6 -9 libh/lib/hui/HuiQt_TitledWidget.cc 1.33.2.18 +4 -3 libh/lib/hui/HuiQt_WindowWidget.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Mon Jun 3 7:52:23 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184]) by hub.freebsd.org (Postfix) with ESMTP id 11AED37B400 for ; Mon, 3 Jun 2002 07:52:18 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.145.70]) by tomts22-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020603145216.WRKS25645.tomts22-srv.bellnexxia.net@shall.anarcat.ath.cx>; Mon, 3 Jun 2002 10:52:16 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id D9CD4343; Mon, 3 Jun 2002 10:56:01 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Mon, 3 Jun 2002 10:50:35 -0400 Date: Mon, 3 Jun 2002 10:50:35 -0400 From: The Anarcat To: Jordan K Hubbard Cc: libh@FreeBSD.ORG, Alexander Langer Subject: Re: SYSTEM package contradictions Message-ID: <20020603145035.GA543@lenny.anarcat.ath.cx> References: <20020603020043.GF288@lenny.anarcat.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable That doesn't answer all my questions. :) I think the SYSTEM package should provide the following features: > >Name Version Serial Snapshot > >OSVERSION 4.5 [1] [1] > >OSNAME FreeBSD 0 0 > >PLATFORM i386 0 0 > >CPU i586 0 0 > >LIBH_VERS 0.2.2 0 200206022150 [2] > > > >[1] there's been discussions on how to handle versionning of the > >FreeBSD source tree, but this is a tricky situation. I guess that with > >tree-based releases, only the snapshot date could be used. I'm not > >sure how to use those 2 columns. > >[2] this is not really formatted this way, but gives an idea This is not really what documentation describes. And if it's the case, poorly. There's a problem somewhere, that's for sure. A. On Sun Jun 02, 2002 at 11:26:39PM -0700, Jordan K Hubbard wrote: > The package documentation describes the correct behavior. The=20 > implementation only describes what got implemented, and not even=20 > correctly. :) --=20 =46rom the age of uniformity, from the age of solitude, from the age of Big Brother, from the age of doublethink - greetings! --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8+4I6ttcWHAnWiGcRAikgAKCjGK/hVVrKBK1TRLahyVWco93qIwCdG7Ae C+a6FtOJqdrhpYomPK2SJeM= =FDxr -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Mon Jun 3 7:58:41 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts24-srv.bellnexxia.net (tomts24.bellnexxia.net [209.226.175.187]) by hub.freebsd.org (Postfix) with ESMTP id 1363937B409 for ; Mon, 3 Jun 2002 07:58:36 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.145.70]) by tomts24-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020603145835.VSYR9770.tomts24-srv.bellnexxia.net@shall.anarcat.ath.cx>; Mon, 3 Jun 2002 10:58:35 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 891D3343; Mon, 3 Jun 2002 11:02:21 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Mon, 3 Jun 2002 10:56:55 -0400 Date: Mon, 3 Jun 2002 10:56:55 -0400 From: The Anarcat To: Jordan K Hubbard Cc: libh@FreeBSD.ORG, Alexander Langer Subject: "Standard" version numbers (Re: SYSTEM package contradictions) Message-ID: <20020603145655.GB543@lenny.anarcat.ath.cx> References: <20020603020043.GF288@lenny.anarcat.ath.cx> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rJwd6BRFiFCcLxzm" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --rJwd6BRFiFCcLxzm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [1] says: "Feature version specification: regular version, serial number (integer), snapshot date (time_t GMT). Accessors to the feature type are in the Feature namespace." What's a "regular version"??? In my porting experience, I learned there's no way in hell we'll have "regular versions" to use from. It might be appropriate to just drop the regular version altogether and use serial numbers/snapshots dates for versioning. Regular versions could still be used symbolically. Otherwise we need to define a hardcore version scheme that will not cause too much trouble. We don't have that in ports right now. A. On Sun Jun 02, 2002 at 11:26:39PM -0700, Jordan K Hubbard wrote: > The package documentation describes the correct behavior. The=20 > implementation only describes what got implemented, and not even=20 > correctly. :) >=20 > On Sunday, June 2, 2002, at 07:00PM, The Anarcat wrote: >=20 > >4- what is the format of the "standard revision" feature element? x.y? > >x.y,z? And in any case, how should be interpreted the version of the > >FreeBSD (or OSNAME) feature? Footnotes:=20 [1] http://usw4.freebsd.org/~libh/sysinstall2/x111.html --=20 The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he who, by peddling second-rate technology, led them into it in the first place. - Douglas Adams (1952-2001) --rJwd6BRFiFCcLxzm Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8+4O2ttcWHAnWiGcRAsrNAJ489sZTM8Py7YWJZ+QAf0Cpkc4aRwCgl0ar uWlnKk7v5OGejnsLs1Y3Y5k= =RcUN -----END PGP SIGNATURE----- --rJwd6BRFiFCcLxzm-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Mon Jun 3 8:24:49 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 95FA437B40C for ; Mon, 3 Jun 2002 08:24:43 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id B7CCF17407; Mon, 3 Jun 2002 10:24:42 -0500 (CDT) From: Antoine Beaupré Date: Mon, 3 Jun 2002 10:24:42 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/sysinstall Database.cd.cc Message-Id: <20020603152442.B7CCF17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/03 10:24:42 CDT Modified files: lib/sysinstall Database.cd.cc Log: allow reading of directories ACL from TCL note that writing directories ACL was already accessible from TCL Revision Changes Path 1.11 +6 -1 libh/lib/sysinstall/Database.cd.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Mon Jun 3 8:31:11 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 5735737B401 for ; Mon, 3 Jun 2002 08:31:10 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id BE9E017407; Mon, 3 Jun 2002 10:31:09 -0500 (CDT) From: Antoine Beaupré Date: Mon, 3 Jun 2002 10:31:09 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools create_db.tcl Message-Id: <20020603153109.BE9E017407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/03 10:31:09 CDT Modified files: release/scripts/pkgtools create_db.tcl Log: setup directory access before creating database Revision Changes Path 1.7 +7 -7 libh/release/scripts/pkgtools/create_db.tcl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Mon Jun 3 8:34:36 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts11-srv.bellnexxia.net (tomts11.bellnexxia.net [209.226.175.55]) by hub.freebsd.org (Postfix) with ESMTP id 1406737B400 for ; Mon, 3 Jun 2002 08:34:31 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.145.70]) by tomts11-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020603153430.YRJY3699.tomts11-srv.bellnexxia.net@shall.anarcat.ath.cx> for ; Mon, 3 Jun 2002 11:34:30 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 6216225F for ; Mon, 3 Jun 2002 11:38:16 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Mon, 3 Jun 2002 11:32:49 -0400 Date: Mon, 3 Jun 2002 11:32:49 -0400 From: The Anarcat To: libh@FreeBSD.org Subject: Re: cvs commit: libh/release/scripts/pkgtools create_db.tcl Message-ID: <20020603153249.GA894@lenny.anarcat.ath.cx> References: <20020603153109.BE9E017407@usw4.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IJpNTDwzlM2Ie8A6" Content-Disposition: inline In-Reply-To: <20020603153109.BE9E017407@usw4.freebsd.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --IJpNTDwzlM2Ie8A6 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This outlines the still-existing bug where insert_denied_allowed_directories doesn't seem to recognize DirectoriesAccess information: anarcat@lenny[~/libh/release/scripts/pkgtools]% tclh.static create_db.tcl /= var/db/npkg /opt Database created in /var/db/npkg Adding /opt as default prefix... anarcat@lenny[~/libh/release/scripts/pkgtools]% tclh.static directory_acces= s.tcl =20 allow directories: /usr/local (the last line should have read /opt) A. On Mon Jun 03, 2002 at 10:31:09AM -0500, Antoine Beaupr=E9 wrote: > antoine 2002/06/03 10:31:09 CDT >=20 > Modified files: > release/scripts/pkgtools create_db.tcl=20 > Log: > setup directory access before creating database > =20 > Revision Changes Path > 1.7 +7 -7 libh/release/scripts/pkgtools/create_db.tcl >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-libh" in the body of the message --=20 Imagination is more important than knowledge - Albert Einstein --IJpNTDwzlM2Ie8A6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8+4wgttcWHAnWiGcRAvv3AKCY0gCtLMALSAg4TnwIWYpHKcG5IQCeOANq QjjhRifzm+LhOILYxfv/1Yk= =E9F0 -----END PGP SIGNATURE----- --IJpNTDwzlM2Ie8A6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Mon Jun 3 8:36:40 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 9CCFE37B400 for ; Mon, 3 Jun 2002 08:36:38 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id EA0A717407; Mon, 3 Jun 2002 10:36:37 -0500 (CDT) From: Antoine Beaupré Date: Mon, 3 Jun 2002 10:36:37 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/release/scripts/pkgtools directory_access.tcl Message-Id: <20020603153637.EA0A717407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/03 10:36:37 CDT Modified files: release/scripts/pkgtools directory_access.tcl Log: make output a bit more comprehensible this file should also deal with deny lists Revision Changes Path 1.2 +3 -3 libh/release/scripts/pkgtools/directory_access.tcl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Mon Jun 3 12:20:18 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 3C7C137B404 for ; Mon, 3 Jun 2002 12:20:16 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id B314E17407; Mon, 3 Jun 2002 14:20:14 -0500 (CDT) From: Max Okumoto Date: Mon, 3 Jun 2002 14:20:14 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui Hui.hh HuiQt.hh HuiTVObjects.hh HuiTVision.hh libh/lib/hui HuiQt.cc HuiQt_WindowWidget.cc HuiTVision.cc HuiTVision_DialogWidget.cc HuiTVision_WindowWidget.cc Message-Id: <20020603192014.B314E17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/03 14:20:14 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui Hui.hh HuiQt.hh HuiTVObjects.hh HuiTVision.hh lib/hui HuiQt.cc HuiQt_WindowWidget.cc HuiTVision.cc HuiTVision_DialogWidget.cc HuiTVision_WindowWidget.cc Log: Cleanup handling of adding Toplevel and Dialog windows. Revision Changes Path 1.39.2.14 +21 -2 libh/include/hui/Hui.hh 1.37.2.27 +23 -10 libh/include/hui/HuiQt.hh 1.1.2.60 +18 -1 libh/include/hui/Attic/HuiTVObjects.hh 1.54.2.29 +24 -13 libh/include/hui/HuiTVision.hh 1.32.2.20 +30 -1 libh/lib/hui/HuiQt.cc 1.33.2.19 +2 -2 libh/lib/hui/HuiQt_WindowWidget.cc 1.39.2.17 +41 -15 libh/lib/hui/HuiTVision.cc 1.34.2.16 +2 -4 libh/lib/hui/HuiTVision_DialogWidget.cc 1.35.2.19 +4 -4 libh/lib/hui/HuiTVision_WindowWidget.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Mon Jun 3 21:23:22 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 36A8337B406 for ; Mon, 3 Jun 2002 21:23:21 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id 3914517407; Mon, 3 Jun 2002 23:23:20 -0500 (CDT) From: Max Okumoto Date: Mon, 3 Jun 2002 23:23:20 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui HuiQt_WindowWidget.cc Message-Id: <20020604042320.3914517407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/03 23:23:20 CDT Modified files: (Branch: HUI_CLEANUP_0) lib/hui HuiQt_WindowWidget.cc Log: cleanup white space. Revision Changes Path 1.33.2.20 +5 -4 libh/lib/hui/HuiQt_WindowWidget.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Mon Jun 3 22:38:13 2002 Delivered-To: freebsd-libh@freebsd.org Received: from jkh-gw.queasyweasel.com (adsl-64-173-3-158.dsl.sntc01.pacbell.net [64.173.3.158]) by hub.freebsd.org (Postfix) with ESMTP id 6047C37B401 for ; Mon, 3 Jun 2002 22:38:07 -0700 (PDT) Received: from localhost (jkh@mango.freebsd.com [64.173.15.99]) by jkh-gw.queasyweasel.com (8.12.3/8.12.3) with ESMTP id g545bkNk015762; Mon, 3 Jun 2002 22:37:46 -0700 (PDT) (envelope-from jkh@queasyweasel.com) Date: Mon, 3 Jun 2002 22:37:58 -0700 Subject: Re: "Standard" version numbers (Re: SYSTEM package contradictions) Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v522) Cc: libh@FreeBSD.ORG, Alexander Langer To: The Anarcat From: Jordan K Hubbard In-Reply-To: <20020603145655.GB543@lenny.anarcat.ath.cx> Message-Id: <3A161044-777D-11D6-BE49-0003938C7B7E@queasyweasel.com> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.522) Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I guess we were being optimistic on the regular version thing. I don't see any problem with going to a unique serial number instead and making the version number, if available, purely advisory. - Jordan On Monday, June 3, 2002, at 07:56AM, The Anarcat wrote: > [1] says: > > "Feature version specification: regular version, serial number > (integer), snapshot date (time_t GMT). Accessors to the feature type > are in the Feature namespace." > > What's a "regular version"??? In my porting experience, I learned > there's no way in hell we'll have "regular versions" to use from. > > It might be appropriate to just drop the regular version altogether > and use serial numbers/snapshots dates for versioning. Regular > versions could still be used symbolically. > > Otherwise we need to define a hardcore version scheme that will not > cause too much trouble. We don't have that in ports right now. > > A. > > On Sun Jun 02, 2002 at 11:26:39PM -0700, Jordan K Hubbard wrote: >> The package documentation describes the correct behavior. The >> implementation only describes what got implemented, and not even >> correctly. :) >> >> On Sunday, June 2, 2002, at 07:00PM, The Anarcat wrote: >> >>> 4- what is the format of the "standard revision" feature element? >>> x.y? >>> x.y,z? And in any case, how should be interpreted the version of the >>> FreeBSD (or OSNAME) feature? > > > Footnotes: > [1] http://usw4.freebsd.org/~libh/sysinstall2/x111.html > > -- > The idea that Bill Gates has appeared like a knight in shining armour > to > lead all customers out of a mire of technological chaos neatly ignores > the fact that it was he who, by peddling second-rate technology, led > them into it in the first place. - Douglas Adams (1952-2001) > -- Jordan K. Hubbard Engineering Manager, BSD technology group Apple Computer To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Tue Jun 4 0: 1:35 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 5B43337B404 for ; Tue, 4 Jun 2002 00:01:33 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id 6BEAF17407; Tue, 4 Jun 2002 02:01:32 -0500 (CDT) From: Max Okumoto Date: Tue, 4 Jun 2002 02:01:32 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiQtObjects.hh Message-Id: <20020604070132.6BEAF17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/04 02:01:32 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiQtObjects.hh Log: Clean up white space Revision Changes Path 1.1.2.32 +14 -13 libh/include/hui/Attic/HuiQtObjects.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Tue Jun 4 0:57: 9 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 7B06C37B403 for ; Tue, 4 Jun 2002 00:57:07 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id B245817407; Tue, 4 Jun 2002 02:57:06 -0500 (CDT) From: Max Okumoto Date: Tue, 4 Jun 2002 02:57:06 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui Hui.hh HuiObjects.hh HuiQtObjects.hh HuiTVObjects.hh Message-Id: <20020604075706.B245817407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/04 02:57:06 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui Hui.hh HuiObjects.hh HuiQtObjects.hh HuiTVObjects.hh Log: Cleanup spelling Revision Changes Path 1.39.2.15 +11 -11 libh/include/hui/Hui.hh 1.1.2.39 +13 -13 libh/include/hui/Attic/HuiObjects.hh 1.1.2.33 +4 -4 libh/include/hui/Attic/HuiQtObjects.hh 1.1.2.61 +4 -4 libh/include/hui/Attic/HuiTVObjects.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Tue Jun 4 2:18:33 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 27AB537B406 for ; Tue, 4 Jun 2002 02:18:30 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id 3D2B517407; Tue, 4 Jun 2002 04:18:29 -0500 (CDT) From: Max Okumoto Date: Tue, 4 Jun 2002 04:18:29 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiObjects.hh Message-Id: <20020604091829.3D2B517407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/04 04:18:29 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiObjects.hh Log: Add comments Revision Changes Path 1.1.2.40 +46 -3 libh/include/hui/Attic/HuiObjects.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Tue Jun 4 2:59:32 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 6080A37B405 for ; Tue, 4 Jun 2002 02:59:28 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id E16BB17407; Tue, 4 Jun 2002 04:59:27 -0500 (CDT) From: Max Okumoto Date: Tue, 4 Jun 2002 04:59:27 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiObjects.hh HuiQtObjects.hh HuiTVObjects.hh libh/lib/hui HuiQt.cc HuiQt_WindowWidget.cc Message-Id: <20020604095927.E16BB17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/04 04:59:27 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiObjects.hh HuiQtObjects.hh HuiTVObjects.hh lib/hui HuiQt.cc HuiQt_WindowWidget.cc Log: Cleanup HuiMenuSubmenuWidget Revision Changes Path 1.1.2.41 +22 -27 libh/include/hui/Attic/HuiObjects.hh 1.1.2.34 +2 -2 libh/include/hui/Attic/HuiQtObjects.hh 1.1.2.62 +2 -2 libh/include/hui/Attic/HuiTVObjects.hh 1.32.2.21 +7 -7 libh/lib/hui/HuiQt.cc 1.33.2.21 +2 -2 libh/lib/hui/HuiQt_WindowWidget.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Tue Jun 4 3:28:58 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id B777437B405 for ; Tue, 4 Jun 2002 03:28:56 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id 2322017407; Tue, 4 Jun 2002 05:28:56 -0500 (CDT) From: Max Okumoto Date: Tue, 4 Jun 2002 05:28:56 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiObjects.hh HuiTVObjects.hh Message-Id: <20020604102856.2322017407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/04 05:28:56 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiObjects.hh HuiTVObjects.hh Log: Cleanup virtual destructors. Revision Changes Path 1.1.2.42 +2 -2 libh/include/hui/Attic/HuiObjects.hh 1.1.2.63 +33 -9 libh/include/hui/Attic/HuiTVObjects.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Tue Jun 4 10:36:53 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts14-srv.bellnexxia.net (tomts14.bellnexxia.net [209.226.175.35]) by hub.freebsd.org (Postfix) with ESMTP id 6D4CF37B405 for ; Tue, 4 Jun 2002 10:36:15 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.178.175]) by tomts14-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020604173614.IAD10788.tomts14-srv.bellnexxia.net@shall.anarcat.ath.cx>; Tue, 4 Jun 2002 13:36:14 -0400 Received: from anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with ESMTP id 49361B; Tue, 4 Jun 2002 13:40:08 -0400 (EDT) Message-ID: <3CFCFA25.6060307@anarcat.ath.cx> Date: Tue, 04 Jun 2002 13:34:29 -0400 From: The Anarcat User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc2) Gecko/20020510 X-Accept-Language: fr, en-us, en MIME-Version: 1.0 To: libh@FreeBSD.ORG Cc: Jordan K Hubbard , Alexander Langer , "anarcat >> The Anarcat" Subject: major changes suggestions: features versions and SYSTEM package Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Ok. Here is my final suggestion, please comment and discuss. FEATURE VERSIONNING =================== Features versions SHOULD NOT be mandatory anymore. Each feature will now REQUIRE a serial number *or* a snapshot date. A feature version COULD BE supplied as an advisory number and to ease maintanance. One could compare the serial number to our PORTEPOCH. This will dramatically ease maintenance and feature comparaison. We will avoid the nightmare of the current version scheme [1] which is ridiculously complex and is surely worse than having just an serial number (integer) as version number. ([1]: old pkg version scheme: [0-9]+(\.[0-9]+)*(_[0-9]+)*(,[0-9]+)*, eg. 1.2.4_6,2 , what a mess.) In a worse case scenario, version numbers could be used in a scheme closed as they are now. That is: - the printed form of the feature CAN NOT be a basis for feature comparaison. We have an API, let's use it. - RCS-like version number syntax: 0|([1-9]+)(0|([0-9]+))* (e.g. 0.1 or 1.2.1.3.1, but *not* 1.2_9,1) - version numbers DO NOT have precedence over the serial number. Eg. 1.1 serial 12 > 1.2 serial 0. At worst, a port wishing to rely only on the version to differenciate the features could bump the snapshot date (or the serial number, but that's more ackward) when a new version comes in. This is a bit too error-prone so hooks could be put in place in the ports collection to detect and warn about case where the maintainer tries to do something odd such as 1.1 serial 12 -> 1.2 serial 0, and automatically correct the situation (1.1 serial 12 -> 1.2 serial 12). maintainers wishing to use *only* the version number could then simply set the serial number to 0 and let the version numbers be compared. - snapshot date vs serial number conflicts. As before, serial numbers and snapshot dates can be both specified. Only before we didn't have any explicit way of dealing with this. It is simply a matter of which data is in priority. I would be tempted to suggest that the serial number overrides the snapshot date, but I'm not sure this is really the most intuitive thing to do. I think it would be good to have really the PORTEPOCH "hammer" (ie. all powerful overriding) reflected in the serial number. That gives us an almost backward compatible feature spec and gives us enough flexibility to deal with most cases. SYSTEM PACAKGE SPECIFICATION ============================ SYSTEM will provide the following features (e.g.): Name Version Serial Snapshot Date FreeBSD 4.5 * ** i386 0 0 0 i686 0 *** 0 SYSTEM 0.2.2**** 0 0 * __FreeBSD__ ** branch snapshots *** the serial number could be a bitfield representing CPU options, but that sounds like a very bad idea. **** this is the libh version. A few comments... The SYSTEM package CAN NOT, of course, provide the "libh" feature since it is not libh itself. libh, if installed, will provide this feature, since not all systems will require libh to be installed. But by synching itself with libh's version, the SYSTEM feature will give an idea of its capabilities to consumers. This scheme merges the OSVERSION and OSNAME features, and is a lot cleaner, I think. I will start implementing this shortly if no opposition arises. Roadmap: 1- sweep the documentation and convert the current scheme to the new one using in part this email 2- comment the code and place strategic #warnings where things should be changed 3- full implementation of package versions and SYSTEM package 4- roll a new libh release, we'll be long due. :) 2 and 3 don't exclude modifying the API. I'll put this on the web shortly. A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Tue Jun 4 11:26:48 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id A38E937B405 for ; Tue, 4 Jun 2002 11:26:47 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 094CC17407; Tue, 4 Jun 2002 13:26:46 -0500 (CDT) From: Antoine Beaupré Date: Tue, 4 Jun 2002 13:26:46 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: www progress.html Message-Id: <20020604182646.094CC17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/04 13:26:46 CDT Modified files: . progress.html Log: add new task to cleanup SYSTEM package and feature versionning this task has been allowed its own timetable. Similar sub-projects can be allowed similar timetables if committers want to. Revision Changes Path 1.4 +41 -0 www/progress.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Tue Jun 4 11:28:51 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 7E61C37B407 for ; Tue, 4 Jun 2002 11:28:42 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id B689117407; Tue, 4 Jun 2002 13:28:31 -0500 (CDT) From: Antoine Beaupré Date: Tue, 4 Jun 2002 13:28:31 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: www progress.html Message-Id: <20020604182831.B689117407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/04 13:28:31 CDT Modified files: . progress.html Log: add links back to main page Revision Changes Path 1.5 +8 -0 www/progress.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Jun 5 15:52:58 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 3CD3537B407 for ; Wed, 5 Jun 2002 15:52:55 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 0B62D17407; Wed, 5 Jun 2002 17:52:54 -0500 (CDT) From: Antoine Beaupré Date: Wed, 5 Jun 2002 17:52:54 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020605225254.0B62D17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/05 17:52:54 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: Add a new section: Feature Specification, describing the different feature parameters as per the email recently sent to libh. Basically, the package version should not rely on version for comparaison anymore. The serial number becomes the parameter which has precedence over the 2 others. This also adds a formal description on the format of the "Regular Version" string and the snapshot date. Revision Changes Path 1.39 +105 -11 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Jun 5 16: 9:22 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 8657A37B404 for ; Wed, 5 Jun 2002 16:09:15 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id EDF2217407; Wed, 5 Jun 2002 18:09:14 -0500 (CDT) From: Antoine Beaupré Date: Wed, 5 Jun 2002 18:09:14 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020605230914.EDF2217407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/05 18:09:14 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: seperate the features list section in conflicting, required and provided Revision Changes Path 1.40 +14 -0 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Jun 5 16:11:30 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts9-srv.bellnexxia.net (tomts9.bellnexxia.net [209.226.175.53]) by hub.freebsd.org (Postfix) with ESMTP id 4DFE937B408 for ; Wed, 5 Jun 2002 16:11:03 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.178.175]) by tomts9-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020605231102.YLWS21842.tomts9-srv.bellnexxia.net@shall.anarcat.ath.cx> for ; Wed, 5 Jun 2002 19:11:02 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id AD0665 for ; Wed, 5 Jun 2002 19:15:07 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Wed, 5 Jun 2002 19:09:18 -0400 Date: Wed, 5 Jun 2002 19:09:18 -0400 From: The Anarcat To: libh@FreeBSD.org Subject: Re: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-ID: <20020605230918.GA288@lenny.anarcat.ath.cx> References: <20020605225254.0B62D17407@usw4.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Content-Disposition: inline In-Reply-To: <20020605225254.0B62D17407@usw4.freebsd.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --J/dobhs11T7y2rNN Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This starts phase one in: 1- sweep the documentation and convert the current scheme to the new one using in part this email 2- comment the code and place strategic #warnings where things should be changed 3- full implementation of package versions and SYSTEM package =20 4- roll a new libh release, we'll be long due. :) So, if you don't agree with the new spec, please speak now! A. On Wed Jun 05, 2002 at 05:52:54PM -0500, Antoine Beaupr=E9 wrote: > antoine 2002/06/05 17:52:54 CDT >=20 > Modified files: > doc/sysinstall2 sysinstall2.sgml=20 > Log: > Add a new section: Feature Specification, describing the different > feature parameters as per the email recently sent to libh. > =20 > Basically, the package version should not rely on version for > comparaison anymore. The serial number becomes the parameter which has > precedence over the 2 others. > =20 > This also adds a formal description on the format of the "Regular > Version" string and the snapshot date. > =20 > Revision Changes Path > 1.39 +105 -11 libh/doc/sysinstall2/sysinstall2.sgml >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-libh" in the body of the message --=20 The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he who, by peddling second-rate technology, led them into it in the first place. - Douglas Adams (1952-2001) --J/dobhs11T7y2rNN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8/podttcWHAnWiGcRAp2nAJsGpbhCfYe/I1vtbSE40CfQH3BBjwCcCedm m6D1Z8Fy0vbdV8waZQVRR9Q= =Rx4v -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Jun 5 16:37:38 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id BFA3D37B41C for ; Wed, 5 Jun 2002 16:37:23 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 7D90817407; Wed, 5 Jun 2002 18:37:22 -0500 (CDT) From: Antoine Beaupré Date: Wed, 5 Jun 2002 18:37:22 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020605233722.7D90817407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/05 18:37:22 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: mark unfinished sections as such Revision Changes Path 1.41 +3 -3 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Jun 5 17:13:28 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 26FCB37B400 for ; Wed, 5 Jun 2002 17:13:26 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 0BAD117407; Wed, 5 Jun 2002 19:13:25 -0500 (CDT) From: Antoine Beaupré Date: Wed, 5 Jun 2002 19:13:25 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020606001325.0BAD117407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/05 19:13:25 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: Change features provided by the SYSTEM package: - drop OSNAME and OSVERSION in favor of a more generic OS, which encloses both features - drop PLATFORM in favor of ARCH, which is more descriptive - drop libh version in favor of SYSTEM version, since "Each package has at least one feature, the name of the package" add an example of a SYSTEM package on a Pentium system. fit all this in nice little tables instead of an ugly list. Revision Changes Path 1.42 +91 -24 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Jun 5 17:17:56 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 2D76937B400 for ; Wed, 5 Jun 2002 17:17:55 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id A75EF17407; Wed, 5 Jun 2002 19:17:54 -0500 (CDT) From: Antoine Beaupré Date: Wed, 5 Jun 2002 19:17:54 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020606001754.A75EF17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/05 19:17:54 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: correct what pseudo-packages really do and syntax Revision Changes Path 1.43 +2 -1 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Jun 5 17:18:46 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 1F2D337B404 for ; Wed, 5 Jun 2002 17:18:43 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 9F65917407; Wed, 5 Jun 2002 19:18:42 -0500 (CDT) From: Antoine Beaupré Date: Wed, 5 Jun 2002 19:18:42 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020606001842.9F65917407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/05 19:18:42 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: indent and fill pseudo-packages section, no content change Revision Changes Path 1.44 +15 -14 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Jun 5 17:21:41 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id B5CA837B425 for ; Wed, 5 Jun 2002 17:21:16 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 3A48D17407; Wed, 5 Jun 2002 19:21:16 -0500 (CDT) From: Antoine Beaupré Date: Wed, 5 Jun 2002 19:21:16 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: www progress.html Message-Id: <20020606002116.3A48D17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/05 19:21:16 CDT Modified files: . progress.html Log: mark documentation step as "in progress" Revision Changes Path 1.6 +1 -1 www/progress.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Jun 5 17:58:24 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 0FD1037B403 for ; Wed, 5 Jun 2002 17:58:20 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 4402F17407; Wed, 5 Jun 2002 19:58:19 -0500 (CDT) From: Antoine Beaupré Date: Wed, 5 Jun 2002 19:58:19 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: www/private update_website.sh Message-Id: <20020606005819.4402F17407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/05 19:58:19 CDT Modified files: private update_website.sh Log: massive fixes this script wasn't working at all use absolute paths instead of relying on $PWD the target to create the ChangeLog is *not* libh/ChangeLog, of course move the public_html/dox cleanup out of the cleanup function, or we'll never finish the script with a correct dox directory enable the -x flag to make the cron script mail me the debugging output to make sure everything runs fine each night Revision Changes Path 1.2 +7 -6 www/private/update_website.sh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Jun 5 17:59:14 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts17-srv.bellnexxia.net (tomts17.bellnexxia.net [209.226.175.71]) by hub.freebsd.org (Postfix) with ESMTP id 7666F37B401 for ; Wed, 5 Jun 2002 17:59:07 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.178.175]) by tomts17-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020606005906.IUEF2581.tomts17-srv.bellnexxia.net@shall.anarcat.ath.cx> for ; Wed, 5 Jun 2002 20:59:06 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 51209B for ; Wed, 5 Jun 2002 21:03:12 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Wed, 5 Jun 2002 20:57:22 -0400 Date: Wed, 5 Jun 2002 20:57:22 -0400 From: The Anarcat To: libh@FreeBSD.org Subject: Re: cvs commit: www/private update_website.sh Message-ID: <20020606005721.GC288@lenny.anarcat.ath.cx> References: <20020606005819.4402F17407@usw4.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WfZ7S8PLGjBY9Voh" Content-Disposition: inline In-Reply-To: <20020606005819.4402F17407@usw4.freebsd.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --WfZ7S8PLGjBY9Voh Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Oops! This should have been line-wrapped, sorry. :( A. On Wed Jun 05, 2002 at 07:58:19PM -0500, Antoine Beaupr=E9 wrote: > antoine 2002/06/05 19:58:19 CDT >=20 > Modified files: > private update_website.sh=20 > Log: > massive fixes > =20 > this script wasn't working at all > =20 > use absolute paths instead of relying on $PWD > =20 > the target to create the ChangeLog is *not* libh/ChangeLog, of course > =20 > move the public_html/dox cleanup out of the cleanup function, or we'll = never finish the script with a correct dox directory > =20 > enable the -x flag to make the cron script mail me the debugging output= to make sure everything runs fine each night > =20 > Revision Changes Path > 1.2 +7 -6 www/private/update_website.sh >=20 >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-libh" in the body of the message --=20 =46rom the age of uniformity, from the age of solitude, from the age of Big Brother, from the age of doublethink - greetings! --WfZ7S8PLGjBY9Voh Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE8/rNxttcWHAnWiGcRArW2AJ4+uSx5O9b7fYfFWqjbSP3WMfOYywCcCDDI Ts9N7egzSw9/hDoADmp6n8A= =J6VZ -----END PGP SIGNATURE----- --WfZ7S8PLGjBY9Voh-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Wed Jun 5 18:14: 6 2002 Delivered-To: freebsd-libh@freebsd.org Received: from postal.sdsc.edu (postal.sdsc.edu [132.249.20.114]) by hub.freebsd.org (Postfix) with ESMTP id 42FC537B404 for ; Wed, 5 Jun 2002 18:14:02 -0700 (PDT) Received: from multivac.sdsc.edu (multivac.sdsc.edu [132.249.20.57]) by postal.sdsc.edu (8.11.6/8.11.6/server/38) with ESMTP id g561DwN28386; Wed, 5 Jun 2002 18:13:58 -0700 (PDT) Received: by multivac (8.11.6+Sun/1.11-SolarisClient) id g561Dvl21820; Wed, 5 Jun 2002 18:13:57 -0700 (PDT) To: freebsd-libh@FreeBSD.ORG Subject: Hui API doc From: Max Okumoto Date: 05 Jun 2002 18:13:57 -0700 Message-ID: Lines: 53 X-Mailer: Gnus v5.5/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I felt left out looking at all the new documentation so I have written up a little documentation for the parts that I am working on recently. But I don't know where it would fit in... Can someone look it over and tell me where it put it? Max Okumoto Hui Programming API Intro ------- The graphical user interface for libh is the Hui subsystem. Currently there are two graphics implementations, text based (Turbo Vision) and X window (Qt). The scripting language is tcl. Programming Model ------- The programming model is a container and element system. Graphical elements and other containers are created by their parent containers. The resulting hierarchy is a tree like structure with containers as internal nodes and elements as leaves. The root of the tree is the Hui object. From this object you can create a menu bar, windows and dialogs. The two containers, windows and dialogs, have many of the same features but dialogs can return result strings, and are modal. In windows and dialogs you can create the following objects: o button o input line o label o list box o progress indicator o text edit [I have to examine the code more for this section.] But it looks like there can only be one menu bar. This bar is associated with the first window created which requests a menu bar. Element Placement. ------- The placement of elements and containers are absolute coordinates relieve to their container. [There is no automatic placement in the containers as far as I can tell] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Thu Jun 6 0:49:45 2002 Delivered-To: freebsd-libh@freebsd.org Received: from fump.kawo2.rwth-aachen.de (fump.kawo2.RWTH-Aachen.DE [134.130.181.148]) by hub.freebsd.org (Postfix) with ESMTP id B3F9337B405 for ; Thu, 6 Jun 2002 00:49:42 -0700 (PDT) Received: (from alex@localhost) by fump.kawo2.rwth-aachen.de (8.11.6/8.11.6) id g567ncm07628; Thu, 6 Jun 2002 09:49:38 +0200 (CEST) (envelope-from alex) Date: Thu, 6 Jun 2002 09:49:38 +0200 From: Alexander Langer To: Jordan K Hubbard Cc: The Anarcat , libh@FreeBSD.ORG Subject: Re: "Standard" version numbers (Re: SYSTEM package contradictions) Message-ID: <20020606094938.G800@fump.kawo2.rwth-aachen.de> References: <20020603145655.GB543@lenny.anarcat.ath.cx> <3A161044-777D-11D6-BE49-0003938C7B7E@queasyweasel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3A161044-777D-11D6-BE49-0003938C7B7E@queasyweasel.com>; from jkh@queasyweasel.com on Mon, Jun 03, 2002 at 10:37:58PM -0700 X-PGP-Fingerprint: 44 28 CA 4C 46 5B D3 A8 A8 E3 BA F3 4E 60 7D 7F X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Thus spake Jordan K Hubbard (jkh@queasyweasel.com): > I guess we were being optimistic on the regular version thing. I don't > see any problem with going to a unique serial number instead and making > the version number, if available, purely advisory. I guess "regular version" is something like for the ispell ports with lanuage sets enabled. The ispell version would be the "regular" version, and the version of the language sets would be a sub-version or so. But I don't know for sure. A serial # would be more wise maybe. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Thu Jun 6 4:24:58 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id A62FC37B403 for ; Thu, 6 Jun 2002 04:24:56 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id DF4F617407; Thu, 6 Jun 2002 06:24:55 -0500 (CDT) From: Max Okumoto Date: Thu, 6 Jun 2002 06:24:55 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiQtObjects.hh Message-Id: <20020606112455.DF4F617407@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/06 06:24:55 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiQtObjects.hh Log: Cleanup more unnessisary virtuals Revision Changes Path 1.1.2.35 +23 -35 libh/include/hui/Attic/HuiQtObjects.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Thu Jun 6 7: 3: 4 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mail2.qc.uunet.ca (mail2.qc.uunet.ca [198.168.54.17]) by hub.freebsd.org (Postfix) with ESMTP id 41CAA37B401 for ; Thu, 6 Jun 2002 07:02:58 -0700 (PDT) Received: from xtanbul ([216.94.147.34]) by mail2.qc.uunet.ca (8.9.3/8.9.3) with ESMTP id KAA14343; Thu, 6 Jun 2002 10:02:46 -0400 Date: Thu, 6 Jun 2002 10:00:48 -0400 Subject: Re: Hui API doc Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: freebsd-libh@FreeBSD.ORG To: Max Okumoto From: Antoine Beaupre In-Reply-To: Message-Id: Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Le mercredi 5 juin 2002, =E0 09:13 PM, Max Okumoto a =E9crit : > I felt left out looking at all the new documentation so I have written > up a little documentation for the parts that I am working on recently. I thought that would happen. Very good work! It's a good idea to start=20= "real" (as in "not doxygen") documentation on the Hui. Since you now=20 have access to the WWW repo, you could also make your own timetable and=20= let the world know where you're at with the Hui cleanup. I'm curious. ;) Please don't feel left out. Your work is as important as any other in=20 the project, and presently, you're the most active committer. :) > But I don't know where it would fit in... > Can someone look it over and tell me where it put it? I don't think it belongs to the sysinstall2.sgml file, since it should=20= really be called "packageNG.sgml". It would, however, fit pretty well in the doc/hui.sgml document that=20 only contains a introduction, right now. You can commit straight to this file if you want. It's seriously=20 outdated and you could probably give it a good refresh. If you can't=20 deal with SGML, I could commit small bits to the file. We could modify the web update script to build and install this file=20 too, though I haven't setup DocBook builds on usw4 yet. A few comments on the document itself: > Hui Programming API > > Intro > ------- > The graphical user interface for libh is the Hui subsystem. Don't say "graphical" since it can be text-based. :) Just "The user=20 interface" is fine. > Currently there are two graphics implementations, text based > (Turbo Vision) and X window (Qt). The scripting language > is tcl. I think the wording "front-end" and "back-end" would be more = appropriate. So I'd put the whole paragraph as: Intro The front-end User Interface (UI) for libh is the Hui subsystem. There=20= are currently two back-ends implemented: text-based (Turbo Vision) and=20= graphics-based (X Window System/Qt). The scripting language is TCL. > Programming Model > ------- > The programming model is a container and element system. > Graphical elements and other containers are created by their > parent containers. The resulting hierarchy is a tree like > structure with containers as internal nodes and elements > as leaves. > > The root of the tree is the Hui object. =46rom this object > you can create a menu bar, windows and dialogs. A graphic would be nice here. :) > The two containers, windows and dialogs, have many of the > same features but dialogs can return result strings, and > are modal. In windows and dialogs you can create the > following objects: > o button > o input line > o label > o list box > o progress indicator > o text edit > > [I have to examine the code more for this section.] > But it looks like there can only be one menu bar. This bar > is associated with the first window created which requests > a menu bar. Indeed, There Can Be Only One menubar. Look also at the bug in the BUGS=20= file regarding that. I think this is due to a limitation in TVision, but we could possibly=20 work around this limitation by changing the menu bar depending on which=20= window has the focus in TVision. That's probably too much trouble for=20 nothing. Note that Qt dialogs (ours, at least) don't have menu bars and have=20 fixed sizes, in opposition with Qt windows. > Element Placement. > ------- > The placement of elements and containers are absolute > coordinates relieve to their container. [There is no automatic > placement in the containers as far as I can tell] I guess this should have read: "The placement of elements and containers are in absolute coordinates=20 relative to their container." That is true, but there *is* also automatic placement in Hui. For an=20 example, look at the diskeditor, in particular, a trivial example is in=20= the test stub, release/scripts/disk.tcl: set test_window [$hui window "labeltest"\ "Partition Editor Test Loader" "1 0" "40 5"=20 "horizontal"] $test_window button "disk" "&Test diskeditor" {disk_callback ""}=20 "default" $test_window button "newfs" "&Test newfs" {newfs_callback ""} "default" $test_window button "quit" "&Quit" {quit_callback ""} $test_window show $hui run The buttons are disposed properly as seen on the top left window=20 ("Partition Editor Test Loader") of the screenshot: http://usw4.freebsd.org/~libh/screenshots/screenshot-hui- console+qt-2002-05-29.jpg Good work! A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Thu Jun 6 9:18:22 2002 Delivered-To: freebsd-libh@freebsd.org Received: from columbus.cris.net (columbus.cris.net [212.110.128.65]) by hub.freebsd.org (Postfix) with ESMTP id 0396937B404 for ; Thu, 6 Jun 2002 09:18:18 -0700 (PDT) Received: from phantom.cris.net (root@phantom.cris.net [212.110.130.74]) by columbus.cris.net (8.9.3/8.9.3) with ESMTP id TAA47540; Thu, 6 Jun 2002 19:18:11 +0300 (EEST) Received: (from ml@localhost) by phantom.cris.net (8.12.2/8.12.2) id g56GLx2g022797; Thu, 6 Jun 2002 19:21:59 +0300 (EEST) (envelope-from ml) Date: Thu, 6 Jun 2002 19:21:59 +0300 From: Alexey Zelkin To: =?koi8-r?Q?Antoine_Beaupr=E9?= Cc: freebsd-libh@FreeBSD.org Subject: Re: cvs commit: www progress.html Message-ID: <20020606192159.A22774@phantom.cris.net> References: <20020531033029.435CA17407@usw4.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: <20020531033029.435CA17407@usw4.freebsd.org>; from antoine@usw4.freebsd.org on Thu, May 30, 2002 at 10:30:29PM -0500 X-Operating-System: FreeBSD 4.5-STABLE i386 Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, Just took a look and have a question: Why Multilanguage support milstone is referencing to Citrus project ? Citrus is NetBSD based project. Or correctly to say FreeBSD based, but NetBSD oriented. FreeBSD has enough infrastructure to i18n support And actually has better multilanguage support comparing to Net and Open BSDs (at least for single-byte charsets) On Thu, May 30, 2002 at 10:30:29PM -0500, Antoine Beaupré wrote: > antoine 2002/05/30 22:30:29 CDT > > Added files: > . progress.html > Log: > development progress page > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-libh" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Thu Jun 6 11:56:18 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mail1.qc.uunet.ca (mail1.qc.uunet.ca [198.168.54.16]) by hub.freebsd.org (Postfix) with ESMTP id C3AB737B405; Thu, 6 Jun 2002 11:56:05 -0700 (PDT) Received: from xtanbul ([216.94.147.34]) by mail1.qc.uunet.ca (8.10.2/8.10.2) with ESMTP id g56ItsN18246; Thu, 6 Jun 2002 14:55:55 -0400 Date: Thu, 6 Jun 2002 14:54:15 -0400 Subject: Re: cvs commit: www progress.html Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: freebsd-libh@FreeBSD.org To: Alexey Zelkin From: Antoine Beaupre In-Reply-To: <20020606192159.A22774@phantom.cris.net> Message-Id: Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Le jeudi 6 juin 2002, =E0 12:21 PM, Alexey Zelkin a =E9crit : > hi, > > Just took a look and have a question: Why > Multilanguage support milstone is referencing to > Citrus project ? Citrus is NetBSD based project. > Or correctly to say FreeBSD based, but NetBSD oriented. Ah. I wasn't aware of that. I thought Citrus was also FreeBSD-oriented. The milestone references the citrus project because it is the only thing=20= I know on the FreeBSD camp that intends to make a full BSD replacement=20= for gettext. > FreeBSD has enough infrastructure to i18n support And > actually has better multilanguage support comparing to > Net and Open BSDs (at least for single-byte charsets) Maybe for charsets and such, but is there really a non-GPL gettext=20 implementation in FreeBSD? I don't think so. I'm not worried about locale (dates, strings), but translation of output=20= language. Note that I don't know much about all this language stuff. I've used=20 gettext a bit, but that's all. If you have better ideas, please tell me. :) A. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Thu Jun 6 14:49:19 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 982AF37B406 for ; Thu, 6 Jun 2002 14:49:16 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id A1A281742F; Thu, 6 Jun 2002 16:49:15 -0500 (CDT) From: Max Okumoto Date: Thu, 6 Jun 2002 16:49:15 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiQtObjects.hh Message-Id: <20020606214915.A1A281742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/06 16:49:15 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiQtObjects.hh Log: Cleanup more virtual function complexity. Revision Changes Path 1.1.2.36 +118 -87 libh/include/hui/Attic/HuiQtObjects.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Thu Jun 6 16:23:46 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 53EF637B407 for ; Thu, 6 Jun 2002 16:23:45 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id 7FCFD1742F; Thu, 6 Jun 2002 18:23:44 -0500 (CDT) From: Max Okumoto Date: Thu, 6 Jun 2002 18:23:44 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiQtObjects.hh Message-Id: <20020606232344.7FCFD1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/06 18:23:44 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiQtObjects.hh Log: More virtual function cleanup Revision Changes Path 1.1.2.37 +61 -49 libh/include/hui/Attic/HuiQtObjects.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Fri Jun 7 1:34:43 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 577B837B400 for ; Fri, 7 Jun 2002 01:34:41 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id B59DF1742F; Fri, 7 Jun 2002 03:34:40 -0500 (CDT) From: Max Okumoto Date: Fri, 7 Jun 2002 03:34:40 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/hui HuiQt_ButtonWidget.cc Message-Id: <20020607083440.B59DF1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/07 03:34:40 CDT Modified files: (Branch: HUI_CLEANUP_0) lib/hui HuiQt_ButtonWidget.cc Log: Remove check (mButton == NULL) since the constructor would have failed otherwise. Revision Changes Path 1.31.2.19 +4 -8 libh/lib/hui/HuiQt_ButtonWidget.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Fri Jun 7 2:33:26 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 0BB6A37B400 for ; Fri, 7 Jun 2002 02:33:24 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id 4F17B1742F; Fri, 7 Jun 2002 04:33:23 -0500 (CDT) From: Max Okumoto Date: Fri, 7 Jun 2002 04:33:23 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiQtObjects.hh libh/lib/hui HuiQt_ButtonsGroupWidget.cc HuiQt_ContainerWidget.cc HuiQt_DialogWidget.cc HuiQt_InputLineWidget.cc HuiQt_ListBoxWidget.cc HuiQt_ProgressIndicatorWidget.cc HuiQt_TextEditWidget.cc HuiQt_WindowWidget.cc HuiTVision_ButtonWidget.cc ... Message-Id: <20020607093323.4F17B1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/07 04:33:23 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiQtObjects.hh lib/hui HuiQt_ButtonsGroupWidget.cc HuiQt_ContainerWidget.cc HuiQt_DialogWidget.cc HuiQt_InputLineWidget.cc HuiQt_ListBoxWidget.cc HuiQt_ProgressIndicatorWidget.cc HuiQt_TextEditWidget.cc HuiQt_WindowWidget.cc HuiTVision_ButtonWidget.cc HuiTVision_ContainerWidget.cc HuiTVision_DialogWidget.cc HuiTVision_ListBoxWidget.cc HuiTVision_WindowWidget.cc Log: Cleanup qwiget() and twidget() Revision Changes Path 1.1.2.38 +97 -50 libh/include/hui/Attic/HuiQtObjects.hh 1.29.2.15 +7 -7 libh/lib/hui/HuiQt_ButtonsGroupWidget.cc 1.32.2.17 +17 -8 libh/lib/hui/HuiQt_ContainerWidget.cc 1.30.2.13 +30 -21 libh/lib/hui/HuiQt_DialogWidget.cc 1.30.2.15 +2 -2 libh/lib/hui/HuiQt_InputLineWidget.cc 1.35.2.15 +2 -2 libh/lib/hui/HuiQt_ListBoxWidget.cc 1.30.2.13 +2 -2 libh/lib/hui/HuiQt_ProgressIndicatorWidget.cc 1.30.2.14 +2 -2 libh/lib/hui/HuiQt_TextEditWidget.cc 1.33.2.22 +1 -2 libh/lib/hui/HuiQt_WindowWidget.cc 1.37.2.26 +7 -7 libh/lib/hui/HuiTVision_ButtonWidget.cc 1.37.2.26 +6 -4 libh/lib/hui/HuiTVision_ContainerWidget.cc 1.34.2.17 +7 -7 libh/lib/hui/HuiTVision_DialogWidget.cc 1.35.2.19 +2 -2 libh/lib/hui/HuiTVision_ListBoxWidget.cc 1.35.2.20 +7 -7 libh/lib/hui/HuiTVision_WindowWidget.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Fri Jun 7 3:24:56 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 6C5D537B405 for ; Fri, 7 Jun 2002 03:24:53 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id CB68D1742F; Fri, 7 Jun 2002 05:24:52 -0500 (CDT) From: Max Okumoto Date: Fri, 7 Jun 2002 05:24:52 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiQtObjects.hh HuiTVObjects.hh libh/lib/hui HuiQt.cc HuiQt_ButtonWidget.cc HuiQt_ButtonsGroupWidget.cc HuiQt_ContainerWidget.cc HuiQt_DialogWidget.cc HuiQt_GroupWidget.cc HuiQt_InputLineWidget.cc HuiQt_LabelWidget.cc ... Message-Id: <20020607102452.CB68D1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/07 05:24:52 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiQtObjects.hh HuiTVObjects.hh lib/hui HuiQt.cc HuiQt_ButtonWidget.cc HuiQt_ButtonsGroupWidget.cc HuiQt_ContainerWidget.cc HuiQt_DialogWidget.cc HuiQt_GroupWidget.cc HuiQt_InputLineWidget.cc HuiQt_LabelWidget.cc HuiQt_ListBoxWidget.cc HuiQt_ProgressIndicatorWidget.cc HuiQt_TextEditWidget.cc HuiQt_TitledWidget.cc HuiQt_ToplevelWidget.cc HuiQt_Widget.cc HuiQt_WindowWidget.cc HuiTVision.cc HuiTVision_ButtonWidget.cc HuiTVision_CheckBoxesWidget.cc HuiTVision_DialogWidget.cc HuiTVision_GroupWidget.cc HuiTVision_InputLineWidget.cc HuiTVision_LabelWidget.cc HuiTVision_ListBoxWidget.cc HuiTVision_ProgressIndicatorWidget.cc HuiTVision_RadioMenuWidget.cc HuiTVision_TextEditWidget.cc HuiTVision_Widget.cc HuiTVision_WindowWidget.cc Log: cleanup of tview() and qwidget() Revision Changes Path 1.1.2.39 +16 -16 libh/include/hui/Attic/HuiQtObjects.hh 1.1.2.64 +18 -18 libh/include/hui/Attic/HuiTVObjects.hh 1.32.2.22 +3 -3 libh/lib/hui/HuiQt.cc 1.31.2.20 +4 -4 libh/lib/hui/HuiQt_ButtonWidget.cc 1.29.2.16 +4 -4 libh/lib/hui/HuiQt_ButtonsGroupWidget.cc 1.32.2.18 +7 -7 libh/lib/hui/HuiQt_ContainerWidget.cc 1.30.2.14 +3 -3 libh/lib/hui/HuiQt_DialogWidget.cc 1.33.2.18 +9 -9 libh/lib/hui/HuiQt_GroupWidget.cc 1.30.2.16 +4 -4 libh/lib/hui/HuiQt_InputLineWidget.cc 1.30.2.15 +4 -4 libh/lib/hui/HuiQt_LabelWidget.cc 1.35.2.16 +4 -4 libh/lib/hui/HuiQt_ListBoxWidget.cc 1.30.2.14 +4 -4 libh/lib/hui/HuiQt_ProgressIndicatorWidget.cc 1.30.2.15 +4 -4 libh/lib/hui/HuiQt_TextEditWidget.cc 1.32.2.17 +7 -7 libh/lib/hui/HuiQt_TitledWidget.cc 1.29.2.7 +5 -5 libh/lib/hui/HuiQt_ToplevelWidget.cc 1.30.2.11 +20 -20 libh/lib/hui/HuiQt_Widget.cc 1.33.2.23 +4 -4 libh/lib/hui/HuiQt_WindowWidget.cc 1.39.2.18 +5 -5 libh/lib/hui/HuiTVision.cc 1.37.2.27 +2 -2 libh/lib/hui/HuiTVision_ButtonWidget.cc 1.38.2.14 +2 -2 libh/lib/hui/HuiTVision_CheckBoxesWidget.cc 1.34.2.18 +2 -2 libh/lib/hui/HuiTVision_DialogWidget.cc 1.37.2.30 +6 -6 libh/lib/hui/HuiTVision_GroupWidget.cc 1.35.2.15 +2 -2 libh/lib/hui/HuiTVision_InputLineWidget.cc 1.36.2.17 +2 -2 libh/lib/hui/HuiTVision_LabelWidget.cc 1.35.2.20 +2 -2 libh/lib/hui/HuiTVision_ListBoxWidget.cc 1.35.2.14 +2 -2 libh/lib/hui/HuiTVision_ProgressIndicatorWidget.cc 1.36.2.14 +2 -2 libh/lib/hui/HuiTVision_RadioMenuWidget.cc 1.35.2.17 +2 -2 libh/lib/hui/HuiTVision_TextEditWidget.cc 1.34.2.20 +22 -22 libh/lib/hui/HuiTVision_Widget.cc 1.35.2.21 +2 -2 libh/lib/hui/HuiTVision_WindowWidget.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Fri Jun 7 12: 7:16 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 928FF37B40A for ; Fri, 7 Jun 2002 12:07:12 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id AC6B61742F; Fri, 7 Jun 2002 14:07:11 -0500 (CDT) From: Antoine Beaupré Date: Fri, 7 Jun 2002 14:07:11 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: www progress.html Message-Id: <20020607190711.AC6B61742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/07 14:07:11 CDT Modified files: . progress.html Log: There is full catalog support in FreeBSD. Absurd reference to CITRUS noted by: phantom Pointy hat to: anarcat Revision Changes Path 1.7 +1 -1 www/progress.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Fri Jun 7 12:19:42 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mail2.qc.uunet.ca (mail2.qc.uunet.ca [198.168.54.17]) by hub.freebsd.org (Postfix) with ESMTP id 9FE8737B405; Fri, 7 Jun 2002 12:19:38 -0700 (PDT) Received: from xtanbul ([216.94.147.34]) by mail2.qc.uunet.ca (8.9.3/8.9.3) with ESMTP id PAA29731; Fri, 7 Jun 2002 15:19:27 -0400 Date: Fri, 7 Jun 2002 15:17:13 -0400 Subject: internationalisation work can now begin (Re: cvs commit: www progress.html) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: libh@FreeBSD.org, Alexey Zelkin To: =?ISO-8859-1?Q?Antoine_Beaupr=E9?= From: Antoine Beaupre In-Reply-To: <20020607190711.AC6B61742F@usw4.freebsd.org> Message-Id: <2C176E30-7A4B-11D6-8281-0050E4A0BB3F@anarcat.ath.cx> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG My apologies to the project and Alexey, After stumbling upon setlocale(3), I found a reference to catopen(3) and=20= childs, and finally figured out there is plenty of message catalog=20 support in FreeBSD (we don't need a gettext substitute, we already have=20= one!). So we can start translation of the libh output. This will not be easy, but I think it will be a good thing. I will start=20= taking a look at how to do this soon, but if anyone has suggestions, I'm=20= a taker. One of the first things to do would be to create a _() macro that would=20= use catgets() to return messages wherever necessary, and that might=20 include the .cd.cc files which undoubtedly cause a big translation=20 problem. Same for any TCL script. Also note that I don't intend to make boot floppies carry all=20 languages. :) That will have to be language-specific distros. I thought I had avoided that issue elegantly. ;) A. Le vendredi 7 juin 2002, =E0 03:07 PM, Antoine Beaupr=E9 a =E9crit : > antoine 2002/06/07 14:07:11 CDT > > Modified files: > . progress.html > Log: > There is full catalog support in FreeBSD. > > Absurd reference to CITRUS noted by: phantom > Pointy hat to: anarcat > > Revision Changes Path > 1.7 +1 -1 www/progress.html > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-libh" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Fri Jun 7 12:20:42 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mail2.qc.uunet.ca (mail2.qc.uunet.ca [198.168.54.17]) by hub.freebsd.org (Postfix) with ESMTP id 45D1137B401; Fri, 7 Jun 2002 12:20:36 -0700 (PDT) Received: from xtanbul ([216.94.147.34]) by mail2.qc.uunet.ca (8.9.3/8.9.3) with ESMTP id PAA29783; Fri, 7 Jun 2002 15:20:22 -0400 Date: Fri, 7 Jun 2002 15:18:08 -0400 Subject: Re: cvs commit: www progress.html Content-Type: text/plain; charset=UTF-8; format=flowed Mime-Version: 1.0 (Apple Message framework v482) Cc: =?ISO-2022-JP?B?QW50b2luZSBCZWF1cHIbJEInKhsoQg==?= , freebsd-libh@FreeBSD.org To: Alexey Zelkin From: Antoine Beaupre In-Reply-To: <20020606192159.A22774@phantom.cris.net> Message-Id: <4CDA70F3-7A4B-11D6-8281-0050E4A0BB3F@anarcat.ath.cx> Content-Transfer-Encoding: quoted-printable X-Mailer: Apple Mail (2.482) Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Of course, you are right. I apologize for my ignorance. A. Le jeudi 6 juin 2002, =C3=A0 12:21 PM, Alexey Zelkin a =C3=A9crit : > hi, > > Just took a look and have a question: Why > Multilanguage support milstone is referencing to > Citrus project ? Citrus is NetBSD based project. > Or correctly to say FreeBSD based, but NetBSD oriented. > > FreeBSD has enough infrastructure to i18n support And > actually has better multilanguage support comparing to > Net and Open BSDs (at least for single-byte charsets) > > On Thu, May 30, 2002 at 10:30:29PM -0500, Antoine Beaupr=D0=98 wrote: >> antoine 2002/05/30 22:30:29 CDT >> >> Added files: >> . progress.html >> Log: >> development progress page >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-libh" in the body of the message > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-libh" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Fri Jun 7 16:19: 4 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id A66B537B409 for ; Fri, 7 Jun 2002 16:19:02 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id 7DA511742F; Fri, 7 Jun 2002 18:19:01 -0500 (CDT) From: Max Okumoto Date: Fri, 7 Jun 2002 18:19:01 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiObjects.hh HuiQtObjects.hh HuiTVObjects.hh libh/lib/hui HuiTVision_MenuItemWidget.cc Message-Id: <20020607231901.7DA511742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/07 18:19:01 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiObjects.hh HuiQtObjects.hh HuiTVObjects.hh lib/hui HuiTVision_MenuItemWidget.cc Log: Clean up Menu Objects. t Revision Changes Path 1.1.2.43 +6 -6 libh/include/hui/Attic/HuiObjects.hh 1.1.2.40 +5 -3 libh/include/hui/Attic/HuiQtObjects.hh 1.1.2.65 +4 -2 libh/include/hui/Attic/HuiTVObjects.hh 1.33.2.18 +2 -2 libh/lib/hui/HuiTVision_MenuItemWidget.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Fri Jun 7 16:26:15 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 5F71C37B401 for ; Fri, 7 Jun 2002 16:26:14 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id E69301742F; Fri, 7 Jun 2002 18:26:13 -0500 (CDT) From: Max Okumoto Date: Fri, 7 Jun 2002 18:26:13 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiObjects.hh Message-Id: <20020607232613.E69301742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/07 18:26:13 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiObjects.hh Log: Add doxygen comments to HuiGroupWidgets member functions. Revision Changes Path 1.1.2.44 +41 -10 libh/include/hui/Attic/HuiObjects.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Fri Jun 7 21:38:59 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 6A75337B400 for ; Fri, 7 Jun 2002 21:38:57 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id 7FA7A1742F; Fri, 7 Jun 2002 23:38:56 -0500 (CDT) From: Max Okumoto Date: Fri, 7 Jun 2002 23:38:56 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiObjects.hh HuiQtObjects.hh HuiTVObjects.hh libh/lib/hui Hui.cd.cc HuiTVision_MenuButtonWidget.cc Message-Id: <20020608043856.7FA7A1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/07 23:38:56 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiObjects.hh HuiQtObjects.hh HuiTVObjects.hh lib/hui Hui.cd.cc HuiTVision_MenuButtonWidget.cc Log: Cleanup menu button key stuff Revision Changes Path 1.1.2.45 +1 -3 libh/include/hui/Attic/HuiObjects.hh 1.1.2.41 +1 -14 libh/include/hui/Attic/HuiQtObjects.hh 1.1.2.66 +1 -10 libh/include/hui/Attic/HuiTVObjects.hh 1.23.2.12 +1 -11 libh/lib/hui/Hui.cd.cc 1.33.2.14 +1 -10 libh/lib/hui/HuiTVision_MenuButtonWidget.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 1:17:54 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id D908A37B405 for ; Sat, 8 Jun 2002 01:17:52 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id 5FFAE1742F; Sat, 8 Jun 2002 03:17:52 -0500 (CDT) From: Max Okumoto Date: Sat, 8 Jun 2002 03:17:52 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiQtObjects.hh HuiTVObjects.hh libh/lib/hui HuiQt.cc HuiTVision.cc HuiTVision_MenuBarWidget.cc Message-Id: <20020608081752.5FFAE1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/08 03:17:52 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiQtObjects.hh HuiTVObjects.hh lib/hui HuiQt.cc HuiTVision.cc HuiTVision_MenuBarWidget.cc Log: Cleanup menuBar for Qt Revision Changes Path 1.1.2.42 +1 -2 libh/include/hui/Attic/HuiQtObjects.hh 1.1.2.67 +5 -2 libh/include/hui/Attic/HuiTVObjects.hh 1.32.2.23 +4 -3 libh/lib/hui/HuiQt.cc 1.39.2.19 +17 -17 libh/lib/hui/HuiTVision.cc 1.33.2.10 +3 -3 libh/lib/hui/HuiTVision_MenuBarWidget.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 2: 4:50 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 7711537B401 for ; Sat, 8 Jun 2002 02:04:49 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id A30FF1742F; Sat, 8 Jun 2002 04:04:48 -0500 (CDT) From: Max Okumoto Date: Sat, 8 Jun 2002 04:04:48 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiQtObjects.hh HuiTVObjects.hh Message-Id: <20020608090448.A30FF1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/08 04:04:48 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiQtObjects.hh HuiTVObjects.hh Log: Change order to HuiQtObjects and HuiTVObjects are more alike. Revision Changes Path 1.1.2.43 +2 -2 libh/include/hui/Attic/HuiQtObjects.hh 1.1.2.68 +50 -50 libh/include/hui/Attic/HuiTVObjects.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 3: 9:20 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id C5A3E37B40A for ; Sat, 8 Jun 2002 03:09:18 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3030) id 1C0571742F; Sat, 8 Jun 2002 05:09:18 -0500 (CDT) From: Max Okumoto Date: Sat, 8 Jun 2002 05:09:18 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include/hui HuiQtObjects.hh HuiTVObjects.hh libh/lib/hui HuiTVision_ButtonsGroupWidget.cc HuiTVision_CheckBoxesWidget.cc HuiTVision_ContainerWidget.cc HuiTVision_DialogWidget.cc HuiTVision_GroupWidget.cc HuiTVision_ListBoxWidget.cc HuiTVision_RadioMenuWidget.cc HuiTVision_TextEditWidget.cc ... Message-Id: <20020608100918.1C0571742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG okumoto 2002/06/08 05:09:18 CDT Modified files: (Branch: HUI_CLEANUP_0) include/hui HuiQtObjects.hh HuiTVObjects.hh lib/hui HuiTVision_ButtonsGroupWidget.cc HuiTVision_CheckBoxesWidget.cc HuiTVision_ContainerWidget.cc HuiTVision_DialogWidget.cc HuiTVision_GroupWidget.cc HuiTVision_ListBoxWidget.cc HuiTVision_RadioMenuWidget.cc HuiTVision_TextEditWidget.cc HuiTVision_TitledWidget.cc HuiTVision_WindowWidget.cc Log: Cleanup tcluster() and tgroup() Revision Changes Path 1.1.2.44 +3 -3 libh/include/hui/Attic/HuiQtObjects.hh 1.1.2.69 +4 -35 libh/include/hui/Attic/HuiTVObjects.hh 1.35.2.13 +7 -5 libh/lib/hui/HuiTVision_ButtonsGroupWidget.cc 1.38.2.15 +2 -14 libh/lib/hui/HuiTVision_CheckBoxesWidget.cc 1.37.2.27 +5 -5 libh/lib/hui/HuiTVision_ContainerWidget.cc 1.34.2.19 +1 -7 libh/lib/hui/HuiTVision_DialogWidget.cc 1.37.2.31 +14 -11 libh/lib/hui/HuiTVision_GroupWidget.cc 1.35.2.21 +5 -3 libh/lib/hui/HuiTVision_ListBoxWidget.cc 1.36.2.15 +3 -14 libh/lib/hui/HuiTVision_RadioMenuWidget.cc 1.35.2.18 +4 -3 libh/lib/hui/HuiTVision_TextEditWidget.cc 1.36.2.19 +3 -2 libh/lib/hui/HuiTVision_TitledWidget.cc 1.35.2.22 +1 -7 libh/lib/hui/HuiTVision_WindowWidget.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 6:53:20 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 9A40337B40B for ; Sat, 8 Jun 2002 06:53:14 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 9B5A21742F; Sat, 8 Jun 2002 08:53:13 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 08:53:13 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: www progress.html Message-Id: <20020608135313.9B5A21742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 08:53:13 CDT Modified files: . progress.html Log: move the multiple language support task up one task we can do this Revision Changes Path 1.8 +8 -8 www/progress.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 6:56:11 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id A0DED37B401 for ; Sat, 8 Jun 2002 06:56:10 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 40F3A1742F; Sat, 8 Jun 2002 08:56:10 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 08:56:10 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: www progress.html Message-Id: <20020608135610.40F3A1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 08:56:10 CDT Modified files: . progress.html Log: oops.. remove the CITRUS note again. Revision Changes Path 1.9 +2 -1 www/progress.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 7: 1:28 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 2930C37B406 for ; Sat, 8 Jun 2002 07:01:27 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id C14D21742F; Sat, 8 Jun 2002 09:01:26 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 09:01:26 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: www progress.html Message-Id: <20020608140126.C14D21742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 09:01:26 CDT Modified files: . progress.html Log: link to the catgets(3) manpage Revision Changes Path 1.10 +1 -1 www/progress.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 7:31:33 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 017A037B406 for ; Sat, 8 Jun 2002 07:31:32 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 5C4CA1742F; Sat, 8 Jun 2002 09:31:31 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 09:31:31 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: www progress.html Message-Id: <20020608143131.5C4CA1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 09:31:31 CDT Modified files: . progress.html Log: I'm starting multiple language support stuff Revision Changes Path 1.11 +2 -2 www/progress.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 8: 2:12 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 33B2937B401 for ; Sat, 8 Jun 2002 08:02:11 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 5B8131742F; Sat, 8 Jun 2002 10:02:10 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 10:02:10 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include i18n.hh Config.hh Pointer.hh Message-Id: <20020608150210.5B8131742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 10:02:10 CDT Modified files: include Config.hh Pointer.hh Added files: include i18n.hh Log: move dummy catalog macro to a new i18n.hh file which will take care of such functinos Revision Changes Path 1.7 +1 -15 libh/include/Config.hh 1.10 +2 -1 libh/include/Pointer.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 9:51: 7 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts9-srv.bellnexxia.net (tomts9.bellnexxia.net [209.226.175.53]) by hub.freebsd.org (Postfix) with ESMTP id 33AC037B404 for ; Sat, 8 Jun 2002 09:51:03 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.178.175]) by tomts9-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020608165102.ESLM21842.tomts9-srv.bellnexxia.net@shall.anarcat.ath.cx> for ; Sat, 8 Jun 2002 12:51:02 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 15EE15 for ; Sat, 8 Jun 2002 12:55:30 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Sat, 8 Jun 2002 12:49:15 -0400 Date: Sat, 8 Jun 2002 12:49:15 -0400 From: The Anarcat To: Libh Subject: i18n tools Message-ID: <20020608164915.GA292@lenny.anarcat.ath.cx> Mail-Followup-To: The Anarcat , Libh Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/9DWx/yDrRhgMJTb" Content-Disposition: inline User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --/9DWx/yDrRhgMJTb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. I've read through the man pages of cat*(3) stuff and, well, I'm not sure it's suitable for libh. The reason is this: contrary to gettext, catgets(3) doesn't index the messages per string, but per a single msg_id (int): char * catgets(nl_catd catd, int set_id, int msg_id, const char *s); That would mean that translation calls would be made like this: catgets(catd, 0, x, "Monkey"); where x is an arbitrary number defined in the catalog file generated via gencat. So this would mean having either (a) arbitrary numbers for messages all around the place, or (b) making a header file containing macros to give proper names to these numbers. (a) is out of the question, of course, because of the size of the project. (b) is realizable, but still hard to manage anyhow. I thought at first that the -h option of gencat could do (b), but it seems it just generates 2 odd macros I didn't figure out yet: /* Use these Macros to compose and decompose setId's and msgId's */ #ifndef MCMakeId # define MCMakeId(s,m) (unsigned long)(((unsigned short)s<<(sizeof(short)*8= ))\ |(unsigned short)m) # define MCSetId(id) (unsigned int) (id >> (sizeof(short) * 8)) # define MCMsgId(id) (unsigned int) ((id << (sizeof(short) * 8))\ >> (sizeof(short) * 8)) #endif I guess those could be used to generate msg_ids from strings, but that doesn't make a lot of sense. So we have 3 alternatives to the system's i18n facilities: 1- use GNU gettext: one more dependency, and a GNU one, but tried-and-tested software that's easily scalable to our needs. 2- use Citrus project's BSD gettext replacement: not fully implemented, seems we would still need GNU gettext to generate the catalogs 3- make our own wrappers to catgets(3): would take time and create problems I'm open to suggestions. I'm not sure that going the catgets(3) direction is the easiest one, but it's a portable one, and we limit our dependencies this way. But we'll have a hell of a time implementing this one. I'm putting this thing back on hold until we have figured this out. A. --=20 The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he who, by peddling second-rate technology, led them into it in the first place. - Douglas Adams (1952-2001) --/9DWx/yDrRhgMJTb Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9AjWKttcWHAnWiGcRAuZSAJ9VqbFWAE0NmFt6WrfzRsXhkEfkEwCeJ+1r Pz72GQBhYBRAc0CU8WmKxX0= =GxRR -----END PGP SIGNATURE----- --/9DWx/yDrRhgMJTb-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 9:56:18 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id F28FD37B404 for ; Sat, 8 Jun 2002 09:56:15 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 0356D1742F; Sat, 8 Jun 2002 11:56:14 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 11:56:14 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: www progress.html Message-Id: <20020608165614.0356D1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 11:56:14 CDT Modified files: . progress.html Log: move multiple language support task back again: catgets(3) isn't useable enough for me, if anyone wants to take the task, please feel free Revision Changes Path 1.12 +10 -9 www/progress.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 9:57:46 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts16-srv.bellnexxia.net (tomts16.bellnexxia.net [209.226.175.4]) by hub.freebsd.org (Postfix) with ESMTP id 024B637B407 for ; Sat, 8 Jun 2002 09:57:43 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.178.175]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020608165742.UEIM13554.tomts16-srv.bellnexxia.net@shall.anarcat.ath.cx> for ; Sat, 8 Jun 2002 12:57:42 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 901B65 for ; Sat, 8 Jun 2002 13:02:10 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Sat, 8 Jun 2002 12:55:56 -0400 Date: Sat, 8 Jun 2002 12:55:56 -0400 From: The Anarcat To: libh@FreeBSD.org Subject: Re: cvs commit: www progress.html Message-ID: <20020608165556.GB292@lenny.anarcat.ath.cx> References: <20020608165614.0356D1742F@usw4.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="U+BazGySraz5kW0T" Content-Disposition: inline In-Reply-To: <20020608165614.0356D1742F@usw4.freebsd.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --U+BazGySraz5kW0T Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat Jun 08, 2002 at 11:56:14AM -0500, Antoine Beaupr=E9 wrote: > antoine 2002/06/08 11:56:14 CDT >=20 > Modified files: > . progress.html=20 > Log: > move multiple language support task back again: catgets(3) isn't > useable enough for me, if anyone wants to take the task, please feel > free That doesn't mean libh won't be i18n-ized. On the contrary. I suggest we wrap all messages with _() from now on. A. --=20 Imagination is more important than knowledge - Albert Einstein --U+BazGySraz5kW0T Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9AjcbttcWHAnWiGcRAmO8AJ9aBW1Jbiw2j2qtsClVf5WWbCUQZACdGPpc TmjlgpHXLRBXXzgruccTKQE= =xDNN -----END PGP SIGNATURE----- --U+BazGySraz5kW0T-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 10: 1:39 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts21-srv.bellnexxia.net (tomts21.bellnexxia.net [209.226.175.183]) by hub.freebsd.org (Postfix) with ESMTP id 61D8737B409; Sat, 8 Jun 2002 10:01:35 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.178.175]) by tomts21-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020608170134.WEEH54.tomts21-srv.bellnexxia.net@shall.anarcat.ath.cx>; Sat, 8 Jun 2002 13:01:34 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id 2499F5; Sat, 8 Jun 2002 13:06:03 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Sat, 8 Jun 2002 12:59:48 -0400 Date: Sat, 8 Jun 2002 12:59:48 -0400 From: The Anarcat To: Alexey Zelkin Cc: freebsd-libh@FreeBSD.org Subject: Re: cvs commit: www progress.html Message-ID: <20020608165948.GD292@lenny.anarcat.ath.cx> Mail-Followup-To: The Anarcat , Alexey Zelkin , freebsd-libh@FreeBSD.org References: <20020531033029.435CA17407@usw4.freebsd.org> <20020606192159.A22774@phantom.cris.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="sgneBHv3152wZ8jf" Content-Disposition: inline In-Reply-To: <20020606192159.A22774@phantom.cris.net> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --sgneBHv3152wZ8jf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu Jun 06, 2002 at 07:21:59PM +0300, Alexey Zelkin wrote: > hi, >=20 > Just took a look and have a question: Why=20 > Multilanguage support milstone is referencing to > Citrus project ? Citrus is NetBSD based project. > Or correctly to say FreeBSD based, but NetBSD oriented. NetBSD also features a gettext replacement, which we don't have. =20 > FreeBSD has enough infrastructure to i18n support And > actually has better multilanguage support comparing to > Net and Open BSDs (at least for single-byte charsets) Do you really mean using catgets(3)? I find it evil. A. --=20 The idea that Bill Gates has appeared like a knight in shining armour to lead all customers out of a mire of technological chaos neatly ignores the fact that it was he who, by peddling second-rate technology, led them into it in the first place. - Douglas Adams (1952-2001) --sgneBHv3152wZ8jf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9AjgEttcWHAnWiGcRAgefAJ9MoXLH+QAJ2jx+ZqZWWEUvK0yphQCgi2HT yk4nWizJQd5Xp0TuR1uqLJI= =ixbA -----END PGP SIGNATURE----- --sgneBHv3152wZ8jf-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 10: 5: 7 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id E138037B401 for ; Sat, 8 Jun 2002 10:05:05 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 5D2E41742F; Sat, 8 Jun 2002 12:05:05 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 12:05:05 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: www progress.html Message-Id: <20020608170505.5D2E41742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 12:05:05 CDT Modified files: . progress.html Log: remove question marks in responsible fields beside my name. if someone wants to step in to help, I expect they will Revision Changes Path 1.13 +5 -5 www/progress.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 10:19:48 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id C7C8B37B403 for ; Sat, 8 Jun 2002 10:19:47 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 3EAAA1742F; Sat, 8 Jun 2002 12:19:47 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 12:19:47 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020608171947.3EAAA1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 12:19:47 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: add ids to all section ending up in file so we get a bit more tolerable urls Revision Changes Path 1.45 +21 -21 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 10:41:53 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id A33AF37B404 for ; Sat, 8 Jun 2002 10:41:52 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 127041742F; Sat, 8 Jun 2002 12:41:52 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 12:41:52 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020608174152.127041742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 12:41:52 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: fill in the i18n chapter with current issues Revision Changes Path 1.46 +71 -1 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 10:43:28 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id E8D1437B400 for ; Sat, 8 Jun 2002 10:43:26 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 89F711742F; Sat, 8 Jun 2002 12:43:26 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 12:43:26 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020608174326.89F711742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 12:43:26 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: word fill and re-indent SYSTEM package section no content change Revision Changes Path 1.47 +15 -16 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 10:47:39 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 4402F37B406 for ; Sat, 8 Jun 2002 10:47:38 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id D535D1742F; Sat, 8 Jun 2002 12:47:37 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 12:47:37 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/dox dox.cfg Message-Id: <20020608174737.D535D1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 12:47:37 CDT Modified files: doc/dox dox.cfg Log: also extract private members since this is mainly for internal use right now Revision Changes Path 1.3 +2 -2 libh/doc/dox/dox.cfg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 12:32:49 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id DF6BD37B407 for ; Sat, 8 Jun 2002 12:32:47 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 1B5891742F; Sat, 8 Jun 2002 14:32:47 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 14:32:47 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/sysinstall Database.cc Message-Id: <20020608193247.1B5891742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 14:32:47 CDT Modified files: lib/sysinstall Database.cc Log: partially conform to SYSTEM package spec: - make the FreeBSD feature serial number be __FreeBSD_version - trim the -NAME off the FreeBSD feature version (4.5-STABLE becomes simply 4.5) consumers should rely on __FreeBSD_version rather than x.y-tag anyways. Revision Changes Path 1.8 +16 -2 libh/lib/sysinstall/Database.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 13: 7:42 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 87F5737B401 for ; Sat, 8 Jun 2002 13:07:41 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id E4A341742F; Sat, 8 Jun 2002 15:07:40 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 15:07:40 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/sysinstall Database.cc Message-Id: <20020608200740.E4A341742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 15:07:40 CDT Modified files: lib/sysinstall Database.cc Log: completely conform to SYSTEM package spec add SYSTEM feature to the SYSTEM package with the hardcoded libh version as version (for now) replace the old CPU/ARCH discovery code which wasn't working (uname -m never returns i586, for example) and simply make a new ARCH feature with the machine as name with 0/0/0 as vers/serial/snapshot Revision Changes Path 1.9 +3 -30 libh/lib/sysinstall/Database.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 13:25:10 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id AB11637B40A for ; Sat, 8 Jun 2002 13:25:09 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 0F99C1742F; Sat, 8 Jun 2002 15:25:09 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 15:25:09 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/sysinstall Database.cc Message-Id: <20020608202509.0F99C1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 15:25:09 CDT Modified files: lib/sysinstall Database.cc Log: partially backout 1.9, it created (or revealed) a bug where the SYSTEM package was added each time the db was open this commit puts the architecture handling back the way it was investigation underway Revision Changes Path 1.10 +30 -2 libh/lib/sysinstall/Database.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 14: 4:37 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 0087B37B403 for ; Sat, 8 Jun 2002 14:04:36 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 158541742F; Sat, 8 Jun 2002 16:04:35 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 16:04:35 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/sysinstall Database.cc Message-Id: <20020608210435.158541742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 16:04:35 CDT Modified files: lib/sysinstall Database.cc Log: correct fix for problem introduced in version 1.8: the problem was that the reference passed as argument in make_architecture_features() was not properly initialized. This is now fixed. Note that with these last commit, a full rebuild of the database might be required to get proper functionalities since features and versions of the SYSTEM packages have been bumped around endlessly. This commit should close the redesign of the SYSTEM package. Revision Changes Path 1.11 +3 -30 libh/lib/sysinstall/Database.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 14: 7:59 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id BDB9E37B400 for ; Sat, 8 Jun 2002 14:07:58 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 3597C1742F; Sat, 8 Jun 2002 16:07:58 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 16:07:58 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/sysinstall Database.cc Message-Id: <20020608210758.3597C1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 16:07:58 CDT Modified files: lib/sysinstall Database.cc Log: little whitespace cleanup and add a comment clarifying that section Revision Changes Path 1.12 +5 -6 libh/lib/sysinstall/Database.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 14:19:12 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id B4BDB37B406 for ; Sat, 8 Jun 2002 14:19:10 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 35E411742F; Sat, 8 Jun 2002 16:19:10 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 16:19:10 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/sysinstall Database.cc libh/include HVersion.hh Message-Id: <20020608211910.35E411742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 16:19:10 CDT Modified files: lib/sysinstall Database.cc Added files: include HVersion.hh Log: move versionning to a seperate file this creates a __LIBH_VERSION serial number that should be bumped when a critical change goes in and __LIBH_VERSION_STR which is the release number Revision Changes Path 1.13 +3 -2 libh/lib/sysinstall/Database.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 14:22:47 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 3BBB237B403 for ; Sat, 8 Jun 2002 14:22:45 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id D07721742F; Sat, 8 Jun 2002 16:22:44 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 16:22:44 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/lib/sysinstall Database.cc Message-Id: <20020608212244.D07721742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 16:22:44 CDT Modified files: lib/sysinstall Database.cc Log: add libh serial number to the SYSTEM feature Revision Changes Path 1.14 +2 -2 libh/lib/sysinstall/Database.cc To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 14:23:56 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id A93E837B401 for ; Sat, 8 Jun 2002 14:23:54 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id 553241742F; Sat, 8 Jun 2002 16:23:54 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 16:23:54 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/include i18n.hh Message-Id: <20020608212354.553241742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 16:23:54 CDT Modified files: include i18n.hh Log: add header file guards Revision Changes Path 1.2 +5 -2 libh/include/i18n.hh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 14:34: 6 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 412EC37B41A for ; Sat, 8 Jun 2002 14:33:59 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id DD9811742F; Sat, 8 Jun 2002 16:33:58 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 16:33:58 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: www progress.html Message-Id: <20020608213358.DD9811742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 16:33:58 CDT Modified files: . progress.html Log: i hereby declare the SYSTEM package task DONE! Revision Changes Path 1.14 +2 -2 www/progress.html To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 14:53:26 2002 Delivered-To: freebsd-libh@freebsd.org Received: from tomts15-srv.bellnexxia.net (tomts15.bellnexxia.net [209.226.175.3]) by hub.freebsd.org (Postfix) with ESMTP id B2B8937B40A for ; Sat, 8 Jun 2002 14:53:08 -0700 (PDT) Received: from shall.anarcat.ath.cx ([65.94.178.175]) by tomts15-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020608215307.VZHS3010.tomts15-srv.bellnexxia.net@shall.anarcat.ath.cx> for ; Sat, 8 Jun 2002 17:53:07 -0400 Received: from lenny.anarcat.ath.cx (lenny.anarcat.ath.cx [192.168.0.4]) by shall.anarcat.ath.cx (Postfix) with SMTP id B022D343 for ; Sat, 8 Jun 2002 17:57:31 -0400 (EDT) Received: by lenny.anarcat.ath.cx (sSMTP sendmail emulation); Sat, 8 Jun 2002 17:51:15 -0400 Date: Sat, 8 Jun 2002 17:51:15 -0400 From: The Anarcat To: libh@FreeBSD.org Subject: Re: cvs commit: libh/lib/sysinstall Database.cc libh/include HVersion.hh Message-ID: <20020608215115.GF292@lenny.anarcat.ath.cx> References: <20020608211910.35E411742F@usw4.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="eDB11BtaWSyaBkpc" Content-Disposition: inline In-Reply-To: <20020608211910.35E411742F@usw4.freebsd.org> User-Agent: Mutt/1.3.99i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --eDB11BtaWSyaBkpc Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat Jun 08, 2002 at 04:19:10PM -0500, Antoine Beaupr=E9 wrote: > antoine 2002/06/08 16:19:10 CDT >=20 > Modified files: > lib/sysinstall Database.cc=20 > Added files: > include HVersion.hh=20 > Log: > move versionning to a seperate file > =20 > this creates a __LIBH_VERSION serial number that should be bumped when a > critical change goes in and __LIBH_VERSION_STR which is the release > number I think a precision is in order: this commit affects the LIBH version (as in "0.2.2"), not the version of packages libh is responsible for (the "4" in netscape 4). Hope this sets things right. :) A. --=20 =46rom the age of uniformity, from the age of solitude, from the age of Big Brother, from the age of doublethink - greetings! --eDB11BtaWSyaBkpc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9AnxSttcWHAnWiGcRAn8gAKCHajhspOznjgfIisExnmjUABBj6QCfecXm qfHdhc7NgUpCF12f/xq8zvY= =bW0d -----END PGP SIGNATURE----- --eDB11BtaWSyaBkpc-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message From owner-freebsd-libh Sat Jun 8 15:10:29 2002 Delivered-To: freebsd-libh@freebsd.org Received: from usw4.freebsd.org (usw4.freebsd.org [209.180.6.228]) by hub.freebsd.org (Postfix) with ESMTP id 8436337B41A for ; Sat, 8 Jun 2002 15:09:52 -0700 (PDT) Received: by usw4.freebsd.org (Postfix, from userid 3028) id AE6FC1742F; Sat, 8 Jun 2002 17:09:51 -0500 (CDT) From: Antoine Beaupré Date: Sat, 8 Jun 2002 17:09:51 -0500 (CDT) To: libh@FreeBSD.org Subject: cvs commit: libh/doc/sysinstall2 sysinstall2.sgml Message-Id: <20020608220951.AE6FC1742F@usw4.freebsd.org> Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG antoine 2002/06/08 17:09:51 CDT Modified files: doc/sysinstall2 sysinstall2.sgml Log: mark the CPU SYSTEM feature as optional it is, after all, optional: a binary package can be compiled and ran on any CPU compatible with a given architecture Revision Changes Path 1.48 +1 -1 libh/doc/sysinstall2/sysinstall2.sgml To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message