r1219 - in trunk/src/target/OM-2007/applications/openmoko-today: . po src
thomas at sita.openmoko.org
thomas at sita.openmoko.org
Fri Mar 2 17:32:52 CET 2007
Author: thomas
Date: 2007-03-02 17:32:47 +0100 (Fri, 02 Mar 2007)
New Revision: 1219
Added:
trunk/src/target/OM-2007/applications/openmoko-today/AUTHORS
trunk/src/target/OM-2007/applications/openmoko-today/COPYING
trunk/src/target/OM-2007/applications/openmoko-today/ChangeLog
trunk/src/target/OM-2007/applications/openmoko-today/INSTALL
trunk/src/target/OM-2007/applications/openmoko-today/Makefile.am
trunk/src/target/OM-2007/applications/openmoko-today/NEWS
trunk/src/target/OM-2007/applications/openmoko-today/README
trunk/src/target/OM-2007/applications/openmoko-today/autogen.sh
trunk/src/target/OM-2007/applications/openmoko-today/configure.ac
trunk/src/target/OM-2007/applications/openmoko-today/po/
trunk/src/target/OM-2007/applications/openmoko-today/po/POTFILES.in
trunk/src/target/OM-2007/applications/openmoko-today/src/
trunk/src/target/OM-2007/applications/openmoko-today/src/Makefile.am
trunk/src/target/OM-2007/applications/openmoko-today/src/today-main.c
Log:
* Import of the Today application
Added: trunk/src/target/OM-2007/applications/openmoko-today/AUTHORS
===================================================================
Added: trunk/src/target/OM-2007/applications/openmoko-today/COPYING
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-today/COPYING 2007-03-02 11:57:10 UTC (rev 1218)
+++ trunk/src/target/OM-2007/applications/openmoko-today/COPYING 2007-03-02 16:32:47 UTC (rev 1219)
@@ -0,0 +1,340 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.) You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
+
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the program's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ <signature of Ty Coon>, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Library General
+Public License instead of this License.
Added: trunk/src/target/OM-2007/applications/openmoko-today/ChangeLog
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-today/ChangeLog 2007-03-02 11:57:10 UTC (rev 1218)
+++ trunk/src/target/OM-2007/applications/openmoko-today/ChangeLog 2007-03-02 16:32:47 UTC (rev 1219)
@@ -0,0 +1,1323 @@
+2007-02-02 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-callbacks-ui.c: (contacts_selection_cb): Commit changed
+ contacts before loading a new one
+ * src/contacts-groups-editor.c: (groups_checkbutton_cb): Mark contact as
+ changed instead of comitting straight away
+ * src/contacts-main.c: (main): Commit changes before closing
+
+ * src/contacts-edit-pane.c:
+ * src/contacts-edit-pane.h:
+ Removed
+
+2007-01-31 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-omoko.c: (create_main_window):
+ * src/contacts-ui.c: (contacts_set_available_options):
+
+ - Fix issues with enabling of some menu items
+ - Fix contact export
+
+2007-01-30 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-contact-pane.c: (strip_empty_attributes),
+ (update_ui), (on_commit_cb), (contacts_contact_pane_set_contact): Fix
+ new contact function
+
+2007-01-30 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-contact-pane.c: (field_button_add_cb),
+ (field_button_remove_cb), (make_widget): Implement add/remove buttons
+
+2007-01-29 Thomas Wood <thonas at openedhand.com>
+
+ * src/contacts-contact-pane.c: (make_widget): Add add/remove buttons to
+ editor UI, and use a combobox for the type selector.
+
+2007-01-26 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-contact-pane.c: (contact_get_attributes),
+ (strip_empty_attributes), (field_set_blank), (field_changed),
+ (field_focus_in), (field_focus_out), (show_menu), (set_type),
+ (get_type), (set_type_menu_cb), (make_widget), (update_ui),
+ (contacts_contact_pane_get_property),
+ (contacts_contact_pane_set_property),
+ (contacts_contact_pane_dispose), (contacts_contact_pane_finalize),
+ (contacts_contact_pane_class_init), (contacts_contact_pane_init),
+ (contacts_contact_pane_new), (contacts_contact_pane_set_editable),
+ (contacts_contact_pane_set_book_view), (on_commit_cb),
+ (contacts_contact_pane_set_contact):
+
+ - Add empty fields for any attribute categories without a value yet
+ - Implement UI spec with respect to blank fields.
+
+2007-01-25 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-callbacks-ui.c: (contacts_selection_cb):
+ * src/contacts-contact-pane.c: (update_ui), (on_commit_cb),
+ (contacts_contact_pane_set_contact):
+
+ Set a message when no contact is selected
+
+2007-01-24 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-contact-pane.c: Add a popupmenu to the attribute type
+ selector, and save the new type chosen by the user. Also added TEL to
+ list of handled attributes.
+
+2007-01-23 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-contact-pane.c: (make_widget), (update_ui):
+
+ - Added ORG field to list of handled types
+ - Make unique value fields appear in the editor regardless of if they
+ have an existing value
+ - Display group name in field label, rather than field type
+ - Allow blank fields in contact editor
+ - Add optional formatting to field display
+
+
+2007-01-23 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-contact-pane.c:
+ * src/contacts-contact-pane.h:
+ * src/contacts-groups-editor.c:
+ * src/contacts-groups-editor.h:
+ * src/contacts-omoko.c:
+ * src/contacts-omoko.h:
+
+ Add OpenMoko copyright/license header comments
+
+2007-01-19 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-contact-pane.c: (contacts_contact_pane_set_contact): Use
+ e_contact_get_const() when comparing UID fields
+
+ * src/contacts-defs.h:
+ * src/contacts-groups-editor.c:
+ (contacts_groups_pane_update_selection), (contacts_groups_new_cb):
+ * src/contacts-groups-editor.h:
+ * src/contacts-main.c: (main):
+ * src/contacts-omoko.c: (contacts_ui_create),
+ (contacts_ui_update_groups_list):
+ * src/contacts-ui.c: (contacts_setup_ui):
+
+ Cleanup groups code
+
+2007-01-18 Thomas Wood <thomas at openedhand.com>
+
+ (contacts_contact_pane_set_contact): Check the previous setting is not
+ the same as the old one
+
+ * src/contacts-callbacks-ui.c: (contacts_selection_cb),
+ (contacts_new_cb):
+ * src/contacts-contact-pane.c:
+ (contacts_contact_pane_set_editable),
+ * src/contacts-groups-editor.c:
+ (contacts_groups_pane_update_selection),
+ (contacts_groups_pane_hide), (contacts_groups_new_cb):
+ * src/contacts-groups-editor.h:
+ * src/contacts-omoko.c: (create_main_window):
+ * src/contacts-omoko.h:
+
+ - Enable adding a new group to a contact
+ - Provide more protection if there is no contact currently selected
+
+2007-01-18 Ross Burton <ross at openedhand.com>
+
+ * src/contacts-main.c:
+ * src/contacts-omoko.c:
+ * src/contacts-gtk.c:
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-ui.c:
+ Remove old include.
+
+2007-01-18 Ross Burton <ross at openedhand.com>
+
+ * src/Makefile.am:
+ * src/contacts-contact-pane.[ch]:
+ Add new contact viewer/editor widget. This isn't finished but its
+ a lot cleaner than the old code.
+
+ * src/contacts-omoko.c:
+ * src/contacts-main.c:
+ * src/contacts-defs.h:
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-contact-pane.c:
+ * src/contacts-ui.c:
+ Update.
+
+2007-01-18 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-omoko.c: (create_contacts_list),
+ (create_main_window): Start cleaning up some of the UI (toolbox buttons
+ and main menu entries)
+
+2007-01-18 Thomas Wood <thomas at openedhand.com>
+
+ * src/Makefile.am:
+ * src/contacts-omoko-groups-editor.c:
+ * src/contacts-omoko-groups-editor.h:
+ * src/contacts-omoko.c: (create_main_window):
+ * src/contacts-ui.h:
+
+ Move contacts-omoko-groups-editor.c to contacts-groups-editor.c.
+
+2007-01-17 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-callbacks-ui.c: (contacts_selection_cb),
+ (contacts_view_cb):
+ * src/contacts-callbacks-ui.h:
+ * src/contacts-defs.h:
+ * src/contacts-omoko-groups-editor.c: (contacts_groups_pane_show),
+ (contacts_groups_pane_update_selection),
+ (contacts_groups_pane_hide), (contacts_groups_new_group_cb),
+ (groups_checkbutton_cb):
+ * src/contacts-omoko-groups-editor.h:
+ * src/contacts-omoko.c: (create_contacts_list),
+ (create_main_window):
+ * src/contacts-ui.h:
+
+ Move group editing into lower pane, rather than in a seperate dialog.
+
+2007-01-16 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-omoko-groups-editor.c: (groups_checkbutton_cb),
+ (groups_contact_selection_cb), (groups_new_group_cb),
+ (groups_create_dialog):
+
+ Add "New Group" function
+
+2007-01-16 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-omoko-groups-editor.c: (groups_checkbutton_cb),
+ (groups_contact_selection_cb), (groups_create_dialog):
+ * src/contacts-omoko.c: (create_contacts_list):
+
+ - Enable editing of contact groups
+ - Fix some compiler warnings
+
+2007-01-15 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-omoko-groups-editor.c: (moko_open_groups_editor),
+ (groups_contact_selection_cb), (groups_create_dialog):
+ * src/contacts-omoko.c: (create_contacts_list),
+ (create_main_window):
+ * src/contacts-omoko.h:
+
+ More work on groups editor
+
+2007-01-15 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-omoko.h:
+ * src/contacts-ui.c:
+
+ Fix build
+
+2007-01-15 Thomas Wood <thomas at openedhand.com>
+
+ * configure.ac:
+ * src/Makefile.am:
+ * src/contacts-omoko-groups-editor.c:
+ * src/contacts-omoko-groups-editor.h:
+ * src/contacts-omoko.c:
+ * src/contacts-omoko.h:
+ * src/contacts-ui.h:
+
+ - Started work on groups editor interface
+ - Remove frontend configure option
+
+2007-01-12 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-omoko.c: (create_main_window),
+ (moko_open_groups_editor), (create_chooser_dialog),
+ (moko_filter_changed), (contacts_ui_create),
+ (contacts_ui_update_groups_list):
+ * src/contacts-ui.c: (contacts_setup_ui):
+
+ - Move treeview creation into frontend specific file
+ - Start updating the groups editing dialog
+ - Add four toolbox buttons as per specification
+
+2007-01-11 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-callbacks-ebook.c: (contacts_added_cb):
+ * src/contacts-callbacks-ui.c: (contacts_edit_cb):
+ * src/contacts-edit-pane.c: (contacts_edit_pane_show):
+ * src/contacts-omoko.c: (create_main_window), (contacts_ui_create):
+ * src/contacts-omoko.h:
+ * src/contacts-ui.c: (contacts_setup_ui):
+ * src/contacts-utils.c:
+
+ - Add mobile number to main contacts list
+ - Arrange edit view to match details view
+
+2007-01-10 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-defs.h:
+ * src/contacts-omoko.c: (create_main_window),
+ (contacts_ui_update_groups_list):
+ * src/contacts-ui.c: (contacts_setup_ui):
+
+ More OpenMoko work (widget, icons, design, etc.)
+
+2007-01-10 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-omoko.c: (create_main_window): Clean up
+
+ * src/contacts-edit-pane.c: (contacts_edit_pane_hide),
+ (contacts_edit_pane_show):
+ * src/contacts-ui.c: (contacts_display_summary):
+
+ Prevent some Gtk-CRITICAL warnings
+
+2007-01-10 Ross Burton <ross at openedhand.com>
+
+ * configure.ac:
+ Use AS_HELP_STRING and list frontends.
+
+2007-01-09 Thomas Wood <thomas at opendhand.com>
+
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-edit-pane.c: (contacts_remove_edit_widgets_cb),
+ (contacts_edit_pane_hide), (contacts_edit_add_focus_events),
+ (contacts_edit_pane_show):
+ * src/contacts-edit-pane.h:
+ * src/contacts-ui.c: (contacts_display_summary):
+ * src/contacts-utils.c: (contacts_contact_from_tree_path):
+
+ Plug various leaks reported by valgrind.
+
+2007-01-09 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-callbacks-ui.c: (contacts_search_changed_cb):
+ * src/contacts-main.c: (main):
+ * src/contacts-omoko.c: (contacts_ui_update_groups_list):
+
+ Filter menu now works correctly with "Search Results" item
+
+2007-01-08 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-callbacks-ui.c: (contacts_chooser_add_cb):
+ * src/contacts-callbacks-ui.h:
+ * src/contacts-defs.h:
+ * src/contacts-omoko.c: (create_main_window),
+ (contacts_ui_update_groups_list):
+
+ Start implementing "Search Results" filter-menu item.
+
+2007-01-08 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-callbacks-ui.c: (contacts_clear_search_cb):
+ * src/contacts-callbacks-ui.h:
+ * src/contacts-omoko.c: (create_main_window):
+
+ Clear the search results when hiding the search widget
+
+2007-01-08 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-omoko.c: (create_main_window):
+
+ - Use OpenMoko API for tool box buttons. Seems to fix search problems
+ too.
+ - Adjust padding in edit mode to match view mode
+
+2006-12-13 Thomas Wood <thomas at openedhand.com>
+
+ * configure.ac: Fix formatting
+ * src/contacts-omoko.c: (create_main_window),
+ (create_chooser_dialog), (moko_filter_changed),
+ (contacts_ui_update_groups_list):
+ * src/contacts-omoko.h:
+
+ Use the OpenMoko filter menu to filter contact groups
+
+2006-12-12 Thomas Wood <thomas at openedhand.com>
+
+ Merged revisions 122-123 via svnmerge from
+ https://svn.o-hand.com/repos/contacts/trunk
+
+ ........
+ r122 | thomas | 2006-12-11 11:35:13 +0000 (Mon, 11 Dec 2006) | 11 lines
+
+ 2006-12-11 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-callbacks-ebook.c: (contacts_added_cb),
+ (contacts_changed_cb):
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-gtk.c: (contacts_gconf_search_cb),
+ (create_main_window):
+ * src/contacts-main.c: (main):
+
+ Fix group filtering
+ ........
+ r123 | thomas | 2006-12-11 16:42:10 +0000 (Mon, 11 Dec 2006) | 14 lines
+
+ 2006-12-11 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-callbacks-ui.c: (contacts_chooser_add_cb):
+ * src/contacts-edit-pane.c: (contacts_change_groups_cb),
+ (contacts_edit_pane_show):
+ * src/contacts-gtk.c: (contacts_ui_update_groups_list),
+ (create_main_window), (create_chooser_dialog):
+ * src/contacts-gtk.h:
+ * src/contacts-main.c: (main):
+ * src/contacts-ui.c:
+ * src/contacts-ui.h:
+
+ Fix group editing
+ ........
+
+2006-11-30 Thomas Wood <thomas at openedhand.com>
+
+ * configure.ac:
+ * src/Makefile.am:
+ * src/contacts-callbacks-ebook.c:
+ * src/contacts-callbacks-ebook.h:
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-defs.h:
+ * src/contacts-edit-pane.c:
+ * src/contacts-gtk.c:
+ * src/contacts-main.c:
+ * src/contacts-main.h:
+ * src/contacts-omoko.c:
+ * src/contacts-omoko.h:
+ * src/contacts-ui.c:
+ * src/contacts-ui.h:
+ * src/contacts-utils.c:
+ * src/contacts-utils.h:
+
+ - Code refactoring
+ - Added OpenMoko frontend
+
+2006-11-24 Thomas Wood <thomas at openedhand.com>
+
+ * configure.ac: Added catalan translation
+ * data/Makefile.am: Remove glade file
+
+2006-11-21 Thomas Wood <thomas at openedhand.com>
+
+ * src/Makefile.am:
+ * src/contacts-callbacks-ui.c: (contacts_search_changed_cb):
+ * src/contacts-callbacks-ui.h:
+ * src/contacts-gtk.c: (create_main_window),
+ (create_chooser_dialog):
+ * src/contacts-main.c: (contacts_update_treeview), (main):
+ * src/contacts-ui.c:
+ * src/contacts-ui.h:
+
+ Some more refactoring of UI code
+
+2006-11-20 Thomas Wood <thomas at openedhand.com>
+
+ * configure.ac:
+ * src/Makefile.am:
+ * src/contacts-callbacks-ebook.c: (contacts_added_cb),
+ (contacts_changed_cb), (contacts_removed_cb):
+ * src/contacts-callbacks-ui.c: (contacts_chooser_add_cb),
+ (contacts_search_changed_cb), (contacts_selection_cb),
+ (contacts_new_cb), (contacts_edit_cb), (contacts_treeview_edit_cb),
+ (contacts_delete_cb):
+ * src/contacts-callbacks-ui.h:
+ * src/contacts-defs.h:
+ * src/contacts-edit-pane.c: (contacts_edit_pane_hide),
+ (contacts_edit_delete_cb), (contacts_change_groups_cb),
+ (contacts_add_field_cb), (contacts_edit_pane_show):
+ * src/contacts-gtk.c:
+ * src/contacts-gtk.h:
+ * src/contacts-main.c: (contacts_update_treeview),
+ (contacts_display_summary), (contacts_bacon_cb),
+ (contacts_gconf_search_cb), (main):
+ * src/contacts-main.h:
+ * src/contacts-utils.c: (contacts_free_list_hash),
+ (contacts_chooser):
+ * src/contacts-utils.h:
+
+ Remove glade dependency
+
+2006-11-20 Emmanuele Bassi <ebassi at openedhand.com>
+
+ * configure.ac: Add it translation.
+
+2006-11-20 Thomas Wood <thomas at openedhand.com>
+
+ * configure.ac: Add fi, de and nl translations
+ * data/contacts.glade: Use stock buttons
+ * src/contacts-main.c: (main): Set icons to 16x16, and reduce padding
+ in contacts list
+
+2006-11-17 Thomas Wood <thomas at openedhand.com>
+
+ * NEWS:
+ * configure.ac:
+
+ Updated for 0.2 release
+
+2006-11-16 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-callbacks-ui.h:
+ * src/contacts-main.c:
+
+ - Ellipsize long names in the contacts list
+ - Enable/disable cut, copy and paste items
+
+2006-11-16 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-main.c:
+ * src/contacts-utils.c:
+ * src/contacts-utils.h:
+
+ Implement multiple import and delete
+
+2006-11-14 Thomas Wood <thomas at openedhand.com>
+
+ * src/contacts-utils.c:
+ * src/contacts-edit-pane.c:
+
+ Fix compiler warnings
+
+2006-11-13 Thomas Wood <thomas at openedhand.com>
+
+ * data/contacts.glade: Clean up padding and remove about dialog
+ * src/contacts-callbacks-ui.c: Use gtk_show_about_dialog instead of glade
+ * src/contacts-main.c: (main): Added a size group for a nicer UI
+
+2006-10-18 Ross Burton <ross at openedhand.com>
+
+ * INSTALL:
+ * COPYING:
+ * data/Makefile.am:
+ * Makefile.am:
+ * autogen.sh:
+ Switch to automake 1.8, fix dist, fix clean targets.
+
+2006-10-18 Ross Burton <ross at openedhand.com>
+
+ * configure.ac:
+ * data/Makefile.am:
+ Don't try and install GConf schemas if GConf isn't being used.
+
+2006-10-18 Ross Burton <ross at openedhand.com>
+
+ * src/contacts-callbacks-ebook.c:
+ Fix the order of hash creation and store population, fixing
+ chronic breakage on GTK+ 2.10.
+
+2006-07-12 Chris Lord,,, <chris at openedhand.com>
+
+ * src/contacts-callbacks-ui.c: (contacts_delete_cb):
+ Check if name text is NULL before g_utf8_strlen on delete dialog
+
+ * src/contacts-main.c: (contacts_display_summary):
+ Escape name text before displaying in the preview pane
+
+2006-07-09 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/contacts-main.c: (main):
+ Hide the menubar when embedding
+
+2006-07-09 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ - Make main window not initially visible
+
+ * src/contacts-main.c: (main):
+ - Add GOption support
+ - Add XEmbed support (-p/--plug <socket id>)
+
+2006-06-21 Chris Lord,,, <chris at openedhand.com>
+
+ * src/contacts-utils.c: (contacts_load_photo):
+ Adapt to change in EContactPhotoType
+
+2006-04-23 Chris Lord,,, <chris at openedhand.com>
+
+ * src/contacts-callbacks-ui.c: (contacts_edit_cb):
+ Fix crash when the contacts treeview sends an activated signal with no
+ contact selected.
+
+2006-04-23 Olivier Lê Thanh Duong <olivier at lethanh.be>
+
+ * src/contacts-edit-pane.c:
+ * src/contacts-utils.c:
+ Mark 'choose groups' as translatable, allow to translate fields in
+ contacts_fields and contacts_sfields.
+ * po/fr.po:
+ Updated French translation
+
+2006-04-21 Olivier Lê Thanh Duong <olivier at lethanh.be>
+
+ * configure.ac:
+ * po/fr.po:
+ New French translation
+
+2006-04-10 Chris Lord,,, <chris at openedhand.com>
+
+ * Makefile.am:
+ * autogen.sh:
+ * configure.ac:
+ * data/Makefile.am:
+ * data/contacts.desktop:
+ * data/contacts.glade:
+ * src/Makefile.am:
+ * src/contacts-callbacks-ui.c: (contacts_delete_cb):
+ * src/contacts-edit-pane.c: (contacts_edit_pane_hide),
+ (contacts_edit_delete_cb), (contacts_type_edit_widget_new),
+ (contacts_edit_widget_new), (contacts_change_groups_cb),
+ (contacts_add_field_cb), (contacts_edit_pane_show):
+ * src/contacts-main.c: (contacts_display_summary), (main):
+ * src/contacts-main.h:
+ * src/contacts-utils.c: (contacts_choose_photo):
+ - Add i18n support, thanks to patch from Priit Laes
+
+2006-03-20 Ross Burton <ross at openedhand.com>
+
+ * src/contacts-callbacks-ui.c:
+ Fix printf format.
+
+2006-03-20 Ross Burton <ross at openedhand.com>
+
+ * src/contacts-callbacks-ui.c:
+ Delete contacts async to avoid deadlocks with DBus EDS.
+
+2006-02-06 Chris Lord,,, <chris at openedhand.com>
+
+ * src/contacts-callbacks-ui.c:
+ Remove dependency gtk+-2.0 >= 2.8.0 (don't use
+ gtk_file_chooser_set_do_overwrite_confirmation)
+
+2005-12-29 Chris Lord,,, <chris at openedhand.com>
+
+ * autogen.sh:
+ * configure.ac:
+ * data/Makefile.am:
+ * data/contacts.glade:
+ * data/contacts.schemas:
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-main.c: (contacts_bacon_cb),
+ (contacts_gconf_search_cb), (main):
+ Add gconf support for specifying search UI (fixes bug #57). Needs work
+
+2005-12-24 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/contacts-edit-pane.c: (contacts_edit_widget_new),
+ (contacts_edit_focus_in), (contacts_edit_focus_out),
+ (contacts_edit_add_focus_events), (contacts_append_to_edit_table),
+ (contacts_change_groups_cb), (contacts_find_widget_cb),
+ (contacts_add_field_cb), (contacts_remove_entries),
+ (contacts_widget_is_label), (contacts_edit_set_focus_cb),
+ (contacts_remove_field_cb), (contacts_widgets_list_sort),
+ (contacts_widgets_list_find), (contacts_edit_choose_photo),
+ (contacts_edit_pane_show):
+ * src/contacts-edit-pane.h:
+ * src/contacts-main.c: (contacts_display_summary):
+ * src/contacts-utils.c: (contacts_set_widget_desensitive_recurse):
+ Highlight currently selected field in edit pane. When the user clicks
+ remove, just remove the selected field. Fixed, as suggested by Jorn
+ Baayen, bug #58
+
+2005-12-22 Chris Lord,,, <chris at openedhand.com>
+
+ * configure.ac:
+ Typo (GNOMEVFS -> HAVE_GNOMEVFS)
+
+ * data/contacts.desktop:
+ Add vCard mimetype
+
+ * src/Makefile.am:
+ Add libbacon files
+
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-main.c: (contacts_import_from_param),
+ (contacts_bacon_cb), (main):
+ Fix gnome-vfs code, use libbacon to maintain only one instance
+
+2005-12-22 Chris Lord,,, <chris at openedhand.com>
+
+ * configure.ac:
+ Add --enable-gnome-vfs switch for vCard import/export using gnome-vfs
+
+ * src/contacts-callbacks-ebook.c: (contacts_added_cb):
+ Allow manual triggering of the contact-added signal
+
+ * src/contacts-callbacks-ui.c: (contacts_edit_cb),
+ (contacts_treeview_edit_cb):
+ * src/contacts-callbacks-ui.h:
+ - Separate import/export UI and function
+ - Add confirmation option for contact import (bug #47)
+ - Select a contact after importing, if contact is imported into db
+
+ * src/contacts-defs.h:
+ Add new var for importing contacts from the command-line (bug #47)
+
+ * src/contacts-edit-pane.c: (contacts_edit_ok_new_cb):
+ Move export to contacts-callbacks-ui
+
+ * src/contacts-main.c: (open_book), (main):
+ Allow import of contacts from command-line (bug #47)
+
+ * src/contacts-utils.c: (contacts_get_selected_contact):
+ * src/contacts-utils.h:
+ New function contacts_set_selected_contact to select a contact by UID
+
+2005-12-21 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/contacts-main.c: (contacts_search_changed_cb),
+ (contacts_display_summary), (main):
+ Remove labels from focus chain - bug #36
+
+2005-12-21 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/contacts-callbacks-ui.c: (contacts_about_cb):
+ * src/contacts-callbacks-ui.h:
+ * src/contacts-main.c:
+ - Fix oddness with starting search from treeview
+
+2005-12-21 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ Change 'OK' button in edit pane to 'Close' - bug #55
+
+ * src/contacts-callbacks-ui.c: (contacts_edit_cb),
+ (contacts_paste_cb), (contacts_about_cb),
+ (contacts_treeview_keypress_cb):
+ * src/contacts-callbacks-ui.h:
+ * src/contacts-main.c: (main):
+ - Change delete dialogue to include descriptive buttons and contact
+ name - bug #55
+ - Add a callback for double-clicking a contact to open/edit - bug #52
+
+2005-12-18 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ - Set can_focus to true on contact list treeview
+ - Add a callback on treeview keypress
+ - Restore object property in cut/copy/paste signal handlers, fixes bug
+ #50
+
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-callbacks-ui.h:
+ Add a keypress handler that passes key-presses from the treeview to
+ the search entry and focuses it
+
+ * src/contacts-main.c:
+ Stop setting can-focus to false for selectable labels - breaks
+ cut/copy/paste, see bug #36
+
+2005-12-14 Chris Lord,,, <chris at openedhand.com>
+
+ * configure.ac:
+ * src/contacts-callbacks-ebook.c:
+ * src/contacts-callbacks-ebook.h:
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-callbacks-ui.h:
+ * src/contacts-defs.h:
+ * src/contacts-edit-pane.c: (contacts_edit_pane_show):
+ * src/contacts-edit-pane.h:
+ * src/contacts-main.c:
+ * src/contacts-main.h:
+ * src/contacts-utils.c:
+ * src/contacts-utils.h:
+ - Add copyright notice
+ - Mark v0.1
+ - Fix a few uncommon bugs with contact field-order
+
+2005-11-25 Chris Lord,,, <chris at openedhand.com>
+
+ * src/contacts-edit-pane.c: (contacts_widgets_list_find),
+ (contacts_edit_pane_show):
+ Changing contact photo counts as a change against the contact
+
+ * src/contacts-utils.c: (contacts_choose_photo):
+ Set mime-type to NULL when adding contact photo (fixes bug #35)
+
+2005-11-24 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ Set can_focus to FALSE for some widgets in the main window
+
+ * src/contacts-edit-pane.c: (contacts_edit_pane_hide),
+ (contacts_edit_pane_show):
+ Set window focus and default for main and edit panes on switching
+
+2005-11-09 Chris Lord,,, <chris at openedhand.com>
+
+ * src/contacts-main.c: (main):
+ Completely fix bug #36
+
+2005-11-09 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ Change name label can_focus to FALSE (bug #36)
+
+ * src/contacts-main.c: (contacts_display_summary):
+ Make sure summary details are selectable, but not focusable (bug #36)
+
+2005-11-09 Chris Lord,,, <chris at openedhand.com>
+
+ * src/contacts-callbacks-ui.c: (contacts_edit_cb):
+ * src/contacts-defs.h:
+ * src/contacts-edit-pane.c:
+ Add a new 'changed' variable to data structures, fix bug #33 (Don't
+ commit a contact when there are no changes)
+
+2005-11-09 Chris Lord,,, <chris at openedhand.com>
+
+ * src/contacts-main.c: (contacts_display_summary):
+ * src/contacts-callbacks-ebook.c: (contacts_added_cb),
+ (contacts_changed_cb):
+ If a contact has an empty name, label it as 'Unnamed' (bug #41)
+
+ * src/contacts-edit-pane.c:
+ Don't add empty contacts (bug #41)
+
+ * src/contacts-utils.c: (contacts_clean_contact):
+ * src/contacts-utils.h:
+ Add a function to see if a contact is empty (bug #41)
+
+2005-11-07 Ross Burton <ross at burtonini.com>
+
+ * src/contacts-main.c:
+ * src/contacts-edit-pane.c:
+ Remove redundant <span> elements.
+
+2005-10-31 Chris Lord,,, <chris at openedhand.com>
+
+ * src/contacts-callbacks-ui.c: (contacts_import_cb):
+ Finish off contacts import and plug a leak in it
+
+2005-10-31 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.desktop:
+ Add 'Office' category
+
+ * src/contacts-utils.c: (contacts_load_photo),
+ (contacts_choose_photo), (contacts_set_widget_desensitive_recurse):
+ - Only recurse into GtkTable, GtkHBox and GtkVBox when setting widgets
+ insensitive.
+ - Free photo data after changing contact photos
+
+2005-10-25 Ross Burton <ross at openedhand.com>
+
+ * src/contacts-utils.c:
+ Set the MIME type on new photos, as required by latest EDS.
+
+2005-10-20 Chris Lord,,, <chris at openedhand.com>
+
+ * src/contacts-callbacks-ui.c:
+ Don't add a new contact twice, add it after editing is finished
+
+ * src/contacts-main.c: (contacts_display_summary),
+ (chooser_toggle_cb), (opened_book), (open_book):
+ g_object_ref book_view to fix working under eds-corba
+
+2005-10-11 Ross Burton <ross at openedhand.com>
+
+ * data/oh-contacts.png:
+ Replace with stock_contact, to match window icon.
+
+2005-10-11 Ross Burton <ross at openedhand.com>
+
+ * src/contacts-main.c:
+ * src/contacts-defs.h:
+ Open the book and view in an idle handler, asynchronously.
+
+2005-10-11 Ross Burton <ross at openedhand.com>
+
+ * src/contacts-main.c:
+ * src/contacts-edit-pane.c:
+ Use g_ascii_strcasecmp when comparing types are they have to be
+ ASCII.
+
+2005-10-11 Ross Burton <ross at openedhand.com>
+
+ * src/contacts-utils.c:
+ Constify some structures.
+
+2005-10-11 Ross Burton <ross at openedhand.com>
+
+ * src/contacts-edit-pane.c:
+ Handle adding new contacts as well as editing existing contacts.
+
+2005-10-07 Ross Burton <ross at openedhand.com>
+
+ * data/contacts.desktop:
+ Remove duplicate SingleInstance field.
+
+2005-10-04 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.desktop:
+ Add SingleInstance=true (again?)
+
+ * data/contacts.glade:
+ Add ellipses to name label
+
+2005-10-03 mallum <mallum at openedhand.com>
+
+ * data/contacts.desktop:
+ Add SingleInstance=true to desktop file
+
+2005-09-30 mallum <mallum at openedhand.com>
+
+ * data/Makefile.am:
+ Put icon in /usr/share/pixmaps ( for now )
+ * data/contacts.desktop:
+ Add PIM category.
+
+2005-09-30 Ross Burton <ross at openedhand.com>
+
+ * data/Makefile.am:
+ * data/contacts.desktop:
+ * data/oh-contacts.png:
+ Add desktop file and icon.
+
+2005-09-30 Ross Burton <ross at openedhand.com>
+
+ * src/contacts-utils.c:
+ Include config.h to get the EContactPhoto define.
+
+2005-09-01 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/contacts-callbacks-ui.c: (contacts_delete_cb):
+ * src/contacts-callbacks-ui.h:
+ * src/contacts-edit-pane.c: (contacts_remove_edit_widgets_cb),
+ (contacts_edit_pane_hide), (contacts_edit_pane_show):
+ * src/contacts-main.c: (main):
+ * src/contacts-utils.c: (contacts_get_type_strings),
+ (contacts_choose_photo), (contacts_chooser),
+ (contacts_set_widget_desensitive_recurse):
+ * src/contacts-utils.h:
+ o All modal dialogs use contacts_set_widget_desensitive
+ o Reorganise menus
+ o Add delete option to edit pane
+ o Add import and export ability
+
+2005-08-31 Chris Lord,,, <chris at openedhand.com>
+
+ * src/contacts-main.c: (main):
+ * src/contacts-utils.c: (contacts_set_widget_desensitive_recurse):
+ o Free a forgotten GList
+ o Set chooser dialog transient for main window
+
+2005-08-31 Chris Lord,,, <chris at openedhand.com>
+
+ * src/contacts-utils.c: (contacts_chooser):
+ * src/contacts-utils.h:
+ Set main window widgets insensitive when opening modal dialogs
+
+2005-08-31 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ o Tweak spacings
+ o Remove focus-set signal on main_window
+
+ * src/contacts-callbacks-ui.c: (contacts_new_cb),
+ (contacts_edit_cb):
+ * src/contacts-defs.h:
+ * src/contacts-edit-pane.c: (contacts_edit_widget_new),
+ (contacts_edit_pane_show):
+ * src/contacts-edit-pane.h:
+ o Remove field now brings up a dialog, similarly to add field
+ o Add unique identifier to fields (e.g. FN and NICKNAME)
+ o Don't omit photo when displaying contacts with only 1 or 2 fields
+ o Empty high-priority fields are only shown on new contacts
+
+ * src/contacts-main.c: (contacts_display_summary):
+ Fix type display in contact summary
+
+ * src/contacts-utils.c: (contacts_get_selected_contact),
+ (contacts_set_available_options), (contact_photo_size),
+ (contacts_load_photo), (contacts_clean_contact),
+ (contacts_entries_get_values), (contacts_chooser_add_cb),
+ (contacts_chooser):
+ * src/contacts-utils.h:
+ o Move functions from contacts-edit-pane to contacts-utils
+ o Fix contacts_chooser when selection is empty
+ o contacts_string_list_as_string can exclude empty strings
+
+2005-08-31 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/contacts-callbacks-ui.c: (contacts_selection_cb),
+ (contacts_copy_cb), (contacts_cut_cb), (contacts_paste_cb):
+ * src/contacts-edit-pane.c: (contacts_edit_pane_hide),
+ (contacts_change_groups_cb), (contacts_edit_pane_show):
+ * src/contacts-main.c: (contacts_display_summary):
+ * src/contacts-utils.c:
+ * src/contacts-utils.h:
+ o Make menu-bar visible on main and edit pane
+ o Move groups editing to menubar
+ o Cut/copy/paste menu option works in GtkTextView
+
+2005-08-30 mallum <mallum at openedhand.com>
+
+ * src/contacts-main.c: (contacts_display_summary):
+ Fix a small segv when freeing non dynamic alloc string.
+
+2005-08-30 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/contacts-edit-pane.c: (contacts_get_field_types),
+ (contacts_add_attr), (contacts_entry_changed),
+ (contacts_type_edit_widget_new), (contacts_label_widget_new),
+ (contacts_edit_widget_new), (contacts_append_to_edit_table),
+ (contacts_add_field_cb):
+ * src/contacts-edit-pane.h:
+ o Fix remove field to work correctly in all cases (hopefully)
+ o Dynamically size multi-line fields
+
+2005-08-27 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/contacts-edit-pane.c: (contacts_get_structured_field_size),
+ (contacts_get_contacts_field), (contacts_add_attr):
+ * src/contacts-edit-pane.h:
+ * src/contacts-main.c: (contacts_update_treeview),
+ (contacts_display_summary):
+ * src/contacts-utils.c: (contacts_get_types):
+ * src/contacts-utils.h:
+ o Rewrite summary display
+
+2005-08-26 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/contacts-callbacks-ebook.c: (contacts_changed_cb):
+ * src/contacts-edit-pane.c: (contacts_append_to_edit_table),
+ (contacts_remove_field_cb), (contacts_widgets_list_sort),
+ (contacts_widgets_list_find), (contacts_edit_pane_show):
+ * src/contacts-main.c: (chooser_toggle_cb):
+ * src/contacts-utils.c: (contacts_entries_get_values),
+ (contacts_chooser):
+ * src/contacts-utils.h:
+ o Add group editing
+ o New groups are reflected in the contact list group drop-down
+
+2005-08-26 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/contacts-edit-pane.c: (contacts_add_attr),
+ (contacts_edit_widget_new), (contacts_add_field_cb),
+ (contacts_remove_field_cb), (contacts_widgets_list_sort),
+ (contacts_widgets_list_find), (contacts_edit_pane_show):
+ * src/contacts-edit-pane.h:
+ * src/contacts-main.c:
+ * src/contacts-main.h:
+ * src/contacts-utils.c: (contacts_entries_get_values),
+ (contacts_chooser):
+ o Finish field addition
+ o Add field removal (needs work)
+ o Begin work on groups editing
+
+2005-08-26 mallum <mallum at openedhand.com>
+
+ * Makefile.am:
+ * data/Makefile.am:
+ * src/Makefile.am:
+ Fixes for make dist etc
+
+2005-08-25 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/contacts-defs.h:
+ * src/contacts-edit-pane.c: (contacts_get_contacts_field),
+ (contacts_field_pretty_name), (contacts_widgets_list_find),
+ (contacts_edit_pane_show):
+ * src/contacts-main.c: (contacts_display_summary), (main):
+ * src/contacts-utils.c: (contacts_entries_get_values):
+ * src/contacts-utils.h:
+ o Add new 'chooser' dialog (unfinished)
+ o Begin work on field addition (unfinished)
+
+2005-08-24 Chris Lord,,, <chris at openedhand.com>
+
+ * src/contacts-defs.h:
+ * src/contacts-edit-pane.c: (contacts_get_field_types),
+ (contacts_get_structured_field_name),
+ (contacts_get_structured_field_size),
+ (contacts_get_contacts_field),
+ (contacts_get_contacts_field_pretty_name),
+ (contacts_remove_edit_widgets_cb), (contacts_edit_pane_hide),
+ (contacts_type_entry_changed), (contacts_entry_changed),
+ (contacts_type_edit_widget_new), (contacts_label_widget_new),
+ (contacts_edit_widget_new), (contacts_widgets_list_sort),
+ (contacts_widgets_list_find), (contacts_edit_pane_show):
+ * src/contacts-utils.c: (contacts_load_photo),
+ (contacts_string_list_as_string):
+ * src/contacts-utils.h:
+ o Fix edit-pane layout oddities, somewhat
+ o Add TYPE parameter editing, including custom types (conforms to
+ spec)
+
+2005-08-23 Chris Lord,,, <chris at openedhand.com>
+
+ reviewed by: <delete if not using a buddy>
+
+ * data/contacts.glade:
+ * src/contacts-edit-pane.c: (contacts_edit_widget_new),
+ (contacts_edit_pane_show):
+ * src/contacts-utils.c: (contacts_choose_photo):
+ o Fix photo chooser
+ o Change photo layout in edit pane
+
+2005-08-23 Chris Lord,,, <chris at openedhand.com>
+
+ * src/contacts-defs.h:
+ * src/contacts-edit-pane.c:
+ (contacts_get_contacts_field_pretty_name),
+ (contacts_remove_edit_widgets_cb), (contacts_edit_pane_hide),
+ (contacts_label_widget_new), (contacts_edit_widget_new),
+ (contacts_widgets_list_sort), (contacts_widgets_list_find),
+ (contacts_edit_pane_show):
+ * src/contacts-utils.c: (contacts_free_list_hash):
+ * src/contacts-utils.h:
+ o Add structured field editing
+
+2005-08-22 Ross Burton <ross at openedhand.com>
+
+ * configure.ac:
+ Fix location of source files.
+
+2005-08-22 Chris Lord,,, <chris at openedhand.com>
+
+ * old/Makefile:
+ * src/Makefile.am:
+ * src/contacts-callbacks-ebook.c:
+ * src/contacts-callbacks-ebook.h:
+ * src/contacts-callbacks-ui.c:
+ * src/contacts-callbacks-ui.h:
+ * src/contacts-defs.h:
+ * src/contacts-edit-pane.c:
+ * src/contacts-edit-pane.h:
+ * src/contacts-main.c:
+ * src/contacts-main.h:
+ * src/contacts-utils.c:
+ * src/contacts-utils.h:
+ o Finish refactoring
+ o ADR editing regression (due to lost source)
+
+2005-08-22 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/callbacks-ebook.c: (contacts_added_cb),
+ (contacts_changed_cb):
+ * src/callbacks-ebook.h:
+ * src/callbacks-ui.c: (contacts_delete_cb),
+ (contacts_is_row_visible_cb):
+ * src/callbacks-ui.h:
+ * src/defs.h:
+ * src/main.c: (contacts_display_summary), (main):
+ * src/main.h:
+ * src/utils.c: (contacts_contact_from_selection),
+ (contacts_get_selected_contact), (contacts_choose_photo),
+ (contacts_free_list_hash):
+ * src/utils.h:
+ o Remove all globals
+ o Namespace all functions
+
+2005-08-21 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/callbacks-ebook.c: (contacts_added_cb),
+ (contacts_changed_cb), (contacts_removed_cb):
+ * src/callbacks-ebook.h:
+ * src/callbacks-ui.c:
+ * src/callbacks-ui.h:
+ * src/defs.h:
+ * src/globals.h:
+ * src/main.c:
+ * src/main.h:
+ * src/utils.c: (e_util_unicode_get_utf8),
+ (get_contact_from_selection):
+ * src/utils.h:
+ o Begin code refactoring
+
+2005-08-19 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ o Edit the edit pane for adding/removing fields and groups
+ o Make group(/type?) editing dialog
+
+ * src/callbacks-ui.c: (edit_done):
+ * src/main.c: (change_photo), (contacts_widget_free_data),
+ (contacts_widget_free_list), (contacts_multiple_choice_chooser),
+ (contacts_entry_changed_cb), (contacts_buffer_changed_cb),
+ (contacts_edit_focus_out_cb), (contacts_add_focus_events),
+ (contacts_get_text), (contacts_adr_changed_cb),
+ (contacts_label_widget_new), (contacts_edit_widget_new),
+ (contacts_widgets_list_sort_cb), (contacts_widgets_list_find_cb),
+ (do_edit):
+ * src/utils.c: (load_contact_photo):
+ * src/utils.h:
+ o Add ADR field editing (needs tidying)
+ o Turn edit labels into buttons for type editing
+ o Change edit button relief on entry focus
+ o Display group information under contact photo
+
+2005-08-17 Chris Lord,,, <chris at openedhand.com>
+
+ * src/main.c: (free_list_hash), (contacts_get_contacts_field),
+ (free_change_data), (contacts_get_type_string),
+ (contacts_edit_widget_new), (contacts_widgets_list_sort),
+ (contacts_widgets_list_find), (do_edit):
+ o Add priority to field display order
+ o Add support for more fields
+ o Add editing support for fields that may span multiple lines
+
+2005-08-15 Chris Lord,,, <chris at openedhand.com>
+
+ * src/callbacks-ui.c: (contact_selected):
+ * src/callbacks-ui.h:
+ * src/defs.h:
+ * src/main.c: (change_photo), (free_change_data),
+ (contacts_get_type_string), (do_edit):
+ Use EVCard for all editing instead of EContact - Allows usage of the
+ TYPE field to add semi-custom fields (unfinished)
+
+2005-08-15 Chris Lord,,, <chris at openedhand.com>
+
+ * src/Makefile.am:
+ Forgot to commit in last update (needed for file split)
+
+ * src/main.c: (static_field_contact_edit_add), (do_edit):
+ Begin on change EContact->EVCard to ease usage of TYPE field
+
+2005-08-15 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/Makefile.am:
+ * src/callbacks-ebook.c:
+ * src/callbacks-ebook.h:
+ * src/callbacks-ui.c:
+ * src/callbacks-ui.h:
+ * src/defs.h:
+ * src/globals.h:
+ * src/main.c:
+ * src/utils.c:
+ * src/utils.h:
+ o Split source into multiple files
+ o Add TYPE support (unfinished)
+
+2005-08-12 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ o Pass main_window in cut/copy/paste
+ o Add an about dialog
+ o Change spacing on name label, so as not to be on sizer
+
+ * src/main.c: (delete_contact), (copy), (cut), (paste), (about),
+ (main):
+ o Add cut/copy/paste
+ o Add about dialog
+
+2005-08-12 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ Remove signals on photo and close button on edit panel, fix some
+ spacings.
+
+ * src/main.c: (is_row_visible), (sort_treeview_func),
+ (load_contact_photo), (display_contact_summary), (contacts_added),
+ (contacts_changed), (contacts_removed), (contact_selected),
+ (change_photo), (text_entry_changed), (free_change_data),
+ (static_field_contact_edit_add), (do_edit), (new_contact),
+ (edit_contact):
+ o Add new_contact and delete_contact, fix do_edit to not use
+ get_current_contact.
+ o When a search results in one contact, select it - Also works when
+ other applications add contacts.
+
+2005-08-11 Chris Lord,,, <chris at openedhand.com>
+
+ * src/main.c: (quit), (contacts_changed), (main):
+ Respond to the 'contacts_removed' signal.
+
+2005-08-11 Chris Lord,,, <chris at openedhand.com>
+
+ * src/main.c: (kozo_utf8_strcasestrip), (is_row_visible),
+ (contact_selected), (change_photo), (text_entry_changed),
+ (free_change_data), (static_field_contact_edit_add), (do_edit),
+ (new_contact), (edit_contact), (remove_edit_components_cb),
+ (edit_done), (delete_contact), (main):
+ Big changes, contacts now responds to the 'contacts_changed' signal
+ correctly.
+
+2005-08-10 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ Put edit_table in GtkViewport
+
+ * src/main.c: (kozo_utf8_strcasestrip), (free_econtact_list_hash),
+ (free_object_list), (quit), (is_row_visible), (sort_treeview_func),
+ (update_treeview), (contact_selected_sensitive),
+ (get_current_contact), (contact_photo_size), (load_contact_photo),
+ (contact_selected), (text_entry_changed), (free_change_data),
+ (change_photo), (static_field_contact_edit_add), (do_edit),
+ (new_contact), (edit_contact), (remove_edit_components_cb),
+ (edit_done), (delete_contact), (main):
+ Use EBookView to get contacts and listen for changes.
+
+2005-08-10 Ross Burton <ross at openedhand.com>
+
+ * data/Makefile.am:
+ Don't need to EXTRA_DIST the glade.
+
+ * src/Makefile.am:
+ Pass $(pkgdatadir) to CC.
+
+ * src/main.c:
+ Use PKGDATADIR
+
+ * src/Makefile:
+ Really remove.
+
+2005-08-09 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade: Two widgets had 'Have focus'
+
+2005-08-09 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/main.c: (contact_selected_sensitive), (load_contact_photo),
+ (text_entry_changed), (free_change_data),
+ (static_field_contact_edit_add), (do_edit), (new_contact):
+
+2005-08-09 Chris Lord,,, <chris at openedhand.com>
+
+ * data/contacts.glade:
+ * src/main.c: (kozo_utf8_strcasestrip), (free_object_list),
+ (update_treeview), (fill_treeview), (set_label),
+ (contact_selected_sensitive), (load_contact_photo),
+ (contact_selected), (text_entry_changed), (free_change_data),
+ (static_field_contact_edit_add), (do_edit), (new_contact),
+ (edit_contact), (remove_edit_components_cb), (edit_done),
+ (delete_contact):
+
+2005-08-08 mallum,,, <mallum at openedhand.com>
+
+ * contacts/ChangeLog:
+ * contacts/Makefile.am:
+ * contacts/autogen.sh:
+ * contacts/configure.ac:
+ * contacts/data/Makefile.am:
+ * contacts/data/contacts.glade:
+ * contacts/old/contacts.glade.bak:
+ * contacts/old/contacts.gladep:
+ * contacts/old/contacts.gladep.bak:
+ * contacts/src/Makefile.am:
+ * contacts/src/main.c:
+ Get rid of extra uneeded contacts dir.
+
+2005-08-08 mallum <mallum at openedhand.com>
+
+ * src/Makefile:
+ Remove. Add required autotool files ( NEWS, README ... ).
Added: trunk/src/target/OM-2007/applications/openmoko-today/INSTALL
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-today/INSTALL 2007-03-02 11:57:10 UTC (rev 1218)
+++ trunk/src/target/OM-2007/applications/openmoko-today/INSTALL 2007-03-02 16:32:47 UTC (rev 1219)
@@ -0,0 +1,236 @@
+Installation Instructions
+*************************
+
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
+Software Foundation, Inc.
+
+This file is free documentation; the Free Software Foundation gives
+unlimited permission to copy, distribute and modify it.
+
+Basic Installation
+==================
+
+These are generic installation instructions.
+
+ The `configure' shell script attempts to guess correct values for
+various system-dependent variables used during compilation. It uses
+those values to create a `Makefile' in each directory of the package.
+It may also create one or more `.h' files containing system-dependent
+definitions. Finally, it creates a shell script `config.status' that
+you can run in the future to recreate the current configuration, and a
+file `config.log' containing compiler output (useful mainly for
+debugging `configure').
+
+ It can also use an optional file (typically called `config.cache'
+and enabled with `--cache-file=config.cache' or simply `-C') that saves
+the results of its tests to speed up reconfiguring. (Caching is
+disabled by default to prevent problems with accidental use of stale
+cache files.)
+
+ If you need to do unusual things to compile the package, please try
+to figure out how `configure' could check whether to do them, and mail
+diffs or instructions to the address given in the `README' so they can
+be considered for the next release. If you are using the cache, and at
+some point `config.cache' contains results you don't want to keep, you
+may remove or edit it.
+
+ The file `configure.ac' (or `configure.in') is used to create
+`configure' by a program called `autoconf'. You only need
+`configure.ac' if you want to change it or regenerate `configure' using
+a newer version of `autoconf'.
+
+The simplest way to compile this package is:
+
+ 1. `cd' to the directory containing the package's source code and type
+ `./configure' to configure the package for your system. If you're
+ using `csh' on an old version of System V, you might need to type
+ `sh ./configure' instead to prevent `csh' from trying to execute
+ `configure' itself.
+
+ Running `configure' takes awhile. While running, it prints some
+ messages telling which features it is checking for.
+
+ 2. Type `make' to compile the package.
+
+ 3. Optionally, type `make check' to run any self-tests that come with
+ the package.
+
+ 4. Type `make install' to install the programs and any data files and
+ documentation.
+
+ 5. You can remove the program binaries and object files from the
+ source code directory by typing `make clean'. To also remove the
+ files that `configure' created (so you can compile the package for
+ a different kind of computer), type `make distclean'. There is
+ also a `make maintainer-clean' target, but that is intended mainly
+ for the package's developers. If you use it, you may have to get
+ all sorts of other programs in order to regenerate files that came
+ with the distribution.
+
+Compilers and Options
+=====================
+
+Some systems require unusual options for compilation or linking that the
+`configure' script does not know about. Run `./configure --help' for
+details on some of the pertinent environment variables.
+
+ You can give `configure' initial values for configuration parameters
+by setting variables in the command line or in the environment. Here
+is an example:
+
+ ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix
+
+ *Note Defining Variables::, for more details.
+
+Compiling For Multiple Architectures
+====================================
+
+You can compile the package for more than one kind of computer at the
+same time, by placing the object files for each architecture in their
+own directory. To do this, you must use a version of `make' that
+supports the `VPATH' variable, such as GNU `make'. `cd' to the
+directory where you want the object files and executables to go and run
+the `configure' script. `configure' automatically checks for the
+source code in the directory that `configure' is in and in `..'.
+
+ If you have to use a `make' that does not support the `VPATH'
+variable, you have to compile the package for one architecture at a
+time in the source code directory. After you have installed the
+package for one architecture, use `make distclean' before reconfiguring
+for another architecture.
+
+Installation Names
+==================
+
+By default, `make install' installs the package's commands under
+`/usr/local/bin', include files under `/usr/local/include', etc. You
+can specify an installation prefix other than `/usr/local' by giving
+`configure' the option `--prefix=PREFIX'.
+
+ You can specify separate installation prefixes for
+architecture-specific files and architecture-independent files. If you
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
+PREFIX as the prefix for installing programs and libraries.
+Documentation and other data files still use the regular prefix.
+
+ In addition, if you use an unusual directory layout you can give
+options like `--bindir=DIR' to specify different values for particular
+kinds of files. Run `configure --help' for a list of the directories
+you can set and what kinds of files go in them.
+
+ If the package supports it, you can cause programs to be installed
+with an extra prefix or suffix on their names by giving `configure' the
+option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
+
+Optional Features
+=================
+
+Some packages pay attention to `--enable-FEATURE' options to
+`configure', where FEATURE indicates an optional part of the package.
+They may also pay attention to `--with-PACKAGE' options, where PACKAGE
+is something like `gnu-as' or `x' (for the X Window System). The
+`README' should mention any `--enable-' and `--with-' options that the
+package recognizes.
+
+ For packages that use the X Window System, `configure' can usually
+find the X include and library files automatically, but if it doesn't,
+you can use the `configure' options `--x-includes=DIR' and
+`--x-libraries=DIR' to specify their locations.
+
+Specifying the System Type
+==========================
+
+There may be some features `configure' cannot figure out automatically,
+but needs to determine by the type of machine the package will run on.
+Usually, assuming the package is built to be run on the _same_
+architectures, `configure' can figure that out, but if it prints a
+message saying it cannot guess the machine type, give it the
+`--build=TYPE' option. TYPE can either be a short name for the system
+type, such as `sun4', or a canonical name which has the form:
+
+ CPU-COMPANY-SYSTEM
+
+where SYSTEM can have one of these forms:
+
+ OS KERNEL-OS
+
+ See the file `config.sub' for the possible values of each field. If
+`config.sub' isn't included in this package, then this package doesn't
+need to know the machine type.
+
+ If you are _building_ compiler tools for cross-compiling, you should
+use the option `--target=TYPE' to select the type of system they will
+produce code for.
+
+ If you want to _use_ a cross compiler, that generates code for a
+platform different from the build platform, you should specify the
+"host" platform (i.e., that on which the generated programs will
+eventually be run) with `--host=TYPE'.
+
+Sharing Defaults
+================
+
+If you want to set default values for `configure' scripts to share, you
+can create a site shell script called `config.site' that gives default
+values for variables like `CC', `cache_file', and `prefix'.
+`configure' looks for `PREFIX/share/config.site' if it exists, then
+`PREFIX/etc/config.site' if it exists. Or, you can set the
+`CONFIG_SITE' environment variable to the location of the site script.
+A warning: not all `configure' scripts look for a site script.
+
+Defining Variables
+==================
+
+Variables not defined in a site shell script can be set in the
+environment passed to `configure'. However, some packages may run
+configure again during the build, and the customized values of these
+variables may be lost. In order to avoid this problem, you should set
+them in the `configure' command line, using `VAR=value'. For example:
+
+ ./configure CC=/usr/local2/bin/gcc
+
+causes the specified `gcc' to be used as the C compiler (unless it is
+overridden in the site shell script). Here is a another example:
+
+ /bin/bash ./configure CONFIG_SHELL=/bin/bash
+
+Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
+configuration-related scripts to be executed by `/bin/bash'.
+
+`configure' Invocation
+======================
+
+`configure' recognizes the following options to control how it operates.
+
+`--help'
+`-h'
+ Print a summary of the options to `configure', and exit.
+
+`--version'
+`-V'
+ Print the version of Autoconf used to generate the `configure'
+ script, and exit.
+
+`--cache-file=FILE'
+ Enable the cache: use and save the results of the tests in FILE,
+ traditionally `config.cache'. FILE defaults to `/dev/null' to
+ disable caching.
+
+`--config-cache'
+`-C'
+ Alias for `--cache-file=config.cache'.
+
+`--quiet'
+`--silent'
+`-q'
+ Do not print messages saying which checks are being made. To
+ suppress all normal output, redirect it to `/dev/null' (any error
+ messages will still be shown).
+
+`--srcdir=DIR'
+ Look for the package's source code in directory DIR. Usually
+ `configure' can determine that directory automatically.
+
+`configure' also accepts some other, not widely useful, options. Run
+`configure --help' for more details.
+
Added: trunk/src/target/OM-2007/applications/openmoko-today/Makefile.am
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-today/Makefile.am 2007-03-02 11:57:10 UTC (rev 1218)
+++ trunk/src/target/OM-2007/applications/openmoko-today/Makefile.am 2007-03-02 16:32:47 UTC (rev 1219)
@@ -0,0 +1,12 @@
+SUBDIRS = src po
+
+# Extra clean files so that maintainer-clean removes *everything*
+MAINTAINERCLEANFILES = aclocal.m4 compile config.guess config.sub \
+ configure depcomp install-sh ltmain.sh \
+ Makefile.in missing config.h.in \
+ intltool-extract intltool-extract.in \
+ intltool-merge intltool-merge.in \
+ intltool-update intltool-update.in \
+ mkinstalldirs
+
+
Added: trunk/src/target/OM-2007/applications/openmoko-today/NEWS
===================================================================
Added: trunk/src/target/OM-2007/applications/openmoko-today/README
===================================================================
Added: trunk/src/target/OM-2007/applications/openmoko-today/autogen.sh
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-today/autogen.sh 2007-03-02 11:57:10 UTC (rev 1218)
+++ trunk/src/target/OM-2007/applications/openmoko-today/autogen.sh 2007-03-02 16:32:47 UTC (rev 1219)
@@ -0,0 +1,23 @@
+#!/bin/sh
+# Run this to generate all the initial makefiles, etc.
+
+srcdir=`dirname $0`
+test -z "$srcdir" && srcdir=.
+REQUIRED_AUTOMAKE_VERSION=1.8
+PKG_NAME=today
+
+(test -f $srcdir/configure.ac \
+ && test -f $srcdir/src/today-main.c) || {
+ echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
+ echo " top-level $PKG_NAME directory"
+ exit 1
+}
+
+
+which gnome-autogen.sh || {
+ echo "You need to install gnome-common from the GNOME CVS"
+ exit 1
+}
+USE_GNOME2_MACROS=1 . gnome-autogen.sh
+
+
Property changes on: trunk/src/target/OM-2007/applications/openmoko-today/autogen.sh
___________________________________________________________________
Name: svn:executable
+
Added: trunk/src/target/OM-2007/applications/openmoko-today/configure.ac
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-today/configure.ac 2007-03-02 11:57:10 UTC (rev 1218)
+++ trunk/src/target/OM-2007/applications/openmoko-today/configure.ac 2007-03-02 16:32:47 UTC (rev 1219)
@@ -0,0 +1,29 @@
+AC_PREREQ(2.53)
+AC_INIT(today, 0.1, http://www.openedhand.com/)
+AM_INIT_AUTOMAKE()
+AC_CONFIG_SRCDIR(src/today-main.c)
+AM_MAINTAINER_MODE
+
+AC_ISC_POSIX
+AC_PROG_CC
+AC_STDC_HEADERS
+AC_PROG_LIBTOOL
+AC_PROG_INTLTOOL
+
+dnl i18n support
+GETTEXT_PACKAGE=Today
+AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
+AC_SUBST(GETTEXT_PACKAGE)
+ALL_LINGUAS=""
+AM_GLIB_GNU_GETTEXT
+
+PKG_CHECK_MODULES(TODAY, openmoko-libs)
+
+CFLAGS=$TODAY_CFLAGS
+LIBS=$TODAY_LIBS
+
+AC_OUTPUT([
+Makefile
+po/Makefile.in
+src/Makefile
+])
Added: trunk/src/target/OM-2007/applications/openmoko-today/po/POTFILES.in
===================================================================
Added: trunk/src/target/OM-2007/applications/openmoko-today/src/Makefile.am
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-today/src/Makefile.am 2007-03-02 11:57:10 UTC (rev 1218)
+++ trunk/src/target/OM-2007/applications/openmoko-today/src/Makefile.am 2007-03-02 16:32:47 UTC (rev 1219)
@@ -0,0 +1,16 @@
+INCLUDES = \
+ -I$(top_srcdir)
+
+AM_CPPFLAGS=-DPKGDATADIR=\"$(pkgdatadir)\" \
+ -DDATADIR=\""$(datadir)"\"
+
+AM_CFLAGS = -Wall -export-dynamic $(CFLAGS)
+
+bin_PROGRAMS = today
+
+today_SOURCES = today-main.c
+
+today_LDADD = $(TODAY_LIBS)
+today_LDFLAGS = @TODAY_LIBS@
+
+MAINTAINERCLEANFILES = config.h.in Makefile.in
Added: trunk/src/target/OM-2007/applications/openmoko-today/src/today-main.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-today/src/today-main.c 2007-03-02 11:57:10 UTC (rev 1218)
+++ trunk/src/target/OM-2007/applications/openmoko-today/src/today-main.c 2007-03-02 16:32:47 UTC (rev 1219)
@@ -0,0 +1,206 @@
+/*
+ * Today - At a glance view of date, time, calender events, todo items and
+ * other images.
+ *
+ * Copyright (C) 2007 by OpenMoko, Inc.
+ * Written by OpenedHand Ltd <info at openedhand.com>
+ * All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+#include <string.h>
+#include <glib.h>
+#include <glib/gprintf.h>
+#include <gtk/gtk.h>
+
+#include <libmokoui/moko-window.h>
+
+static void
+today_update_date (GtkLabel *label)
+{
+ time_t t;
+ struct tm *tmp;
+ gchar date_str[64];
+
+ t = time (NULL);
+ tmp = localtime (&t);
+
+ if (tmp == NULL) {
+ // error = could not get localtime
+ return;
+ }
+
+ /* TODO: use something nicer from the locale here */
+ strftime (date_str, sizeof (date_str), "%a %d/%b/%Y", tmp);
+ gtk_label_set_text (label, date_str);
+
+}
+
+static void
+today_update_time (GtkLabel *label)
+{
+ time_t t;
+ struct tm *tmp;
+ gchar time_str[64];
+
+ t = time (NULL);
+ tmp = localtime (&t);
+
+ if (tmp == NULL) {
+ // error = could not get localtime
+ return;
+ }
+
+ /* TODO: make 12/24 hr optional */
+ strftime (time_str, sizeof (time_str), "<big>%l:%M</big> %p", tmp);
+ gtk_label_set_markup (label, time_str);
+}
+
+static GtkWidget *
+today_infoline_new (gchar * stock_id, gchar * message)
+{
+ GtkWidget *eventbox, *hbox, *icon, *label;
+
+ eventbox = gtk_event_box_new ();
+ gtk_container_set_border_width (GTK_CONTAINER (eventbox), 6);
+
+ hbox = gtk_hbox_new (FALSE, 12);
+ gtk_container_add (GTK_CONTAINER (eventbox), hbox);
+
+ icon = gtk_image_new ();
+ gtk_image_set_from_stock (GTK_IMAGE (icon), stock_id, GTK_ICON_SIZE_MENU);
+ gtk_misc_set_alignment (GTK_MISC (icon), 0, 0);
+ gtk_box_pack_start (GTK_BOX (hbox), icon, FALSE, FALSE, 0);
+
+ label = gtk_label_new (message);
+ gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
+
+ return eventbox;
+}
+
+static GtkWidget *
+today_launcher_button_new (gchar *icon, gchar *exec)
+{
+ GtkWidget *button = gtk_button_new ();
+ gtk_container_add (GTK_CONTAINER (button),
+ gtk_image_new_from_stock (GTK_STOCK_EXECUTE, GTK_ICON_SIZE_BUTTON));
+ gtk_widget_set_name (button, "today-launcher-button");
+
+ return button;
+}
+
+static void
+create_ui ()
+{
+ GtkWidget *window, *vbox;
+ GtkWidget *date, *time;
+ GtkWidget *message;
+
+ GtkWidget *alignment;
+ GtkWidget *infoline;
+ GtkWidget *button_box;
+
+ /* main window */
+ window = moko_window_new ();
+ gtk_widget_set_name (window, "today-application-window");
+
+ vbox = gtk_vbox_new (FALSE, 12);
+ gtk_container_add (GTK_CONTAINER (window), vbox);
+
+ /* date */
+ alignment = gtk_alignment_new (1, 0, 0, 0);
+ gtk_alignment_set_padding (GTK_ALIGNMENT (alignment), 12, 0, 0, 12);
+ date = gtk_label_new ("MON 15/JAN/2007");
+ gtk_container_add (GTK_CONTAINER (alignment), date);
+ gtk_box_pack_start (GTK_BOX (vbox), alignment, FALSE, FALSE, 0);
+ today_update_date (GTK_LABEL (date));
+ g_timeout_add (60*60*1000, (GSourceFunc)today_update_date, date);
+
+ /* time */
+ alignment = gtk_alignment_new (1, 0, 0, 0);
+ gtk_alignment_set_padding (GTK_ALIGNMENT (alignment), 0, 0, 0, 12);
+ time = gtk_label_new (NULL);
+ gtk_label_set_markup (GTK_LABEL (time), "<big>10:30am</big>");
+ gtk_container_add (GTK_CONTAINER (alignment), time);
+ gtk_box_pack_start (GTK_BOX (vbox), alignment, FALSE, FALSE, 0);
+ today_update_time (GTK_LABEL (time));
+ g_timeout_add (60*1000, (GSourceFunc)today_update_time, time);
+
+ /* main message */
+ alignment = gtk_alignment_new (0.5, 0.5, 0, 0);
+ message = gtk_label_new (NULL);
+ gtk_label_set_markup (GTK_LABEL (message),
+ "<span size=\"x-large\">Welcome to OpenMoko</span>");
+ gtk_container_add (GTK_CONTAINER (alignment), message);
+ gtk_box_pack_start (GTK_BOX (vbox), alignment, TRUE, FALSE, 0);
+
+
+ /* unread messages */
+ infoline = today_infoline_new (GTK_STOCK_YES, "Unread Messages (5)");
+ gtk_box_pack_start (GTK_BOX (vbox), infoline, FALSE, FALSE, 0);
+
+ /* missed calls */
+ infoline = today_infoline_new (GTK_STOCK_NO, "Missed Calls (1)");
+ gtk_box_pack_start (GTK_BOX (vbox), infoline, FALSE, FALSE, 0);
+
+ /* upcoming events */
+ infoline = today_infoline_new (GTK_STOCK_NO,
+ "Carrie's Birthday 16/Jan\n"
+ "Taxi to Airport 13:00\n"
+ "Meeting with client 17:00\n"
+ "Call Sean 19:30\n"
+ "Dinner with John 20:00\n");
+ gtk_box_pack_start (GTK_BOX (vbox), infoline, FALSE, FALSE, 0);
+
+ /* shurtcut buttons */
+ button_box = gtk_hbutton_box_new ();
+ gtk_button_box_set_layout (GTK_BUTTON_BOX (button_box),
+ GTK_BUTTONBOX_SPREAD);
+ gtk_box_pack_start (GTK_BOX (vbox), button_box, FALSE, FALSE, 0);
+
+ gtk_container_add (GTK_CONTAINER (button_box),
+ today_launcher_button_new (GTK_STOCK_EXECUTE, ""));
+ gtk_container_add (GTK_CONTAINER (button_box),
+ today_launcher_button_new (GTK_STOCK_EXECUTE, ""));
+ gtk_container_add (GTK_CONTAINER (button_box),
+ today_launcher_button_new (GTK_STOCK_EXECUTE, ""));
+ gtk_container_add (GTK_CONTAINER (button_box),
+ today_launcher_button_new (GTK_STOCK_EXECUTE, ""));
+ gtk_container_add (GTK_CONTAINER (button_box),
+ today_launcher_button_new (GTK_STOCK_EXECUTE, ""));
+
+ /* signals */
+ g_signal_connect (G_OBJECT (window), "delete-event",
+ (GCallback) gtk_main_quit, NULL);
+
+
+ /* temporary */
+ GtkSettings *settings = gtk_settings_get_default ();
+ g_object_set (G_OBJECT (settings), "gtk-theme-name", "openmoko-standard",
+ NULL);
+
+ gtk_widget_show_all (window);
+
+}
+
+int
+main (int argc, char **argv)
+{
+ gtk_init (&argc, &argv);
+ create_ui ();
+ gtk_main ();
+ return 0;
+}
More information about the commitlog
mailing list