Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gnumeric
Commits
2deac8ca
Commit
2deac8ca
authored
Mar 18, 1999
by
Michael Meeks
Browse files
Several string functions added.
parent
33f15c3e
Changes
12
Expand all
Hide whitespace changes
Inline
Side-by-side
ChangeLog-1999-07-09
View file @
2deac8ca
1999-03-18 Sean Atkinson <sca20@cam.ac.uk>
* notes: typos
* src/expr.c (value_string): cleaned to use g_strdup_printf
* src/expr.h: typo
* src/fn-string.c (gnumeric_mid): fixed
internationalized various strings, typos
(subs_string_new, subs_string_append_n, subs_string_free): added to
speed gnumeric_substitute
(gnumeric_concatenate, gnumeric_rept, gnumeric_find, gnumeric_fixed)
(gnumeric_proper, gnumeric_replace, gnumeric_t, gnumeric_value)
(gnumeric_substitute, gnumeric_dollar): implemented.
1999-03-16 Vladimir Vuksan <vuksan@veus.hr>
* src/fn-financial.c: More financial functions: gnumeric_nominal,
...
...
ChangeLog-2000-02-23
View file @
2deac8ca
1999-03-18 Sean Atkinson <sca20@cam.ac.uk>
* notes: typos
* src/expr.c (value_string): cleaned to use g_strdup_printf
* src/expr.h: typo
* src/fn-string.c (gnumeric_mid): fixed
internationalized various strings, typos
(subs_string_new, subs_string_append_n, subs_string_free): added to
speed gnumeric_substitute
(gnumeric_concatenate, gnumeric_rept, gnumeric_find, gnumeric_fixed)
(gnumeric_proper, gnumeric_replace, gnumeric_t, gnumeric_value)
(gnumeric_substitute, gnumeric_dollar): implemented.
1999-03-16 Vladimir Vuksan <vuksan@veus.hr>
* src/fn-financial.c: More financial functions: gnumeric_nominal,
...
...
OChangeLog-1999-07-09
View file @
2deac8ca
1999-03-18 Sean Atkinson <sca20@cam.ac.uk>
* notes: typos
* src/expr.c (value_string): cleaned to use g_strdup_printf
* src/expr.h: typo
* src/fn-string.c (gnumeric_mid): fixed
internationalized various strings, typos
(subs_string_new, subs_string_append_n, subs_string_free): added to
speed gnumeric_substitute
(gnumeric_concatenate, gnumeric_rept, gnumeric_find, gnumeric_fixed)
(gnumeric_proper, gnumeric_replace, gnumeric_t, gnumeric_value)
(gnumeric_substitute, gnumeric_dollar): implemented.
1999-03-16 Vladimir Vuksan <vuksan@veus.hr>
* src/fn-financial.c: More financial functions: gnumeric_nominal,
...
...
OChangeLog-2000-02-23
View file @
2deac8ca
1999-03-18 Sean Atkinson <sca20@cam.ac.uk>
* notes: typos
* src/expr.c (value_string): cleaned to use g_strdup_printf
* src/expr.h: typo
* src/fn-string.c (gnumeric_mid): fixed
internationalized various strings, typos
(subs_string_new, subs_string_append_n, subs_string_free): added to
speed gnumeric_substitute
(gnumeric_concatenate, gnumeric_rept, gnumeric_find, gnumeric_fixed)
(gnumeric_proper, gnumeric_replace, gnumeric_t, gnumeric_value)
(gnumeric_substitute, gnumeric_dollar): implemented.
1999-03-16 Vladimir Vuksan <vuksan@veus.hr>
* src/fn-financial.c: More financial functions: gnumeric_nominal,
...
...
doc/C/functions.sgml
View file @
2deac8ca
This diff is collapsed.
Click to expand it.
doc/developer/notes
View file @
2deac8ca
...
...
@@ -2,7 +2,7 @@
Control-Enter after finishing entering some data into a cell
sets the whole range of selected cells to that value.
On a selection: Enter, C
O
ntrol Enter, Tab, Shift-Tab navigate trought
On a selection: Enter, C
o
ntrol Enter, Tab, Shift-Tab navigate trought
the selected cells.
Double clicking on a column division automatically adjusts the column
...
...
@@ -71,7 +71,7 @@ Alt-down arrow pops up a list of available choices for the autofill
to the two references
** Wierd things
="1"+"2" yields 3, Excel does the converion to itegers
="1"+"2" yields 3, Excel does the converion to i
n
tegers
="A"&TRUE, Excel convers TRUE to a string: ATRUE
** Display
...
...
@@ -122,4 +122,4 @@ Alt-down arrow pops up a list of available choices for the autofill
#NULL!
#NUM!
#REF!
#VALUE!
\ No newline at end of file
#VALUE!
notes
View file @
2deac8ca
...
...
@@ -2,7 +2,7 @@
Control-Enter after finishing entering some data into a cell
sets the whole range of selected cells to that value.
On a selection: Enter, C
O
ntrol Enter, Tab, Shift-Tab navigate trought
On a selection: Enter, C
o
ntrol Enter, Tab, Shift-Tab navigate trought
the selected cells.
Double clicking on a column division automatically adjusts the column
...
...
@@ -71,7 +71,7 @@ Alt-down arrow pops up a list of available choices for the autofill
to the two references
** Wierd things
="1"+"2" yields 3, Excel does the converion to itegers
="1"+"2" yields 3, Excel does the converion to i
n
tegers
="A"&TRUE, Excel convers TRUE to a string: ATRUE
** Display
...
...
@@ -122,4 +122,4 @@ Alt-down arrow pops up a list of available choices for the autofill
#NULL!
#NUM!
#REF!
#VALUE!
\ No newline at end of file
#VALUE!
plugins/fn-string/functions.c
View file @
2deac8ca
This diff is collapsed.
Click to expand it.
src/expr.c
View file @
2deac8ca
...
...
@@ -172,29 +172,24 @@ expr_tree_unref (ExprTree *tree)
char
*
value_string
(
Value
*
value
)
{
char
buffer
[
40
];
switch
(
value
->
type
){
case
VALUE_STRING
:
return
g_strdup
(
value
->
v
.
str
->
str
);
case
VALUE_INTEGER
:
snprintf
(
buffer
,
sizeof
(
buffer
)
-
1
,
"%d"
,
value
->
v
.
v_int
);
break
;
return
g_strdup_printf
(
"%d"
,
value
->
v
.
v_int
)
;
case
VALUE_FLOAT
:
snprintf
(
buffer
,
sizeof
(
buffer
)
-
1
,
"%g"
,
value
->
v
.
v_float
);
break
;
return
g_strdup_printf
(
"%g"
,
value
->
v
.
v_float
)
;
case
VALUE_ARRAY
:
snprintf
(
buffer
,
sizeof
(
buffer
)
-
1
,
"ARRAY"
);
break
;
return
g_strdup
(
"ARRAY"
)
;
case
VALUE_CELLRANGE
:
return
g_strdup
(
"Internal problem"
);
break
;
}
return
g_strdup
(
buffer
);
return
g_strdup
(
"Internal problem"
)
;
}
void
...
...
src/expr.h
View file @
2deac8ca
...
...
@@ -93,7 +93,7 @@ typedef enum {
/*
* Functions come in two fashions: Those that only deal with
* very specific data types and a constant number of arguments,
* and those who dont.
* and those who don
'
t.
*
* The former kind of functions receives a precomputed array of
* Value pointers.
...
...
src/fn-string.c
View file @
2deac8ca
This diff is collapsed.
Click to expand it.
src/functions/fn-string.c
View file @
2deac8ca
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment