From pisanid@hotmail.com Wed Sep 1 20:14:33 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id DCDD0750599 for ; Wed, 1 Sep 2010 20:14:33 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -100.509 X-Spam-Level: X-Spam-Status: No, score=-100.509 tagged_above=-999 required=2 tests=[BAYES_05=-0.5, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cj9A4KuA15JM for ; Wed, 1 Sep 2010 20:14:32 +0000 (UTC) X-Greylist: delayed 570 seconds by postgrey-1.32 at menubar.gnome.org; Wed, 01 Sep 2010 20:14:32 UTC Received: from bay0-omc1-s23.bay0.hotmail.com (bay0-omc1-s23.bay0.hotmail.com [65.54.190.34]) by menubar.gnome.org (Postfix) with ESMTP id 53C0C750561 for ; Wed, 1 Sep 2010 20:14:24 +0000 (UTC) Received: from BAY133-W20 ([65.54.190.61]) by bay0-omc1-s23.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 1 Sep 2010 13:04:52 -0700 Message-ID: Content-Type: multipart/alternative; boundary="_7a948001-bac9-4340-84ca-413dfa406541_" X-Originating-IP: [161.24.99.18] From: Daniel Pisani To: Subject: lp solve Date: Wed, 1 Sep 2010 20:04:52 +0000 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 01 Sep 2010 20:04:52.0835 (UTC) FILETIME=[F0B27330:01CB4A10] X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 20:14:34 -0000 --_7a948001-bac9-4340-84ca-413dfa406541_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Please=2C I'd like to install the lp_solve to use it as the algorithm to so= lve optimization problems. How do I do that? -------------------------- Daniel Dias=20 = --_7a948001-bac9-4340-84ca-413dfa406541_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Please=2C I'd like to install the lp_solve to use it as the algorithm to so= lve optimization problems.
How do I do that?

--------------------= ------ Daniel Dias

= --_7a948001-bac9-4340-84ca-413dfa406541_-- From mwelinder@gmail.com Wed Sep 1 20:33:39 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6C8EB75059D for ; Wed, 1 Sep 2010 20:33:39 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N7ysW-yUcS6C for ; Wed, 1 Sep 2010 20:33:36 +0000 (UTC) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by menubar.gnome.org (Postfix) with ESMTP id 86D7975056A for ; Wed, 1 Sep 2010 20:33:27 +0000 (UTC) Received: by ewy4 with SMTP id 4so6086821ewy.27 for ; Wed, 01 Sep 2010 13:33:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=a9dN8OGkkozQ4rOOvIJP7xQzU7IqaBdWczy4iCSUM6E=; b=pjE6VEhBZeNOM+zLVAsCJDqfQ1CM+tJWrfMSaj8cbYhOljHlLTs/0vlwVa0TzSZT1J skuTz9EVQrgYSRfoxjyhBGNAa2atJSGI8oKsdEQzPB53G97yDVMsPNl3Szd/e6OquTG5 4We7iMuahyuNrQVl81SnlsOFdfFLIZDe6zamM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=w0BA7SSc8piEkyq/rJtlt9Vw1gFog2XIZy6kXJeRDE3R9QHq4tOgo0a7lKAx8vMfrX cVga5L6favyZ5an0duQf9tybgPtFAhExe7Nup/xy79Gh51KRdA60rfGH4o9Y9hDezg8b 7byOHY0tNnX8IO9MLAL83M5AIWset7JyxCRnk= MIME-Version: 1.0 Received: by 10.213.11.16 with SMTP id r16mr12580692ebr.78.1283373205545; Wed, 01 Sep 2010 13:33:25 -0700 (PDT) Sender: mwelinder@gmail.com Received: by 10.213.4.130 with HTTP; Wed, 1 Sep 2010 13:33:25 -0700 (PDT) In-Reply-To: References: Date: Wed, 1 Sep 2010 16:33:25 -0400 X-Google-Sender-Auth: 3ill-UfMX4ilbNUunlrxWOmj7v8 Message-ID: Subject: Re: lp solve From: Morten Welinder To: Daniel Pisani Content-Type: text/plain; charset=ISO-8859-1 Cc: gnumeric-list@gnome.org X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Sep 2010 20:33:39 -0000 > Please, I'd like to install the lp_solve to use it as the algorithm to solve > optimization problems. > How do I do that? That depends on what OS you are using. If it is Linux, then your distribution probably has it and you just install from there. For other OSs, go to http://sourceforge.net/projects/lpsolve/ Morten From jonn@openismus.com Thu Sep 2 10:58:22 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 304D3750726 for ; Thu, 2 Sep 2010 10:58:22 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.387 X-Spam-Level: X-Spam-Status: No, score=-3.387 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, T_FRT_FOLLOW1=0.01, T_FRT_FOLLOW2=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9Ir4SSrYc1xn for ; Thu, 2 Sep 2010 10:58:20 +0000 (UTC) Received: from mail.openismus.com (unknown [85.183.48.167]) by menubar.gnome.org (Postfix) with ESMTP id B59667506C5 for ; Thu, 2 Sep 2010 10:58:11 +0000 (UTC) Received: from [192.168.0.111] (unknown [85.183.48.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.openismus.com (Postfix) with ESMTPSA id 4E4121018124 for ; Thu, 2 Sep 2010 12:58:09 +0200 (CEST) Subject: Goffice: Axis labels and other text elements From: Jon Nordby To: gnumeric-list@gnome.org Content-Type: text/plain; charset="UTF-8" Date: Thu, 02 Sep 2010 12:58:08 +0200 Message-ID: <1283425088.17750.160.camel@jon-workstation> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 (2.30.2-4.fc13) Content-Transfer-Encoding: 7bit X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 10:58:22 -0000 I want to add labels to the x and y axis of an AreaPlot. I suspect this folllows the same idiom as for adding a title (which is show in tests/pie-demo.c), but what is the name(s) to add as? Also, how can I add several "titles" to a plot? I'd like to have a main title and a subtitle, or something equivalent. Playing with gnumeric shows that the position of a "text element", like a title or a axis label can configured fairly extensively. How can I do this using the GOffice APIs? -- Regards Jon Nordby - www.jonnor.com Openismus GmbH - www.openismus.com From jean.brefort@normalesup.org Thu Sep 2 13:16:38 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 0CEF2750723 for ; Thu, 2 Sep 2010 13:16:38 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.101 X-Spam-Level: X-Spam-Status: No, score=-1.101 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.779, T_FRT_FOLLOW1=0.01, T_FRT_FOLLOW2=0.01] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fSWUN3xHFc7Y for ; Thu, 2 Sep 2010 13:16:36 +0000 (UTC) Received: from smtp1-g21.free.fr (smtp1-g21.free.fr [212.27.42.1]) by menubar.gnome.org (Postfix) with ESMTP id B9EF1750714 for ; Thu, 2 Sep 2010 13:16:25 +0000 (UTC) Received: from [192.168.0.15] (unknown [88.172.65.1]) by smtp1-g21.free.fr (Postfix) with ESMTP id 7D2329400A6; Thu, 2 Sep 2010 15:16:17 +0200 (CEST) Subject: Re: Goffice: Axis labels and other text elements From: Jean Brefort To: Jon Nordby In-Reply-To: <1283425088.17750.160.camel@jon-workstation> References: <1283425088.17750.160.camel@jon-workstation> Content-Type: text/plain; charset="UTF-8" Date: Thu, 02 Sep 2010 15:17:33 +0200 Message-ID: <1283433453.2350.12.camel@acer.brefort.fr> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit Cc: gnumeric-list@gnome.org X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Sep 2010 13:16:38 -0000 Le jeudi 02 septembre 2010 à 12:58 +0200, Jon Nordby a écrit : > I want to add labels to the x and y axis of an AreaPlot. I suspect this > folllows the same idiom as for adding a title (which is show in > tests/pie-demo.c), but what is the name(s) to add as? GogObject *label = gog_object_add_by_name (GOG_OBJECT (axis), "Label", NULL); More generally, you can look at the 'static GogObjectRole const roles[]' in the *_class_init() function for the appropriate class. > Also, how can I add several "titles" to a plot? I'd like to have a main > title and a subtitle, or something equivalent. You can add as many titles as you want in the same way you add the first title. This is also true for axis labels. > Playing with gnumeric shows that the position of a "text element", like > a title or a axis label can configured fairly extensively. How can I do > this using the GOffice APIs? > gboolean gog_object_set_position_flags (GogObject *obj, GogObjectPosition flags, GogObjectPosition mask); void gog_object_set_manual_position (GogObject *obj, GogViewAllocation const *pos); From mwelinder@gmail.com Sun Sep 5 18:45:42 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 45FA87500CB; Sun, 5 Sep 2010 18:45:42 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xJdwLwGJ2twT; Sun, 5 Sep 2010 18:45:40 +0000 (UTC) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by menubar.gnome.org (Postfix) with ESMTP id BF987750072; Sun, 5 Sep 2010 18:45:31 +0000 (UTC) Received: by ewy4 with SMTP id 4so2455955ewy.27 for ; Sun, 05 Sep 2010 11:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=queinVofOhHVu1z5Vuj+rXZS5H9Sw6lQB33R7TdhLa4=; b=gdtcyozHHQC1VghAbFWobu0ponTlQeFu9g2a2Fsvhn6QZ7lYr7Y65oegguI/vGtNpz 9igxXG90UvTnrEaCMv5UY0G/0DE10WG7TmYwqyTkwidWCK5rxuK/b7Ql3LiILIK6r447 5a4s6deHpj0gx5OKwZyQFDPDGbmPrxUgnx0jo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=BNqhKcvPDfzN/kkTTMlSrgKs+J6zw2uK5tBkICei4dgInlLwhIIPocNhNus/E0GLQF OgrNX360b64IW6zRcVLT16X/FtkmWIx1g9zhbq1S/IoR03YXULiMfHKtIKOeFknmyd55 t0PVGfxfg/eFc83Yzz9dYJChZvzBM5JOiB/As= MIME-Version: 1.0 Received: by 10.213.10.201 with SMTP id q9mr907860ebq.66.1283712329476; Sun, 05 Sep 2010 11:45:29 -0700 (PDT) Sender: mwelinder@gmail.com Received: by 10.213.4.130 with HTTP; Sun, 5 Sep 2010 11:45:29 -0700 (PDT) Date: Sun, 5 Sep 2010 14:45:29 -0400 X-Google-Sender-Auth: GXu2savmaO16tl6E38m9LySRLjw Message-ID: Subject: Gnumeric 1.10.10 Released From: Morten Welinder To: Gnumeric Mailing List , Gnome Announcement List Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2010 18:45:42 -0000 Free, Fast, Accurate -- Pick Any Three! The Gnumeric Team is pleased to announce the availability of Gnumeric version 1.10.10. This is a stable-series release and requires the concurrently released Goffice 0.8.10. Users of of Gnumeric version 1.10.x are encouraged to update. Noteworthy news in this release: * ODF import/export greatly improved. (Note, though that Gnumeric is probably the only ODF reader that can handle all the graphs we export.) * Graph fixes. For details, see http://projects.gnome.org/gnumeric/announcements/1.10/gnumeric-1.10.10.shtml Availability: http://projects.gnome.org/gnumeric/index.shtml Morten Welinder On behalf of the team From jonn@openismus.com Wed Sep 8 14:24:01 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id E2EAF750B18 for ; Wed, 8 Sep 2010 14:24:00 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.33 X-Spam-Level: X-Spam-Status: No, score=-3.33 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ez79igd8vKZy for ; Wed, 8 Sep 2010 14:23:59 +0000 (UTC) Received: from mail.openismus.com (unknown [85.183.48.167]) by menubar.gnome.org (Postfix) with ESMTP id C7BEE750AE6 for ; Wed, 8 Sep 2010 14:23:50 +0000 (UTC) Received: from [192.168.0.111] (unknown [85.183.48.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.openismus.com (Postfix) with ESMTPSA id 7412710180F0 for ; Wed, 8 Sep 2010 16:23:48 +0200 (CEST) Subject: GOffice: What should introduction documentation contain? From: Jon Nordby To: gnumeric-list@gnome.org Content-Type: text/plain; charset="UTF-8" Date: Wed, 08 Sep 2010 16:23:48 +0200 Message-ID: <1283955828.28528.47.camel@jon-workstation> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 (2.30.3-1.fc13) Content-Transfer-Encoding: 7bit X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2010 14:24:01 -0000 I'm intend to write some short introduction/high-level documentation for GOffice and add it to the existing gtk-doc based documentation. Here are the topics that I'm hoping to cover (small page for each section): Introduction: Purpose and scope of the library History - just mention that the code was previously in gnumeric? Status - functionality, API/ABI stability, bindings? Related projects - libgsf. Gnumeric and Gnucash uses it Concepts: Plug-ins Graph / document object hierarchy Extensive use of abstract classes Examples: How to create a graph and add data to it How to add legend, titles, labels to a plot Any other topics that should be covered? Note that I'm going to have to ask for help in writing and reviewing, as I'm very new to GOffice. -- Regards Jon Nordby - www.jonnor.com Openismus GmbH - www.openismus.com From jean.brefort@normalesup.org Wed Sep 8 15:58:08 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 5A6D2750A9E for ; Wed, 8 Sep 2010 15:58:08 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.044 X-Spam-Level: X-Spam-Status: No, score=-1.044 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.779, TW_GT=0.077] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VK8hreSeqJS1 for ; Wed, 8 Sep 2010 15:58:04 +0000 (UTC) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by menubar.gnome.org (Postfix) with ESMTP id AA3DA750539 for ; Wed, 8 Sep 2010 15:57:53 +0000 (UTC) Received: from [192.168.0.10] (unknown [82.227.215.241]) by smtp4-g21.free.fr (Postfix) with ESMTP id 7289A4C810B; Wed, 8 Sep 2010 17:57:47 +0200 (CEST) Subject: Re: GOffice: What should introduction documentation contain? From: Jean =?ISO-8859-1?Q?Br=E9fort?= To: Jon Nordby In-Reply-To: <1283955828.28528.47.camel@jon-workstation> References: <1283955828.28528.47.camel@jon-workstation> Content-Type: text/plain; charset="UTF-8" Date: Wed, 08 Sep 2010 17:56:27 +0200 Message-ID: <1283961387.5080.5.camel@athlon.brefort.fr> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 8bit Cc: gnumeric-list@gnome.org X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Sep 2010 15:58:08 -0000 Le mercredi 08 septembre 2010 à 16:23 +0200, Jon Nordby a écrit : > I'm intend to write some short introduction/high-level documentation for > GOffice and add it to the existing gtk-doc based documentation. > Nice :-) > Here are the topics that I'm hoping to cover (small page for each > section): > > Introduction: > Purpose and scope of the library > History - just mention that the code was previously in gnumeric? > Status - functionality, API/ABI stability, bindings? > Related projects - libgsf. Gnumeric and Gnucash uses it Abiword (http://www.abisource.com) optionally uses it, and GChemUtils (http://gchemutils.nongnu.org) uses it too. > Concepts: > Plug-ins > Graph / document object hierarchy > Extensive use of abstract classes > > Examples: > How to create a graph and add data to it > How to add legend, titles, labels to a plot > > Any other topics that should be covered? May be the canvas? > Note that I'm going to have to ask for help in writing and reviewing, as > I'm very new to GOffice. You are welcome, of course. You can also join us on irc. Cheers, Jean From phansi.work@gmail.com Tue Sep 14 12:50:31 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 72A7E7501A1 for ; Tue, 14 Sep 2010 12:50:31 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.22 X-Spam-Level: X-Spam-Status: No, score=-1.22 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=0.77, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ktT-BD+8XjKe for ; Tue, 14 Sep 2010 12:50:29 +0000 (UTC) Received: from mail-ww0-f46.google.com (mail-ww0-f46.google.com [74.125.82.46]) by menubar.gnome.org (Postfix) with ESMTP id D3782750129 for ; Tue, 14 Sep 2010 12:50:19 +0000 (UTC) Received: by wwb13 with SMTP id 13so6456wwb.27 for ; Tue, 14 Sep 2010 05:50:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:x-mailer:mime-version:content-type :content-transfer-encoding; bh=zUfHdQZZQ+d1jzOOADqDoiVItVRygVlhwUdWcZaqcXc=; b=NAgoEYZGwcHYYrBcV3mU2acAtq2q7uTkXRbc0gWjwgm/ddFCdWXNKoVzh4bKSMwc2f IDTvGvvEvruzXIOtgh6Aqukxm39LLDYaog1C1kIjXvppoUlx2vOTcxJ+l0QdoSPPGwVW W0kRDDzSOIit/cLcseFAtRZALTA+iLQfEchtQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:x-mailer:mime-version:content-type :content-transfer-encoding; b=GmfrRe7YYS6cM++YFm40Qw9xbB7XbB4Lhb3Psiw/Ri4ncb2LJ2KwtAvHkso5mlmBqy IvKdLveaVxMsvkq7/76DAAkAxNukSuTWSfHArmOZlbmG0oi/L2OTkCzwC1rYLCgkdNCT BTV7zfD1fdFBMNk1U7M1MBQ+8WmBelkKbFR1I= Received: by 10.227.157.17 with SMTP id z17mr943248wbw.122.1284468617319; Tue, 14 Sep 2010 05:50:17 -0700 (PDT) Received: from sharpe ([117.195.37.209]) by mx.google.com with ESMTPS id b23sm129205wbb.16.2010.09.14.05.50.13 (version=SSLv3 cipher=RC4-MD5); Tue, 14 Sep 2010 05:50:15 -0700 (PDT) Message-ID: <4c8f6f87.1707e30a.4bc7.0a7c@mx.google.com> Date: Tue, 14 Sep 2010 05:50:15 -0700 (PDT) From: Phansi To: gnumeric-list@gnome.org Subject: Executing python code from a gnumeric sheet X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Sep 2010 12:50:31 -0000 I wonder whether this is worth anything? For small bits of code. Code (properly formatted) in the first column. Stops when it sees an END. import Gnumeric def exec_sheet_obj(codeSheetObj): # Initialise codeStr = "" rowNum = 0 # Get the code while (True): # Get the current line of possible code currStr = codeSheetObj.cell_fetch(0, rowNum).get_value() # Append if legal, stop if we see END (do not include it) if (currStr == "END"): break elif (currStr): # No empty strings (and comments) if (currStr.strip() != "" and currStr[0] != "#"): codeStr += currStr + "\n" rowNum += 1 # Execute code in its own environment. if (codeStr != ""): codeObj = compile(codeStr, "", "exec") exec(codeObj, {}, {}) return def exec_sheet_name(sheetName): codeSheetObj = None # No way to access sheets so we are stuck with the first. workBook = Gnumeric.workbooks()[0] # Get sheet object for sheet in workBook.sheets(): if sheet.get_name_unquoted() == sheetName: codeSheetObj = sheet if (codeSheetObj): exec_sheet_obj(codeSheetObj) return Apologies if this is not the correct list, or this is too stupid, insecure, whatever to bother with. You have to run it from the inbuilt python console, as a plugin it is a mess. cheers phansi From jonn@openismus.com Wed Sep 15 09:47:54 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 8CCF5750478 for ; Wed, 15 Sep 2010 09:47:53 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.387 X-Spam-Level: X-Spam-Status: No, score=-3.387 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, T_FRT_FOLLOW1=0.01, T_FRT_FOLLOW2=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J555IGsiSI66 for ; Wed, 15 Sep 2010 09:47:51 +0000 (UTC) Received: from mail.openismus.com (unknown [85.183.48.167]) by menubar.gnome.org (Postfix) with ESMTP id DEC50750B72 for ; Wed, 15 Sep 2010 09:47:42 +0000 (UTC) Received: from [192.168.0.111] (unknown [85.183.48.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.openismus.com (Postfix) with ESMTPSA id 03AE31044002 for ; Wed, 15 Sep 2010 11:47:40 +0200 (CEST) Subject: Re: Goffice: Axis labels and other text elements From: Jon Nordby To: gnumeric-list@gnome.org In-Reply-To: <1283433453.2350.12.camel@acer.brefort.fr> References: <1283425088.17750.160.camel@jon-workstation> <1283433453.2350.12.camel@acer.brefort.fr> Content-Type: text/plain; charset="UTF-8" Date: Wed, 15 Sep 2010 11:47:39 +0200 Message-ID: <1284544059.14549.8.camel@jon-workstation> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 (2.30.3-1.fc13) Content-Transfer-Encoding: 8bit X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 09:47:55 -0000 On Thu, 2010-09-02 at 15:17 +0200, Jean Brefort wrote: > Le jeudi 02 septembre 2010 à 12:58 +0200, Jon Nordby a écrit : > > I want to add labels to the x and y axis of an AreaPlot. I suspect this > > folllows the same idiom as for adding a title (which is show in > > tests/pie-demo.c), but what is the name(s) to add as? > > GogObject *label = gog_object_add_by_name (GOG_OBJECT (axis), "Label", NULL); > > More generally, you can look at the 'static GogObjectRole const roles[]' > in the *_class_init() function for the appropriate class. > This is essentially a part of the API, so shouldn't this be part of the API documentation? Is anything major preventing that? -- Regards Jon Nordby - www.jonnor.com Openismus GmbH - www.openismus.com From jean.brefort@normalesup.org Wed Sep 15 10:05:31 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id C56F3750443 for ; Wed, 15 Sep 2010 10:05:31 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.024 X-Spam-Level: X-Spam-Status: No, score=-1.024 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.779, TW_GT=0.077, T_FRT_FOLLOW1=0.01, T_FRT_FOLLOW2=0.01] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k1DMlsd+UH6x for ; Wed, 15 Sep 2010 10:05:27 +0000 (UTC) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by menubar.gnome.org (Postfix) with ESMTP id 141EB7501DD for ; Wed, 15 Sep 2010 10:05:17 +0000 (UTC) Received: from [192.168.0.10] (unknown [82.227.215.241]) by smtp4-g21.free.fr (Postfix) with ESMTP id 37DA14C80D7; Wed, 15 Sep 2010 12:05:10 +0200 (CEST) Subject: Re: Goffice: Axis labels and other text elements From: Jean =?ISO-8859-1?Q?Br=E9fort?= To: Jon Nordby In-Reply-To: <1284544059.14549.8.camel@jon-workstation> References: <1283425088.17750.160.camel@jon-workstation> <1283433453.2350.12.camel@acer.brefort.fr> <1284544059.14549.8.camel@jon-workstation> Content-Type: text/plain; charset="UTF-8" Date: Wed, 15 Sep 2010 12:05:25 +0200 Message-ID: <1284545125.2373.0.camel@athlon.brefort.fr> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 8bit Cc: gnumeric-list@gnome.org X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 10:05:32 -0000 I think we need to find some way to document available roles for each class. Unfortunately, gtk-doc does not help a lot. Le mercredi 15 septembre 2010 à 11:47 +0200, Jon Nordby a écrit : > On Thu, 2010-09-02 at 15:17 +0200, Jean Brefort wrote: > > Le jeudi 02 septembre 2010 à 12:58 +0200, Jon Nordby a écrit : > > > I want to add labels to the x and y axis of an AreaPlot. I suspect this > > > folllows the same idiom as for adding a title (which is show in > > > tests/pie-demo.c), but what is the name(s) to add as? > > > > GogObject *label = gog_object_add_by_name (GOG_OBJECT (axis), "Label", NULL); > > > > More generally, you can look at the 'static GogObjectRole const roles[]' > > in the *_class_init() function for the appropriate class. > > > This is essentially a part of the API, so shouldn't this be part of the > API documentation? Is anything major preventing that? > From jonn@openismus.com Wed Sep 15 12:42:04 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 6B07175096A for ; Wed, 15 Sep 2010 12:42:04 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.33 X-Spam-Level: X-Spam-Status: No, score=-3.33 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c2w1SPbfsCqJ for ; Wed, 15 Sep 2010 12:41:58 +0000 (UTC) Received: from mail.openismus.com (unknown [85.183.48.167]) by menubar.gnome.org (Postfix) with ESMTP id 84777750478 for ; Wed, 15 Sep 2010 12:41:50 +0000 (UTC) Received: from [192.168.0.111] (unknown [85.183.48.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.openismus.com (Postfix) with ESMTPSA id CFE411044002 for ; Wed, 15 Sep 2010 14:41:47 +0200 (CEST) Subject: Re: Goffice: Axis labels and other text elements From: Jon Nordby To: gnumeric-list@gnome.org In-Reply-To: <1284545125.2373.0.camel@athlon.brefort.fr> References: <1283425088.17750.160.camel@jon-workstation> <1283433453.2350.12.camel@acer.brefort.fr> <1284544059.14549.8.camel@jon-workstation> <1284545125.2373.0.camel@athlon.brefort.fr> Content-Type: text/plain; charset="UTF-8" Date: Wed, 15 Sep 2010 14:41:47 +0200 Message-ID: <1284554507.14549.36.camel@jon-workstation> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 (2.30.3-1.fc13) Content-Transfer-Encoding: 8bit X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 12:42:04 -0000 On Wed, 2010-09-15 at 12:05 +0200, Jean Bréfort wrote: > I think we need to find some way to document available roles for each > class. Unfortunately, gtk-doc does not help a lot. > No, I guess default gtk-doc don't really document the content of arrays (thats how the roles are defined). It might be possible to extend it to do this though. If not, is there any other sane way we could define these roles so that gtk-doc can pick them up? What aspects of each role are important to document in the API reference? Is the idenfitier and type enough? -- Regards Jon Nordby - www.jonnor.com Openismus GmbH - www.openismus.com From jonn@openismus.com Wed Sep 15 13:23:35 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 0336375096A for ; Wed, 15 Sep 2010 13:23:35 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.33 X-Spam-Level: X-Spam-Status: No, score=-3.33 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6sjZwBMaPHB7 for ; Wed, 15 Sep 2010 13:23:33 +0000 (UTC) Received: from mail.openismus.com (unknown [85.183.48.167]) by menubar.gnome.org (Postfix) with ESMTP id DD88F750478 for ; Wed, 15 Sep 2010 13:23:24 +0000 (UTC) Received: from [192.168.0.111] (unknown [85.183.48.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.openismus.com (Postfix) with ESMTPSA id A885B1044002; Wed, 15 Sep 2010 15:23:22 +0200 (CEST) Subject: Re: GOffice: What should introduction documentation contain? From: Jon Nordby To: Jean =?ISO-8859-1?Q?Br=E9fort?= In-Reply-To: <1283961387.5080.5.camel@athlon.brefort.fr> References: <1283955828.28528.47.camel@jon-workstation> <1283961387.5080.5.camel@athlon.brefort.fr> Content-Type: text/plain; charset="UTF-8" Date: Wed, 15 Sep 2010 15:23:22 +0200 Message-ID: <1284557002.14549.61.camel@jon-workstation> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 (2.30.3-1.fc13) Content-Transfer-Encoding: 8bit Cc: gnumeric-list@gnome.org X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 13:23:35 -0000 On Wed, 2010-09-08 at 17:56 +0200, Jean Bréfort wrote: > Le mercredi 08 septembre 2010 à 16:23 +0200, Jon Nordby a écrit : > > I'm intend to write some short introduction/high-level documentation for > > GOffice and add it to the existing gtk-doc based documentation. > > > > > > Any other topics that should be covered? > > May be the canvas? I must confess that I do not grasp what the canvas is about, so I will be limiting myself to the graph stuff, which I have at least touched. Hopefully someone else can cover the canvas? It doesnt have to be long. Please note that we still have slots open for the Documentation Hackfest in Berlin, http://live.gnome.org/Hackfests/DevDocTools Great excuse to travel a bit and improve GNOME? ;) -- Regards Jon Nordby - www.jonnor.com Openismus GmbH - www.openismus.com From jean.brefort@free.fr Wed Sep 15 13:48:33 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 4B57C750B9F for ; Wed, 15 Sep 2010 13:48:33 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.822 X-Spam-Level: X-Spam-Status: No, score=-1.822 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xyJQRvQj+ZTI for ; Wed, 15 Sep 2010 13:48:26 +0000 (UTC) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by menubar.gnome.org (Postfix) with ESMTP id 114AD750B76 for ; Wed, 15 Sep 2010 13:48:15 +0000 (UTC) Received: from [192.168.0.10] (unknown [82.227.215.241]) by smtp4-g21.free.fr (Postfix) with ESMTP id 3C6164C8037; Wed, 15 Sep 2010 15:48:09 +0200 (CEST) Subject: Re: Goffice: Axis labels and other text elements From: Jean =?ISO-8859-1?Q?Br=E9fort?= To: Jon Nordby In-Reply-To: <1284554507.14549.36.camel@jon-workstation> References: <1283425088.17750.160.camel@jon-workstation> <1283433453.2350.12.camel@acer.brefort.fr> <1284544059.14549.8.camel@jon-workstation> <1284545125.2373.0.camel@athlon.brefort.fr> <1284554507.14549.36.camel@jon-workstation> Content-Type: text/plain; charset="UTF-8" Date: Wed, 15 Sep 2010 15:48:25 +0200 Message-ID: <1284558505.2373.4.camel@athlon.brefort.fr> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 8bit Cc: gnumeric-list@gnome.org X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 13:48:33 -0000 Le mercredi 15 septembre 2010 à 14:41 +0200, Jon Nordby a écrit : > On Wed, 2010-09-15 at 12:05 +0200, Jean Bréfort wrote: > > I think we need to find some way to document available roles for each > > class. Unfortunately, gtk-doc does not help a lot. > > > No, I guess default gtk-doc don't really document the content of arrays > (thats how the roles are defined). It might be possible to extend it to > do this though. If not, is there any other sane way we could define > these roles so that gtk-doc can pick them up? The only way I see is using
....
html tags in the comments. > What aspects of each role are important to document in the API > reference? Is the idenfitier and type enough? I think that minimum and maximum number are good candidates. From jonn@openismus.com Wed Sep 15 19:08:09 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 5476B750180 for ; Wed, 15 Sep 2010 19:08:09 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.33 X-Spam-Level: X-Spam-Status: No, score=-3.33 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793, TW_GT=0.077] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tb5VAcGuV4Xw for ; Wed, 15 Sep 2010 19:08:04 +0000 (UTC) Received: from mail.openismus.com (unknown [85.183.48.167]) by menubar.gnome.org (Postfix) with ESMTP id 027287500DC for ; Wed, 15 Sep 2010 19:07:55 +0000 (UTC) Received: from [192.168.0.111] (unknown [85.183.48.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.openismus.com (Postfix) with ESMTPSA id 4EF7D1044002 for ; Wed, 15 Sep 2010 21:07:53 +0200 (CEST) Subject: Re: GOffice: What should introduction documentation contain? From: Jon Nordby To: gnumeric-list@gnome.org In-Reply-To: <1283955828.28528.47.camel@jon-workstation> References: <1283955828.28528.47.camel@jon-workstation> Content-Type: multipart/mixed; boundary="=-LF5g7l9qZECKaU+u4ORz" Date: Wed, 15 Sep 2010 21:07:52 +0200 Message-ID: <1284577672.14549.74.camel@jon-workstation> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 (2.30.3-1.fc13) X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 19:08:09 -0000 --=-LF5g7l9qZECKaU+u4ORz Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2010-09-08 at 16:23 +0200, Jon Nordby wrote: > I'm intend to write some short introduction/high-level documentation for > GOffice and add it to the existing gtk-doc based documentation. > Attached is some initial patches, please review. Note that I don't have GNOME git access, so just push it if it looks good. On my TODO list: - API docs for the things I found unclear when using the library - Example code for most-used parts of graph API Hopefully we can also solve how to document roles and the names/properties of the default plot implementations. With those things solved, we should have a workable experience for users who want to do simple graph stuff with GOffice. I'm on holidays untill monday, so I might not respond before then. -- Regards Jon Nordby - www.jonnor.com Openismus GmbH - www.openismus.com --=-LF5g7l9qZECKaU+u4ORz Content-Disposition: attachment; filename="0001-Docs-GogText-is-an-abstract-class.patch" Content-Type: text/x-patch; name="0001-Docs-GogText-is-an-abstract-class.patch"; charset="UTF-8" Content-Transfer-Encoding: 7bit >From 042e92ddc667df74177bec26bf3b3cc750e7479c Mon Sep 17 00:00:00 2001 From: Jon Nordby Date: Wed, 15 Sep 2010 16:43:41 +0200 Subject: [PATCH 1/2] Docs: GogText is an abstract class --- docs/reference/goffice-docs.sgml | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/docs/reference/goffice-docs.sgml b/docs/reference/goffice-docs.sgml index e3384fe..af072f2 100644 --- a/docs/reference/goffice-docs.sgml +++ b/docs/reference/goffice-docs.sgml @@ -9,7 +9,6 @@ Goffice Reference Manual For goffice &version; - Graphs @@ -25,7 +24,6 @@ - Abstract Base Classes @@ -40,6 +38,7 @@ + Utilities -- 1.7.2.2 --=-LF5g7l9qZECKaU+u4ORz Content-Disposition: attachment; filename="0002-Docs-Introduction-to-GOffice-and-graphs.patch" Content-Type: text/x-patch; name="0002-Docs-Introduction-to-GOffice-and-graphs.patch"; charset="UTF-8" Content-Transfer-Encoding: 7bit >From 5dbd1e0e80209a8d38e1b4eebab478022ef509ce Mon Sep 17 00:00:00 2001 From: Jon Nordby Date: Wed, 15 Sep 2010 18:38:36 +0200 Subject: [PATCH 2/2] Docs: Introduction to GOffice and graphs Adds documentation about GOffice in general, and descriptions to the most relevant objects in the graph API. --- docs/reference/goffice-docs.sgml | 4 ++- goffice/goffice.c | 11 ++++++++++ goffice/goffice.h | 39 ++++++++++++++++++++++++++++++++++++++ goffice/graph/gog-axis.h | 10 +++++++++ goffice/graph/gog-chart.h | 9 ++++++++ goffice/graph/gog-graph.h | 14 +++++++++++++ goffice/graph/gog-label.h | 8 +++++++ goffice/graph/gog-legend.h | 8 +++++++ goffice/graph/gog-object.h | 18 +++++++++++++++++ goffice/graph/gog-plot.h | 15 ++++++++++++++ goffice/graph/gog-renderer.h | 8 +++++++ goffice/graph/gog-series.h | 7 ++++++ 12 files changed, 150 insertions(+), 1 deletions(-) diff --git a/docs/reference/goffice-docs.sgml b/docs/reference/goffice-docs.sgml index af072f2..844f219 100644 --- a/docs/reference/goffice-docs.sgml +++ b/docs/reference/goffice-docs.sgml @@ -9,6 +9,9 @@ Goffice Reference Manual For goffice &version; + + + Graphs @@ -194,7 +197,6 @@ - diff --git a/goffice/goffice.c b/goffice/goffice.c index 01addbd..7226e07 100644 --- a/goffice/goffice.c +++ b/goffice/goffice.c @@ -86,6 +86,12 @@ go_sys_lib_dir (void) return libgoffice_lib_dir; } + +/** + * libgoffice_init: + * + * Initialize GOffice. Must be done before using any other GOffice functions. + */ static int initialized = 0; void libgoffice_init (void) @@ -161,6 +167,11 @@ libgoffice_init (void) initialized = TRUE; } +/** + * libgoffice_shutdown: + * + * Shut down GOffice cleanly. + */ void libgoffice_shutdown (void) { diff --git a/goffice/goffice.h b/goffice/goffice.h index c288bbe..a74e310 100644 --- a/goffice/goffice.h +++ b/goffice/goffice.h @@ -59,6 +59,45 @@ #include #endif +/** + * SECTION: goffice + * @Title: GOffice + * + * GOffice is a #GObject based C library. It provides easy API access to + * creating and manipulating graphs and canvases. See #GogGraph and #GocCanvas. + * It also includes a number of utilities and widgets that might be useful in + * office productivity software and similar. + * + * The GOffice code was originally a part of Gnumeric, but was split into a + * separate library in 2005. Today it is being used by projects such as + * Gnumeric, Gnucash, Abiword (optional), GChemUtils and more. + * + * GOffice is cross platform, with support for Windows, OSX, GNU/Linux, + * and other Unix-like systems. It can be built with or without GTK+ + * integration support. + * + * To include GOffice use: + * + * + * #include + * + * + * GOffice provides a pkg-config metadata file named + * "libgoffice-$major.$minor.pc", where $major and $minor denote which version + * GOffice is. So to link against GOffice 0.8 series, use: + * + * + * pkg-config --libs libgoffice-0.8 + * + * + * + * API and ABI compatability is maintained per minor release series, e.g: + * all 0.8.x releases are ABI/API compatible with previous 0.8.x releases. + * + * As of September 2010, there are no bindings for other languages + * than C available. + */ + G_BEGIN_DECLS void libgoffice_init (void); diff --git a/goffice/graph/gog-axis.h b/goffice/graph/gog-axis.h index 75c5b6e..7d8b938 100644 --- a/goffice/graph/gog-axis.h +++ b/goffice/graph/gog-axis.h @@ -24,6 +24,16 @@ #include +/** + * SECTION: gog-axis + * @short_description: An axis. + * + * An axis of a #GogPlot. The axis handles things like the bounds, ticks, and + * tick value formats. + * When used in plots with X/Y/Z axes, it can optionally have one + * #GogLabel objects in the role "Label". + */ + G_BEGIN_DECLS typedef enum { diff --git a/goffice/graph/gog-chart.h b/goffice/graph/gog-chart.h index 842910e..dc47903 100644 --- a/goffice/graph/gog-chart.h +++ b/goffice/graph/gog-chart.h @@ -24,6 +24,15 @@ #include +/** + * SECTION: gog-chart + * @short_description: A chart. + * @See_also: #GogPlot + * + * #GogChart wraps one or more #GogPlot objects, so that you can superimpose + * them on top of each other. In addition, the chart can have a title and a legend. +*/ + G_BEGIN_DECLS GogAxisSet gog_axis_set_from_str (char const *str); diff --git a/goffice/graph/gog-graph.h b/goffice/graph/gog-graph.h index a168a92..3642cb8 100644 --- a/goffice/graph/gog-graph.h +++ b/goffice/graph/gog-graph.h @@ -26,6 +26,20 @@ #include #include +/** + * SECTION: gog-graph + * @short_description: The graph object. + * + * A graph (in the abstract sense) in GOffice is an hierarical object model, + * with a #GogGraph object as the top-level object. + * Objects that can be part of a graph is a subclass of #GogObject. Those, and + * related objects have the prefix "Gog" in the class name. + * See #GogObject for how to manipulate the object model, and the individual + * classes for specifics. + * + * A #GogGraph can have 1 or more children in the roles "Chart" and "Title". + */ + G_BEGIN_DECLS #define GOG_TYPE_GRAPH (gog_graph_get_type ()) diff --git a/goffice/graph/gog-label.h b/goffice/graph/gog-label.h index c63a5a2..8b2e6a8 100644 --- a/goffice/graph/gog-label.h +++ b/goffice/graph/gog-label.h @@ -24,6 +24,14 @@ #include +/** + * SECTION: gog-label + * @short_description: A text label. + * + * A text label for use in a graph. + * Can for instance be used as a title of a #GogChart or #GogGraph. + */ + G_BEGIN_DECLS typedef struct { diff --git a/goffice/graph/gog-legend.h b/goffice/graph/gog-legend.h index 23cefa2..1db81e1 100644 --- a/goffice/graph/gog-legend.h +++ b/goffice/graph/gog-legend.h @@ -23,6 +23,14 @@ #include +/** + * SECTION: gog-legend + * @short_description: A legend. + * + * A legend shows the name of each #GogSeries and which colors they + * have in the plot. To use, add in the role "Legend" of a #GogChart. + */ + G_BEGIN_DECLS #define GOG_TYPE_LEGEND (gog_legend_get_type ()) diff --git a/goffice/graph/gog-object.h b/goffice/graph/gog-object.h index d418362..ae8bac9 100644 --- a/goffice/graph/gog-object.h +++ b/goffice/graph/gog-object.h @@ -23,6 +23,24 @@ #include +/** + * SECTION: gog-object + * @short_description: The base class for graph objects. + * @See_also: #GogGraph + * + * Abstract base class that objects in the graph hierarchy are based on. + * This class handles manipulation of the object hierarchy, and positioning of + * objects in the graph. + * + * Every object has a name that is unique in the graph. It can have a parent + * and a list of children in specific roles (see #GogObjectRole). + * There can generally be several children in each role. + * + * If built with GTK+ support, each object also knows how to populate a widget + * that allows one to manipulate the attributes of that object. This can be used + * by #GOEditor to present a widget that allows manipulation of the whole graph. + */ + G_BEGIN_DECLS typedef enum { diff --git a/goffice/graph/gog-plot.h b/goffice/graph/gog-plot.h index 768f95e..f09c3c0 100644 --- a/goffice/graph/gog-plot.h +++ b/goffice/graph/gog-plot.h @@ -23,6 +23,21 @@ #include +/** + * SECTION: gog-plot + * @short_description: A plot. + * @See_also: #GogChart, #GogSeries + * + * This is the object that visualizes data. + * To manipulate the data shown in the plot, use gog_plot_new_series() and + * gog_plot_clear_series() + * + * Plots are implemented as plug-ins, so make sure the plug-in system is + * initialized before trying to create one. See go_plugins_init() + * + * GOffice ships a number of common plot implementations by default. + */ + G_BEGIN_DECLS typedef struct { diff --git a/goffice/graph/gog-renderer.h b/goffice/graph/gog-renderer.h index 3c0dc5e..c3a1423 100644 --- a/goffice/graph/gog-renderer.h +++ b/goffice/graph/gog-renderer.h @@ -66,6 +66,14 @@ typedef enum #define GOG_RENDERER_CAIRO_WITH_PS #endif +/** + * SECTION: gog-renderer + * @short_description: Rendering + * + * Note that #GogGraph has a functions for export/rendering, so you do not always + * need to use a #GogRenderer directly. +*/ + G_BEGIN_DECLS /* We need to define an hair line width for the svg and gnome_print renderer. * 0.5 pt is approx. the dot size of a 150 dpi printer, if the plot is diff --git a/goffice/graph/gog-series.h b/goffice/graph/gog-series.h index dde71f3..5bc93ad 100644 --- a/goffice/graph/gog-series.h +++ b/goffice/graph/gog-series.h @@ -23,6 +23,13 @@ #include +/** + * SECTION: gog-series + * @short_description: A single data series. + * + * A #GogSeries represents a data series that can be added to a #GogPlot. + */ + G_BEGIN_DECLS typedef enum { -- 1.7.2.2 --=-LF5g7l9qZECKaU+u4ORz-- From jean.brefort@normalesup.org Wed Sep 15 20:13:57 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 9037E7503C1 for ; Wed, 15 Sep 2010 20:13:57 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.044 X-Spam-Level: X-Spam-Status: No, score=-1.044 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.779, TW_GT=0.077] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m3uWd9bB8NNa for ; Wed, 15 Sep 2010 20:13:55 +0000 (UTC) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by menubar.gnome.org (Postfix) with ESMTP id 40E78750180 for ; Wed, 15 Sep 2010 20:13:45 +0000 (UTC) Received: from [192.168.0.10] (unknown [82.227.215.241]) by smtp4-g21.free.fr (Postfix) with ESMTP id 3B1424C8191; Wed, 15 Sep 2010 22:13:37 +0200 (CEST) Subject: Re: GOffice: What should introduction documentation contain? From: Jean =?ISO-8859-1?Q?Br=E9fort?= To: Jon Nordby In-Reply-To: <1284577672.14549.74.camel@jon-workstation> References: <1283955828.28528.47.camel@jon-workstation> <1284577672.14549.74.camel@jon-workstation> Content-Type: text/plain; charset="UTF-8" Date: Wed, 15 Sep 2010 22:13:54 +0200 Message-ID: <1284581634.2321.6.camel@athlon.brefort.fr> Mime-Version: 1.0 X-Mailer: Evolution 2.30.2 Content-Transfer-Encoding: 8bit Cc: gnumeric-list@gnome.org X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2010 20:13:58 -0000 You might add that libgoffice_init and libgoffice_shutdown can be called several times. Any code calling libgoffice_init should call libgoffice_shutdown when done. init increments a counter and shutdown decremen,ts it. When the counter reaches 0, the created structures are released/freed/whatever is appropriate to get rid of them. I was wrong earlier today, documentation should go to .c files, not .h. Sorry. Le mercredi 15 septembre 2010 à 21:07 +0200, Jon Nordby a écrit : > On Wed, 2010-09-08 at 16:23 +0200, Jon Nordby wrote: > > I'm intend to write some short introduction/high-level documentation for > > GOffice and add it to the existing gtk-doc based documentation. > > > Attached is some initial patches, please review. Note that I don't have > GNOME git access, so just push it if it looks good. > > On my TODO list: > - API docs for the things I found unclear when using the library > - Example code for most-used parts of graph API > > Hopefully we can also solve how to document roles and the > names/properties of the default plot implementations. With those things > solved, we should have a workable experience for users who want to do > simple graph stuff with GOffice. > > I'm on holidays untill monday, so I might not respond before then. > _______________________________________________ > gnumeric-list mailing list > gnumeric-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gnumeric-list From phansi.work@gmail.com Sat Sep 18 17:36:03 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id D011C75071C for ; Sat, 18 Sep 2010 17:36:03 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.99 X-Spam-Level: X-Spam-Status: No, score=-1.99 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WaHnDje0xvcc for ; Sat, 18 Sep 2010 17:36:01 +0000 (UTC) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by menubar.gnome.org (Postfix) with ESMTP id 431AA75034A for ; Sat, 18 Sep 2010 17:35:52 +0000 (UTC) Received: by vws2 with SMTP id 2so1146254vws.27 for ; Sat, 18 Sep 2010 10:35:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type :content-transfer-encoding; bh=340sO+axyuqwfFCyZFN3eE7w8iYkSrsSZJJnkXwmWvQ=; b=cmpFnhK37gftSta6MY+GvRB/y+zbg21a6CZsvL2zKwgsxYyOFoFHtMfN4Fxqy7CVtu 2WGuTbTus9+wnkRHO8HrRRzjIY72e8Iee4tdFCrA0FGtzZD8AhfsAstf/jxOxX7Vic6D TkwDrRf6DHOfmkI14015ji5Fppe8Qo5SH4ARQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type :content-transfer-encoding; b=QlW4J7sW6JdnYqISdwt5FPPr7a6F+JVeN/dJo41H/xcVu+YILcgL/oVBQe4zQuVQ6q o6GNBbp+YxeIqm4SCna7a5PhcQwwqm25U3/uYVSMdcglheCKzlBLgeTnaT6ApVB6/gWv 07rxDMGfyNiyWByMklUnBNPY+repPPRb7K0tg= Received: by 10.220.121.223 with SMTP id i31mr390508vcr.230.1284831351425; Sat, 18 Sep 2010 10:35:51 -0700 (PDT) Received: from sharpe ([117.195.40.47]) by mx.google.com with ESMTPS id l35sm3327031vbr.14.2010.09.18.10.35.47 (version=SSLv3 cipher=RC4-MD5); Sat, 18 Sep 2010 10:35:49 -0700 (PDT) Date: Sat, 18 Sep 2010 23:05:44 +0530 From: Phansi To: gnumeric-list@gnome.org Subject: Pivot Tables Message-Id: <20100918230544.8e6c77c6.phansi.work@gmail.com> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Sep 2010 17:36:04 -0000 Well, not really. But I have tried to implement some sort of pivot table functionality as a python function. The code is right now in a disgusting state. My question is, is anybody interested and if so, where can the code be dumped? Not big enough for a project -- and around 250 lines, so pasting it here would be a bad idea. cheers phansi From alien308g@gmail.com Sun Sep 19 17:44:13 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 7A8F67508B7 for ; Sun, 19 Sep 2010 17:44:13 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.99 X-Spam-Level: X-Spam-Status: No, score=-1.99 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_TO_NO_BRKTS_FREEMAIL=0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lP8aIMU2V12a for ; Sun, 19 Sep 2010 17:44:11 +0000 (UTC) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by menubar.gnome.org (Postfix) with ESMTP id 91789750872 for ; Sun, 19 Sep 2010 17:44:03 +0000 (UTC) Received: by iwn34 with SMTP id 34so5448036iwn.27 for ; Sun, 19 Sep 2010 10:44:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=LpAMm7TuGdWePClgBT9eTdBFAgtpblGZWtjxDDAGCj8=; b=mByrLQQNWfM20kBwW9VMoCVRMgjLU+brCPkSsL0e/EEF8WD23hL5YkMcWYvhRg1a3I HqfiWrwRSbBS5B2Vea1LshKrlmlqK+9TJ4Ph2UcPQ0kUeQPndz0jfymmlip5ivZ/IKa6 iBe5WylgG56YvbaQ9EtKgHj0M+A+BUzhqOsE8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ZiL5ScL/HUq70LX9u7S+T01wiv24+g0uZchCK7y9FpBdARhgBiP8nk8U2GbPgjkfi9 470zkSpjQJwBeCbvfUgxEL7eXdlFK1exKt1HHOhq9KMnCjJISCGh3pp+HJ70a4jeFEft iD10DtZBrSVApo3AegMHZZuzZIirWSyv9g4Wk= MIME-Version: 1.0 Received: by 10.231.184.71 with SMTP id cj7mr8699988ibb.159.1284918241942; Sun, 19 Sep 2010 10:44:01 -0700 (PDT) Received: by 10.231.30.194 with HTTP; Sun, 19 Sep 2010 10:44:01 -0700 (PDT) Date: Mon, 20 Sep 2010 02:44:01 +0900 Message-ID: Subject: Decimal separator From: alien308 To: gnumeric-list@gnome.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2010 17:44:13 -0000 In russian locale decimal separator is a comma, but for numerical application and file import it is necessary to use a point. How to set a decimal separator in Gnumeric? Version 1.8.3. From aguelzow@pyrshep.ca Sun Sep 19 18:02:28 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 02AFE7508DB for ; Sun, 19 Sep 2010 18:02:28 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.899 X-Spam-Level: X-Spam-Status: No, score=-1.899 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, SPF_FAIL=0.001] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dazggcze-n5P for ; Sun, 19 Sep 2010 18:02:26 +0000 (UTC) Received: from barmail2.idig.net (barmail2.idig.net [64.34.111.252]) by menubar.gnome.org (Postfix) with ESMTP id A2AED7508C3 for ; Sun, 19 Sep 2010 18:02:18 +0000 (UTC) X-ASG-Debug-ID: 1284919307-058fb2d30001-FiEwLn Received: from cwh11.canadianwebhosting.com (cwh11.canadianwebhosting.com [69.90.63.200]) by barmail2.idig.net with ESMTP id poopoSuWo3tqtFef; Sun, 19 Sep 2010 11:01:47 -0700 (PDT) X-Barracuda-Envelope-From: aguelzow@pyrshep.ca X-Barracuda-Apparent-Source-IP: 69.90.63.200 X-ASG-Whitelist: Client Received: from localhost ([127.0.0.1] helo=cwh11.canadianwebhosting.com) by cwh11.canadianwebhosting.com with esmtpa (Exim 4.69) (envelope-from ) id 1OxOCx-0002AP-2r; Sun, 19 Sep 2010 11:01:47 -0700 Received: from [192.168.0.193] ([127.0.0.2] helo=[192.168.0.193]) with IPv4:26 by cwh11.canadianwebhosting.com; 19 Sep 2010 11:01:46 -0700 Subject: Re: Decimal separator From: Andreas Guelzow X-ASG-Orig-Subj: Re: Decimal separator To: alien308 In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" Date: Sun, 19 Sep 2010 12:00:41 -0600 Message-ID: Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-Assp-ID: cwh11.canadianwebhosting.com () X-Assp-Version: 1.7.1.3(1.0.1) X-Barracuda-Connect: cwh11.canadianwebhosting.com[69.90.63.200] X-Barracuda-Start-Time: 1284919307 X-Barracuda-URL: http://64.34.111.252:8000/cgi-mod/mark.cgi Cc: gnumeric-list@gnome.org X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Sep 2010 18:02:28 -0000 On Mon, 2010-09-20 at 02:44 +0900, alien308 wrote: > In russian locale decimal separator is a comma, but for numerical > application and file import it is necessary to use a point. How to > set a decimal separator in Gnumeric? Version 1.8.3. Gnumeric uses whatever the locale specifies. For text import you can choose the import locale in the configurable textimporter, otherwise you may want to: LC_NUMERIC=C LC_MONETARY=C gnumeric Andreas From jonn@openismus.com Mon Sep 20 13:54:38 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 1890A7502AB for ; Mon, 20 Sep 2010 13:54:38 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -3.407 X-Spam-Level: X-Spam-Status: No, score=-3.407 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RDNS_NONE=0.793] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qIdGX4j79HYO for ; Mon, 20 Sep 2010 13:54:34 +0000 (UTC) Received: from mail.openismus.com (unknown [85.183.48.167]) by menubar.gnome.org (Postfix) with ESMTP id E96FC7500AF for ; Mon, 20 Sep 2010 13:54:24 +0000 (UTC) Received: from [192.168.0.111] (unknown [85.183.48.167]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.openismus.com (Postfix) with ESMTPSA id 53B0310180F8; Mon, 20 Sep 2010 15:54:22 +0200 (CEST) Subject: Re: GOffice: What should introduction documentation contain? From: Jon Nordby To: Jean =?ISO-8859-1?Q?Br=E9fort?= In-Reply-To: <1284581634.2321.6.camel@athlon.brefort.fr> References: <1283955828.28528.47.camel@jon-workstation> <1284577672.14549.74.camel@jon-workstation> <1284581634.2321.6.camel@athlon.brefort.fr> Content-Type: multipart/mixed; boundary="=-7H2a1Yk9wC4MHZOd9nYo" Date: Mon, 20 Sep 2010 15:54:21 +0200 Message-ID: <1284990861.2026.150.camel@jon-workstation> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 (2.30.3-1.fc13) Cc: gnumeric-list@gnome.org X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 13:54:38 -0000 --=-7H2a1Yk9wC4MHZOd9nYo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On Wed, 2010-09-15 at 22:13 +0200, Jean Bréfort wrote: > You might add that libgoffice_init and libgoffice_shutdown can be called > several times. Any code calling libgoffice_init should call > libgoffice_shutdown when done. init increments a counter and shutdown > decremen,ts it. When the counter reaches 0, the created structures are > released/freed/whatever is appropriate to get rid of them. > > I was wrong earlier today, documentation should go to .c files, not .h. > Sorry. > Attached is a patch that adresses this. I also squashed in the GogText change, and added brief info about GOGraphWidget. My email client might add a leading > to the first line of the patch. Remove and it will apply with git am. Sorry for the inconvinience. -- Regards Jon Nordby - www.jonnor.com Openismus GmbH - www.openismus.com --=-7H2a1Yk9wC4MHZOd9nYo Content-Disposition: attachment; filename="0001-Docs-Introduction-to-GOffice-and-graphs.patch" Content-Type: text/x-patch; name="0001-Docs-Introduction-to-GOffice-and-graphs.patch"; charset="UTF-8" Content-Transfer-Encoding: 7bit >From eac1a539cec0d54cb97ee6f623fc9e8a3dde2d4b Mon Sep 17 00:00:00 2001 From: Jon Nordby Date: Wed, 15 Sep 2010 16:43:41 +0200 Subject: [PATCH] Docs: Introduction to GOffice and graphs Adds documentation about GOffice in general, and descriptions to the most relevant objects in the graph API. Move GogText from objects to abstract base classes. --- docs/reference/goffice-docs.sgml | 9 +++--- goffice/goffice.c | 55 ++++++++++++++++++++++++++++++++++++++ goffice/graph/gog-axis.c | 10 +++++++ goffice/graph/gog-chart.c | 9 ++++++ goffice/graph/gog-graph.c | 14 +++++++++ goffice/graph/gog-label.c | 8 +++++ goffice/graph/gog-legend.c | 8 +++++ goffice/graph/gog-object.c | 17 +++++++++++ goffice/graph/gog-plot.c | 15 ++++++++++ goffice/graph/gog-renderer.c | 8 +++++ goffice/graph/gog-series.c | 7 +++++ goffice/gtk/go-graph-widget.c | 7 +++++ 12 files changed, 163 insertions(+), 4 deletions(-) diff --git a/docs/reference/goffice-docs.sgml b/docs/reference/goffice-docs.sgml index e3384fe..632ee0d 100644 --- a/docs/reference/goffice-docs.sgml +++ b/docs/reference/goffice-docs.sgml @@ -9,7 +9,9 @@ Goffice Reference Manual For goffice &version; - + + + Graphs @@ -25,7 +27,6 @@ - Abstract Base Classes @@ -40,6 +41,7 @@ + Utilities @@ -84,6 +86,7 @@ Widgets + Base widgets @@ -195,7 +198,6 @@ - @@ -209,7 +211,6 @@ - diff --git a/goffice/goffice.c b/goffice/goffice.c index 01addbd..67bfecb 100644 --- a/goffice/goffice.c +++ b/goffice/goffice.c @@ -68,6 +68,45 @@ static char const *libgoffice_icon_dir = GOFFICE_ICONDIR; static char const *libgoffice_locale_dir = GOFFICE_LOCALEDIR; static char const *libgoffice_lib_dir = GOFFICE_LIBDIR; +/** + * SECTION: goffice + * @Title: GOffice + * + * GOffice is a #GObject based C library. It provides easy API access to + * creating and manipulating graphs and canvases. See #GogGraph and #GocCanvas. + * It also includes a number of utilities and widgets that might be useful in + * office productivity software and similar. + * + * The GOffice code was originally a part of Gnumeric, but was split into a + * separate library in 2005. Today it is being used by projects such as + * Gnumeric, Gnucash, Abiword (optional), GChemUtils and more. + * + * GOffice is cross platform, with support for Windows, OSX, GNU/Linux, + * and other Unix-like systems. It can be built with or without GTK+ + * integration support. + * + * To include GOffice use: + * + * + * #include + * + * + * GOffice provides a pkg-config metadata file named + * "libgoffice-$major.$minor.pc", where $major and $minor denote which version + * GOffice is. So to link against GOffice 0.8 series, use: + * + * + * pkg-config --libs libgoffice-0.8 + * + * + * + * API and ABI compatability is maintained per minor release series, e.g: + * all 0.8.x releases are ABI/API compatible with previous 0.8.x releases. + * + * As of September 2010, there are no bindings for other languages + * than C available. + */ + gchar const * go_sys_data_dir (void) { @@ -86,6 +125,16 @@ go_sys_lib_dir (void) return libgoffice_lib_dir; } + +/** + * libgoffice_init: + * + * Initialize GOffice. + * + * This function can be called several times; each call will + * increment a reference counter. Code that calls this function should call + * libgoffice_shutdown() when done to decrement the counter. + */ static int initialized = 0; void libgoffice_init (void) @@ -161,6 +210,12 @@ libgoffice_init (void) initialized = TRUE; } +/** + * libgoffice_shutdown: + * + * Decrements the counter for data initialized by libgoffice_init(). + * When the counter reaches 0, the data is freed/cleaned up as appropriate. + */ void libgoffice_shutdown (void) { diff --git a/goffice/graph/gog-axis.c b/goffice/graph/gog-axis.c index 307192d..4762c67 100644 --- a/goffice/graph/gog-axis.c +++ b/goffice/graph/gog-axis.c @@ -33,6 +33,16 @@ /* this should be per model */ #define PAD_HACK 4 /* pts */ +/** + * SECTION: gog-axis + * @short_description: An axis. + * + * An axis of a #GogPlot. The axis handles things like the bounds, ticks, and + * tick value formats. + * When used in plots with X/Y/Z axes, it can optionally have one + * #GogLabel objects in the role "Label". + */ + static struct { GogAxisPolarUnit unit; const char *name; diff --git a/goffice/graph/gog-chart.c b/goffice/graph/gog-chart.c index adbd99d..2cd70ed 100644 --- a/goffice/graph/gog-chart.c +++ b/goffice/graph/gog-chart.c @@ -50,6 +50,15 @@ #include #endif +/** + * SECTION: gog-chart + * @short_description: A chart. + * @See_also: #GogPlot + * + * #GogChart wraps one or more #GogPlot objects, so that you can superimpose + * them on top of each other. In addition, the chart can have a title and a legend. +*/ + static const struct { char const *name; GogAxisSet const axis_set; diff --git a/goffice/graph/gog-graph.c b/goffice/graph/gog-graph.c index 072af7d..a87fca6 100644 --- a/goffice/graph/gog-graph.c +++ b/goffice/graph/gog-graph.c @@ -44,6 +44,20 @@ #define GOG_GRAPH_DEFAULT_WIDTH GO_CM_TO_PT (12.0) #define GOG_GRAPH_DEFAULT_HEIGHT GO_CM_TO_PT (8.0) +/** + * SECTION: gog-graph + * @short_description: The graph object. + * + * A graph (in the abstract sense) in GOffice is an hierarical object model, + * with a #GogGraph object as the top-level object. + * Objects that can be part of a graph is a subclass of #GogObject. Those, and + * related objects have the prefix "Gog" in the class name. + * See #GogObject for how to manipulate the object model, and the individual + * classes for specifics. + * + * A #GogGraph can have 1 or more children in the roles "Chart" and "Title". + */ + enum { GRAPH_PROP_0, GRAPH_PROP_THEME, diff --git a/goffice/graph/gog-label.c b/goffice/graph/gog-label.c index a57461d..7c58595 100644 --- a/goffice/graph/gog-label.c +++ b/goffice/graph/gog-label.c @@ -26,6 +26,14 @@ #include #include +/** + * SECTION: gog-label + * @short_description: A text label. + * + * A text label for use in a graph. + * Can for instance be used as a title of a #GogChart or #GogGraph. + */ + static GType gog_text_view_get_type (void); enum { diff --git a/goffice/graph/gog-legend.c b/goffice/graph/gog-legend.c index 41ad4fe..0b8a532 100644 --- a/goffice/graph/gog-legend.c +++ b/goffice/graph/gog-legend.c @@ -40,6 +40,14 @@ #include +/** + * SECTION: gog-legend + * @short_description: A legend. + * + * A legend shows the name of each #GogSeries and which colors they + * have in the plot. To use, add in the role "Legend" of a #GogChart. + */ + struct _GogLegend { GogOutlinedObject base; diff --git a/goffice/graph/gog-object.c b/goffice/graph/gog-object.c index 5500f69..016397d 100644 --- a/goffice/graph/gog-object.c +++ b/goffice/graph/gog-object.c @@ -27,6 +27,23 @@ #include #include +/** + * SECTION: gog-object + * @short_description: The base class for graph objects. + * @See_also: #GogGraph + * + * Abstract base class that objects in the graph hierarchy are based on. + * This class handles manipulation of the object hierarchy, and positioning of + * objects in the graph. + * + * Every object has a name that is unique in the graph. It can have a parent + * and a list of children in specific roles (see #GogObjectRole). + * There can generally be several children in each role. + * + * If built with GTK+ support, each object also knows how to populate a widget + * that allows one to manipulate the attributes of that object. This can be used + * by #GOEditor to present a widget that allows manipulation of the whole graph. + */ typedef struct { char const *label; diff --git a/goffice/graph/gog-plot.c b/goffice/graph/gog-plot.c index 8228c4e..1613c5e 100644 --- a/goffice/graph/gog-plot.c +++ b/goffice/graph/gog-plot.c @@ -45,6 +45,21 @@ #define GOG_PLOT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GOG_TYPE_PLOT, GogPlotClass)) +/** + * SECTION: gog-plot + * @short_description: A plot. + * @See_also: #GogChart, #GogSeries + * + * This is the object that visualizes data. + * To manipulate the data shown in the plot, use gog_plot_new_series() and + * gog_plot_clear_series() + * + * Plots are implemented as plug-ins, so make sure the plug-in system is + * initialized before trying to create one. See go_plugins_init() + * + * GOffice ships a number of common plot implementations by default. + */ + enum { PLOT_PROP_0, PLOT_PROP_VARY_STYLE_BY_ELEMENT, diff --git a/goffice/graph/gog-renderer.c b/goffice/graph/gog-renderer.c index 233b9dc..17a32ee 100644 --- a/goffice/graph/gog-renderer.c +++ b/goffice/graph/gog-renderer.c @@ -51,6 +51,14 @@ #include +/** + * SECTION: gog-renderer + * @short_description: Rendering + * + * Note that #GogGraph has a functions for export/rendering, so you do not always + * need to use a #GogRenderer directly. +*/ + enum { RENDERER_PROP_0, RENDERER_PROP_MODEL, diff --git a/goffice/graph/gog-series.c b/goffice/graph/gog-series.c index 534744e..ccadb40 100644 --- a/goffice/graph/gog-series.c +++ b/goffice/graph/gog-series.c @@ -27,6 +27,13 @@ #include +/** + * SECTION: gog-series + * @short_description: A single data series. + * + * A #GogSeries represents a data series that can be added to a #GogPlot. + */ + /* Keep in sync with GogSeriesFillType enum */ static struct { GogSeriesFillType type; diff --git a/goffice/gtk/go-graph-widget.c b/goffice/gtk/go-graph-widget.c index 5c12180..0c20d86 100644 --- a/goffice/gtk/go-graph-widget.c +++ b/goffice/gtk/go-graph-widget.c @@ -30,6 +30,13 @@ static void go_graph_widget_request_update (GOGraphWidget *w); +/** + * SECTION: go_graph_widget + * @short_description: Widget showing a #GogGraph. + * + * Utility widget for showing a #GogGraph. + */ + enum { GRAPH_WIDGET_PROP_0, GRAPH_WIDGET_PROP_ASPECT_RATIO, -- 1.7.2.2 --=-7H2a1Yk9wC4MHZOd9nYo-- From jean.brefort@normalesup.org Mon Sep 20 16:56:07 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 3E1F4750B64 for ; Mon, 20 Sep 2010 16:56:07 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.121 X-Spam-Level: X-Spam-Status: No, score=-1.121 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.779] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JkvzYU5U2Fsy for ; Mon, 20 Sep 2010 16:55:59 +0000 (UTC) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by menubar.gnome.org (Postfix) with ESMTP id 8E361750CF2 for ; Mon, 20 Sep 2010 16:55:49 +0000 (UTC) Received: from [192.168.0.15] (unknown [82.227.215.241]) by smtp4-g21.free.fr (Postfix) with ESMTP id 173DC4C80A7; Mon, 20 Sep 2010 18:55:42 +0200 (CEST) Subject: Re: GOffice: What should introduction documentation contain? From: Jean Brefort To: Jon Nordby In-Reply-To: <1284990861.2026.150.camel@jon-workstation> References: <1283955828.28528.47.camel@jon-workstation> <1284577672.14549.74.camel@jon-workstation> <1284581634.2321.6.camel@athlon.brefort.fr> <1284990861.2026.150.camel@jon-workstation> Content-Type: text/plain; charset="UTF-8" Date: Mon, 20 Sep 2010 18:57:05 +0200 Message-ID: <1285001825.2394.3.camel@acer.brefort.fr> Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 8bit Cc: gnumeric-list@gnome.org X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 16:56:07 -0000 Thanks, commited, Jean Le lundi 20 septembre 2010 à 15:54 +0200, Jon Nordby a écrit : > On Wed, 2010-09-15 at 22:13 +0200, Jean Bréfort wrote: > > You might add that libgoffice_init and libgoffice_shutdown can be called > > several times. Any code calling libgoffice_init should call > > libgoffice_shutdown when done. init increments a counter and shutdown > > decremen,ts it. When the counter reaches 0, the created structures are > > released/freed/whatever is appropriate to get rid of them. > > > > I was wrong earlier today, documentation should go to .c files, not .h. > > Sorry. > > > Attached is a patch that adresses this. I also squashed in the GogText > change, and added brief info about GOGraphWidget. > > My email client might add a leading > to the first line of the patch. > Remove and it will apply with git am. Sorry for the inconvinience. > From gnome-gnumeric-list@m.gmane.org Mon Sep 27 19:25:18 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 65C55751123 for ; Mon, 27 Sep 2010 19:25:18 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.912 X-Spam-Level: X-Spam-Status: No, score=-1.912 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vWOe3zzGGCL1 for ; Mon, 27 Sep 2010 19:25:15 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by menubar.gnome.org (Postfix) with ESMTP id DE0C975111D for ; Mon, 27 Sep 2010 19:25:06 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P0JJv-0001jW-Ta for gnumeric-list@gnome.org; Mon, 27 Sep 2010 21:25:04 +0200 Received: from slo68-1-82-227-86-51.fbx.proxad.net ([82.227.86.51]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Sep 2010 21:25:03 +0200 Received: from wg by slo68-1-82-227-86-51.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 Sep 2010 21:25:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gnumeric-list@gnome.org From: T. Demand Subject: Turning Autocompletion OFF in Gnumeric Date: Mon, 27 Sep 2010 19:13:20 +0000 (UTC) Lines: 11 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 82.227.86.51 (Opera/9.80 (X11; Linux i686; U; en-GB) Presto/2.6.30 Version/10.62) X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 19:25:18 -0000 Is there any way to REALLY turn the autocompletion off in Gnumeric? In the Gnumeric preferences, under Tools, the autocomplete check box is unchecked. Nevertheless, when I type something in a cell, it autocompletes. Of course it never does this in the way I need it, so I would really like to have it utterly, absolutely and totally OFF, but there is apparently no way... I am using Gnumeric 1.10.1 which comes from the repositories of ubuntu lucid Thank you From aguelzow@pyrshep.ca Mon Sep 27 20:20:01 2010 Return-Path: X-Original-To: gnumeric-list@gnome.org Delivered-To: gnumeric-list@gnome.org Received: from localhost (localhost.localdomain [127.0.0.1]) by menubar.gnome.org (Postfix) with ESMTP id 875B47504EF for ; Mon, 27 Sep 2010 20:20:01 +0000 (UTC) X-Virus-Scanned: by amavisd-new at gnome.org X-Spam-Flag: NO X-Spam-Score: -1.899 X-Spam-Level: X-Spam-Status: No, score=-1.899 tagged_above=-999 required=2 tests=[BAYES_00=-1.9, SPF_FAIL=0.001] autolearn=no Received: from menubar.gnome.org ([127.0.0.1]) by localhost (menubar.gnome.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eZI-P0H-Kqmu for ; Mon, 27 Sep 2010 20:19:58 +0000 (UTC) Received: from barmail2.idig.net (barmail2.idig.net [64.34.111.252]) by menubar.gnome.org (Postfix) with ESMTP id EE213750406 for ; Mon, 27 Sep 2010 20:19:49 +0000 (UTC) X-ASG-Debug-ID: 1285618787-546bcc4c0001-FiEwLn Received: from cwh11.canadianwebhosting.com (cwh11.canadianwebhosting.com [69.90.63.200]) by barmail2.idig.net with ESMTP id gqJAnKdSju7TaqE8; Mon, 27 Sep 2010 13:19:47 -0700 (PDT) X-Barracuda-Envelope-From: aguelzow@pyrshep.ca X-Barracuda-Apparent-Source-IP: 69.90.63.200 X-ASG-Whitelist: Client Received: from localhost ([127.0.0.1] helo=cwh11.canadianwebhosting.com) by cwh11.canadianwebhosting.com with esmtpa (Exim 4.69) (envelope-from ) id 1P0KAt-0006SN-2t; Mon, 27 Sep 2010 13:19:47 -0700 Received: from [192.168.0.193] ([127.0.0.2] helo=[192.168.0.193]) with IPv4:26 by cwh11.canadianwebhosting.com; 27 Sep 2010 13:19:46 -0700 Subject: Re: Turning Autocompletion OFF in Gnumeric From: Andreas Guelzow X-ASG-Orig-Subj: Re: Turning Autocompletion OFF in Gnumeric To: "T.Demand" In-Reply-To: References: Content-Type: text/plain; charset="ISO-8859-1" Date: Mon, 27 Sep 2010 14:20:01 -0600 Message-ID: Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-Assp-ID: cwh11.canadianwebhosting.com () X-Assp-Version: 1.7.1.3(1.0.1) X-Barracuda-Connect: cwh11.canadianwebhosting.com[69.90.63.200] X-Barracuda-Start-Time: 1285618787 X-Barracuda-URL: http://64.34.111.252:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at idig.net Cc: gnumeric-list@gnome.org X-BeenThere: gnumeric-list@gnome.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: GNOME spreadsheet List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2010 20:20:01 -0000 On Mon, 2010-09-27 at 19:13 +0000, T.Demand wrote: > Is there any way to REALLY turn the autocompletion off in Gnumeric? > In the Gnumeric preferences, under Tools, the autocomplete check box is > unchecked. > > Nevertheless, when I type something in a cell, it autocompletes. Of course it > never does this in the way I need it, so I would really like to have it utterly, > absolutely and totally OFF, but there is apparently no way... > > I am using Gnumeric 1.10.1 which comes from the repositories of ubuntu lucid > Thank you The preference in Edit->Preferences->Tools or should turn off autocompletion for every _new_ view. If it doesn't do that please file a bug report with at much detail about your setup as possible. To turn off autocompletion for an existing view use View->ViewProperties. (Personally I like to have autocompletion in Edit->Pref off and switch it on in View Properties in the rare occasions that it is useful.) Andreas > >