| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-23 Kaushal Kumar <kakumar@novell.com>
* e-util/Makefile.am, widgets/e-timezone-dialog/Makefile.am,
addressbook/gui/search/Makefile.am,
plugins/groupwise-features/Makefile.am: Added widgets in INCLUDES.
Updated the include paths to use misc instead of widgets/misc.
svn path=/trunk/; revision=29574
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-18 Tor Lillqvist <tml@novell.com>
* Makefile.am
* addressbook/Makefile.am
* calendar/Makefile.am
* widgets/Makefile.am: Use the fake "bootstrap" libraries on Win32
to get around circular dependencies. Use NO_UNDEFINED.
* Makefile.am: No need to pass -I pointing to this directory
itself, all inclusions of headers from here are with
doublequotes. Link with libeutil. No need to link with REGEX_LIBS.
* addressbook/Makefile.am
* calendar/Makefile.am
* widgets/Makefile.am: Prune out superfluous -I options and -D
options for EVOLUTION_* pathname macros that aren't used in the
source files in that directory.
* addressbook/Makefile.am: Drop A11Y_CFLAGS, its a subset of
EVOLUTION_ADDRESSBOOK_CFLAGS anyway. Link with
EVOLUTION_ADDRESSBOOK_LIBS.
* a11y/addressbook/ea-addressbook.c: Include headers from the same
directory as such.
* calendar/Makefile.am: Drop A11Y_CFLAGS, its a subset of
EVOLUTION_CALENDAR_CFLAGS anyway. Link with
EVOLUTION_CALENDAR_LIBS.
* e-table/Makefile.am (INCLUDES)
* e-text/Makefile.am (INCLUDES): Drop the undefined
GNOME_BONOBO_CFLAGS and GNOME_INCLUDEDIR. Drop GNOME_FULL_CFLAGS,
it's a subset of EXTRA_GNOME_CFLAGS.
* widgets/Makefile.am: E_WIDGETS_CFLAGS is enough. No need for
EVOLUTION_CALENDAR_CFLAGS, which . Link with E_WIDGET_LIBS. Drop
A11Y_CFLAGS, subset of E_WIDGET_CFLAGS.
svn path=/trunk/; revision=29533
|
|
|
|
|
|
|
|
|
| |
2005-06-18 Tor Lillqvist <tml@novell.com>
* e-table/Makefile.am (INCLUDES): Remove stray trailing slash from
-I path, confuses gcc on Win32.
svn path=/trunk/; revision=29528
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-06-17 Kaushal Kumar <kakumar@novell.com>
* Retired GAL from Head. The relevant files have moved inside
evolution. Thanks to JP Rosevear for performing the cvs surgery. The
files have been moved in the following order.
evolution/e-util <- gal/gal/util
evolution/a11y <- gal/gal/a11y
evolution/a11y/e-table <- gal/gal/a11y/e-table
evolution/a11y/e-text <- gal/gal/a11y/e-text
evolution/widgets/table <- gal/gal/e-table
evolution/widgets/text <- gal/gal/e-text
evolution/widgets/misc <- gal/gal/widgets
evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps
evolution/widgets/menus <- gal/gal/menus
Following is the summary of changes done to fix the build:-
- New files added to cvs repository,
- a11y/e-table/Makefile.am
- a11y/e-text/Makefile.am
- widgets/table/Makefile.am
- widgets/text/Makefile.am
- widgets/misc/pixmaps/Makefile.am
- iconv-detect.h
- iconv-detect.c
- Updated configure.in.
- Updated all the relevant Makefile.am files.
- Updated the include paths to replace all gal references.
- Updated the marshal list to suit gal files requirements.
svn path=/trunk/; revision=29522
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-05-20 Li Yuan <li.yuan@sun.com>
* gal/a11y/e-table/Makefile.am:
* gal/a11y/e-table/gal-a11y-e-table-column-header.c:
* gal/a11y/e-table/gal-a11y-e-table-column-header.h:
add two files to sort table items.
* gal/a11y/e-table/gal-a11y-e-cell.c:
(gal_a11y_e_cell_get_index_in_parent):
add table header.
* gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_get_n_children):
(eti_ref_child), (eti_get_n_rows), (eti_get_column_header):
ditto.
Fixes #302154
svn path=/trunk/; revision=29394
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-29 Tor Lillqvist <tml@novell.com>
Port to Windows, initial commit:
* configure.in: Check for Win32, define Automake conditional
OS_WIN32. Check for regexec() perhaps in separate -lregex, define
REGEX_LIBS if so. Require glib-2.0 >= 2.6 (and thus also gtk+-2.0
>= 2.6) so that we can use the gstdio wrappers for full support of
non-ASCII filenames on Win32. Don't use -D_REENTRANT on Win32, has
ne special meaning.
* gal.pc.in: Require gtk+-2.0 >= 2.6 also here for consistency.
* gal-zip.in: New file, used to build zipfile format distribution
of gal for Win32.
* configure.in
* Makefile.am: Add gal-zip(.in).
* */Makefile.am
* */*.c: Harmonize -I and #include conventions. (Of course, this
hasn't anything to do with Windows porting as such, I just got
carried away...) Use only -I$(top_srcdir). Use paths to gal
headers staring with "gal", except for headers from the same
directory as the .c file, which are included as such. Include all
gal headers using doublequotes. Sort #includes and remove
duplicates and obvious redundancies. Include config.h first
without any HAVE_CONFIG_H, then system headers, then other GNOME
lib headers, than gal's own headers. Just include gtk.h instead of
separate gtk*.h headers. Don't include gi18n.h, include e-i18n.h
to use e_gettext() consistently.
* gal/Makefile.am: Use -no-undefined on Win32 so that libtool
agrees to build a shared library. Because of the bidirectional
dependency between libgal and libgal-a11y we can build libgal-a11y
sanely as a shared library on Win32, so we don't install any
separate libgal-a11y at all. So, on Win32, link the stuff that
goes into libgal-a11y also into libgal. Link with REGEX_LIBS.
* gal/a11y/Makefile.am: See above. Just build a dummy static
libgal-a11y on Win32 (can't convince Automake not to build the
library at all on one platform using Automake ifdef,
apparently). Then (this is a gross hack) explicitly remove the
library after installation in the install-data-local rule.
* gal/e-table/Makefile.am
* gal/e-table/e-table-config.c: Rename ETABLE_GLADEDIR to
GAL_GLADEDIR for consistency.
* gal/e-table/e-cell-date.c: No localtime_r() in Microsoft's C
library, but its localtime() *is* thread-safe.
* gal/e-table/e-cell-text.c
* gal/e-table/e-cell-tree.c
* gal/e-table/e-cell-vbox.c
* gal/e-text/e-text.c
* gal/widgets/e-unicode.c: Remove unnecessary inclusion of gdkx.h.
* gal/e-table/e-cell-tree.c (ect_realize): Instead of the Xlib
macro None (whose value is zero), use the corresponding
zero-valued enums from the appropriate GDK type.
* gal/e-table/e-table-config.c
* gal/e-table/e-table-field-chooser.c
* gal/menus/gal-define-views-dialog.c
* gal/menus/gal-view-instance-save-as-dialog.c
* gal/menus/gal-view-new-dialog.c
* gal/widgets/e-categories-master-list-array.c
* gal/widgets/e-categories-master-list-dialog.c
* gal/widgets/e-categories.c: Use g_build_filename() to construct
pathnames at run-time instead of compile-time. On Windows the
macros GAL_GLADEDIR and GAL_IMAGESDIR expand to function calls, in
order to support installing in a freely chosen location.
* gal/e-table/e-table-item.c
* gal/e-table/e-cell-vbox.c: Instrad of the Xlib GrabSuccess, use
GDK_GRAB_SUCCESS (which has the same value).
* gal/e-table/e-table-specification.c (e_table_specification_load_from_file)
* gal/e-table/e-table.c (e_table_load_specification)
* gal/e-table/e-tree-table-adapter.c (open_file)
* gal/menus/gal-view-instance.c (load_current_view)
* gal/menus/gal-view-instance.c (load_current_view): On Win32,
convert filename to the locale character set before passing to
xmlParseFile() which doesn't use UTF-8 filenames. Use gstdio
wrappers.
* gal/util/Makefile.am: Define GAL_PREFIX as $prefix. Define
GAL_LOCALEDIR, GAL_GLADEDIR and GAL_IMAGESDIR also here for
e-win32-reloc.c. Include e-win32-reloc.c on Win32.
* gal/util/e-iconv.c (e_iconv_init): Use g_win32_getlocale() on
Windows.
* gal/util/e-util.c
* gal/util/e-xml-utils.c: Use g_mkstemp() instead of non-portable
mkstemp(). Use GLib pathname manipulation functions. Use gstdio
wrappers.
* gal/util/e-util-private.h: New file. Contains just Win32 bits
for now that redefine the directory names from the Makefile as
functions calls.
* gal/util/e-win32-reloc.c: New file. Contains a minimal DllMain()
and functions to support freely chosen installation location on
Windows.
* gal/util/e-xml-utils.c: No fsync() in the Microsoft C library.
* gal/windgets/Makefile.am: Add -I$(top_srcdir)/gal for
consistency with the sibling Makefile.am files.
* gal/widgets/e-canvas.c: Instead of the Xlib AlreadyGrabbed, use
GDK_GRAB_ALREADY_GRABBED.
svn path=/trunk/; revision=29249
|
|
|
|
|
|
|
|
|
|
|
| |
2005-04-28 Li Yuan <li.yuan@sun.com>
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.c: (etcta_event):
return FALSE to let GTK run "F6" handler.
Fixes #74181
svn path=/trunk/; revision=29233
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-03-24 Harry Lu <harry.lu@sun.com>
* gal/a11y/e-table/gal-a11y-e-table-item.c:
(eti_a11y_reset_focus_object): New function to reset focus object.
(eti_rows_deleted), (gal_a11y_e_table_item_new),
(eti_a11y_cursor_changed_cb): call the new function.
Fixes #73920
svn path=/trunk/; revision=29097
|
|
|
|
|
|
|
|
|
|
|
| |
2005-02-23 Harry Lu <harry.lu@sun.com>
Fix for 72793.
* gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_grab_focus):
for e-cell-vbox's children cell, we grab the e-cell-vbox.
svn path=/trunk/; revision=28878
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-27 Harry Lu <harry.lu@sun.com>
Some code clean work.
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.c:
(gal_a11y_e_table_click_to_add_init): new function to
register type only when a11y is enabled.
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.h:
* gal/a11y/e-table/gal-a11y-e-table-item.c:
(gal_a11y_e_table_item_init): ditto.
* gal/a11y/e-table/gal-a11y-e-table.c: (gal_a11y_e_table_init): ditto.
* gal/a11y/e-table/gal-a11y-e-table.h:
* gal/a11y/e-table/gal-a11y-e-tree.c: (gal_a11y_e_tree_init): ditto.
* gal/a11y/e-table/gal-a11y-e-tree.h:
* gal/a11y/e-text/gal-a11y-e-text.c: (gal_a11y_e_text_init): ditto.
* gal/a11y/e-text/gal-a11y-e-text.h:
* gal/a11y/factory.c: useless file removed.
* gal/a11y/init.c: useless file removed.
* gal/e-text/e-text.c: (e_text_class_init): move a11y registry
call to a11y code.
svn path=/trunk/; revision=28702
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-01-27 Li Yuan <li.yuan@sun.com>
* gal/a11y/e-table/Makefile.am:
add gal-a11y-e-cell-vbox.h and gal-a11y-e-cell-vbox.c
* gal/a11y/e-table/gal-a11y-e-cell-popup.c:
(gal_a11y_e_cell_popup_new):
add i18n support to strings.
Fixes #70261
* gal/a11y/e-table/gal-a11y-e-cell-text.c:
(ect_dispose): disconnect the insert and the delete signal.
(ect_check):do some check works.
(ect_get_name), (ect_get_text),
(ect_get_character_at_offset), (ect_get_caret_offset),
(ect_get_character_count), (ect_get_n_selections),
(ect_get_selection), (ect_add_selection), (ect_set_caret_offset),
(ect_insert_text): use e_cell_text_get_text_by_view instead of
e_cell_text_get_text. make get_name work well when e-cell-text
is being edited.
(ect_do_action_edit): call e_table_item_enter_edit only when
the cell is editable.
(ect_text_inserted_cb), (ect_text_deleted_cb):
emit the text_changed::insert(delete) signal. make gnopernicus
know the text_changed.
(ect_class_init): add dispose function.
(ect_action_init): add the edit action.
(gal_a11y_e_cell_text_get_type): no ect_init function now.
(cell_text_destroyed): unref the atkobject.
(gal_a11y_e_cell_text_new): connect text_inserted and text_deleted
singals and make sure the state of editable is right.
* gal/a11y/e-table/gal-a11y-e-cell-text.h:
add two signal handler id.
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c:
(gal_a11y_e_cell_toggle_dispose): fix #70261.
(model_change_cb): make gnopernicus to report state change signal.
(gal_a11y_e_cell_toggle_new):add i18n support to strings.
* gal/a11y/e-table/gal-a11y-e-cell-tree.c:
(gal_a11y_e_cell_tree_new):
add i18n support to strings.
Fixes #61688
* gal/a11y/e-table/gal-a11y-e-cell-vbox.c: (ecv_get_n_children),
(subcell_destroyed), (ecv_ref_child), (ecv_dispose),
(ecv_ref_accessible_at_point), (ecv_class_init), (ecv_init),
(ecv_atk_component_iface_init), (gal_a11y_e_cell_vbox_get_type),
(gal_a11y_e_cell_vbox_new):
* gal/a11y/e-table/gal-a11y-e-cell-vbox.h:
implement a11y object of ECellVbox.
Fixes #48976
* gal/a11y/e-table/gal-a11y-e-cell.c:
function name are changed form eti_* to gal_a11y_e_cell_*
(is_valid): check if the cell is valid.
(gal_a11y_e_cell_dispose): make sure state_set is null.
(gal_a11y_e_cell_get_name): implement the get_name function.
(gal_a11y_e_cell_ref_state_set): add VISIBLE state.
(gal_a11y_e_cell_get_parent),
(gal_a11y_e_cell_get_index_in_parent),
(gal_a11y_e_cell_get_extents): use e_tree_get_cell_geometry and
e_table_get_cell_geometry instead of e_table_item_get_cell_geometry.
(gal_a11y_e_cell_grab_focus): make grab_focus work with e-tree also.
(gal_a11y_e_cell_atk_component_iface_init),
(gal_a11y_e_cell_class_init): add get_name function.
(gal_a11y_e_cell_init): add some state to cell.
(idle_do_action): check if cell is valid.
(gal_a11y_e_cell_action_do_action): check if cell is valid.
(gal_a11y_e_cell_get_type), (gal_a11y_e_cell_construct):
ref e-table-item.
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.c:
(etcta_get_description), (etcta_action_get_name): add i18n support to strings.
(etcta_get_name): if etcta has message, return it.
(etcta_ref_state_set): implement the ref_state_set function,
add SENSITIVE and SHOWING state.
(etcta_class_init):add ref_state_set function.
(etcta_selection_cursor_changed): call atk_focus_tracker_notify
to a11y-e-cell
(gal_a11y_e_table_click_to_add_new): connect
etcta_selection_cursor_changed to cursor_changed signal.
* gal/a11y/e-table/gal-a11y-e-table-item-factory.c:
(gal_a11y_e_table_item_factory_create_accessible):
parameters of gal_a11y_e_table_item_new have been changed.
Fixes #68675
Fixes #70324
Fixes #68681
Fixes #68627
* gal/a11y/e-table/gal-a11y-e-table-item.c:
remove the cell_data support.
(item_destroyed): add ATK_STATE_DEFUNCT state and unref selection.
(eti_ref_state_set): just ref state_set.
(eti_dispose): we have unref selection in item_destroyed.
remove the cell_data support.
(eti_ref_child): remove support for column header. use eti_ref_at
instead of atk_table_ref_at.
(eti_get_extents): add support for click to add.
(eti_ref_accessible_at_point): e-tree and e-table are different here.
(cell_destroyed): add a check and unref item. remove the cell_data support.
(eti_ref_at): if e-table-item has DEFUNCT state, return NULL.
remove the cell_data support.
(eti_get_column_header): use column name as the a11y name. set it role
as ATK_ROLE_TABLE_COLUMN_HEADER.
(table_is_row_selected): use view_to_model_row to convert row when
uses source model.
(table_get_selected_rows): if e-table-item has DEFUNCT state, return 0.
(table_remove_row_selection): use view_to_model_row to convert row
when uses source model.
(eti_rows_inserted), (eti_rows_deleted): remove the cell_data support.
(eti_tree_model_node_changed_cb): emit visible-data-changed signal. for
the eti_clear_rows have been removed.
(eti_header_structure_changed): remove the cell_data support.
(eti_class_init): add eti_ref_state_set, remove eti_get_parent
and eti_get_index_in_parent.
(eti_init): init parent and index_in_parent.
(gal_a11y_e_table_item_new): add some states. get name form parents.
init role correctly. add FOCUSED state to focused cell.
remove the cell_data support.
(eti_a11y_selection_changed_cb): if e-table-item has DEFUNCT state,
just return.
(eti_a11y_cursor_changed_cb): remove the FOCUESD state form the old cell.
(selection_add_selection): if it has been focused already, just return.
if another row was focused, clear it first.
(selection_ref_selection): use eti_ref_at instead of atk_table_ref_at.
(gal_a11y_e_table_item_init): add this function.
* gal/a11y/e-table/gal-a11y-e-table-item.h:
add gal_a11y_e_table_item_init and change the parameters of
gal_a11y_e_table_item_new.
* gal/a11y/e-table/gal-a11y-e-table.c:
(find_first_table_item): find the first item of the group.
(eti_get_accessible), (find_table_item): find the first table item.
(init_child_item): ref every group's first item.
(et_ref_accessible_at_point): no need to call init_child_item here.
just ref the item.
(et_get_n_children): add support for multiple ETableItems.
(et_ref_child): add support for multiple ETableItems.
(et_get_layer): Set AtkLayer as ATK_LAYER_WIDGET for e-table.
(et_atk_component_iface_init): add et_get_layer function.
(gal_a11y_e_table_new):ref the a11y and widget, and unref it in
the idle function to avoid crash.
Fixes #71158
* gal/a11y/e-table/gal-a11y-e-tree.c:
(init_child_item): just get the a11y object of the child item.
(et_get_layer): Set AtkLayer as ATK_LAYER_WIDGET for etree.
(et_atk_component_iface_init): add et_get_layer function.
* gal/util/e-marshal.list:
add support for the text_inserted and text_deleted signal.
svn path=/trunk/; revision=28572
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-21 Eric Zhao <eric.zhao@sun.com>
Fixes 59047.
* gal/a11y/e-table/gal-a11y-e-table-item.c: (model_to_view_row),
(model_to_view_col), (eti_ref_at), (eti_a11y_cursor_changed_cb):
Set the cell's ATK_STATE_SHOWING and ATK_STATE_VISIBLE properties to
be TURE, so that gnopernicus can read the whole table line. Also
convert the cursor's to position to view format, prevent potential
bug.
svn path=/trunk/; revision=26436
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-10 Radek Doulik <rodo@ximian.com>
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.c
(idle_do_action): added cast
* gal/a11y/e-table/gal-a11y-e-cell-tree.c
(gal_a11y_e_cell_tree_new): added cast
* gal/a11y/e-table/gal-a11y-e-cell.c: added #include
<gtk/gtkwindow.h>
* gal/e-text/e-text.c (_get_position): removed unused variable
* gal/e-text/e-completion.c: #if 0'ed e_completion_sort
* tests/test-text.c (create_entry): removed unused variables
added #include "gal/widgets/e-canvas-utils.h"
added #include "gal/e-text/e-text-model.h"
(create_text): removed unused variables
(create_ro_text): ditto
* tests/test-table-1.c (create_table): added cast
* tests/test-completion.c (main): added cast
* gal/a11y/e-text/gal-a11y-e-text.c (et_get_text): return NULL if
check fails
added #include <string.h> for strlen
(et_get_text_after_offset): fixed typo defalut --> default
(et_get_text_at_offset): ditto
(et_get_character_extents): removed unused variables
(et_set_selection): ditto
(_et_command_cb): added default: label to quiet compiler
* gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.c
(gal_a11y_e_table_click_to_add_factory_create_accessible): return
NULL if check fails
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.c
(idle_do_action): fixed wrong cast
(idle_do_action): removed unused variables
(etcta_ref_child): return NULL if check fails
(gal_a11y_e_table_click_to_add_new): ditto
(gal_a11y_e_table_click_to_add_new): removed unused variable
* gal/a11y/e-table/gal-a11y-e-table-item-factory.c
(gal_a11y_e_table_item_factory_create_accessible): return NULL if
fails
(gal_a11y_e_table_item_factory_create_accessible): added cast
(gal_a11y_e_table_item_factory_create_accessible): removed unused
variable
* gal/a11y/e-table/gal-a11y-e-table-item.c (eti_dispose): removed
unused variable
(eti_get_parent): ditto
(eti_get_n_children): ditto
(eti_ref_child): ditto
(eti_get_index_in_parent): ditto
(eti_ref_accessible_at_point): return value (NULL)
(cell_destroyed): removed unused variable
(cell_destroyed): ditto
(table_add_row_selection): ditto
added #inclued <string.h> for memset, memmove
(eti_rows_inserted): removed unused variable
(eti_rows_deleted): ditto
(eti_header_structure_changed): ditto
* gal/a11y/e-table/gal-a11y-e-cell-popup.c
(gal_a11y_e_cell_popup_class_init): removed unused variable
added #include "gal-a11y-e-cell-registry.h"
(popup_cell_action): removed unused variable
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c (toggle_cell_action):
removed unused variable
* gal/a11y/e-table/gal-a11y-e-cell-tree.c: added #include
"gal-a11y-e-cell-registry.h"
(gal_a11y_e_cell_tree_new): add cast
(gal_a11y_e_cell_tree_new): removed unused variable
* gal/a11y/e-table/gal-a11y-e-cell-text.c: added #include
<string.h>
(ect_remove_selection): removed unused variable
(ect_copy_text): added cast
(ect_delete_text): ditto
(ect_paste_text): ditto
(ect_init): ditto
* gal/a11y/e-table/gal-a11y-e-cell.c (eti_grab_focus): added cast
(eti_grab_focus): ditto
(eti_grab_focus): return TRUE (grab was successful)
added #include <atk/atkstateset.h>
* gal/a11y/e-table/gal-a11y-e-tree.c: added #include
"gal-a11y-e-table-item.h"
(gal_a11y_e_tree_new): removed unused variable
* gal/e-text/e-text.c (_do_tooltip): removed unused variable
(e_text_event): added cast
(primary_clear_cb): removed unused variable
(_get_position): ditto
(_get_position): ditto
#if 0'ed unused prototypes
* gal/e-text/e-text-model.c (e_text_model_real_insert_length):
removed unused variables
* gal/e-text/e-completion.c (e_completion_sort): #if'0 ed, as it's
not used anywhere
* gal/widgets/e-reflow.c (items_inserted): remove unused variables
* gal/widgets/e-categories.c (e_categories_get_property): remove
unused variable
* gal/widgets/e-categories-master-list-dialog.c
(dialog_destroyed): added cast
* gal/widgets/e-categories-master-list-combo.c
(ecmlc_ecml_changed): remove unused variable
* gal/widgets/color-palette.c: include string.h for memset
prototype
svn path=/trunk/; revision=26288
|
|
|
|
|
|
|
|
|
|
|
| |
2004-06-10 Radek Doulik <rodo@ximian.com>
* gal/a11y/e-table/gal-a11y-e-table-item.c: clean code to avoid
compiler warnings
Fixes #59858
svn path=/trunk/; revision=26280
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-22 Eric Zhao <eric.zhao@sun.com>
Fixes #48974.
* gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item): add a check
to see whether the corresponding AtkObject of ETableItem has been
initialized.
svn path=/trunk/; revision=25580
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2004-04-22 Eric Zhao <eric.zhao@sun.com>
Fixes bug #52935.
* gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_ref_at),
(eti_reinit_data), (eti_clear_rows),
(eti_tree_model_node_changed_cb), (gal_a11y_e_table_item_new),
(eti_a11y_cursor_changed_cb): add cell-data synchronization when the
table's model has been changed, prevent data inconsistency.
svn path=/trunk/; revision=25579
|
|
|
|
|
|
|
|
|
|
| |
2004-04-01 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_get_caret_offset): add some sanity check here.
* gal/a11y/e-table/gal-a11y-e-table-item.c: add atk_state_focused to focused cell, it is must.
(gal_a11y_e_table_item_new), (eti_a11y_cursor_changed_cb):
svn path=/trunk/; revision=25277
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-16 Yuedong Du <yuedong.du@sun.com>
Fixed bug 51917, add atk support for ClickToAdd
* gal/a11y/e-table/Makefile.am: add files.
* gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.c:
(gal_a11y_e_table_click_to_add_factory_get_accessible_type),
(gal_a11y_e_table_click_to_add_factory_create_accessible),
(gal_a11y_e_table_click_to_add_factory_class_init),
(gal_a11y_e_table_click_to_add_factory_init),
(gal_a11y_e_table_click_to_add_factory_get_type): factory
for ClickToAdd
* gal/a11y/e-table/gal-a11y-e-table-click-to-add-factory.h:
ditto
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.c:
(etcta_get_n_actions), (etcta_get_description),
(etcta_action_get_name), (idle_do_action), (etcta_do_action),
(atk_action_interface_init): a "click" action interface.
(etcta_get_name),
(etcta_get_n_children), (etcta_ref_child): create accessible
according to which child is available. Either rect or row.
(etcta_class_init),
(etcta_init), (gal_a11y_e_table_click_to_add_get_type),
(etcta_event): listen to canvas event, emit children-changed signal
when it found rect/row was changed.
(gal_a11y_e_table_click_to_add_new):
* gal/a11y/e-table/gal-a11y-e-table-click-to-add.h:
* gal/a11y/e-table/gal-a11y-e-table-item-factory.c:
(gal_a11y_e_table_item_factory_create_accessible):
* gal/a11y/e-table/gal-a11y-e-table.c: (init_child_item),
(et_get_n_children), (et_ref_child): change the trick way to
create a11y object for a table item. Because ClickToAdd is also
a table item, previous way do not work for clicktoadd.
* gal/e-table/e-table-click-to-add.c: (etcta_class_init):
atk_register the new a11y factory.
svn path=/trunk/; revision=23956
|
|
|
|
| |
svn path=/trunk/; revision=23671
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-08 Andrew Wu <yang.wu@sun.com>
Fixed #50844
* gal/a11y/e-table/gal-a11y-e-cell-popup.c:
* gal/a11y/e-table/gal-a11y-e-cell-popup.h:
a11y impl. for e-cell-popup.
svn path=/trunk/; revision=23670
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-02 Bolian Yin <bolian.yin@sun.com>
Fixes #51145
* gal/a11y/gal-a11y-e-table-item (eti_get_column_header): new impl.
(eti_ref_child): add column headers as children
svn path=/trunk/; revision=23574
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-02 Bolian Yin <bolian.yin@sun.com>
Fixes #51139
* gal/a11y/gal-a11y-e-table-item: (gal_a11y_e_table_item_ref_selection)
(gal_a11y_e_table_item_unref_selection): new functions.
* gal/e-table/e-table-item.c : change the place of emitting ""selection_model_removed" signal.
svn path=/trunk/; revision=23571
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-02 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_get_text),
(ect_get_character_at_offset), (ect_get_caret_offset),
(ect_get_character_count), (ect_get_n_selections),
(ect_get_selection), (ect_add_selection), (ect_remove_selection),
(ect_set_selection), (ect_set_caret_offset),
(ect_set_text_contents), (ect_insert_text), (ect_copy_text),
(ect_delete_text), (ect_cut_text), (ect_paste_text),
(ect_class_init): a11y implementations for ECellText.
* gal/e-table/e-cell-text.c: (e_cell_text_set_selection),
(e_cell_text_get_selection), (e_cell_text_copy_clipboard),
(e_cell_text_paste_clipboard), (e_cell_text_delete_selection): new
functions to support corresponding atk operations.
* gal/e-table/e-cell-text.h: some APIs added to support atk operations.
svn path=/trunk/; revision=23568
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-02 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c:
(gal_a11y_e_cell_toggle_dispose): use table item to get the model.
(gal_a11y_e_cell_toggle_new): use table item to get the model.
* gal/a11y/e-table/gal-a11y-e-cell-tree.c:
(ectr_model_row_changed_cb): new function to deal with tree cell
expansion and collapse
(ectr_subcell_weak_ref): destroy the cell_tree a11y instance along
with it's subcell's a11y instance.
(gal_a11y_e_cell_tree_new): init the atk state of the tree cell,
and connect to the model_row_change signal of table model, so that
when the tree cell expands or collapses, the corresponding AtkState
could be set.
* gal/a11y/e-table/gal-a11y-e-cell-tree.h: add one member to save
the connected signal id.
svn path=/trunk/; revision=23567
|
|
|
|
|
|
|
|
|
|
| |
2003-12-01 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/gal-a11y-e-table-item.c:
(gal_a11y_e_table_item_new): don't assert row=0 as fault, it cause bug
51199.
svn path=/trunk/; revision=23566
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-12-01 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c:
(gal_a11y_e_cell_toggle_dispose):
* gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_dispose),
(eti_header_structure_changed): handle the structure changed signal of
table model. Thus we can handle table column add/remove/delete.
(eti_real_initialize): connect to structure-changed signal.
(gal_a11y_e_table_item_new): initialize the new added field - columns,
which in turn record columns before change.
svn path=/trunk/; revision=23563
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-21 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell-text.c: (ect_get_name): override
the function in base class, to retrieve the content of the text.
(ect_do_action_edit): begin edit the cell when issuing the action.
(ect_class_init): override the "get_name" function.
(ect_init): add an action "edit" to the object.
(gal_a11y_e_cell_text_get_type): add AtkAction interface to this type.
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c
(gal_a11y_e_cell_toggle_dispose): disconnect the connected signal when
disposing.
(gal_a11y_e_cell_toggle_class_init): to override the dispose function.
(toggle_cell_action): set position of the click event more precisely.
(model_change_cb): set or remove the ATK_STATE_CHECKED flag according
to the value in the model when it changes.
(gal_a11y_e_cell_toggle_new): init the ATK_STATE_CHECKED flag and
connect to the model cell change signal.
* gal/a11y/e-table/gal-a11y-e-cell-toggle.h: add one member to save
the connected signal id.
* gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_grab_focus):
notify the selection model that the cursor has been changed.
* gal/a11y/e-table/gal-a11y-e-table-item.c:
(eti_a11y_cursor_changed_cb): emiting a signal to notify the AT
applictions that the active descendant has been changed. (#51055)
svn path=/trunk/; revision=23466
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-19 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell.c: (eti_dispose): don't reset
these fields, we need these info to a11y weak ref on each cell to
do cell_destroy() correctly.
* gal/a11y/e-table/gal-a11y-e-table-item.c: (eti_dispose),
(cell_destroyed), (eti_ref_at), (eti_rows_inserted),
(eti_rows_deleted), (eti_real_initialize), (eti_class_init),
(gal_a11y_e_table_item_new): handle table model's row-inserted
and row-deleted signal
* gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item): sanity
check to avoid crash.
svn path=/trunk/; revision=23456
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-11-03 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/Makefile.am: new files (gal-a11y-e-cell-tree.c/h)
added
* gal/a11y/e-table/gal-a11y-e-cell.h: adding 2 new functions to add or
remove atk states
* gal/a11y/e-table/gal-a11y-e-cell.c (eti_dispose): unref the state_set
(eti_ref_state_set): new function
(eti_class_init): create and initialize the state_set
(eti_init): override the "ref_state_set" function in AtkObjectClass with
"eti_ref_state_set"
(gal_a11y_e_cell_add_state): adding a return value
(gal_a11y_e_cell_remove_state): new function
* gal/e-table/e-cell-tree.c: (e_cell_tree_class_init): register
GalA11yECellText as the a11y implementation for ECellText.
(e_cell_tree_view_get_subcell_view): new function to retrieve the cell_view
of subcell in ECellTree
* gal/e-table/e-cell-tree.h: adding 1 new function to retrieve the cell_view
of subcell in ECellTree
* gal/a11y/e-table/gal-a11y-e-cell-tree.c: new file. A11y implementation
for ECellTree
* gal/a11y/e-table/gal-a11y-e-cell-tree.h: new file. A11y implementation
for ECellTree
svn path=/trunk/; revision=23296
|
|
|
|
|
|
|
|
|
|
| |
2003-11-11 Bolian Yin <bolian.yin@sun.com>
Fixes # 50480
* gal/a11y/e-table/gal-a11y-e-table-item: listen on "selection_model_removed" and "selection_model_added".
svn path=/trunk/; revision=23282
|
|
|
|
|
|
|
|
| |
2003-10-30 Bolian Yin <bolian.yin@sun.com>
*e-table/gal-a11y-e-table-item: defunct widget checking, selection interface
svn path=/trunk/; revision=23167
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-30 Tim Wo <tim.wo@sun.com>
* gal/a11y/e-table/gal-a11y-e-cell.c (eti_grab_focus): new function
to deal with grabing table cell focus
(eti_atk_component_iface_init): Override "grab_focus" virtual function
with eti_grab_focus of AtkComponent interface. (#50131)
* gal/e-table/e-cell-text.c: (e_cell_text_class_init): register
GalA11yECellText as the a11y implementation for ECellText.
svn path=/trunk/; revision=23166
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-26 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/Makefile.am: add new file for toggle cell a11y
object.
* gal/a11y/e-table/gal-a11y-e-cell-toggle.c: new a11y object toggle cell (gal_a11y_e_cell_toggle_get_type),
(gal_a11y_e_cell_toggle_class_init), (toggle_cell_action), the
implementation of toggle cell action.
(gal_a11y_e_cell_toggle_new):
* gal/a11y/e-table/gal-a11y-e-cell-toggle.h: ditto
* gal/a11y/e-table/gal-a11y-e-cell.c:
(_gal_a11y_e_cell_get_action_info),
(_gal_a11y_e_cell_destroy_action_info),
(gal_a11y_e_cell_add_action), (gal_a11y_e_cell_remove_action),
(gal_a11y_e_cell_remove_action_by_name),
(gal_a11y_e_cell_action_get_n_actions),
(gal_a11y_e_cell_action_get_name),
(gal_a11y_e_cell_action_get_description),
(gal_a11y_e_cell_action_set_description),
(gal_a11y_e_cell_action_get_keybinding), (idle_do_action),
(gal_a11y_e_cell_action_do_action),
(gal_a11y_e_cell_atk_action_interface_init),
(gal_a11y_e_cell_type_add_action_interface),
(gal_a11y_e_cell_add_state): helper functions for add a action,
stealed from gailcell.c
* gal/a11y/e-table/gal-a11y-e-cell.h:
* gal/e-table/e-cell-toggle.c: (e_cell_toggle_class_init): register
toggle's a11y object.
svn path=/trunk/; revision=23095
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-10-11 Yuedong Du <yuedong.du@sun.com>
* gal/a11y/e-table/Makefile.am: add new files.
* gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_construct):
set the right role.
* gal/a11y/e-table/gal-a11y-e-table-item-factory.c: new file.
(gal_a11y_e_table_item_factory_get_accessible_type),
(gal_a11y_e_table_item_factory_create_accessible),
(gal_a11y_e_table_item_factory_class_init),
(gal_a11y_e_table_item_factory_init),
(gal_a11y_e_table_item_factory_get_type): factory for the table item
a11y object. in create_accessible, we judge the type of widget
then set correct role.
* gal/a11y/e-table/gal-a11y-e-table-item-factory.h: ditto.
* gal/a11y/e-table/gal-a11y-e-tree-factory.c: new file.
(gal_a11y_e_tree_factory_get_accessible_type),
(gal_a11y_e_tree_factory_create_accessible),
(gal_a11y_e_tree_factory_class_init),
(gal_a11y_e_tree_factory_init), (gal_a11y_e_tree_factory_get_type):
factory for a11y object of etree. Mostly copyed from
gal-a11y-e-table-factory.c.
* gal/a11y/e-table/gal-a11y-e-tree-factory.h: ditto
* gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item),
(et_ref_accessible_at_point), (et_get_n_children), (et_ref_child),
(et_class_init), (et_atk_component_iface_init), (et_init),
(gal_a11y_e_tree_get_type), (gal_a11y_e_tree_new):a11y object for
etree object, mostly copied from gal-a11y-e-table.c. init_child_item
set correct role for the table item.
* gal/a11y/e-table/gal-a11y-e-tree.h: ditto.
* gal/e-table/e-table-item.c: (eti_class_init): register factory
for table item a11y object.
* gal/e-table/e-tree.c: (e_tree_get_item), (e_tree_class_init):
add new access fuction to get the table item of etree.
* gal/e-table/e-tree.h: ditto
svn path=/trunk/; revision=22867
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-03 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* configure.in: call AC_LIBTOOL_WIN32_DLL which is necessary for
building shared library on win32 platform.
* gal/Makefile.am (libgal_2_0_la_LDFLAGS):
* gal/a11y/Makefile.am (libgal_a11y_2_0_la_LDFLAGS): add
-no-undefined which is necessary for building shared library on
some platforms (e.g. Win32, BeOS).
* gal/a11y/e-table/gal-a11y-e-cell-text.c: don't call undefined
functions e_cell_text_get_selection() and e_cell_text_set_selection().
* gal/a11y/Makefile.am (libgal_a11y_2_0_la_LIBADD):
add $(top_builddir)/gal/libgal-2.0.la and $(EXTRA_GNOME_LIBS).
* gal/Makefile.am:
(libgal_2_0_la_LIBADD): add $(EXTRA_GNOME_LIBS).
(ui_subdirs): add "." ahead of "a11y". because above change make
a11y/libgal-a11y-2.0.la to depend on libgal-2.0.la.
* gal/widgets/Makefile.am (test_color_LDADD,
test_e_font_LDADD, test_font_loading_LDADD): fix ordering.
$(EXTRA_GNOME_LIBS) should be behind other libraries that depend on it.
svn path=/trunk/; revision=21097
|
|
svn path=/trunk/; revision=18959
|