[gnumeric] Applix: setup conventions fully so we don't rely on locale.



commit be8fab2e4b5299dc63c9ad4af32f1e62622cf90d
Author: Morten Welinder <terra gnome org>
Date:   Thu Nov 1 12:55:23 2018 -0400

    Applix: setup conventions fully so we don't rely on locale.

 NEWS                         | 1 +
 plugins/applix/ChangeLog     | 5 +++++
 plugins/applix/applix-read.c | 4 ++++
 3 files changed, 10 insertions(+)
---
diff --git a/NEWS b/NEWS
index cc6c3152d..29d6b80cd 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,7 @@ Morten:
        * Fix sheet filter problem.  [#359]
        * New NT_RADICAL function.
        * Fix conditional style crash.
+       * Fix applix locale problem.  [#362]
 
 --------------------------------------------------------------------------
 Gnumeric 1.12.43
diff --git a/plugins/applix/ChangeLog b/plugins/applix/ChangeLog
index b210f6855..0167c9319 100644
--- a/plugins/applix/ChangeLog
+++ b/plugins/applix/ChangeLog
@@ -1,3 +1,8 @@
+2018-11-01  Morten Welinder  <terra gnome org>
+
+       * applix-read.c (applix_conventions_new): Set up separators so we
+       don't use locale's.  Fixes #362.
+
 2018-08-19  Morten Welinder <terra gnome org>
 
        * Release 1.12.43
diff --git a/plugins/applix/applix-read.c b/plugins/applix/applix-read.c
index 11da19920..9254c8110 100644
--- a/plugins/applix/applix-read.c
+++ b/plugins/applix/applix-read.c
@@ -1624,6 +1624,10 @@ applix_conventions_new (void)
        conv->accept_hash_logicals      = TRUE;
        conv->allow_absolute_sheet_references = TRUE;
        conv->range_sep_dotdot          = TRUE;
+       conv->decimal_sep_dot = '.';
+       conv->arg_sep = ',';
+       conv->array_col_sep = ',';
+       conv->array_row_sep = ';';
        conv->input.range_ref           = applix_rangeref_parse;
        conv->input.func                = applix_func_map_in;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]