Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gnumeric
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
355
Issues
355
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gnumeric
Commits
59daaff7
Commit
59daaff7
authored
Jan 02, 2000
by
Jody Goldberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Correct some statics
- Correct some const - Add descriptors and copywrites to a few files.
parent
faf31247
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
71 additions
and
30 deletions
+71
-30
ChangeLog-2000-02-23
ChangeLog-2000-02-23
+5
-0
OChangeLog-2000-02-23
OChangeLog-2000-02-23
+5
-0
src/application.c
src/application.c
+1
-1
src/border.c
src/border.c
+1
-1
src/cell.c
src/cell.c
+1
-1
src/command-context.c
src/command-context.c
+8
-0
src/dependent.c
src/dependent.c
+11
-11
src/eval.c
src/eval.c
+11
-11
src/expr.c
src/expr.c
+1
-1
src/item-edit.c
src/item-edit.c
+8
-0
src/pattern.c
src/pattern.c
+8
-0
src/selection.c
src/selection.c
+1
-0
src/style-border.c
src/style-border.c
+1
-1
src/widgets/gnumeric-dashed-canvas-line.c
src/widgets/gnumeric-dashed-canvas-line.c
+8
-0
src/workbook-priv.h
src/workbook-priv.h
+0
-1
src/workbook.c
src/workbook.c
+1
-1
src/workbook.h
src/workbook.h
+0
-1
No files found.
ChangeLog-2000-02-23
View file @
59daaff7
...
...
@@ -42,6 +42,11 @@
* src/workbook-private.h: Move the menu_item fields to
workbook_private.
2000-01-01 Jody Goldberg <jgoldberg@home.com>
* src/cell.c (cell_cleanout) : Make static again.
* src/eval.c (workbook_next_generation) : Make static.
1999-12-31 Jody Goldberg <jgoldberg@home.com>
* src/file.c (workbook_import) : Support new plugin interface.
...
...
OChangeLog-2000-02-23
View file @
59daaff7
...
...
@@ -42,6 +42,11 @@
* src/workbook-private.h: Move the menu_item fields to
workbook_private.
2000-01-01 Jody Goldberg <jgoldberg@home.com>
* src/cell.c (cell_cleanout) : Make static again.
* src/eval.c (workbook_next_generation) : Make static.
1999-12-31 Jody Goldberg <jgoldberg@home.com>
* src/file.c (workbook_import) : Support new plugin interface.
...
...
src/application.c
View file @
59daaff7
...
...
@@ -109,7 +109,7 @@ application_clipboard_cut (Sheet *sheet, Range const *area)
app
.
clipboard_cut_range
=
*
area
;
/* No paste special for copies */
workbook_view_set_paste_state
(
sheet
->
workbook
,
WORKBOOK_VIEW_PASTE_
SPECIAL_
ITEM
);
workbook_view_set_paste_state
(
sheet
->
workbook
,
WORKBOOK_VIEW_PASTE_ITEM
);
sheet_selection_ant
(
sheet
);
}
...
...
src/border.c
View file @
59daaff7
...
...
@@ -4,7 +4,7 @@
* Author:
* Jody Goldberg (jgoldberg@home.org)
*
* (C) 1999 Jody Goldberg
* (C) 1999
, 2000
Jody Goldberg
*/
#include <config.h>
#include "border.h"
...
...
src/cell.c
View file @
59daaff7
...
...
@@ -45,7 +45,7 @@ cell_modified (Cell *cell)
/* Empty a cell's value, entered_text, and parsed_node. */
void
static
void
cell_cleanout
(
Cell
*
cell
)
{
if
(
cell
->
parsed_node
){
...
...
src/command-context.c
View file @
59daaff7
/*
* command-context.c : Error dispatch utilities.
*
* Author:
* Jody Goldberg <jgoldberg@home.com>
*
* (C) 1999, 2000 Jody Goldberg
*/
#include <config.h>
#include "gnumeric-type-util.h"
#include "command-context.h"
...
...
src/dependent.c
View file @
59daaff7
...
...
@@ -22,7 +22,7 @@ cell_eval_content (Cell *cell)
#ifdef DEBUG_EVALUATION
{
EvalPosition
fp
;
char
*
exprtxt
=
expr_decode_tree
(
cell
->
parsed_node
,
eval_pos_cell
(
&
fp
,
cell
));
printf
(
"Evaluating %s: %s ->
\n
"
,
...
...
@@ -69,7 +69,7 @@ cell_eval (Cell *cell)
if
(
cell
->
generation
==
cell
->
sheet
->
workbook
->
generation
)
return
;
cell
->
generation
=
cell
->
sheet
->
workbook
->
generation
;
if
(
cell
->
parsed_node
)
{
...
...
@@ -77,10 +77,10 @@ cell_eval (Cell *cell)
cell_eval_content
(
cell
);
deps
=
cell_get_dependencies
(
cell
);
for
(
l
=
deps
;
l
;
l
=
l
->
next
)
{
Cell
*
one_cell
;
one_cell
=
l
->
data
;
if
(
one_cell
->
generation
!=
cell
->
sheet
->
workbook
->
generation
)
cell_queue_recalc
(
one_cell
);
...
...
@@ -90,7 +90,7 @@ cell_eval (Cell *cell)
}
/*
* Comparis
si
on function for the dependency hash table
* Comparison function for the dependency hash table
*/
static
gint
dependency_equal
(
gconstpointer
v
,
gconstpointer
v2
)
...
...
@@ -264,7 +264,7 @@ add_tree_deps (Cell *cell, ExprTree *tree)
case
OPER_CONSTANT
:
add_value_deps
(
cell
,
tree
->
u
.
constant
);
return
;
/*
* FIXME: needs to be taught implicit intersection +
* more cunning handling of argument type matching.
...
...
@@ -475,14 +475,14 @@ search_cell_deps (gpointer key, gpointer value, gpointer closure)
get_cell_dep_closure_t
*
c
=
closure
;
GList
*
l
;
/* int draw;*/
if
(
deprange
->
sheet
!=
c
->
sheet
)
return
;
/* draw = FALSE;
if (c->col == 1 && c->row == 1)
draw = TRUE;*/
/* No intersection is the common case */
if
(
!
range_contains
(
range
,
c
->
col
,
c
->
row
))
return
;
...
...
@@ -509,7 +509,7 @@ cell_get_dependencies (Cell *cell)
{
get_cell_dep_closure_t
closure
;
GList
*
l
,
*
sheets
;
if
(
!
cell
->
sheet
->
dependency_hash
)
dependency_hash_init
(
cell
->
sheet
);
...
...
@@ -524,7 +524,7 @@ cell_get_dependencies (Cell *cell)
if
(
!
sheet
->
dependency_hash
)
continue
;
g_hash_table_foreach
(
sheet
->
dependency_hash
,
&
search_cell_deps
,
&
closure
);
}
...
...
@@ -632,7 +632,7 @@ pick_next_cell_from_queue (Workbook *wb)
* Increments the generation. Every time the generation is
* about to wrap around, we reset all of the cell counters to zero
*/
void
static
void
workbook_next_generation
(
Workbook
*
wb
)
{
if
(
wb
->
generation
==
255
)
{
...
...
src/eval.c
View file @
59daaff7
...
...
@@ -22,7 +22,7 @@ cell_eval_content (Cell *cell)
#ifdef DEBUG_EVALUATION
{
EvalPosition
fp
;
char
*
exprtxt
=
expr_decode_tree
(
cell
->
parsed_node
,
eval_pos_cell
(
&
fp
,
cell
));
printf
(
"Evaluating %s: %s ->
\n
"
,
...
...
@@ -69,7 +69,7 @@ cell_eval (Cell *cell)
if
(
cell
->
generation
==
cell
->
sheet
->
workbook
->
generation
)
return
;
cell
->
generation
=
cell
->
sheet
->
workbook
->
generation
;
if
(
cell
->
parsed_node
)
{
...
...
@@ -77,10 +77,10 @@ cell_eval (Cell *cell)
cell_eval_content
(
cell
);
deps
=
cell_get_dependencies
(
cell
);
for
(
l
=
deps
;
l
;
l
=
l
->
next
)
{
Cell
*
one_cell
;
one_cell
=
l
->
data
;
if
(
one_cell
->
generation
!=
cell
->
sheet
->
workbook
->
generation
)
cell_queue_recalc
(
one_cell
);
...
...
@@ -90,7 +90,7 @@ cell_eval (Cell *cell)
}
/*
* Comparis
si
on function for the dependency hash table
* Comparison function for the dependency hash table
*/
static
gint
dependency_equal
(
gconstpointer
v
,
gconstpointer
v2
)
...
...
@@ -264,7 +264,7 @@ add_tree_deps (Cell *cell, ExprTree *tree)
case
OPER_CONSTANT
:
add_value_deps
(
cell
,
tree
->
u
.
constant
);
return
;
/*
* FIXME: needs to be taught implicit intersection +
* more cunning handling of argument type matching.
...
...
@@ -475,14 +475,14 @@ search_cell_deps (gpointer key, gpointer value, gpointer closure)
get_cell_dep_closure_t
*
c
=
closure
;
GList
*
l
;
/* int draw;*/
if
(
deprange
->
sheet
!=
c
->
sheet
)
return
;
/* draw = FALSE;
if (c->col == 1 && c->row == 1)
draw = TRUE;*/
/* No intersection is the common case */
if
(
!
range_contains
(
range
,
c
->
col
,
c
->
row
))
return
;
...
...
@@ -509,7 +509,7 @@ cell_get_dependencies (Cell *cell)
{
get_cell_dep_closure_t
closure
;
GList
*
l
,
*
sheets
;
if
(
!
cell
->
sheet
->
dependency_hash
)
dependency_hash_init
(
cell
->
sheet
);
...
...
@@ -524,7 +524,7 @@ cell_get_dependencies (Cell *cell)
if
(
!
sheet
->
dependency_hash
)
continue
;
g_hash_table_foreach
(
sheet
->
dependency_hash
,
&
search_cell_deps
,
&
closure
);
}
...
...
@@ -632,7 +632,7 @@ pick_next_cell_from_queue (Workbook *wb)
* Increments the generation. Every time the generation is
* about to wrap around, we reset all of the cell counters to zero
*/
void
static
void
workbook_next_generation
(
Workbook
*
wb
)
{
if
(
wb
->
generation
==
255
)
{
...
...
src/expr.c
View file @
59daaff7
...
...
@@ -1373,7 +1373,7 @@ enum CellRefRelocate {
};
static
enum
CellRefRelocate
cellref_relocate
(
const
CellRef
*
ref
,
cellref_relocate
(
CellRef
*
const
ref
,
const
EvalPosition
*
const
pos
,
const
struct
expr_relocate_info
*
const
rinfo
)
{
...
...
src/item-edit.c
View file @
59daaff7
/*
* item-edit.c : Edit facilities for worksheets.
*
* Author:
* Miguel de Icaza (miguel@gnu.org)
*
* (C) 1999, 2000 Miguel de Icaza
*/
#include <config.h>
#include <gnome.h>
...
...
src/pattern.c
View file @
59daaff7
/*
* pattern.c : Support and specifications for patterns.
*
* Author:
* Jody Goldberg <jgoldberg@home.com>
*
* (C) 1999, 2000 Jody Goldberg
*/
#include "config.h"
#include "pattern.h"
#include "color.h"
...
...
src/selection.c
View file @
59daaff7
...
...
@@ -5,6 +5,7 @@
* Miguel de Icaza (miguel@gnu.org)
* Jody Goldberg (jgoldberg@home.com)
*
* (C) 1999, 2000 Jody Goldberg
*/
#include <config.h>
#include "selection.h"
...
...
src/style-border.c
View file @
59daaff7
...
...
@@ -4,7 +4,7 @@
* Author:
* Jody Goldberg (jgoldberg@home.org)
*
* (C) 1999 Jody Goldberg
* (C) 1999
, 2000
Jody Goldberg
*/
#include <config.h>
#include "border.h"
...
...
src/widgets/gnumeric-dashed-canvas-line.c
View file @
59daaff7
/*
* gnumeric-dashed-canvas-line.c : A canvas line with support for dash styles.
*
* Author:
* Jody Goldberg (jgoldberg@home.org)
*
* (C) 1999, 2000 Jody Goldberg
*/
#include <config.h>
#include "gnumeric-dashed-canvas-line.h"
...
...
src/workbook-priv.h
View file @
59daaff7
...
...
@@ -142,7 +142,6 @@ void workbook_focus_sheet (Sheet *sheet);
Sheet
*
workbook_get_current_sheet
(
Workbook
*
wb
);
char
*
workbook_sheet_get_free_name
(
Workbook
*
wb
);
void
workbook_auto_expr_label_set
(
Workbook
*
wb
,
const
char
*
text
);
void
workbook_next_generation
(
Workbook
*
wb
);
void
workbook_set_region_status
(
Workbook
*
wb
,
const
char
*
str
);
int
workbook_parse_and_jump
(
Workbook
*
wb
,
const
char
*
text
);
Sheet
*
workbook_sheet_lookup
(
Workbook
*
wb
,
const
char
*
sheet_name
);
...
...
src/workbook.c
View file @
59daaff7
...
...
@@ -923,7 +923,7 @@ workbook_edit_comment (GtkWidget *widget, Workbook *wb)
cell
=
sheet_cell_get
(
sheet
,
sheet
->
cursor_col
,
sheet
->
cursor_row
);
if
(
!
cell
){
if
(
!
cell
)
{
cell
=
sheet_cell_new
(
sheet
,
sheet
->
cursor_col
,
sheet
->
cursor_row
);
cell_set_value
(
cell
,
value_new_empty
());
}
...
...
src/workbook.h
View file @
59daaff7
...
...
@@ -142,7 +142,6 @@ void workbook_focus_sheet (Sheet *sheet);
Sheet
*
workbook_get_current_sheet
(
Workbook
*
wb
);
char
*
workbook_sheet_get_free_name
(
Workbook
*
wb
);
void
workbook_auto_expr_label_set
(
Workbook
*
wb
,
const
char
*
text
);
void
workbook_next_generation
(
Workbook
*
wb
);
void
workbook_set_region_status
(
Workbook
*
wb
,
const
char
*
str
);
int
workbook_parse_and_jump
(
Workbook
*
wb
,
const
char
*
text
);
Sheet
*
workbook_sheet_lookup
(
Workbook
*
wb
,
const
char
*
sheet_name
);
...
...
Write
Preview
Markdown
is supported
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