Commit Graph

21 Commits

Author SHA1 Message Date
c53fbc0b8f Miscellaneous cleanups. 2014-03-02 19:36:01 -05:00
5c60d57082 Replace 'interface' with 'iface' in the code
Win32 headers have a #define for 'interface', which breaks the build
when this word is used in the code, thus replace it to 'iface',
the same way as GLib or GTK+ code use to have it. (See bug #722068.)
2014-02-26 16:15:21 +01:00
b21733d067 Bug 721545 - License text contains obsolete FSF postal address 2014-01-07 16:05:51 -05:00
f267827d67 ETableSpecification: Implement GInitable.
e_table_specification_new() now takes a table specification filename and
a GError and parses the file as part of instance creation.  If a file or
parse error occurs, e_table_specification_new() returns NULL.

This replaces e_table_specification_load_from_file().

New functions:

  e_table_specification_get_filename()

Removed functions:

  e_table_specification_load_from_file()
2013-07-02 10:34:12 -04:00
b5f6b03fdf Remove e_table_specification_load_from_string().
No longer used outside of e-table-specification.c.

Its logic is merged into e_table_specification_load_from_file(), but
that too will be removed momentarily.
2013-07-02 10:34:12 -04:00
c1e8c1869d Remove e_table_specification_load_from_node().
No longer used.
2013-07-02 10:34:10 -04:00
0af0c8427e Reimplement e_table_specification_load_from_file().
Use g_file_get_contents() and e_table_specification_load_from_string().
2013-07-02 10:34:10 -04:00
c337e2af18 Reimplement e_table_specification_load_from_string().
New parser implementation that uses GMarkupParser instead of libxml2.
2013-07-02 10:34:10 -04:00
d40e5a8ba1 Add e_table_specification_get_column_index().
Lookups up the column index of an ETableColumnSpecification, returns a
negative value if no match found.
2013-07-02 10:34:09 -04:00
37aae129f3 ETableSpecification: Make the columns array private.
Use e_table_specification_ref_columns() to access column specs.
2013-07-02 10:34:08 -04:00
e663dec920 ETableSpecification: Add a private section. 2013-07-02 10:34:08 -04:00
e9299f623e Add e_table_specification_ref_columns(). 2013-07-02 10:34:08 -04:00
05c04b5512 ETableState: Add a "specification" construct-only property.
ETableState now keeps a weak reference on the ETableSpecification to
which it's associated.  The plan is to replace the column index numbers
with a direct reference to an ETableColumnSpecification from the spec.

New functions:

  e_table_state_ref_specification()
2013-07-02 10:34:08 -04:00
3b5a2a2570 Remove unused e_table_specification_save_to_node(). 2013-06-26 11:36:12 -04:00
be3e682562 Remove unused e_table_specification_save_to_string(). 2013-06-26 11:36:12 -04:00
54a69c4cda Remove unused e_table_specification_duplicate(). 2013-06-26 11:36:12 -04:00
bf44760175 Remove unused e_table_specification_save_to_file(). 2013-06-26 11:36:12 -04:00
aec739f874 ETableSpecification cleanups. 2013-06-26 11:36:12 -04:00
c6ccd45a0e ETable-related cleanups. 2013-06-18 20:31:50 -04:00
7dcd0b4499 Update API documentation. 2013-03-02 19:45:09 -05:00
d09d8de870 Consolidate base utility libraries into libeutil.
Evolution consists of entirely too many small utility libraries, which
increases linking and loading time, places a burden on higher layers of
the application (e.g. modules) which has to remember to link to all the
small in-tree utility libraries, and makes it difficult to generate API
documentation for these utility libraries in one Gtk-Doc module.

Merge the following utility libraries under the umbrella of libeutil,
and enforce a single-include policy on libeutil so we can reorganize
the files as desired without disrupting its pseudo-public API.

   libemail-utils/libemail-utils.la
   libevolution-utils/libevolution-utils.la
   filter/libfilter.la
   widgets/e-timezone-dialog/libetimezonedialog.la
   widgets/menus/libmenus.la
   widgets/misc/libemiscwidgets.la
   widgets/table/libetable.la
   widgets/text/libetext.la

This also merges libedataserverui from the Evolution-Data-Server module,
since Evolution is its only consumer nowadays, and I'd like to make some
improvements to those APIs without concern for backward-compatibility.

And finally, start a Gtk-Doc module for libeutil.  It's going to be a
project just getting all the symbols _listed_ much less _documented_.
But the skeletal structure is in place and I'm off to a good start.
2012-12-12 14:33:43 -05:00