[grisbi-cvs] [SCM] grisbi branch, master, updated. upstream_version_0_9_5-105-g2e41895

Rémi Cardona nobody at users.sourceforge.net
Sun Jul 15 00:54:59 CEST 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "grisbi".

The branch, master has been updated
       via  2e41895443cd744bc1d13389b107d11bc269c735 (commit)
       via  6b22af944faf15c4e1ab3063b01dafe44149a2da (commit)
       via  c54ce49675586ac7a92f705dae5dda4eca7cab14 (commit)
      from  822888697b5266c17b3ded4f575dcc946bb2f579 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2e41895443cd744bc1d13389b107d11bc269c735
Author: Rémi Cardona <remi at gentoo.org>
Date:   Sat Jul 14 13:16:01 2012 +0200

    Declare 'error_real' and 'null_real' as static const variables

commit 6b22af944faf15c4e1ab3063b01dafe44149a2da
Author: Rémi Cardona <remi at gentoo.org>
Date:   Sat Jul 14 11:14:20 2012 +0200

    Declare 'gsb_real_power_10' as static as it's only used within gsb_real.c

commit c54ce49675586ac7a92f705dae5dda4eca7cab14
Author: Rémi Cardona <remi at gentoo.org>
Date:   Sat Jul 14 16:09:10 2012 +0200

    Add missing files to POTFILES.in, fixes 'make check'

-----------------------------------------------------------------------

Changes:
diff --git a/po/POTFILES.in b/po/POTFILES.in
index c5a9b51..9c0c34a 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -96,6 +96,7 @@ src/gsb_reconcile.c
 src/gsb_reconcile_config.c
 src/gsb_reconcile_list.c
 src/gsb_reconcile_sort_config.c
+src/gsb_regex.c
 src/gsb_report.c
 src/gsb_scheduler.c
 src/gsb_scheduler_list.c
@@ -139,6 +140,7 @@ src/utils_editables.c
 src/utils_files.c
 src/utils_file_selection.c
 src/utils_font.c
+src/utils_gtkbuilder.c
 src/utils_operations.c
 src/utils_str.c
 [type: gettext/glade]src/ui/bet_graph.ui
diff --git a/src/accueil.c b/src/accueil.c
index ee927e9..9904d8c 100644
--- a/src/accueil.c
+++ b/src/accueil.c
@@ -91,7 +91,6 @@ static void update_soldes_minimaux ( gboolean force );
 
 /*START_EXTERN*/
 extern GtkWidget *form_transaction_part;
-extern gsb_real null_real;
 extern GSList *scheduled_transactions_taken;
 extern GSList *scheduled_transactions_to_take;
 /*END_EXTERN*/
diff --git a/src/bet_data.c b/src/bet_data.c
index f839ac5..886dd60 100644
--- a/src/bet_data.c
+++ b/src/bet_data.c
@@ -75,7 +75,6 @@ static SH *struct_initialise_bet_historical ( void );
 
 /*START_EXTERN*/
 extern GtkWidget *account_page;
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/bet_future.c b/src/bet_future.c
index 592f93b..76f7651 100644
--- a/src/bet_future.c
+++ b/src/bet_future.c
@@ -98,7 +98,6 @@ static gboolean bet_transfert_selection_changed ( GtkTreeSelection *selection, G
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 #define BET_SCHEDULED_WIDTH 4
diff --git a/src/bet_hist.c b/src/bet_hist.c
index b430b70..401bc8d 100644
--- a/src/bet_hist.c
+++ b/src/bet_hist.c
@@ -118,7 +118,6 @@ static gboolean bet_historical_set_full_sub_div ( GtkTreeModel *model, GtkTreeIt
 
 /*START_EXTERN*/
 extern GtkWidget *account_page;
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 /* blocage des signaux pour le tree_view pour les comptes de type GSB_TYPE_CASH */
diff --git a/src/bet_tab.c b/src/bet_tab.c
index 1d5f472..c704924 100644
--- a/src/bet_tab.c
+++ b/src/bet_tab.c
@@ -153,7 +153,6 @@ static gboolean bet_array_update_average_column ( GtkTreeModel *model,
 extern GtkWidget *account_page;
 extern gboolean execute_scheduled_of_month;
 extern gint mise_a_jour_liste_echeances_auto_accueil;
-extern gsb_real null_real;
 extern const gdouble prev_month_max;
 extern gint valeur_echelle_recherche_date_import;
 /*END_EXTERN*/
diff --git a/src/etats_affiche.c b/src/etats_affiche.c
index 98904c4..e72d658 100644
--- a/src/etats_affiche.c
+++ b/src/etats_affiche.c
@@ -111,7 +111,6 @@ extern const gchar *nom_ib_en_cours;
 extern const gchar *nom_ss_categ_en_cours;
 extern const gchar *nom_ss_ib_en_cours;
 extern const gchar *nom_tiers_en_cours;
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/etats_calculs.c b/src/etats_calculs.c
index 47eff39..d41a539 100644
--- a/src/etats_calculs.c
+++ b/src/etats_calculs.c
@@ -127,7 +127,6 @@ extern const gchar *nom_ib_en_cours;
 extern const gchar *nom_ss_categ_en_cours;
 extern const gchar *nom_ss_ib_en_cours;
 extern const gchar *nom_tiers_en_cours;
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/file_obfuscate.c b/src/file_obfuscate.c
index a9873ab..e8b13e3 100644
--- a/src/file_obfuscate.c
+++ b/src/file_obfuscate.c
@@ -61,7 +61,6 @@ static GtkWidget *file_obfuscate_page_2 ( void );
 
 /*START_EXTERN*/
 extern gchar *nom_fichier_comptes;
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/gsb_account_property.c b/src/gsb_account_property.c
index d0dde00..1ec1a3d 100644
--- a/src/gsb_account_property.c
+++ b/src/gsb_account_property.c
@@ -185,7 +185,6 @@ extern gint mise_a_jour_fin_comptes_passifs;
 extern gint mise_a_jour_liste_comptes_accueil;
 extern gint mise_a_jour_liste_echeances_manuelles_accueil;
 extern gint mise_a_jour_soldes_minimaux;
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/gsb_autofunc.c b/src/gsb_autofunc.c
index 8fc0e46..2843346 100644
--- a/src/gsb_autofunc.c
+++ b/src/gsb_autofunc.c
@@ -78,7 +78,6 @@ static gboolean gsb_autofunc_textview_changed   .c  GtkTreeModel *model,  tkTreeIt   ’ҝ#G+          rYž#G+  `ßq‹ÿ         Ðßq‹ÿ  uڝ#G+  €úž#G+  õ¾#G+                          ’èº$G+  Ðßq‹ÿ  € Ý$G+          ÀÔq‹ÿ         Óq‹ÿ  kð#G+  6                    è     è!     è!     `ßq‹ÿ  Ðßq‹ÿ  x¤º$G+          ÀÕq‹ÿ          ’ҝ#G+          †ð#G+  `ßq‹ÿ  `ҝ#G+  Ÿßq‹ÿ         ÀŸ%G+  uڝ#G+   %G+  ؔ%G+  ¨™%G+  €úž#G+          x¤º$G+          ÀÕq‹ÿ          Ôq‹ÿ  kð#G+  à!     à!     `ßq‹ÿ  Ðßq‹ÿ  Hnš$G+           Öq‹ÿ         ’ҝ#G+          †ð#G+  `ßq‹ÿ  `ҝ#G+  Ÿßq‹ÿ  ßq‹ÿ  ˆßq‹ÿ  8û¾#G+  Œp˜        Ðßq‹ÿ  uڝ#G+  €úž#G+                   Öq‹ÿ         pÕq‹ÿ  kð#G+          G       H   I       J   K           M   N   O       P   `ßq‹ÿ  Ðßq‹ÿ  H%q$G+          @Øq‹ÿ         ’ҝ#G+          †ð#G+  `ßq‹ÿ         0Ÿ%G+  uڝ#G+   °º$G+   YN$G+   %G+  ؔ%G+  ¨™%G+  €úž#G+          H%q$G+          @Øq‹ÿ        
  €Öq‹ÿ  kð#G+  8%q$G+          @Øq‹ÿ         °Öq‹ÿ  kð#G+  (%q$G+          @Øq‹ÿ         àÖq‹ÿ  kð#G+  %q$G+          @Øq‹ÿ         ×q‹ÿ  kð#G+  	       ¨ž%G+  uڝ#G+         ¨™%G+  Ñq‹ÿ          Š¨N$G+  eٝ#G+         ؔ%G+  °×q‹ÿ          y¨N$G+  eٝ#G+          %G+  à×q‹ÿ          Z¨N$G+  eٝ#G+  ØTN$G+   °º$G+   YN$G+   %G+  Ø´º$G+  ؔ%G+  ¨™%G+  €úž#G+          8û¾#G+                        $G+  Ðßq‹ÿ  pëM$G+          Ùq‹ÿ          `Øq‹ÿ  kð#G+      5   6   7   8   :   <   =   >       ?       @   B   D       `ßq‹ÿ  Ðßq‹ÿ  à$G+                 Ðßq‹ÿ  uڝ#G+         õ¾#G+  Øq‹ÿ          $G+  eٝ#G+  õ¾#G+          Õ_ at fÆS         Qöl±íÁ3æ#G+  Ðßq‹ÿ  à$G+           Úq‹ÿ         pÙq‹ÿ  kð#G+  u]ÞÓ	4Q ÷U^Qʉ§ ¶uª¹ñìò*ēv`ßq‹ÿ  Ðßq‹ÿ  Hnã#G+          ´$G+          áq‹ÿ  ¦À%G+  ¦À%G+         $G+  Ÿßq‹ÿ  Ðàq‹ÿ  ˆßq‹ÿ  ðÛq‹ÿ  ¿º$G+  uڝ#G+  Ø´º$G+  Pâq‹ÿ  ¢À%G+   áq‹ÿ          °Üq‹ÿ             
     ÿÿÿÿÿÿÿÿ¢À%G+          Øßq‹ÿ                 ( GtkTextBuffer *buffer,
 
 
 /*START_EXTERN*/
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/gsb_currency.c b/src/gsb_currency.c
index a334696..688f48d 100644
--- a/src/gsb_currency.c
+++ b/src/gsb_currency.c
@@ -114,7 +114,6 @@ extern GtkWidget *detail_devise_compte;
 extern gint mise_a_jour_liste_comptes_accueil;
 extern gint mise_a_jour_liste_echeances_auto_accueil;
 extern gint mise_a_jour_liste_echeances_manuelles_accueil;
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/gsb_data_account.c b/src/gsb_data_account.c
index d390b1b..47b3da1 100644
--- a/src/gsb_data_account.c
+++ b/src/gsb_data_account.c
@@ -156,8 +156,6 @@ static gboolean gsb_data_form_dup_sort_values ( gint origin_account,
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real error_real;
-extern gsb_real null_real;
 extern gint tab_affichage_ope[TRANSACTION_LIST_ROWS_NB][CUSTOM_MODEL_VISIBLE_COLUMNS];
 /*END_EXTERN*/
 
diff --git a/src/gsb_data_archive_store.c b/src/gsb_data_archive_store.c
index e143473..374ad86 100644
--- a/src/gsb_data_archive_store.c
+++ b/src/gsb_data_archive_store.c
@@ -59,7 +59,6 @@ static gint gsb_data_archive_store_new ( void );
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 /** contains the g_slist of struct_store_archive */
diff --git a/src/gsb_data_budget.c b/src/gsb_data_budget.c
index ef37e6d..8eecf96 100644
--- a/src/gsb_data_budget.c
+++ b/src/gsb_data_budget.c
@@ -109,7 +109,6 @@ static gint gsb_data_sub_budget_compare ( struct_sub_budget * a, struct_sub_budg
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 /** contains the g_slist of struct_budget */
diff --git a/src/gsb_data_category.c b/src/gsb_data_category.c
index 391c4f3..af33112 100644
--- a/src/gsb_data_category.c
+++ b/src/gsb_data_category.c
@@ -109,7 +109,6 @@ static gint gsb_data_sub_category_compare ( struct_sub_category * a, struct_sub_
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/gsb_data_currency_link.c b/src/gsb_data_currency_link.c
index 6f531ff..8b8afc9 100644
--- a/src/gsb_data_currency_link.c
+++ b/src/gsb_data_currency_link.c
@@ -71,7 +71,6 @@ static gint gsb_data_currency_link_max_number ( void );
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 /** contains the g_slist of struct_currency_link */
diff --git a/src/gsb_data_partial_balance.c b/src/gsb_data_partial_balance.c
index 00110f9..cb09279 100644
--- a/src/gsb_data_partial_balance.c
+++ b/src/gsb_data_partial_balance.c
@@ -86,8 +86,6 @@ static void gsb_partial_balance_selectionne_cptes ( GtkWidget *tree_view,
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real error_real;
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 /* devise de base des soldes partiels de comptes ayant des devises différentes */
diff --git a/src/gsb_data_payee.c b/src/gsb_data_payee.c
index f76c5e9..e5f90e3 100644
--- a/src/gsb_data_payee.c
+++ b/src/gsb_data_payee.c
@@ -77,7 +77,6 @@ static void gsb_data_payee_reset_counters ( void );
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 /** contains the g_slist of struct_payee */
diff --git a/src/gsb_data_reconcile.c b/src/gsb_data_reconcile.c
index 64c05e7..0c1c9fc 100644
--- a/src/gsb_data_reconcile.c
+++ b/src/gsb_data_reconcile.c
@@ -68,7 +68,6 @@ static gpointer gsb_data_reconcile_get_structure ( gint reconcile_number );
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/gsb_data_report_amout_comparison.c b/src/gsb_data_report_amout_comparison.c
index 44913d0..b34de55 100644
--- a/src/gsb_data_report_amout_comparison.c
+++ b/src/gsb_data_report_amout_comparison.c
@@ -77,7 +77,6 @@ static gint gsb_data_report_amount_comparison_max_number ( void );
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/gsb_data_scheduled.c b/src/gsb_data_scheduled.c
index f06dba0..443abe7 100644
--- a/src/gsb_data_scheduled.c
+++ b/src/gsb_data_scheduled.c
@@ -100,7 +100,6 @@ static gboolean gsb_data_scheduled_save_scheduled_pointer ( gpointer scheduled )
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/gsb_data_transaction.c b/src/gsb_data_transaction.c
index 2d9e6e4..5495e4a 100644
--- a/src/gsb_data_transaction.c
+++ b/src/gsb_data_transaction.c
@@ -114,7 +114,6 @@ static gboolean gsb_data_transaction_save_transaction_pointer ( gpointer transac
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/gsb_debug.c b/src/gsb_debug.c
index f65abb1..92af59f 100644
--- a/src/gsb_debug.c
+++ b/src/gsb_debug.c
@@ -62,7 +62,6 @@ static gboolean gsb_debug_try_fix ( gboolean (* fix) () );
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/gsb_file_load.c b/src/gsb_file_load.c
index beaeae3..bdce5d2 100644
--- a/src/gsb_file_load.c
+++ b/src/gsb_file_load.c
@@ -178,13 +178,11 @@ extern gint bet_array_col_width[BET_ARRAY_COLUMNS];
 extern gint display_one_line;
 extern gint display_three_lines;
 extern gint display_two_lines;
-extern gsb_real error_real;
 extern struct iso_4217_currency iso_4217_currencies[];
 extern GtkWidget *logo_accueil;
 extern gint no_devise_totaux_categ;
 extern gint no_devise_totaux_ib;
 extern gint no_devise_totaux_tiers;
-extern gsb_real null_real;
 extern gint tab_affichage_ope[TRANSACTION_LIST_ROWS_NB][CUSTOM_MODEL_VISIBLE_COLUMNS];
 extern gchar *titre_fichier;
 extern gint transaction_col_align[CUSTOM_MODEL_VISIBLE_COLUMNS];
diff --git a/src/gsb_form.c b/src/gsb_form.c
index b355bef..51ddbdd 100644
--- a/src/gsb_form.c
+++ b/src/gsb_form.c
@@ -110,7 +110,6 @@ static gboolean gsb_form_validate_form_transaction ( gint transaction_number,
 
 /*START_EXTERN*/
 extern gint mise_a_jour_liste_comptes_accueil;
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 /** label of the last statement */
diff --git a/src/gsb_form_transaction.c b/src/gsb_form_transaction.c
index a6df3ab..b50c72f 100644
--- a/src/gsb_form_transaction.c
+++ b/src/gsb_form_transaction.c
@@ -62,7 +62,6 @@
 
 /*START_EXTERN*/
 extern GtkWidget *form_button_recover_split;
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/gsb_real.c b/src/gsb_real.c
index 2472043..4296a03 100644
--- a/src/gsb_real.c
+++ b/src/gsb_real.c
@@ -44,10 +44,7 @@
 #include "gsb_real.h"
 /*END_INCLUDE*/
 
-gsb_real null_real = { 0 , 0 };
-gsb_real error_real = { G_MININT64, 0 };
-
-glong gsb_real_power_10[] = { 1, 10, 100, 1000, 10000, 100000,
+static glong gsb_real_power_10[] = { 1, 10, 100, 1000, 10000, 100000,
                             1000000, 10000000, 100000000, 1000000000 };
 
 #ifdef _MSC_VER
diff --git a/src/gsb_real.h b/src/gsb_real.h
index 21dfafd..e0c5dd4 100644
--- a/src/gsb_real.h
+++ b/src/gsb_real.h
@@ -17,6 +17,9 @@ typedef struct
     gint exponent;
 } gsb_real;
 
+static const gsb_real null_real = { 0 , 0 };
+static const gsb_real error_real = { G_MININT64, 0 };
+
 
 /* START_INCLUDE_H */
 /* END_INCLUDE_H */
diff --git a/src/gsb_reconcile_config.c b/src/gsb_reconcile_config.c
index 355793c..2b32656 100644
--- a/src/gsb_reconcile_config.c
+++ b/src/gsb_reconcile_config.c
@@ -66,7 +66,6 @@ static gboolean gsb_reconcile_config_update_line ( GtkWidget *entry,
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 /* the tree view used to modify the reconciles */
diff --git a/src/gsb_scheduler_list.c b/src/gsb_scheduler_list.c
index 8ebe72a..4da0b6b 100644
--- a/src/gsb_scheduler_list.c
+++ b/src/gsb_scheduler_list.c
@@ -128,7 +128,6 @@ extern gint affichage_echeances;
 extern gint affichage_echeances_perso_nb_libre;
 extern struct conditional_message delete_msg[];
 extern gint mise_a_jour_liste_echeances_manuelles_accueil;
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/meta_budgetary.c b/src/meta_budgetary.c
index 81c5073..979b588 100644
--- a/src/meta_budgetary.c
+++ b/src/meta_budgetary.c
@@ -54,7 +54,6 @@ static gint budgetary_lint_get_number_by_name ( const gchar *name, gboolean crea
 
 /*START_EXTERN*/
 extern gint no_devise_totaux_ib;
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/meta_categories.c b/src/meta_categories.c
index 9aa710a..ae8eaf7 100644
--- a/src/meta_categories.c
+++ b/src/meta_categories.c
@@ -57,7 +57,6 @@ static gint category_transaction_div_id ( gint transaction_number );
 
 /*START_EXTERN*/
 extern gint no_devise_totaux_categ;
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 static MetatreeInterface _category_interface = {
diff --git a/src/meta_payee.c b/src/meta_payee.c
index 5aa719b..9c9d196 100644
--- a/src/meta_payee.c
+++ b/src/meta_payee.c
@@ -68,7 +68,6 @@ static gint payee_transaction_sub_div_id ( gint transaction_number );
 
 /*START_EXTERN*/
 extern gint no_devise_totaux_tiers;
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/transaction_list.c b/src/transaction_list.c
index 46fd461..c7bb38f 100644
--- a/src/transaction_list.c
+++ b/src/transaction_list.c
@@ -73,7 +73,6 @@ static gboolean transaction_list_update_white_child ( CustomRecord *white_record
 extern gint display_one_line;
 extern gint display_three_lines;
 extern gint display_two_lines;
-extern gsb_real null_real;
 extern GSList *orphan_child_transactions;
 extern gint tab_affichage_ope[TRANSACTION_LIST_ROWS_NB][CUSTOM_MODEL_VISIBLE_COLUMNS];
 /*END_EXTERN*/
diff --git a/src/utils_editables.c b/src/utils_editables.c
index 579769b..ba8b8b1 100644
--- a/src/utils_editables.c
+++ b/src/utils_editables.c
@@ -40,7 +40,6 @@
 /*END_STATIC*/
 
 /*START_EXTERN*/
-extern gsb_real null_real;
 /*END_EXTERN*/
 
 
diff --git a/src/utils_real.c b/src/utils_real.c
index fcc2760..6943f8e 100644
--- a/src/utils_real.c
+++ b/src/utils_real.c
@@ -32,7 +32,6 @@
 /*END_INCLUDE*/
 
 /*START_EXTERN*/
-extern gsb_real error_real;
 /*END_EXTERN*/
 
 


hooks/post-receive
-- 
grisbi


More information about the cvs mailing list