Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gnumeric
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
368
Issues
368
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gnumeric
Commits
6f909f6f
Commit
6f909f6f
authored
Feb 17, 1999
by
Arturo Espinosa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prepare for 0.12
parent
d5ce9558
Changes
28
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
3276 additions
and
2458 deletions
+3276
-2458
ChangeLog-1999-07-09
ChangeLog-1999-07-09
+2
-0
ChangeLog-2000-02-23
ChangeLog-2000-02-23
+2
-0
OChangeLog-1999-07-09
OChangeLog-1999-07-09
+2
-0
OChangeLog-2000-02-23
OChangeLog-2000-02-23
+2
-0
configure.in
configure.in
+1
-1
plugins/fn-math/functions.c
plugins/fn-math/functions.c
+55
-1
plugins/perl/Makefile.am
plugins/perl/Makefile.am
+3
-3
po/cs.po
po/cs.po
+153
-130
po/de.po
po/de.po
+161
-130
po/es.po
po/es.po
+345
-147
po/es_DO.po
po/es_DO.po
+152
-130
po/es_GT.po
po/es_GT.po
+152
-130
po/es_HN.po
po/es_HN.po
+152
-130
po/es_MX.po
po/es_MX.po
+152
-130
po/es_PA.po
po/es_PA.po
+152
-130
po/es_PE.po
po/es_PE.po
+152
-130
po/es_SV.po
po/es_SV.po
+152
-130
po/fr.po
po/fr.po
+160
-130
po/hu.po
po/hu.po
+161
-130
po/it.po
po/it.po
+158
-130
po/ja.po
po/ja.po
+160
-130
po/ko.po
po/ko.po
+152
-130
po/no.po
po/no.po
+113
-102
po/pl.po
po/pl.po
+195
-145
po/pt.po
po/pt.po
+153
-130
po/ru.po
po/ru.po
+124
-107
src/fn-math.c
src/fn-math.c
+55
-1
src/functions/fn-math.c
src/functions/fn-math.c
+55
-1
No files found.
ChangeLog-1999-07-09
View file @
6f909f6f
1999-02-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/fn-math.c (gnumeric_trunc): Implement TRUNC.
* src/func.c (function_iterate_argument_values): Do not evaluate a
subexpression if the previous expression failed due to an error.
Basically: add a check to the eval return value.
...
...
ChangeLog-2000-02-23
View file @
6f909f6f
1999-02-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/fn-math.c (gnumeric_trunc): Implement TRUNC.
* src/func.c (function_iterate_argument_values): Do not evaluate a
subexpression if the previous expression failed due to an error.
Basically: add a check to the eval return value.
...
...
OChangeLog-1999-07-09
View file @
6f909f6f
1999-02-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/fn-math.c (gnumeric_trunc): Implement TRUNC.
* src/func.c (function_iterate_argument_values): Do not evaluate a
subexpression if the previous expression failed due to an error.
Basically: add a check to the eval return value.
...
...
OChangeLog-2000-02-23
View file @
6f909f6f
1999-02-17 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/fn-math.c (gnumeric_trunc): Implement TRUNC.
* src/func.c (function_iterate_argument_values): Do not evaluate a
subexpression if the previous expression failed due to an error.
Basically: add a check to the eval return value.
...
...
configure.in
View file @
6f909f6f
AC_INIT(src/gnumeric.h)
AM_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(gnumeric,0.1
1
)
AM_INIT_AUTOMAKE(gnumeric,0.1
2
)
AM_MAINTAINER_MODE
AM_ACLOCAL_INCLUDE(macros)
...
...
plugins/fn-math/functions.c
View file @
6f909f6f
...
...
@@ -1110,6 +1110,59 @@ gnumeric_pi (struct FunctionDefinition *i, Value *argv [], char **error_string)
return
value_float
(
M_PI
);
}
static
char
*
help_trunc
=
{
N_
(
"@FUNCTION=TRUNC
\n
"
"@SYNTAX=TRUNC(number[,digits])
\n
"
"@DESCRIPTION=The TRUNC function returns the value of number "
"truncated to the number of digits specified. If digits is omited "
"then digits defaults to zero."
"
\n
"
"
\n
"
"@SEEALSO="
)
};
static
Value
*
gnumeric_trunc
(
void
*
tsheet
,
GList
*
expr_node_list
,
int
eval_col
,
int
eval_row
,
char
**
error_string
)
{
Value
*
number
;
int
args
=
g_list_length
(
expr_node_list
);
int
decimals
=
0
;
double
v
,
integral
,
fraction
;
if
(
args
<
1
||
args
>
2
){
*
error_string
=
_
(
"Invalid number of arguments"
);
return
NULL
;
}
number
=
eval_expr
(
tsheet
,
(
ExprTree
*
)
expr_node_list
->
data
,
eval_col
,
eval_row
,
error_string
);
if
(
!
number
)
return
NULL
;
v
=
number
->
v
.
v_float
;
value_release
(
number
);
if
(
args
==
2
){
Value
*
value
;
value
=
eval_expr
(
tsheet
,
(
ExprTree
*
)
expr_node_list
->
next
->
data
,
eval_col
,
eval_row
,
error_string
);
if
(
!
value
){
return
NULL
;
}
decimals
=
value_get_as_int
(
value
);
value_release
(
value
);
}
fraction
=
modf
(
v
,
&
integral
);
if
(
decimals
){
double
pot
=
pow
(
10
,
decimals
);
return
value_float
(
integral
+
floor
(
fraction
*
pot
)
/
pot
);
}
else
return
value_float
(
integral
);
}
FunctionDefinition
math_functions
[]
=
{
{
"abs"
,
"f"
,
"number"
,
&
help_abs
,
NULL
,
gnumeric_abs
},
{
"acos"
,
"f"
,
"number"
,
&
help_acos
,
NULL
,
gnumeric_acos
},
...
...
@@ -1148,7 +1201,8 @@ FunctionDefinition math_functions [] = {
{
"sum"
,
0
,
"number"
,
&
help_sum
,
gnumeric_sum
,
NULL
},
{
"tan"
,
"f"
,
"number"
,
&
help_tan
,
NULL
,
gnumeric_tan
},
{
"tanh"
,
"f"
,
"number"
,
&
help_tanh
,
NULL
,
gnumeric_tanh
},
{
"pi"
,
""
,
""
,
&
help_pi
,
NULL
,
gnumeric_pi
},
{
"trunc"
,
"f"
,
"number"
,
&
help_trunc
,
gnumeric_trunc
,
NULL
},
{
"pi"
,
""
,
""
,
&
help_pi
,
NULL
,
gnumeric_pi
},
{
NULL
,
NULL
},
};
...
...
plugins/perl/Makefile.am
View file @
6f909f6f
...
...
@@ -28,13 +28,13 @@ noinst_PROGRAMS = perl.so
perl_so_SOURCES
=
perl.c
perl.so
:
perl.o xsinit.o ext.timestamp
$(PERL_LD)
$(PERL_LDDLFLAGS)
-o
perl.so perl.o xsinit.o
$(PERL_LDOPTS)
-
$(PERL_LD)
$(PERL_LDDLFLAGS)
-o
perl.so perl.o xsinit.o
$(PERL_LDOPTS)
xsinit.c
:
perl
-MExtUtils
::Embed
-e
xsinit
--
-o
xsinit.c
-
perl
-MExtUtils
::Embed
-e
xsinit
--
-o
xsinit.c
ext.timestamp
:
(
cd
ext
;
perl Makefile.PL
LIB
=
$(datadir)
/gnumeric/perl/lib
)
-
(
cd
ext
;
perl Makefile.PL
LIB
=
$(datadir)
/gnumeric/perl/lib
)
touch
ext.timestamp
Perlscriptsdir
=
$(datadir)
/gnumeric/perl
...
...
po/cs.po
View file @
6f909f6f
msgid ""
msgstr ""
"POT-Creation-Date: 1999-02-1
0 17:34
-0600\n"
"POT-Creation-Date: 1999-02-1
7 17:31
-0600\n"
"Content-Type: text/plain; charset=iso8859-2\n"
"Date: 1998-09-30 00:38:13-0500\n"
"From: Petr Vyyhnalek <petr.vyhnalek@email.cz>\n"
...
...
@@ -51,11 +51,11 @@ msgstr ""
msgid "variance - division by 0"
msgstr ""
#: src/about.c:3
7
#: src/about.c:3
8
msgid "Gnumeric"
msgstr "Gnumeric"
#: src/about.c:4
0
#: src/about.c:4
1
msgid ""
"The GNOME spreadsheet.\n"
"http://www.gnome.org/gnumeric"
...
...
@@ -279,7 +279,7 @@ msgid "Left"
msgstr "Vlevo"
#: src/dialog-cell-format.c:355 src/dialog-cell-format.c:364
#: src/workbook.c:8
49
#: src/workbook.c:8
51
msgid "Center"
msgstr "Doprosed"
...
...
@@ -322,7 +322,7 @@ msgid "Text color"
msgstr "Barva textu"
#. The radio buttons
#: src/dialog-cell-format.c:601 src/dialog-cell-format.c:63
1
#: src/dialog-cell-format.c:601 src/dialog-cell-format.c:63
4
#: src/dialog-paste-special.c:28
msgid "None"
msgstr "dn"
...
...
@@ -331,31 +331,36 @@ msgstr "
msgid "Use this color"
msgstr "Pouij tuto barvu"
#: src/dialog-cell-format.c:625
#: src/dialog-cell-format.c:605
#, fuzzy
msgid "No change"
msgstr "dn"
#: src/dialog-cell-format.c:628
msgid "Background configuration"
msgstr "Konfigurace pozad"
#: src/dialog-cell-format.c:63
3
#: src/dialog-cell-format.c:63
6
msgid "Use solid color"
msgstr "Pouij plnou barvu"
#: src/dialog-cell-format.c:63
5
#: src/dialog-cell-format.c:63
8
msgid "Use a pattern"
msgstr "Pouij vpl"
#: src/dialog-cell-format.c:8
65
#: src/dialog-cell-format.c:8
91
msgid "Number"
msgstr "slo"
#: src/dialog-cell-format.c:8
66
#: src/dialog-cell-format.c:8
92
msgid "Alignment"
msgstr "Zarovnvn"
#: src/dialog-cell-format.c:8
67
#: src/dialog-cell-format.c:8
93
msgid "Font"
msgstr "Font"
#: src/dialog-cell-format.c:8
68
#: src/dialog-cell-format.c:8
94
msgid "Coloring"
msgstr ""
...
...
@@ -388,7 +393,7 @@ msgstr "smaz
msgid "Delete cells"
msgstr "Smazn bunk"
#: src/dialog-delete-cells.c:32 src/item-grid.c:5
28
#: src/dialog-delete-cells.c:32 src/item-grid.c:5
32
msgid "Delete"
msgstr "Mazn"
...
...
@@ -428,7 +433,7 @@ msgstr "vlo
msgid "Insert cells"
msgstr "Vlo buky"
#: src/dialog-insert-cells.c:33 src/item-grid.c:5
27
#: src/dialog-insert-cells.c:33 src/item-grid.c:5
31
msgid "Insert"
msgstr "Vlo"
...
...
@@ -476,7 +481,7 @@ msgstr "N
msgid "Divide"
msgstr "Vydl"
#: src/dialog-paste-special.c:56 src/item-grid.c:52
5
#: src/dialog-paste-special.c:56 src/item-grid.c:52
9
msgid "Paste special"
msgstr "Vlo jinak"
...
...
@@ -514,7 +519,7 @@ msgstr "Chyba syntaxe"
msgid "Missing quote"
msgstr "Chyb uvozovky"
#: src/expr.c:479 src/fn-sheet.c:38 src/fn-sheet.c:83
#: src/expr.c:479 src/fn-
math.c:1134 src/fn-
sheet.c:38 src/fn-sheet.c:83
msgid "Invalid number of arguments"
msgstr "patn poet argumentu"
...
...
@@ -539,15 +544,15 @@ msgstr "Nezn
msgid "File format:"
msgstr "Formt buky"
#: src/file.c:25
4
#: src/file.c:25
6
msgid "Save workbook as"
msgstr "Uloit seit jako"
#: src/file.c:28
6
#: src/file.c:28
8
msgid "Sorry, there are no file savers loaded, I can not save"
msgstr ""
#: src/file.c:31
4
#: src/file.c:31
6
msgid "Load file"
msgstr "Otevt soubor"
...
...
@@ -1027,7 +1032,7 @@ msgid ""
"@SEEALSO=AVERAGE, COUNT"
msgstr ""
#: src/fn-math.c:105
2
#: src/fn-math.c:105
5
msgid ""
"@FUNCTION=TAN\n"
"@SYNTAX=TAN(x)\n"
...
...
@@ -1038,7 +1043,7 @@ msgid ""
"@SEEALSO=TANH, COS, COSH, SIN, SINH, DEGREES, RADIANS"
msgstr ""
#: src/fn-math.c:107
2
#: src/fn-math.c:107
5
msgid ""
"@FUNCTION=TANH\n"
"@SYNTAX=TANH(x)\n"
...
...
@@ -1049,7 +1054,7 @@ msgid ""
"@SEEALSO=TAN, SIN, SINH, COS, COSH, DEGREES, RADIANS"
msgstr ""
#: src/fn-math.c:109
2
#: src/fn-math.c:109
5
msgid ""
"@FUNCTION=PI\n"
"@SYNTAX=PI()\n"
...
...
@@ -1058,6 +1063,17 @@ msgid ""
"@SEEALSO="
msgstr ""
#: src/fn-math.c:1114
msgid ""
"@FUNCTION=TRUNC\n"
"@SYNTAX=TRUNC(number[,digits])\n"
"@DESCRIPTION=The TRUNC function returns the value of number truncated to the "
"number of digits specified. If digits is omited then digits defaults to "
"zero.\n"
"\n"
"@SEEALSO="
msgstr ""
#: src/fn-misc.c:18
msgid ""
"@FUNCTION=CLEAN\n"
...
...
@@ -1443,51 +1459,58 @@ msgstr ""
msgid "Bricks"
msgstr "Cihly"
#: src/item-cursor.c:554 src/item-grid.c:523 src/workbook.c:837
#: src/item-cursor.c:498
msgid ""
"The cells dragged will overwrite the contents of the\n"
"existing cells in that range. Do you want me to replace\n"
"the contents in this region?"
msgstr ""
#: src/item-cursor.c:579 src/item-grid.c:527 src/workbook.c:839
msgid "Copy"
msgstr "Kopie"
#: src/item-cursor.c:5
55
#: src/item-cursor.c:5
80
msgid "Move"
msgstr "Pesun"
#: src/item-cursor.c:5
56
#: src/item-cursor.c:5
81
msgid "Copy formats"
msgstr "Kopie formtu"
#: src/item-cursor.c:5
57
#: src/item-cursor.c:5
82
msgid "Copy values"
msgstr "Kopie hodnot"
#: src/item-cursor.c:5
58
#: src/item-cursor.c:5
83
msgid "Shift cells down and copy"
msgstr "Posu buky dolu a kopruj"
#: src/item-cursor.c:5
59
#: src/item-cursor.c:5
84
msgid "Shift cells right and copy"
msgstr "Posu buky doprava a kopruj"
#: src/item-cursor.c:5
60
#: src/item-cursor.c:5
85
msgid "Shift cells down and move"
msgstr "Posu buky dolu a pesu"
#: src/item-cursor.c:5
61
#: src/item-cursor.c:5
86
msgid "Shift cells right and move"
msgstr "Posu buky doprava a pesu"
#: src/item-grid.c:52
2 src/workbook.c:834
#: src/item-grid.c:52
6 src/workbook.c:836
msgid "Cut"
msgstr "Vyjmout"
#: src/item-grid.c:52
4 src/sheet.c:2456 src/workbook.c:840
#: src/item-grid.c:52
8 src/sheet.c:2490 src/workbook.c:842
msgid "Paste"
msgstr "Vloit"
#: src/item-grid.c:5
29
#: src/item-grid.c:5
33
msgid "Erase content"
msgstr "Vyma content"
#: src/item-grid.c:53
1
#: src/item-grid.c:53
5
msgid "Cell format"
msgstr "Formt buky"
...
...
@@ -1553,403 +1576,403 @@ msgstr "
msgid "Column: %s"
msgstr "Sloupec: %s"
#: src/workbook.c:28
2
#: src/workbook.c:28
4
msgid "Warning"
msgstr ""
#: src/workbook.c:29
0
#: src/workbook.c:29
2
#, c-format
msgid "Workbook %s has unsaved changes, save them?"
msgstr ""
#: src/workbook.c:29
3
#: src/workbook.c:29
5
msgid "Workbook has unsaved changes, save them?"
msgstr ""
#: src/workbook.c:48
2 src/workbook.c:498
#: src/workbook.c:48
4 src/workbook.c:500
msgid "Insert rows"
msgstr "Vlo dky"
#: src/workbook.c:58
5
#: src/workbook.c:58
7
msgid ">mm/dd/yyyy"
msgstr ""
#: src/workbook.c:60
4
#: src/workbook.c:60
6
msgid ">hh:mm"
msgstr ""
#: src/workbook.c:66
0
#: src/workbook.c:66
2
msgid "_New"
msgstr "_Nov"
#: src/workbook.c:66
0
#: src/workbook.c:66
2
#, fuzzy
msgid "Create a new spreadsheet"
msgstr "Vytvo nov list"
#: src/workbook.c:67
1
#: src/workbook.c:67
3
msgid "Plu_g-ins..."
msgstr ""
#: src/workbook.c:67
1
#: src/workbook.c:67
3
#, fuzzy
msgid "Gnumeric plugins"
msgstr "Gnumeric"
#: src/workbook.c:68
5
#: src/workbook.c:68
7
msgid "_All"
msgstr "Ve"
#: src/workbook.c:68
6
#: src/workbook.c:68
8
msgid "Clear the selected cells' formats, comments, and contents"
msgstr ""
#: src/workbook.c:6
88
#: src/workbook.c:6
90
msgid "_Formats"
msgstr "_Formty"
#: src/workbook.c:6
89
#: src/workbook.c:6
91
msgid "Clear the selected cells' formats"
msgstr ""
#: src/workbook.c:69
0
#: src/workbook.c:69
2
msgid "_Comments"
msgstr ""
#: src/workbook.c:69
1
#: src/workbook.c:69
3
#, fuzzy
msgid "Clear the selected cells' comments"
msgstr "Vycentruje buku"
#: src/workbook.c:69
2
#: src/workbook.c:69
4
msgid "_Content"
msgstr ""
#: src/workbook.c:69
3
#: src/workbook.c:69
5
#, fuzzy
msgid "Clear the selected cells' contents"
msgstr "Vycentruje buku"
#: src/workbook.c:70
1
#: src/workbook.c:70
3
#, fuzzy
msgid "P_aste special..."
msgstr "Vloit jinak"
#: src/workbook.c:70
2
#: src/workbook.c:70
4
msgid "C_lear"
msgstr "Vymazat"
#: src/workbook.c:70
3
#: src/workbook.c:70
5
msgid "Clear the selected cell(s)"
msgstr ""
#: src/workbook.c:70
7
#: src/workbook.c:70
9
msgid "_Select All"
msgstr "Vybrat ve"
#: src/workbook.c:7
08
#: src/workbook.c:7
10
msgid "Select all cells in the spreadsheet"
msgstr ""
#: src/workbook.c:71
0
#: src/workbook.c:71
2
msgid "_Goto cell.."
msgstr "Jdi na buku.."
#: src/workbook.c:71
1
#: src/workbook.c:71
3
msgid "Jump to a specified cell"
msgstr ""
#: src/workbook.c:71
7
#: src/workbook.c:71
9
#, fuzzy
msgid "_Define cell names"
msgstr "Smazn bunk"
#: src/workbook.c:72
1
#: src/workbook.c:72
3
#, fuzzy
msgid "_Recalculate"
msgstr "Pepotat"
#: src/workbook.c:72
2
#: src/workbook.c:72
4
msgid "Recalculate the spreadsheet"
msgstr ""
#: src/workbook.c:73
0
#: src/workbook.c:73
2
msgid "_Zoom..."
msgstr "Mtko..."
#: src/workbook.c:73
1
#: src/workbook.c:73
3
msgid "Zoom the spreadsheet in or out"
msgstr ""
#: src/workbook.c:7
38
#: src/workbook.c:7
40
#, fuzzy
msgid "Current _date"
msgstr "Dnen datum"
#: src/workbook.c:7
39
#: src/workbook.c:7
41
msgid "Insert the current data into the selected cell(s)"
msgstr ""
#: src/workbook.c:74
2
#: src/workbook.c:74
4
#, fuzzy
msgid "Current _time"
msgstr "Souasn as"
#: src/workbook.c:74
3
#: src/workbook.c:74
5
msgid "Insert the current time into the selected cell(s)"
msgstr ""
#: src/workbook.c:75
0 src/workbook.c:796
#: src/workbook.c:75
2 src/workbook.c:798
msgid "_Sheet"
msgstr "List"
#: src/workbook.c:75
0
#: src/workbook.c:75
2
#, fuzzy
msgid "Insert a new spreadsheet"
msgstr "Vytvo nov list"
#: src/workbook.c:75
2 src/workbook.c:790
#: src/workbook.c:75
4 src/workbook.c:792
msgid "_Cells..."
msgstr "Buky..."
#: src/workbook.c:75
2
#: src/workbook.c:75
4
#, fuzzy
msgid "Insert new cells"
msgstr "Vlo buky"
#: src/workbook.c:75
4
#: src/workbook.c:75
6
msgid "_Rows"
msgstr "dky"
#: src/workbook.c:75
4
#: src/workbook.c:75
6
#, fuzzy
msgid "Insert new rows"
msgstr "Vlo dky"
#: src/workbook.c:75
6
#: src/workbook.c:75
8
msgid "C_olumns"
msgstr "Sloupce"
#: src/workbook.c:75
6
#: src/workbook.c:75
8
#, fuzzy
msgid "Insert new columns"
msgstr "Vlo sloupec(e)"
#: src/workbook.c:76
1
#: src/workbook.c:76
3
msgid "_Add/Modify comment"
msgstr ""
#: src/workbook.c:76
2
#: src/workbook.c:76
4
msgid "Edit the selected cell's comment"
msgstr ""
#: src/workbook.c:76
3
#: src/workbook.c:76
5
#, fuzzy
msgid "_Special"
msgstr "Zvltnosti"
#: src/workbook.c:77
2 src/workbook.c:778
#: src/workbook.c:77
4 src/workbook.c:780
msgid "_Autoadjust"
msgstr ""
#: src/workbook.c:77
3
#: src/workbook.c:77
5
msgid "_Width"
msgstr "ka"
#: src/workbook.c:7
79
#: src/workbook.c:7
81
msgid "_Height"
msgstr "Dlka"
#: src/workbook.c:78
4
#: src/workbook.c:78
6
msgid "_Change name"
msgstr "Zm jmno"
#: src/workbook.c:79
1
#: src/workbook.c:79
3
msgid "Modify the formatting of the selected cells"
msgstr ""
#: src/workbook.c:79
4
#: src/workbook.c:79
6
msgid "C_olumn"
msgstr "Sloupec"
#: src/workbook.c:79
5
#: src/workbook.c:79
7
msgid "_Row"
msgstr "dek"
#: src/workbook.c:81
2