2007-06-18 Marco Costantini * Revision of the Italian translation * Added anonymous patch * [#11170] cuecat userland support http://rubyforge.org/tracker/index.php?func=detail&aid=11170&group_id=205&atid=865 I don't have a cuecat, and I don't know whether this patch is OK. 2007-04-27 Marco Costantini * Updated providers Worldcat and bol.it 2007-04-06 Marco Costantini * CSV list export: - the file has extension "csv" - fixed in case that authors is [] or elements are missing * ONIX export: - removed an unnecessary .to_s - removed use of CGI.escapeHTML, whch is unnecessary - fixed in case that ISBN is missing * BibTeX export: - fixed in case that authors is [] or elements are missing - exported also book.publishing_year * HTML export: - added meta "Author", "Description", "Keywords" * Tellico export: - added info on wether the book has been read or loaned * Tellico import: - imported notes 2007-02-24 to 2007-04-02 Marco Costantini * added new Z39.50 provider "Servizio Bibliotecario Nazionale (Italy)" * added the FAQ * added hotkey "O" for preferences * allowed manual entry of books without author (for instance 9788841574195 has no author) * in the "Book Properties Dialog", added "cancel" button, and renamed "close" button to "save" * improved error messages * ignored empty lines when importing a list of ISBNs * added info in case that Alexandria can't load optional libraries * book_providers.rb: added debug message in case that a book is not found * book_properties_dialog.rb: keeps ISBN-13 instead to convert to ISBN * publishing_year is converted to integer when quitting, importing a Tellico library, or with some providers * clean.css: added foreground color, see http://www.w3.org/QA/Tips/color for the reason * import_library.rb smart_library.rb main_app.rb: changed variable name from MAX_STARS to MAX_RATING_STARS, and replaced some occurrences of '5' with MAX_RATING_STARS * library.rb: canonicalise_ean now removes dashes and spaces * added debug info about which provider the book has been found at * export_library.rb: - export_library.rb: changed from "Generated" to "Generated on #{Date.today()}", when exporting to BibTex or HTML web page - Added optional requirement "image_size", in order to provide data for the images like height='143' width='95' when exporting to HTML web page or to Tellico ** HTML export: - Changed type from Transitional to Strict when exporting to HTML web page - used CGI.escapeHTML when exporting HTML web page (for the moment, CGI.escapeHTML is not used for title and authors, because they may contain HTML entities (bug to be fixed on the providers site)) ** ONIX export: - exported publishing_year, and modified PublisherName to fit more strict requirements - reordered elements, in order to make it valid XML - Added element Publisher/PublishingRole = '01' when exporting to ONIX - fixed "ProductWebSite" -> "ProductWebsite" when exporting ONIX ** Tellico export: - removed description of the field "rating", which is already present in recent Tellico versions - renamed things from "bookcase" to "tellico" - changed doctype and syntaxVersion to version 7 (the earliest version for which there is still a DTD) in order to allow the library to be imported also by older versions of Tellico. - added attribute "id", required by tellico.dtd - added export of publishing_year * import_library.rb: - now some messages are displayed only if $DEBUG ** Tellico import - added rating - checked that "rating" is in [1,2,3,4,5]. If not, "rating" is ignored. - canonicalise_ean is used (because Tellico returns EAN with dashes) - fixed import, even if "authors" is empty * test_providers.rb - improved test of thalia.rb: added foreign book, DVD, CD - added test for provider LOC and a book with non-ASCII letters - test of provider MCU: added test that bugs [#2533] and [#2518] are fixed - added test of SBN, LOC and BL, and grouped together tests of providers depending on optional libraries * z3950.rb: - refactored - the user must specify charset, when adding new providers. default charset is ISO-8859-1 - now, when searching by ISBN, the ISBN of the returned book is the ISBN used in the search. This because ruby/zoom has a bug, and may return a cutted ISBN, or because the z39.50 server may return more than one ISBN. - when searching by ISBN, only one record is asked from the provider - added element_set_name = 'F', in order to return the 'full' set of data (SBN default is 'brief') - added support for books without ISBN - fixed bug, publish_year can be unbound - added function url(book) for LOC and BL - added info about Copac - returns output even if author is empty - uses Library.canonicalise_isbn on input and Library.canonicalise_ean on output - fixed bug about publish_year for BL - publisher and edition are nil instead of "" - now returns [Book.new(...)] instead of [Book.new(...), nil] (where nil is the image). This is required to pass the test. - other minor changes * various fixes and updates for the providers: - adlibris.rb bn.rb bol_it.rb dea_store_it.rb ibs_it.rb ls.rb renaud.rb thalia.rb webster_it.rb worldcat.rb : added to the function to_book of each provider code like raise NoResultsError if /not found/.match(data) != nil - worldcat.rb improved - worldcat.rb: allowed to return nul as ISBN (this provider lists also old books without ISBN) - ls.rb fixed the typo Siliciano -> Siciliano - ls.rb: added code for imported books, and replaced non-ASCII chars with dots - webster_it.rb: updated, site now supports ISBN-13 - webster_it.rb improved for handling books like 9788830417588 with wrong image - adlibris.rb: fixed authors and publish_year - proxis.rb: -- now returns the ISBN-13 -- fixed 'url',which requires ISBN-10 -- in the user preferences, changed "Locale" to "Language", which is more meaningful, corresponds closer to the code, and is for a different topic of "Locale" used by Amazon - ibs_it.rb: partially updated, to make it work again. It is still necessary to fix authors, edition, publish_year - BL fixed "authors" - thalia.rb: updated - dea_store_it.rb: -- minor improvements -- updated (the site has switched to ISBN-13) -- added optional load of rubygems (rubygems may be required or not by hpricot (used by mechanize), and may be installed or not) -- modified to return "Surname, Name" - renaud.rb: now supports also books in the section for youngs * various minor changes 2007-02-23 Marco Costantini * repaired mcu.rb * Now thalia supports also music, DVD, software, games * ls: added search by title/author * now all the providers (except proxis) return EAN * minor fixed changes 2007-02-20 Marco Costantini * Switched from cvs to svn, and inaugurated alexandria-commits list. Testing now. Again. 2007-01-17 Pascal Terjan * lib/alexandria/ui/main_app.rb: Fix bug [#5911] Can't close About Dialog with Close button 2006-03-29 Claudio Belotti * lib/alexandria/book_providers/ibs_it.rb - Download covers to .ibs_it.cache using referer - Cleanup the cache at exit * lib/alexandria/ui/new_book_dialog.rb - In tree view handle cover as files (and not only as urls) 2006-03-02 Laurent Sansonetti * lib/alexandria/ui/new_smart_library_dialog.rb: Close the dialog when destroyed. 2006-02-27 Aymeric Nys * lib/alexandria/export_library.rb - Add CVS export: 2006-02-27 Laurent Sansonetti * AUTHORS, lib/alexandria.rb: Added Aymeric. * README: - Mention that Ruby/ZOOM is optional ; - Mention that Revolution is optional. * lib/alexandria/ui/completion_models.rb: Use the Evolution contacts database to furnish borrowers auto-completion, via the Revolution library. If this library is not present on the system this feature is disabled. * lib/alexandria/ui.rb, lib/alexandria/ui/main_app.rb: Check at runtime if Ruby/Pango has ellipzise support, and use it accordingly. 2006-01-05 Laurent Sansonetti * TODO: Smart libraries feature is complete. * lib/alexandria/smart_library.rb: When running for the first time (e.g. the ~/alexandria/.smart_libraries directory does not exist) provide some default smart libraries (all favorite and loaned books). * lib/alexandria/library.rb, lib/alexandria/ui/main_app.rb: Separate regular libraries from smart ones in the sidepane using a separator. 2006-01-04 Laurent Sansonetti * lib/alexandria/export_library.rb, lib/alexandria/library.rb, lib/alexandria/smart_library.rb, lib/alexandria/ui/book_properties_dialog_base.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog_manual.rb: lib/alexandria/ui/import_dialog.rb: - Make sure smart libraries are exportable ; - Provide a default title for the Add Book Manually / Book Properties dialogs when the target book title is empty ; - Added a keyboard shortcut for the Import button of the Import dialog ; - Make sure the latest regular library is not deletable ; - Misc fixes. * data/alexandria/glade/book_properties_dialog.glade, lib/alexandria/ui/book_properties_dialog_base.rb: Removed the clear cover button in the books properties dialog and added a button to the cover file chooser dialog instead that does the same thing. * lib/alexandria/ui/main_app.rb: Make sure all tree view columns (in both libraries and books views) are ellipsizable at their end. * data/alexandria/glade/book_properties_dialog.glade, data/alexandria/icons/smart_library.png, data/alexandria/icons/smart_library_small.png, data/alexandria/ui/popups.xml, lib/alexandria/export_library.rb, lib/alexandria/library.rb, lib/alexandria/smart_library.rb, lib/alexandria/ui.rb, lib/alexandria/ui/acquire_dialog.rb, lib/alexandria/ui/import_dialog.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog.rb, lib/alexandria/ui/new_smart_library_dialog.rb, lib/alexandria/ui/smart_library_properties_dialog.rb, lib/alexandria/ui/smart_library_properties_dialog_base.rb: - More work on the smart libraries (feature is almost complete) ; - Various refactoring changes / enhancements. 2006-01-02 Laurent Sansonetti Update copyright to 2006 to all source files. * lib/alexandria/ui/main_app.rb: Fixed right click on the books list view and make sure we grab the focus on the target widget. 2005-12-28 Laurent Sansonetti * lib/alexandria/ui/book_properties_dialog_base.rb: Remembers the latest directory selected by the file chooser, so that we use this directory for the next cover open action. * lib/alexandria/ui/new_book_dialog.rb: Fixed assertion while packing the pixbuf cell renderer. * lib/alexandria/ui/main_app.rb: - Added a keyboard shortcut (CTRL+SHIFT+N) for the manual add book action ; - Make sure we observe libraries that have just been added, and we remove ourself from the observers list when the library has been removed. This fixes a bug when books added in new libraries were not displayed. 2005-12-15 Laurent Sansonetti * TODO, data/alexandria/ui/menus.xml, lib/alexandria.rb, lib/alexandria/book.rb, lib/alexandria/library.rb, lib/alexandria/undo_manager.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog_manual.rb: - Introduced Undo/Redo functionality for move and deletion actions ; - Added some various very small improvements. 2005-12-09 Laurent Sansonetti * data/alexandria/glade/book_properties_dialog.glade, lib/alexandria/ui/book_properties_dialog_base.rb: - Added a clear button just before the cover that set the default book icon back ; - Added some tooltips to add/remove authors, clear cover and change cover buttons. * lib/alexandria/ui/book_properties_dialog.rb: Make sure we never set the ISBN entry to nil if the book is ISBN-less. * lib/alexandria/ui/main_app.rb: - Renamed 'Set Rating' to 'My rating' ; - Reworded rating 1..5 menu items. 2005-12-07 Laurent Sansonetti * data/alexandria/ui/menus.xml, data/alexandria/ui/popups.xml, lib/alexandria/ui/main_app.rb: - Added contextual popup and Edit menu actions to set the rating of the selected books ; - When right clicking on the books view, select the item/row if the mouse if on an item/row. * lib/alexandria/book.rb: Simplify the code. * data/alexandria/ui/popups.xml, lib/alexandria/ui/main_app.rb: When right clicking in the libraries view, if the mouse is not on an item show another popup menu with New Library and New Smart Library actions. * data/alexandria/glade/preferences_dialog.glade, lib/alexandria/ui/preferences_dialog.rb: Set the providers tree view as reorderable with drag-and-drop. * lib/alexandria/ui/main_app.rb: - Work around the beginning of a drag when running a dialog within the GtkIconView's item-activated or GtkTreeView's row-activated signal handlers ; - When right clicking, if the mouse is not on an item, deselect everything before showing the popup menu. * README: We now require Ruby-GNOME2 0.14.0 or later. 2005-12-02 Laurent Sansonetti * lib/alexandria/ui.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/multi_drag_treeview.rb: Introduce drag-and-drop from any books view to the library view. * README: - Mention Ruby/Pango as a new dependency ; - Mention GTK+ 2.8.0 or greater as recommended (but optional) as it brings DND for the icon view. * TODO: One thing less. 2005-11-25 Laurent Sansonetti * lib/alexandria/smart_library.rb, lib/alexandria/ui/new_smart_library_dialog.rb, lib/alexandria/ui/smart_library_properties_dialog_base.rb: More work on smart libraries. 2005-11-24 Mathieu Leduc-Hamel * lib/alexandria/book_providers/renaud.rb: Implementing the publish year field. 2005-11-18 Laurent Sansonetti * data/alexandria/glade/book_properties_dialog.glade: Added some space between the Add/Remove authors buttons in the book properties dialog. * lib/alexandria/smart_library.rb, lib/alexandria/ui/new_smart_library_dialog.rb, lib/alexandria/ui/smart_library_properties_dialog_base.rb: More work on smart libraries. 2005-11-17 Laurent Sansonetti * data/alexandria/ui/menus.xml, lib/alexandria.rb, lib/alexandria/smart_library.rb, lib/alexandria/ui.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_smart_library_dialog.rb, lib/alexandria/ui/smart_library_properties_dialog_base.rb: Some work on smart libraries (in progress). 2005-11-16 Pascal Terjan * lib/alexandria/book_providers/proxis.rb: Support publish year for Proxis. 2005-11-16 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: - Show tooltips for combo toolbar items ; - Filter the books views directly when the filter entry has been modified, not upon validation. * data/alexandria/glade/book_properties_dialog.glade, data/alexandria/glade/preferences_dialog.glade, lib/alexandria/book.rb, lib/alexandria/import_library.rb, lib/alexandria/utils.rb, lib/alexandria/book_providers/amadeus.rb, lib/alexandria/book_providers/amazon.rb, lib/alexandria/book_providers/bn.rb, lib/alexandria/book_providers/ibs_it.rb, lib/alexandria/book_providers/mcu.rb, lib/alexandria/book_providers/proxis.rb, lib/alexandria/book_providers/renaud.rb, lib/alexandria/book_providers/z3950.rb, lib/alexandria/ui/book_properties_dialog.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog_manual.rb, lib/alexandria/ui/preferences_dialog.rb, schemas/alexandria.schemas: Introduced publish year notion for books. 2005-11-14 Laurent Sansonetti * lib/alexandria/book_providers.rb, lib/alexandria/ui/preferences_dialog.rb: Make Ruby/ZOOM dependency optional, and hide the advanced check box in the providers preferences window when there is no abstract provider. 2005-11-10 Laurent Sansonetti * TODO: Removed done points, added undo/redo. * lib/alexandria/ui/main_app.rb: Added actions tooltips. Combo boxes in the toolbar do not have tooltips yet. 2005-11-09 Laurent Sansonetti * lib/alexandria/book_providers/renaud.rb (#url): Make sure we return nil if the book ISBN is not set. 2005-11-08 Laurent Sansonetti * data/alexandria/glade/new_book_dialog.glade, lib/alexandria/ui/new_book_dialog.rb: - Properly kill active threads when destroying the window and starting a new search ; - Disable the whole window while searching. * AUTHORS, lib/alexandria.rb: Added Mathieu. 2005-11-08 Mathieu Leduc-Hamel * lib/alexandria/book_providers.rb, lib/alexandria/book_providers/renaud.rb: Added a provider to the Renaud-Bray library (Quebec). 2005-11-08 Laurent Sansonetti * lib/alexandria/ui/export_dialog.rb, lib/alexandria/ui/import_dialog.rb: Do not launch the action when the window is destroyed. 2005-10-15 Alexander McCormmach * lib/alexandria/ui/main_app.rb: - Fixed rating column's min and max width to approx. five times the width of the star pixbuf. * schemas/alexandria.schemas: - Added schema for cols_width property. 2005-10-15 Laurent Sansonetti * AUTHORS, lib/alexandria.rb: Added Alexander. 2005-10-15 Alexander McCormmach * lib/alexandria/ui/main_app.rb: - Giving the filter entry box initial input focus ; - Fixed the reload keyboard shortcut ; - Remember the books table column widths. * data/alexandria/glade/main_app.glade: Side pane close button shouldn't grab input focus. * lib/alexandria/ui/book_properties_dialog.rb, lib/alexandria/ui/new_book_dialog_manual.rb: Fixed 'pressed' GtkButton events to 'clicked'. 2005-10-13 Laurent Sansonetti * lib/alexandria/macui/Icons.rb, lib/alexandria/macui/ImportController.rb, lib/alexandria/macui/MainController.rb, lib/alexandria/macui/TableView.rb, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: - Fixed the end of the import action ; - Double click on a row in the libraries table view will edit ; - Added ellipsis after action names in some popup menus ; - Set the vertical scrollbar as autohide in the libraries table view ; - Double click outside a row in the libraries table view will create a new library ; - Double click outside a row in the books table view or a cell in the books matrix will open the add book sheet ; - Some cleaning. 2005-10-02 Laurent Sansonetti * lib/alexandria/library.rb, lib/alexandria/ui/book_properties_dialog.rb, lib/alexandria/ui/book_properties_dialog_base.rb, lib/alexandria/ui/new_book_dialog_manual.rb: Fix for Ruby 1.8.3 YAML/Bignum bug, we now serialize the loaning date as a Time object and not an Epoch duration anymore. Backward compatibility should be preserved by the fix. 2005-09-18 Laurent Sansonetti * data/alexandria/glade/acquire_dialog.glade, data/alexandria/ui/menus.xml, lib/alexandria/ui/acquire_dialog.rb, lib/alexandria/ui.rb, lib/alexandria/ui/main_app.rb: Initial work on the new acquire barcodes dialog. * lib/alexandria/ui/libraries_combo.rb: New file that shares code to populate a combo box with libraries. * data/alexandria/glade/new_book_dialog.glade, lib/alexandria/ui/new_book_dialog.rb: - Removed all scanning stuff ; - The libraries popup menu now display a "New Library" item that automatically generates a library then adds the books in it ; - Fixed the help error transcient window. * lib/alexandria/library.rb: Shared the generation of library names. * lib/alexandria/ui/book_properties_dialog.rb, lib/alexandria/ui/new_book_dialog_manual.rb, lib/alexandria/ui/preferences_dialog.rb: Fixed the help error transcient window. * lib/alexandria/ui/export_dialog.rb, lib/alexandria/ui/import_dialog.rb: - Added missing Help buttons ; - In the Import dialog, there is no more library name field, the name of the destination library is now automatically generated based on the selected file base name. * data/alexandria/ui/popups.xml: Added an 'Export' action in the libraries contextual popup menu. 2005-09-11 Laurent Sansonetti * lib/alexandria/macui/MainController.rb: Disable view online information menu items for providers that does not provide a URL for the selected book. * lib/alexandria/macui/BookInfoController.rb, lib/alexandria/macui/MainWindow.nib/classes.nib, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: In the books properties window, disable the previous/next buttons if the given library has only one book. 2005-08-29 Laurent Sansonetti * lib/alexandria/export_library.rb: - Fixed the indentation of the code introduced by the previous commit ; - Sorted all exporters by their name ; - Changed the BibTex exporter name to 'BibTeX' instead of 'BibTex format'. 2005-08-28 Claudio Belotti * lib/alexandria/export_library.rb: Added BibTex format exporter. 2005-08-24 Laurent Sansonetti * README: Fixed indentation. === Alexandria 0.6.0 === 2005-08-24 Laurent Sansonetti * lib/alexandria/book_providers/bn.rb: Fix regression. * lib/alexandria/preferences.rb: Fix default values handling. * README, NEWS: Updated for 0.6.0. 2005-08-17 Laurent Sansonetti * README: Added Ruby/ZOOM in the dependencies list. 2005-08-12 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: - Fixed the filtering actions ; - Disable the 'View Online Information' actions if the according providers do not provide a URL for the selected book. 2005-08-03 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: - Stores the books notes in the model, to make filtering faster ; - Added a 'Match everything' filtering option. * lib/alexandria/ui/new_book_dialog_manual.rb: Use the new icon as the default cover image. * lib/alexandria/ui/main_app.rb, lib/alexandria/macui/MainController.rb: Clarify the GNOME status bar or the Cocoa main window's title by displaying "X unrated books" instead of "X books, X unrated" when all the books are unrated. * lib/alexandria/.cvsignore, lib/alexandria/pre-setup.rb, lib/alexandria/preferences.rb: Automatically generates a default_preferences.rb file at install time, that basically contains a hash with the name and the default value of variables described in the .schema file. This hash is inspected each time GConf returns nil for a given variable. This should fix all issues related to the installation of GConf schemas. 2005-08-02 Laurent Sansonetti * alexandria.xcodeproj/project.pbxproj: Fixed the installation of zoom.bundle and marc.rb. * lib/alexandria/book_providers.rb: When removing an abstract provider, remove it from the 'providers_priority' list as well (if it is there). * lib/alexandria/preferences.rb: - When replacing a variable with an empty array, simply unset the variable, as GConf apparently does not support this by throwing an error ; - Implemented the deletion of variables. * lib/alexandria/ui/icons.rb: Use icon_book.png instead if icon.png as the default book icon. * lib/alexandria/ui/main_app.rb: Resize all icons to have the same height (and not the same width as before). * lib/alexandria/ui/new_book_dialog.rb: - Do not download book covers when the URI is nil ; - Make downloaded book covers smaller, and resize them to have the same height exactly as in the main icon view. * lib/alexandria/ui/preferences_dialog.rb: Implemented the abstract providers infrastructure (adding, editing and removing new providers). * lib/alexandria/book_providers/amazon.rb: Added a backward compatibility hack to upgrade the old developer token to a new one. * lib/alexandria/utils.rb: Removed a debug statement. * lib/alexandria/book_providers/z3950.rb: - SUTRS decoding: remove trailing dots when squeeze whitespaces from the title ; - Fix path to the MARC library. * lib/alexandria/macui/AddBookController.rb: When displaying the results of a search and multiple books with the same title, display the ISBN if the edition is not available. 2005-08-02 Laurent Sansonetti * lib/alexandria/macui/MainController.rb: Refilter the model when a book has been modified and when the model is already filtered. * lib/alexandria/book_providers.rb: It is now possible to instantiate abstract providers by subclassing their classes. * lib/alexandria/preferences.rb: Execute all calls to NSUserDefaults in the main thread. * lib/alexandria/book_providers/z3950.rb: Added builtin Library of Congress and British Library providers. 2005-07-28 Laurent Sansonetti * lib/alexandria/macui/PreferencesController.rb, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: - Set the preferences window title back to normal when leaving the new provider sheet ; - Set the first preferences window tabview item as default. 2005-07-27 Laurent Sansonetti * lib/alexandria/book_providers/z3950.rb: Completed the Z39.50 provider. 2005-07-26 Laurent Sansonetti * alexandria.xcodeproj/project.pbxproj, data/alexandria/icons/lookup.png, lib/alexandria.rb, lib/alexandria/book_providers.rb, lib/alexandria/import_library.rb, lib/alexandria/preferences.rb, lib/alexandria/book_providers/amazon.rb, lib/alexandria/book_providers/proxis.rb, lib/alexandria/book_providers/z3950.rb, lib/alexandria/macui/AddBookController.rb, lib/alexandria/macui/PreferencesController.rb, lib/alexandria/macui/main.m, lib/alexandria/macui/main.rb, lib/alexandria/macui/MainWindow.nib/classes.nib, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: - Completed the abstract providers infrastructure ; - Added a lookup button in the add book dialog ; - Fixed a bug in the generation of the ruby load path ; - Added Ruby/ZOOM and the YAZ library in the target ; - In the ISBN-list import, start importing if there is at least one valid ISBN in the file ; - Misc fixes. 2005-07-19 Topher Cyll * lib/alexandria/scanners.rb, lib/alexandria/scanners/cuecat.rb: Added userland CueCat scanner module and a scanner registry. 2005-07-18 Laurent Sansonetti * AUTHORS, lib/alexandria.rb: Added Jiri. 2005-07-14 Laurent Sansonetti * lib/alexandria/macui/BookIconCell.m: Correctly truncates book titles, the previous implementation was not working all the time. 2005-07-13 Laurent Sansonetti * alexandria.xcode/.cvsignore, alexandria.xcode/project.pbxproj, alexandria.xcodeproj/.cvsignore, alexandria.xcodeproj/project.pbxproj: - Switching to Xcode 2.1 (.xcode -> .xcodeproj) ; - The build target in Xcode now generates an all-in-one binary. * lib/alexandria.rb, lib/alexandria/macui.rb, lib/alexandria/macui/Info.plist, lib/alexandria/macui/Matrix.rb, lib/alexandria/macui/main.m, lib/alexandria/macui/main.rb: - Follow latest change ; - When clicking on a selected cell in the matrix with the shift key pressed at the same time, deselect the cell. 2005-07-10 Laurent Sansonetti * lib/alexandria/macui/MainController.rb, lib/alexandria/macui/Matrix.rb, lib/alexandria/macui/Utils.m, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: - Added autoscroll in the matrix ; - Improved performances of the new selection ; - Fixed a lot of small bugs. 2005-07-05 Laurent Sansonetti * lib/alexandria/macui/MainController.rb, lib/alexandria/macui/Matrix.rb: Overrides the selection drawing of the matrix to mimic the Finder. 2005-07-04 Laurent Sansonetti * lib/alexandria/macui/MainController.rb, lib/alexandria/macui/Matrix.rb, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: Finally fixed the matrix to accept to be the key view of the window. 2005-07-03 Laurent Sansonetti * lib/alexandria/export_library.rb: Removed a duplicated 'EOS' statement introduced in the previous commit. * lib/alexandria/macui/AddBookController.rb, lib/alexandria/macui/MainController.rb, lib/alexandria/macui/Matrix.rb, lib/alexandria/macui/TableView.rb: - Fix a bug when deselecting all cells in the matrix after a right click ; - Fix a bug when ending a drag-and-drop in the table view that could start editing the cell ; - In the results table of the add book dialog, write the edition if a book has more than one edition. 2005-07-02 Laurent Sansonetti * lib/alexandria/macui/MainController.rb, lib/alexandria/macui/Matrix.rb, lib/alexandria/macui/TableView.rb: - Added some contextual popup menus in both libraries and books views ; - Disable the export menu item if the selected library is empty. * lib/alexandria/book_providers.rb, lib/alexandria/macui/AddBookController.rb, lib/alexandria/macui/BooksDataSource.rb, lib/alexandria/macui/MainController.rb, lib/alexandria/macui/Matrix.rb, lib/alexandria/macui/PreferencesController.rb, lib/alexandria/macui/TableView.rb, lib/alexandria/macui/MainWindow.nib/classes.nib, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: - Fixed some bugs in the Add Book window ; - Fixed a bug related to the empty selection of table views ; - Added 'View/Online Information At' menu ; - Added books table view column sorting ; - Added books matrix sorting (via 'View/Arrange Icons By' menu). 2005-06-30 Laurent Sansonetti * lib/alexandria/book_providers/mcu.rb, lib/alexandria/book_providers/proxis.rb: Use our new String#convert API instead of GLib.convert. * alexandria.xcode/project.pbxproj, lib/alexandria/preferences.rb, lib/alexandria/macui/Info.plist, lib/alexandria/macui/MainController.rb, lib/alexandria/macui/PreferencesController.rb, lib/alexandria/macui/MainWindow.nib/info.nib: Introduced preferences persistence. 2005-06-29 Laurent Sansonetti * lib/alexandria/macui/MainController.rb: Make sure the text input from the search toolbar item is converted to UTF8. 2005-06-28 Owain Evans * lib/alexandria/ui/new_book_dialog.rb: Make the new book dialog accept upc barcodes from the clipboard. 2005-06-28 Laurent Sansonetti * lib/alexandria/utils.rb, lib/alexandria/macui/AddBookController.rb, lib/alexandria/macui/BookInfoController.rb, lib/alexandria/macui/BooksDataSource.rb: Fixed encoding issues by forcing encoding to all displayed strings to UTF8. 2005-06-27 Liam Davison * lib/alexandria/export_library.rb: Added attribute to the ONIX export. Company is simply set to 'Alexandria'. Moved attribute to correct position in ONIX export. Header should now be valid. 2005-06-26 Laurent Sansonetti * lib/alexandria/book_providers.rb: Avoid infinite loop when calling BookProviders::Preferences[] with an integer. * alexandria.xcode/project.pbxproj, data/alexandria/icons/view_as_icons.png, data/alexandria/icons/view_as_list.png, lib/alexandria/macui.rb, lib/alexandria/macui/MainController.rb, lib/alexandria/macui/PreferencesController.rb, lib/alexandria/macui/TableView.rb, lib/alexandria/macui/MainWindow.nib/classes.nib, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: - Preferences pane ; - 'View As...' toolbar items ; - Misc fixes. 2005-06-18 Laurent Sansonetti * lib/alexandria/execution_queue.rb: Fixed a bug in the .current method. * lib/alexandria/macui/BookInfoController.rb, lib/alexandria/macui/BooksDataSource.rb, lib/alexandria/macui/MainController.rb, lib/alexandria/macui/MainWindow.nib/classes.nib, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: - Added manual addition of books ; - Draw a gray border around covers in the icon view ; - Misc fixes. 2005-06-17 Laurent Sansonetti * lib/alexandria/import_library.rb: In the ISBN-list text file import, call the iterate callback when downloading covers. * lib/alexandria/execution_queue.rb: Maintain the latest created object in a class variable. * alexandria.xcode/project.pbxproj, lib/alexandria/macui.rb, lib/alexandria/macui/AddBookController.rb, lib/alexandria/macui/Icons.rb, lib/alexandria/macui/ImportController.rb, lib/alexandria/macui/MainController.rb, lib/alexandria/macui/Utils.m, lib/alexandria/macui/MainWindow.nib/classes.nib, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: - Import pane ; - Redesigned the add book dialog to use popup buttons instead of combo boxes ; - Misc fixes. 2005-06-16 Laurent Sansonetti * lib/alexandria/library.rb: Handle low-case 'x' when validating ISBN/EAN/... * lib/alexandria/book_providers/amadeus.rb, lib/alexandria/book_providers/amazon.rb, lib/alexandria/book_providers/bn.rb, lib/alexandria/book_providers/ibs_it.rb, lib/alexandria/book_providers/mcu.rb, lib/alexandria/book_providers/proxis.rb: Make sure #url methods return nil if the given book is ISBN-less. * lib/alexandria/export_library.rb: In the ONIX export, do not write ProductWebsite elements for providers that return nil URLs. 2005-06-15 Laurent Sansonetti * lib/alexandria/export_library.rb (#export_as_html): Create the directory if it does not exist yet. * alexandria.xcode/project.pbxproj, lib/alexandria/macui.rb, lib/alexandria/macui/AddBookController.rb, lib/alexandria/macui/BookInfoController.rb, lib/alexandria/macui/BooksDataSource.rb, lib/alexandria/macui/ExportController.rb, lib/alexandria/macui/MainController.rb, lib/alexandria/macui/Matrix.rb, lib/alexandria/macui/MainWindow.nib/classes.nib, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: - Unified title/toolbar look in the main window ; - DND from the books list view ; - Export pane ; - Shows errors in the add book sheet ; - Misc fixes. 2005-06-14 Laurent Sansonetti * alexandria.xcode/project.pbxproj, data/alexandria/icons/book_icon.png, lib/alexandria/macui.rb, lib/alexandria/macui/BookIconCell.m, lib/alexandria/macui/BookInfoController.rb, lib/alexandria/macui/BooksDataSource.rb, lib/alexandria/macui/LibrariesDataSource.rb, lib/alexandria/macui/MainController.rb, lib/alexandria/macui/Matrix.rb, lib/alexandria/macui/TableView.rb, lib/alexandria/macui/Utils.m, lib/alexandria/macui/MainWindow.nib/classes.nib, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: Work in progress on the Cocoa port (icon view, DND, bug fixes...). 2005-06-13 Dafydd Harries * lib/alexandria/web_themes.rb: Fix bug in load method introduced by last change to same. 2005-06-12 Dafydd Harries * lib/alexandria/ui/new_book_dialog.rb: Download and display images for book searches. 2005-06-12 Dafydd Harries * lib/alexandria/book_providers.rb: Always raise NoResultsError if there were no results, rather than leaving this up to individual book providers. Also, clean up whitespace. 2005-06-11 Laurent Sansonetti * lib/alexandria/library.rb: Ignores whitespace characters when extracting numbers for ISBN/EAN/etc.. 2005-06-07 Laurent Sansonetti * lib/alexandria/macui/MainController.rb, lib/alexandria/macui/TitledImageCell.m, lib/alexandria/macui/MainWindow.nib/classes.nib, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: - Automatically show the toolbar when it is hidden and the Find menu item is activated ; - Center text in the titled image cell plus removed some dead code. 2005-06-06 Laurent Sansonetti * lib/alexandria/macui/MainController.rb, lib/alexandria/macui/TitledImageCell.m, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: Work in progress (fixed a lot of bugs in the titled image cell and added a Find main menu item that switches to the search toolbar item). 2005-06-05 Laurent Sansonetti * lib/alexandria/macui/AboutController.rb, lib/alexandria/macui/BookInfoController.rb, lib/alexandria/macui/BooksDataSource.rb, lib/alexandria/macui/MainController.rb, lib/alexandria/macui/MainWindow.nib/classes.nib, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: Work in progress (make the cover view editable, introduced a date picker for the loaning, some fixes). 2005-06-04 Laurent Sansonetti * lib/alexandria/web_themes.rb: Simplified and commented the load method. * data/alexandria/icons/book.png, data/alexandria/icons/book_small.png, data/alexandria/icons/less.png, data/alexandria/icons/more.png, data/alexandria/icons/no_cover.png: New icons. * alexandria.xcode/project.pbxproj, lib/alexandria/macui.rb, lib/alexandria/book_providers/z3950.rb, lib/alexandria/macui/AboutController.rb, lib/alexandria/macui/BookInfoController.rb, lib/alexandria/macui/Icons.rb, lib/alexandria/macui/LibrariesDataSource.rb, lib/alexandria/macui/MainController.rb, lib/alexandria/macui/RatingField.rb, lib/alexandria/macui/TableView.rb, lib/alexandria/macui/MainWindow.nib/classes.nib, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: Work in progress on the Cocoa port, added book properties, an about dialog and a lot of fixes. 2005-06-04 Dafydd Harries * lib/alexandria/web_themes.rb: Ignore CVS directories when looking for themes. 2005-06-01 Laurent Sansonetti * lib/alexandria/ui/book_properties_dialog.rb: Fixes the closing of the dialog (the bug was introduced by the latest Library#select commit). 2005-05-30 Laurent Sansonetti * alexandria.xcode/project.pbxproj, lib/alexandria.rb, lib/alexandria/macui.rb, lib/alexandria/macui/BookInfoController.rb, lib/alexandria/macui/BooksDataSource.rb, lib/alexandria/macui/MainController.rb, lib/alexandria/macui/RatingCell.m, lib/alexandria/macui/TableView.rb, lib/alexandria/macui/MainWindow.nib/classes.nib, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: Work in progress on the Cocoa port (slowly but surely). 2005-05-26 Laurent Sansonetti * data/alexandria/icons/book.png, data/alexandria/icons/book_small.png, data/alexandria/icons/library.png, data/alexandria/icons/library_small.png: New icons, by Stefanie Dijoux. * lib/alexandria/book_providers.rb: Removed a debug log. * lib/alexandria/library.rb (Library#select): Rewrote to return a Library and not an Array. * alexandria.xcode/project.pbxproj, lib/alexandria/macui.rb, lib/alexandria/utils.rb, lib/alexandria/macui/AddBookController.rb, lib/alexandria/macui/BooksDataSource.rb, lib/alexandria/macui/LibrariesDataSource.rb, lib/alexandria/macui/LibrariesTableView.rb, lib/alexandria/macui/MainController.rb, lib/alexandria/macui/TableView.rb, lib/alexandria/macui/TitledImageCell.m, lib/alexandria/macui/main.rb, lib/alexandria/macui/MainWindow.nib/classes.nib, lib/alexandria/macui/MainWindow.nib/info.nib, lib/alexandria/macui/MainWindow.nib/keyedobjects.nib: Work in progress on the Cocoa port. 2005-05-22 Laurent Sansonetti * AUTHORS, lib/alexandria.rb: Added Owain. 2005-05-22 Owain Evans * lib/alexandria/library.rb: Support for American UPC barcodes. 2005-05-20 Laurent Sansonetti Initial revision of the Cocoa version. * alexandria.xcode, lib/alexandria/macui.rb, lib/alexandria/utils.rb, lib/alexandria/macui/AddBookController.rb, lib/alexandria/macui/BooksDataSource.rb, lib/alexandria/macui/Info.plist, lib/alexandria/macui/LibrariesDataSource.rb, lib/alexandria/macui/LibrariesTableView.rb, lib/alexandria/macui/MainController.rb, lib/alexandria/macui/main.m, lib/alexandria/macui/main.rb, lib/alexandria/macui/MainWindow.nib: Added. * lib/alexandria.rb, lib/alexandria/book_providers.rb, lib/alexandria/library.rb, lib/alexandria/preferences.rb, lib/alexandria/book_providers/amazon.rb, lib/alexandria/book_providers/proxis.rb, lib/alexandria/ui/icons.rb: Refactored to share more code with the Cocoa code. 2005-04-18 Laurent Sansonetti * AUTHORS, lib/alexandria.rb: Added Lucas. 2005-04-11 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: Do not print the '%d unrated books' status line when all books have been rated. * lib/alexandria/ui/book_properties_dialog_base.rb, lib/alexandria/ui/completion_models.rb: Auto-complete borrowers. * TODO: Updated. 2005-04-09 Laurent Sansonetti * data/alexandria/icons/favorite_tag.png: Added. * lib/alexandria/ui/icons.rb, lib/alexandria/ui/main_app.rb: Tag icons with a heart image when the books they represent have a rating of 5. * lib/alexandria/book_providers.rb, lib/alexandria/book_providers/z3950.rb, lib/alexandria/ui/preferences_dialog.rb: More work on the abstract providers. 2005-04-09 Laurent Sansonetti * lib/alexandria/book_providers/z3950.rb: Added (not complete though). * data/alexandria/glade/preferences_dialog.glade: Introduced an expert mode which shows Add and Remove providers buttons. * lib/alexandria/book_providers.rb: Introduced the concept of abstract providers (not complete though). * lib/alexandria/ui/preferences_dialog.rb: Introduced an Add Provider dialog (not complete though). 2005-04-08 Laurent Sansonetti * AUTHORS, lib/alexandria.rb: Added Ligia. 2005-04-07 Claudio Belotti * tests/test_provider.rb: Added a test for the Internet Bookshop Italia provider. 2005-04-07 Pascal Terjan * lib/alexandria/book_providers/proxis.rb: Fix previous fix * tests/test_providers.rb: Test that the result of ISBN search has the right ISBN 2005-04-06 Laurent Sansonetti * AUTHORS, lib/alexandria.rb: Added Claudio. 2005-04-06 Claudio Belotti * lib/alexandria/book_providers/ibs_it.rb: Added (provided to the Internet Bookshop Italia). * lib/alexandria/book_providers.rb, schemas/alexandria.schemas: Follow latest change. 2005-04-05 Laurent Sansonetti * data/alexandria/glade/book_properties_dialog.glade, data/alexandria/glade/new_book_dialog.glade, data/alexandria/glade/preferences_dialog.glade, lib/alexandria/ui/book_properties_dialog.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog.rb, lib/alexandria/ui/new_book_dialog_manual.rb, lib/alexandria/ui/preferences_dialog.rb: Added an Help button in the Add Book, Add Book Manual, Book Properties and Preferences dialogs that is connected to the Docbook manual. 2005-04-04 Laurent Sansonetti * doc/*: - Moved the docbook file and the figures in data/gnome/help/alexandria/C ; - Moved the OMF file in data/omf ; - This directory is now empty. * data/omf/alexandria/pre-setup.rb, data/omf/alexandria/post-install.rb: Generates and installs the OMF file. * post-clean.rb: Removes the generated OMF file. * lib/alexandria/pre-setup.rb: Writes the real data dir. * lib/alexandria/ui.rb: Setups the GNOME application to use the data dir determined at the install. * lib/alexandria/ui/main_app.rb, data/alexandria/ui/menus.xml: Integrated the help manual in the main menu. 2005-04-03 Pascal Terjan * lib/alexandria/book_providers/proxis.rb: Workaround proxis returning all editions of a book in ISBN search 2005-04-03 Laurent Sansonetti * lib/alexandria/ui/alert_dialog.rb: Make the labels selectable. * lib/alexandria/library.rb: The class is now observable, and sends notifications when books are added, updated or removed from the library. * lib/alexandria/ui/completion_models.rb, lib/alexandria/ui/main_app.rb: Observes the libraries and update the models accordingly. 2005-04-01 Laurent Sansonetti Introduced completion in the manual add book and book properties dialogs. The design is not yet finished, and is susceptible to change. * lib/alexandria/ui/completion_models.rb: Added. * lib/alexandria/ui.rb, lib/alexandria/ui/book_properties_dialog_base.rb, lib/alexandria/ui/main_app.rb: - Follow latest change ; - Tweaked the model loading code to make it faster ; - Auto-resize the books list view columns. === Alexandria 0.5.1 === 2005-03-27 Laurent Sansonetti * NEWS, README: Updated for 0.5.1. * tests/test_provider.rb: Added a test for the Amadeus Buch provider. 2005-03-26 Laurent Sansonetti * TODO: Documentation is done! * AUTHORS, lib/alexandria.rb: Added Liam. 2005-03-25 Laurent Sansonetti * data/alexandria/glade/preferences_dialog.glade: - Use alternating colours for rows in the providers list ; - Make the dialog resizable. * lib/alexandria/library.rb: Preserves backward compatibility when saving a book by resetting the saved_ident property if it does not exist. 2005-03-25 Dafydd Harries * lib/alexandria/ui/export_dialog.rb: Say "already exists" rather than "is already existing". 2005-03-25 Dafydd Harries * data/alexandria/glade/preferences_dialog.glade: Rename the "List Columns" tab to "List View". 2005-03-25 Dafydd Harries * data/alexandria/glade/new_book_dialog.glade: Use alternating colours for rows in the search results list. 2005-03-24 Laurent Sansonetti * lib/alexandria/ui/new_book_dialog.rb: Remembers (within the live scope of the application though) the latest selected criterion in the Add Book dialog and automatically switches to it when the dialog is shown. 2005-03-23 Laurent Sansonetti * lib/alexandria/book_providers/amazon.rb: Caches in ~/.alexandria/.amazon_cache/ instead of /tmp/cache. 2005-03-22 Laurent Sansonetti * lib/alexandria/library.rb: Really ignores hidden directories in ~/.alexandria/. * lib/alexandria/web_themes.rb: Allows user-specific themes in ~/.alexandria/.web-themes/. * AUTHORS, lib/alexandria.rb: Added Rene. 2005-03-22 Rene Samselnig * lib/alexandria/book_providers/amadeus.rb: Added amadeusbuch.at provider. * lib/alexandria/book_providers.rb, schemas/alexandria.schemas: Follow latest change. 2005-03-22 Dafydd Harries * po/genpot.sh: Add a comment mentioning that the script needs to be run inside the po/ directory. 2005-03-22 Dafydd Harries * README: Update with the URL of the newly created intltool webpage. 2005-03-21 Laurent Sansonetti * lib/alexandria/book_providers.rb: Be more intelligent when building the list of providers by taking into account nil values from the GConf schema. * data/alexandria/COPYING: Removed. * lib/alexandria/ui/about_dialog.rb: Do not display the whole GPL text, just the header. 2005-03-20 Laurent Sansonetti * lib/alexandria/library.rb (Library.move): Removes books with the same ident before adding them in the array. * lib/alexandria/ui/main_app.rb: - Display an confirmation message when trying to move a book into a library that already has a book with the same ident ; - Properly setup the moves action after an import process. 2005-03-19 Mirko Maischberger * lib/alexandria.rb: Added myself as italian translator. 2005-03-19 Laurent Sansonetti * lib/alexandria/ui/book_properties_dialog.rb: - Do not save the book properties on destroy ; - Display an error message when trying to set an EAN/ISBN that is already used by another book in the same library ; - Do not set the saved ident of the book here, let Library#save do it in order to not duplicate entries. * lib/alexandria/ui/new_book_dialog_manual.rb: - Forgot to mark some translatable strings ; - Display an error message when trying to add a book with an EAN/ISBN that is already used by another book in the same library. * .cvsignore: Added alexandria.desktop and alexandria.desktop.in.h. 2005-03-19 Dafydd Harries * alexandria.desktop.in: Add an Icon field. 2005-03-19 Dafydd Harries * genpot.sh: - Remove reference to removed bin/alexandria. - Change reference to alexandria.desktop.in to point to .., so that the script works when run in the po/ directory. - Add a comment explaining that the script should be run from the po/ directory. 2005-03-19 Dafydd Harries * post-clean.rb: Add this script in order to remove various automatically generated files. 2005-03-19 Dafydd Harries Implement i18n of the .desktop file using intltool. * alexandria.desktop: Removed, as it is now automatically generated. * alexandria.desktop.in: This is the old .desktop file, with some fields marked for translation. * po/genpot.sh: Call intltool-extract to generate alexandria.desktop.in.h, and pass that file to xgettext. * pre-setup.rb: Call intltool-merge to generate alexandria.desktop with translations. * README: Mention the dependency on intltool. 2005-03-19 Dafydd Harries * ChangeLog, NEWS: Convert to UTF-8. 2005-03-14 Laurent Sansonetti * lib/alexandria/ui/new_book_dialog_manual.rb: Manually added books were not automatically added in the library in memory. 2005-03-13 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: Pack the cover as non-expandable in the list view. === Alexandria 0.5.0 === 2005-03-13 Laurent Sansonetti * README, NEWS: Final tweak for 0.5.0. 2005-03-12 Laurent Sansonetti * data/alexandria/icons/alexandria.png, data/alexandria/icons/alexandria_small.png: New icon, by Stefanie Dijoux. * AUTHORS, lib/alexandria.rb: Added Stefanie. 2005-03-12 Pascal Terjan * lib/alexandria/book_providers/proxis.rb: Fixed to work again. 2005-03-12 Laurent Sansonetti * lib/alexandria/book_providers/bn.rb: Fixed the regexp once again. 2005-03-11 Laurent Sansonetti * NEWS: Mentions the amazon.[fr|ca] support. 2005-03-09 Laurent Sansonetti * AUTHORS, lib/alexandria.rb: Added David. * README, NEWS: Prepared for the upcoming 0.5.0. 2005-03-07 Laurent Sansonetti * data/alexandria/glade/book_properties_dialog.glade, data/alexandria/glade/main_app.glade, data/alexandria/glade/new_book_dialog.glade: Marked '*' and 'Alexandria' as not translable. * lib/alexandria/ui/main_app.rb. lib/alexandria/ui/new_book_dialog.rb: Fixed wording (thanks to David Weinehall). 2005-03-06 Laurent Sansonetti * lib/alexandria/ui/main_app.rb, lib/alexandria/ui/book_properties_dialog_base.rb, lib/alexandria/book_providers.rb, lib/alexandria/ui/export_dialog.rb: Fixed wording (thanks to David Weinehall). 2005-03-05 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: - Restored the possibility to filter books by notes ; - Filtering text field is more robust ; - Make sure we do not select a library before having setup the moves action at the beginning. 2005-03-03 Laurent Sansonetti * lib/alexandria/book_providers/mcu.rb: Mark the name of the provider as translatable. 2005-03-02 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: Do not add the books twice in the library. 2005-03-01 Laurent Sansonetti * lib/alexandria/book_providers/amazon.rb: Setup the online information url according to the selected locale. 2005-02-28 Constantine Evans * lib/alexandria/book_providers/amazon.rb: Added workaround for an Amazon US encoding bug. See comments in code for details. 2005-02-28 Laurent Sansonetti * lib/alexandria/library.rb: Specialized the ISBN validation exceptions. * lib/alexandria/ui/book_properties_dialog.rb, lib/alexandria/ui/new_book_dialog.rb, lib/alexandria/ui/new_book_dialog_manual.rb: Follow latest change. * lib/alexandria/ui/new_book_dialog.rb: Fixes #974 (when a book returned by a search by title/authors/keyword contains an invalid ISBN, propose the user to either add the book with a blank ISBN or cancel the add). 2005-02-25 Laurent Sansonetti * lib/alexandria/ui/main_app.rb, data/alexandria/glade/main_app.glade: - Filter the model with a Gtk::TreeModelFilter ; - Each view has its own Gtk::TreeModelSort ; - Freeze/unfreeze the icon view each time the model changes ; - Dispatch the library load in a separate thread (code is commented). 2005-02-24 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: More fixes. 2005-02-23 Laurent Sansonetti * lib/alexandria/library.rb, lib/alexandria/ui/main_app.rb: Fixes some defects introduced by the view model change. 2005-02-22 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: Changed all references to book.isbn to retrieve iterators model to book.ident. * AUTHORS, lib/alexandria.rb: Added Constantine. 2005-02-22 Constantine Evans * lib/alexandria/book.rb Added ident and saved_ident to hold isbn or hash used for filenames. * lib/alexandria/library.rb - Changed save() to use ident instead of isbn. Note that giving a new_isbn to save is not necessary now - the Book class tracks ident changes. - Changed all references to book.isbn for filenames to book.ident. - Changed yaml() to allow String and Book arguments like cover(). * lib/alexandria/ui/book_properties_dialog.rb, lib/alexandria/ui/new_book_dialog_manual.rb Changed to use new filename system and allow blank ISBN. 2005-02-22 Laurent Sansonetti * data/alexandria/COPYING: Added. * data/alexandria/glade/main_app.glade, lib/alexandria/preferences.rb, lib/alexandria/ui/about_dialog.rb, lib/alexandria/ui/book_properties_dialog.rb, lib/alexandria/ui/main_app.rb: - use Gtk::AboutDialog instead of Gnome::About ; - use Gtk::IconView instead of Gnome::IconList ; - improved performances. 2005-02-18 Laurent Sansonetti * tests/test_providers.rb: Added. * tests/test.rb: Follow latest change. * lib/alexandria/preferences.rb: Fixed deprecated call to GConf::Client.new. * AUTHORS, lib/alexandria.rb: Added Kevin and Javier. 2005-02-18 Javier Fernández-Sanguino Peña * lib/alexandria/book_providers/mcu.rb: Added. * lib/alexandria/book_providers.rb, schemas/alexandria.schemas: Follow previous change. 2005-02-18 Kevin Schultz * lib/alexandria/book_providers/bn.rb: Fixed BN.com query regexes. 2005-02-18 Laurent Sansonetti * lib/alexandria/ui/main_app.rb, data/alexandria/glade/main_app.glade, data/alexandria/ui/popups.xml: Added a popup menu for the library list. 2005-02-10 Dafydd Harries * alexandria.desktop: Contributed by Hanna Wallach. 2005-01-24 Dafydd Harries * lib/alexandria/library.rb: Fix tracker bug #1026, where EAN numbers with a checksum of 10 were incorrectly marked as invalid. * test/test_isbn.rb: Add a regression test for bug #1026. 2005-01-20 Laurent Sansonetti * Updated all copyrights to 2005 (except .po files). 2005-01-20 Zachary Landau * CUECAT_SUPPORT: Added. 2005-01-19 Laurent Sansonetti * data/alexandria/glade/book_properties_dialog.glade, lib/alexandria/ui/book_properties_dialog_base.rb: - Added two additional event boxes to control the rating, one to reset the rating (0) and one to set it to the highest value (5) ; - Display "One day" when the loaning date is yesterday. * lib/alexandria/ui/main_app.rb: When deleting more than one books, display a single alert dialog instead of an alert dialog for each book. * lib/alexandria/book_providers.rb: - Catchs the SocketError exception when calling providers, and returns an appropriate message ; - Fixed indentation. * lib/alexandria/library.rb: - In Library.load, mkdir the directory if it does not already exist, outside of the Dir.chdir block (to avoid nested blocks within threads) ; - Fixed indentation. * lib/alexandria/ui/export_dialog.rb: Fixed a wording bug plus a GTK table attachment bug. * lib/alexandria/import_library.rb, lib/alexandria/ui/import_dialog.rb: - The import dialog now displays the progress of the operation, and throws alert boxes when an error occured in the meantime ; - Fixed some things. * lib/alexandria/execution_queue.rb: Added. * lib/alexandria.rb: Follows previous change. * README: Removed the reference to 0.4.x for the bn.com upgrading note. 2005-01-13 Laurent Sansonetti * lib/alexandria/export_library.rb, lib/alexandria/import_library.rb: Added. * lib/alexandria/library.rb: Splitted. * lib/alexandria.rb, lib/alexandria/ui/export_dialog.rb, lib/alexandria/ui/import_dialog.rb: Follow changes. 2005-01-10 Laurent Sansonetti * data/alexandria/web-themes/clean/clean.css, data/alexandria/web-themes/clean/preview.jpg, lib/alexandria/web_themes.rb: Added. * lib/alexandria.rb, lib/alexandria/library.rb, lib/alexandria/ui/export_dialog.rb: Introduced XHTML export. * lib/alexandria/ui/alert_dialog.rb: Fixed indentation. 2005-01-07 Laurent Sansonetti * lib/alexandria/ui/preferences_dialog.rb: - Disable the Setup button if the selected provider does not have any preferences to setup, instead of displaying a dialog (HIG) ; - Fixed indentation. 2005-01-01 Dafydd Harries * lib/alexandria/library.rb: Fix a bug where importing an ISBN list file would cause a crash when an ISBN in the list did not have a cover image. 2004-12-15 Laurent Sansonetti * AUTHORS, lib/alexandria.rb: Added Takayuki. 2004-12-15 Takayuki Kusano * lib/alexandria/library.rb: Improved the ISBN-list import code to support EAN. 2004-12-15 Laurent Sansonetti * lib/alexandria/ui/import_dialog.rb, lib/alexandria/ui/export_dialog.rb, lib/alexandria/library.rb: - Changed the Tellico archive file extention from 'bc' to 'tc' ; - In the export dialog, in case the user tries to use a library name that is already used, grab the focus on the library name text field after the alert message. 2004-12-14 Laurent Sansonetti * TODO: Removed points that have been implemented. * data/alexandria/glade/book_properties_dialog.glade, lib/alexandria/book.rb, lib/alexandria/ui/book_properties_dialog.rb, lib/alexandria/ui/book_properties_dialog_base.rb, lib/alexandria/ui/new_book_dialog_manual.rb: Introduced very basic loaning support (is the book borrowed?, who borrowed it? and when?). 2004-11-08 Dafydd Harries * post-install.rb: Don't do anything if ENV['GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL'] is set. This makes it easier to build the package without gconftool-2 being installed. 2004-11-05 Dafydd Harries * pre-setup.rb: Raise an exception if msgfmt failed. === Alexandria 0.4.0 === 2004-11-05 Laurent Sansonetti * NEWS, README: Updated for 0.4.0. * lib/alexandria/library.rb: - Tellico Import: check for either 'bookcase.xml' or 'tellico.xml' as the XML file ; - Tellico Import: check for either 'bookcase' or 'tellico' as the root element inside the XML ; - Tellico Import: check for either 2 or 5 as the collection type ; - ONIX and Tellico Export: rename the .cover extention either to 'jpg' or 'gif' according to the file type. - Tellico Export: remove the 'www' part of the namespace address. 2004-11-02 Laurent Sansonetti * lib/alexandria/library.rb: - Added an experimental Tellico importer ; - Refactored the #save_cover method. * lib/alexandria/ui/import_dialog.rb: - Fixed the parent reference of alert dialogs ; - Fixed a crash when pressing the escape key. * lib/alexandria.rb: Fixed a crash when the 'http_proxy' environment variable was not set. 2004-11-01 Laurent Sansonetti * lib/alexandria/ui/import_dialog.rb: Added. * lib/alexandria.rb: Erase the 'http_proxy' environment variable if its content is invalid. * lib/alexandria/library.rb: - Refactored (moved the save cover code here); - Introduced an ISBN-list import and export ; * lib/alexandria/ui.rb: Requires the import_dialog.rb file. * lib/alexandria/ui/export_dialog.rb: - Fixed the default button (text = "Export", no icon) ; - Commented the XHTML combo item ; - Added an ISBN-list combo item. * lib/alexandria/ui/main_app.rb: - Refactored ; - Follows the import dialog. * lib/alexandria/ui/new_book_dialog.rb: Follows the library.rb refactoring. 2004-10-28 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: Update the entries of the Move menu accordingly, when a library is created, renamed, or removed. 2004-10-12 Laurent Sansonetti Features the manual addition of books and the move of books within libraries. * data/alexandria/ui/menus.xml, data/alexandria/ui/popups.xml: Added AddBookManual and Move tags. * lib/alexandria.rb: - Added more authors/translators ; - Removed the documenters tab. * data/alexandria/glade/info_book_dialog.glade, lib/alexandria/ui/info_book_dialog.rb: Removed. * lib/alexandria/ui/book_properties_dialog.rb, lib/alexandria/ui/book_properties_dialog_base.rb, lib/alexandria/ui/new_book_dialog_manual.rb, data/alexandria/glade/book_properties_dialog.glade: Added. * lib/alexandria/library.rb: - Introduced Library.move ; - Improved Library#save(book), to rename the .yaml file if the ISBN has changed. * lib/alexandria/ui.rb: Requires the new files. * lib/alexandria/ui/main_app.rb: - Follow the changes related to the manual addition of books and the move of books; - Clean up whitespace/indentation ; - When renaming a library in the sidepane, do not try to check if a library already exists with the new name if the new name corresponds to the name of the selected library. 2004-10-23 Dafydd Harries * lib/alexandria/library.rb: Clean up whitespace/indentation. * test, * test/test.rb, * test/test_isbn.rb: Initial set of unit tests, dealing with ISBNs. 2004-10-12 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: Raises an error dialog when trying to rename a library to an empty name, or when the name is already used by another library. 2004-10-12 Laurent Sansonetti General reformat of the code. * data/alexandria/glade/info_book_dialog.glade, lib/alexandria/library.rb, lib/alexandria/ui/info_book_dialog.rb: - Now possible to change the cover of a book via the Properties dialog ; - The data model has been altered: the small covers are now automatically generated from the medium covers, so they do not need to be downloaded anymore, and the extension of the medium cover is ".cover". * lib/alexandria/book_providers/amazon.rb, lib/alexandria/book_providers/bn.rb, lib/alexandria/book_providers/proxis.rb, lib/alexandria/ui/icons.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog.rb: Follows data model changes. * lib/alexandria/ui/export_dialog.rb: Changed the ONIX archive extension (xml.tbz2 -> onix.tbz2). * TODO: Refresh. 2004-09-30 Laurent Sansonetti * AUTHORS: - Reformatted ; - Added Robby. * TODO: Refresh. 2004-10-01 Robby Stephenson * lib/alexandria/library.rb, lib/alexandria/ui/export_dialog.rb: Introduced Tellico (ex. Bookcase) .zip archive export. 2004-09-30 Laurent Sansonetti * data/alexandria/glade/info_book_dialog.glade, data/alexandria/glade/preferences_dialog.glade, lib/alexandria/ui/main_app.rb: s/Edition/Binding. * data/alexandria/glade/info_book_dialog.glade, lib/alexandria/book.rb, lib/alexandria/ui/info_book_dialog.rb, lib/alexandria/ui/main_app.rb: The book properties dialog has been modified to allow the edition of all fields (title, authors, etc...). The cover still needs some code to be changed though. * lib/alexandria/ui/export_dialog.rb: Fixed the ONIX archive extention to .tbz2 instead of tgz. * lib/alexandria/book_providers.rb: Splitted a translatable string. 2004-09-19 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: - Show more feedback on the status bar ; - Added keyboard shortcuts for the Import/Export actions. * lib/alexandria/ui/new_book_dialog.rb: Splitted some translatable strings. * lib/alexandria/library.rb (#n_rated, #n_unrated): Added. 2004-09-14 Laurent Sansonetti * lib/alexandria/library.rb, lib/alexandria/ui/export_dialog.rb: Introduced an experimental ONIX export. * lib/alexandria/ui/new_book_dialog.rb, data/alexandria/glade/new_book_dialog.glade: - Migrated another GtkCombo to GtkComboBox ; - Fixed a bug introduced in the previous commit. 2004-09-11 Laurent Sansonetti * README: - Requires Ruby-GNOME2 0.10.1 ; - Requires Ruby-GetText 0.6.1 ; - Added information for the "/apps/alexandria/providers_priority" & Barnes and Noble provider upgrading issue. * lib/alexandria/ui/main_app.rb: - Fixed keyboard shortcut for "Show Sidepane" (F9) ; - Fixed library creation ; - Fixed the alignment of cell renderers in the sidepane treeview ; - Fixed indentation. * lib/alexandria/ui/new_book_dialog.rb, data/alexandria/glade/new_book_dialog.glade, lib/alexandria/ui/preferences_dialog.rb: Migrated to Gtk::ComboBox. 2004-09-10 Laurent Sansonetti * lib/alexandria/ui/new_book_dialog.rb, schemas/alexandria.schemas: Moved the CUECAT_DEV constant to a GConf variable. 2004-09-10 Zachary P. Landau * lib/alexandria/ui/new_book_dialog.rb, data/alexandria/glade/new_book_dialog.glade Added CueCat support. * data/alexandria/icons/cuecat.png, data/alexandria/icons/cuecat_inactive.png: Added. 2004-09-08 Laurent Sansonetti * TODO: Updated. * make_release.sh: Improved. * lib/alexandria/book_providers.rb: - Fixed catching of the Timeout::Error exception ; - Added a $DEBUG trace before calling each provider. * lib/alexandria/ui/main_app.rb: Set correct border width for toolitems. 2004-09-07 Laurent Sansonetti * data/alexandria/glade/main_app.glade: Removed the toolbar, popups and menubar definitions. * lib/alexandria/ui/main_app.rb: Introduced GtkUIManager to handle the toolbar, popups and menubar. * data/alexandria/ui/menus.xml, data/alexandria/ui/popups.xml: Added. 2004-08-25 Laurent Sansonetti * lib/alexandria/ui.rb: Removed '.rb' suffixes in require statements. * data/alexandria/glade/main_app.glade: Added a "Online Information at" menu item in the popup menu of a book. * lib/alexandria/ui/main_app.rb: - Fills the "Online Information at" menu item ; - Fixed a bug when sorting by rating books that aren't rated yet ; - Refactored a bit. * lib/alexandria/book.rb: Set the default rating to 0 instead of 3. * lib/alexandria/book_providers/bn.rb: Added. * lib/alexandria/book_providers.rb: - Includes the BN provider. - Moved the HTTP proxy code there; - Introduced GenericProvider#fullname. * lib/alexandria/book_providers/amazon.rb: - Removed the GLib.convert call, that seems unnecessary ; - Follow changes in book_provider.rb. * lib/alexandria/book_providers/proxis.rb, lib/alexandria/ui/preferences_dialog.rb: Follow changes in book_provider.rb. * schemas/alexandria.schemas: Added BN in the providers_priority variable. 2004-08-24 Laurent Sansonetti * data/alexandria/glade/main_app.glade: Added Library/Import and Library/Export. * lib/alexandria/ui/export_dialog.rb: Added. * lib/alexandria/book.rb: Removed unnecessary require statements. * lib/alexandria/library.rb: Added code for the compressed XML export. * lib/alexandria/ui.rb, lib/alexandria/ui/main_app.rb: Follows Alexandria::ExportDialog. 2004-08-17 Laurent Sansonetti * lib/alexandria/ui/main_app.rb, schemas/alexandria.schemas: Remember if Alexandria was maximized or not, by saving that state in the /apps/alexandria/maximized GConf variable (#765). 2004-08-04 Laurent Sansonetti * data/alexandria/glade/new_book_dialog.glade, lib/alexandria/ui/new_book_dialog.rb: - Do not try to add the book if the add button is disabled ; - Grab the focus on the ISBN entry at the beginning (#760) ; - Autoselect the criterion when the user clicks on an insensitive widget (#761). 2004-07-31 Dafydd Harries * lib/alexandria/book_providers.rb: Replace "TooMuchResultsError" with "TooManyResultsError". 2004-07-24 Dafydd Harries * lib/alexandria/library.rb: Fix bug #752, where the ISBN checksum didn't get converted to an X when it was a 10. 2004-07-21 Laurent Sansonetti * TODO: Updated. * lib/alexandria/book_providers/amazon.rb: Squeezes extra spaces. * lib/alexandria/ui/new_book_dialog.rb: Appends the edition and the publisher in the search results list for books that have the same title and authors. 2004-07-11 Laurent Sansonetti * data/alexandria/glade/new_book_dialog.glade: Modified the ISBN text entry to allow 18 characters instead of 13. * bin/pre-setup.rb: Added. This generates bin/alexandria with a dummy #! line that will be replaced with the correct Ruby path by install.rb. * bin/alexandria: Removed. * bin/.cvsignore: Added. Ignores bin/alexandria since it's now a generated file. === Alexandria 0.3.1 === 2004-07-10 Laurent Sansonetti * NEWS: Updated for 0.3.1. 2004-07-10 Dafydd Harries * lib/alexandria/library.rb, lib/alexandria/ui/new_book_dialog.rb: - Proper support for EAN numbers. Also, ISBN numbers are tidied more consistently. * lib/alexandria/ui/main_app.rb: - Remove custom sorting functions as they appear not to make anything work better and may actually cause some problems, such as bug #698. 2004-07-09 Laurent Sansonetti * lib/alexandria/book_providers.rb, lib/alexandria/book_providers/amazon.rb, lib/alexandria/book_providers/proxis.rb, lib/alexandria/ui/new_book_dialog.rb: - Improved exception handling ; - Fixed the Amazon provider to perform another lookup using the next locale when the previous one gives no results. 2004-07-08 Laurent Sansonetti * lib/alexandria/book_providers.rb: Fixed the providers calling mechanism (if a provider raises an exception we call the next one if any, otherwise we pass the exception to the main app). 2004-07-05 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: - Fixed a bug when trying to sort icons by rating when books didn't have rating yet ; - Fixed a bug in the sorting method (edition and publisher was inversed). 2004-07-04 Laurent Sansonetti * data/alexandria/glade/new_book_dialog.glade, lib/alexandria/ui/new_book_dialog.rb: - Removed the first label ; - The dialog is now resizable on search purposes. * lib/alexandria/library.rb: Fixed a bug when removing a book that doesn't have any cover image. === Alexandria 0.3.0 === 2004-07-03 Laurent Sansonetti * README: Updated for 0.3.0. * RELEASE_CHECKLIST: Added the README step. 2004-06-30 Laurent Sansonetti * NEWS: Updated for 0.3.0. 2004-06-27 Laurent Sansonetti * RELEASE_CHECKLIST, make_release.sh: Added. * lib/alexandria.rb: Includes version.rb (automatically generated). * lib/alexandria/.cvsignore: Ignores version.rb. * lib/alexandria/pre-setup.rb: Generates version.rb. 2004-06-25 Laurent Sansonetti * README: Incremented Ruby/Amazon's version (0.8.2 -> 0.8.3). * lib/alexandria/preferences.rb: Added code to retrieve GNOME HTTP proxy configuration. * lib/alexandria/book_providers/amazon.rb, lib/alexandria/book_providers/proxis.rb: Pass HTTP connections to the proxy defined in the GNOME configuration if exists. 2004-06-23 Laurent Sansonetti * data/alexandria/glade/preferences_dialog.glade, lib/alexandria/ui/preferences_dialog.rb: Implemented "up" and "down" buttons in the providers list. * schemas/alexandria.schemas: Added the "providers_priority" variable. * lib/alexandria/book_providers.rb, lib/alexandria/book_providers/amazon.rb, lib/alexandria/book_providers/proxis.rb: - Introduced GenericProviders, the base class for all providers ; - Introduced providers priority. 2004-06-22 Pascal Terjan * lib/alexandria/book_providers/proxis.rb: - Moved book creation to parse_book ; - Added a preference for the language ; - Encode search criterion. 2004-06-21 Laurent Sansonetti * lib/alexandria/book.rb: Splitted. * lib/alexandria/book_providers/amazon.rb, lib/alexandria/book_providers/proxis.rb, lib/alexandria/book_providers.rb, lib/alexandria/book_providers, lib/alexandria/library.rb: - Added ; - The Proxis provider has been contributed by Pascal Terjan ; - Do not save covers that are blank ; - The book providers factory should handle multiple providers now. * lib/alexandria/ui/icons.rb: Uses the default icon when the cover files don't exist. * lib/alexandria/ui/preferences_dialog.rb: Handles providers that don't provide any preference, and display an error message when the user tries to setup them. 2004-06-20 Pascal Terjan * lib/alexandria/ui/main_app.rb, bin/alexandria: Don't split string inside multibyte character (#660) 2004-06-20 Laurent Sansonetti * lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog.rb: It is now possible to add multiple books at once, by selecting several books in the search results list. 2004-06-19 Laurent Sansonetti * data/alexandria/glade/new_book_dialog.glade, lib/alexandria/ui/new_book_dialog.rb, lib/alexandria/book.rb: - Improved the add new book dialog to allow searches by authors and keyword ; - Validate ISBNs before sending them to providers ; - Perform an ISBN search when enter is detected in the ISBN entry ; - Fixed a bug in the Amazon provider, when some books that are not released yet don't have a 'manufacturer' attribute. 2004-06-19 Dafydd Harries * lib/alexandria/book.rb: Rewrote the ISBN code to be more Rubyish and made it allow 13-digit EAN numbers. 2004-06-18 Laurent Sansonetti * lib/alexandria/ui/new_book_dialog.rb: Fixed a bug when Alexandria crashed in the add new book dialog when the clipboard was empty. 2004-06-16 Laurent Sansonetti * data/alexandria/glade/new_book_dialog.glade, lib/alexandria/ui/new_book_dialog.rb: Autofill the ISBN entry with the clipboard contents upon focus. * lib/alexandria/book.rb: Added code to validate ISBNs. * README: - Updated the list of features ; - Added "gconftool-2 --shutdown" to the install steps. 2004-06-15 Laurent Sansonetti * AUTHORS, lib/alexandria.rb: Added Pascal, added language prefixes after each translator. * data/alexandria/glade/new_book_dialog.glade, lib/alexandria/ui/new_book_dialog.rb: - The dialog is now automatically resized according to the selected criterion ; - Performs the search when 'enter' is pressed in the title entry ; - Performs the add when a double left click is detected on a result row ; - Fixed some small UI issues. * lib/alexandria/ui/main_app.rb: Sorts the current library after a book has been added. 2004-06-14 Laurent Sansonetti * lib/alexandria/book.rb, data/alexandria/glade/new_book_dialog.glade, lib/alexandria/ui/new_book_dialog.rb: Modified to allow title searches (as well as ISBN searches). 2004-06-14 Pascal Terjan * lib/alexandria.rb, lib/alexandria/book.rb, lib/alexandria/ui/about_dialog.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog.rb, lib/alexandria/ui/preferences_dialog.rb: Enforce use of UTF-8 for gettext 2004-06-14 Laurent Sansonetti * data/.cvsignore: Added. 2004-06-14 Dafydd Harries * lib/alexandria/ui/main_app.rb: Ngettextise some strings. * po/ChangeLog: New ChangeLog for translation changes. 2004-06-13 Laurent Sansonetti * data/post-clean.rb: Added. This script removes the 'locale' directory. 2004-06-13 Dafydd Harries * pre-setup.rb: Removed requirement of ruby-gettext since all this does is run msgfmt. === Alexandria 0.2.0 === 2004-06-13 Laurent Sansonetti * NEWS: Final update for 0.2.0. * lib/alexandria.rb, lib/alexandria/book.rb: - extend the GetText module (thanks to Masao Mutoh) ; - added translator names for the about box. * AUTHORS: updated and reformatted. 2004-06-13 Masao Mutoh * po/ja.po: New Japanese translation. 2004-06-12 Dafydd Harries * po/cy.po: New Welsh translation. 2004-06-11 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: Update the title when the selected library has been renamed. 2004-06-10 Laurent Sansonetti * NEWS: Updated for the future 0.2.0 release. 2004-06-08 Laurent Sansonetti * README: - Corrected the name of the ruby-gettext project ; - Fixed the required GNOME version to 2.6. * data/alexandria/glade/main_app.glade: Removed some tooltips. * lib/alexandria.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/preferences_dialog.rb: Marked a few strings to be translated. * po/fr.po: Updated. 2004-06-07 Laurent Sansonetti Introduced i18n. Almost all the investigation has been made by Dafydd. * pre-setup.rb, po/fr.po, po/genpot.sh: Added. * data/alexandria/glade/info_book_dialog.glade, data/alexandria/glade/main_app.glade: Empted strings that shouldn't be translated. * bin/alexandria, lib/alexandria.rb, lib/alexandria/book.rb, lib/alexandria/ui/about_dialog.rb, lib/alexandria/ui/glade_base.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog.rb: Localised strings using Ruby/GetText. 2004-06-06 Laurent Sansonetti * schemas/alexandria.schemas, post-install.rb: Added. GConf2 schemas have been introduced. * lib/alexandria/ui/main_app.rb: Refactored the code since GConf preferences have now default values. 2004-06-05 Laurent Sansonetti * bin/alexandria: Prints the release version upon exceptions. * data/alexandria/glade/main_app.glade, lib/alexandria/ui/main_app.rb: Added a search field in the toolbar to filter books. Refactored a bit the existing code. 2004-06-04 Dafydd Harries * lib/alexandria/ui/main_app.rb: Fix a bug where Alexandria would crash when GConf keys hadn't been set. Laurent did all the hard work, I just helped with the debugging. * data/alexandria/icons/star_set.png data/alexandria/icons/star_unset.png: New icons. The old ones looked nasty against darker backgrounds due rough edges. The new ones look more or less the same as the old ones. They could probably use a little tweaking. They were drawn as SVGs but committed as PNGs. * data/alexandria/icons/star_ok.png data/alexandria/icons/star_nok.png: Deleted. * lib/alexandria/ui/main_app.rb lib/alexandria/ui/info_book_dialog.rb: Modified to use the new constants for the new icons. 2004-05-29 Laurent Sansonetti * README: Updated with recent libraries. * data/alexandria/glade/main_app.glade, lib/alexandria/ui/main_app.rb: Added the possibility to sort icons (via the main or popup menus). 2004-05-27 Laurent Sansonetti * README: Incremented Ruby/Amazon version (0.8.1 -> 0.8.2). * data/alexandria/glade/preferences_dialog.glade, lib/alexandria/book.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/preferences_dialog.rb: Implemented the preferences backend for the preferences dialog box. 2004-05-26 Laurent Sansonetti * data/alexandria/icons/book.png: Added. * lib/alexandria/book.rb: Added Book::DEFAULT_RATING. * lib/alexandria/ui/icons.rb: Added .small_cover and .medium_cover functions. * lib/alexandria/ui/info_book_dialog.rb: Follow book.rb changes and refresh the book views if the properties has changed. * lib/alexandria/ui/main_app.rb: - Rating is shown in the tree view ; - Fixed several sorting bugs in the tree view ; - Now saves the size of the main window properly ; - book.png is displayed when the provided cover image is blank ; - Refactored some parts of the code. 2004-05-25 Laurent Sansonetti * data/alexandria/glade/info_book_dialog.glade, data/alexandria/icons/star_nok.png, data/alexandria/icons/star_ok.png, lib/alexandria/book.rb, lib/alexandria/ui/info_book_dialog.rb: Added rating support. * data/alexandria/glade/new_book_dialog.glade, lib/alexandria/ui/new_book_dialog.rb: User is not able to enter ISBN which contains "-" character(s). * TODO: Updated (added rating support). 2004-05-24 Laurent Sansonetti * data/alexandria/glade/preferences_dialog.glade: Fixed the wording (called -> queried), thanks to Dafydd. * TODO: Added. 2004-05-21 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: Saves and restores sidepane slider position and the last selected library. 2004-05-20 Laurent Sansonetti * lib/alexandria/preferences.rb: Added with a single implementation using GConf. * lib/alexandria.rb: Required preferences.rb and added an URL which leads to the RubyForge bug tracker. * lib/alexandria/ui/main_app.rb: - Saves and restores preferences (window position and size, whether toolbar, statusbar and sidepane are active, and whether the books are viewed as icons or list) ; - Implemented the 'report_bug' handler, where the default web browser is started. * data/alexandria/glade/main_app.glade: - Embed the sidepane's header in a Gtk::Frame (like Evolution) ; - Added a toolbar separator between "Refresh" and "View as Icons|List". 2004-05-18 Laurent Sansonetti * data/alexandria/glade/main_app.glade, lib/alexandria/ui/main_app.rb: Added a close button in the sidepane's header. 2004-05-17 Laurent Sansonetti * lib/alexandria/book.rb: Fixed encoding problems in the Amazon provider, which seems to encode strings in UTF-8 twice (?!). * lib/alexandria.rb: Sets $DEBUG if ENV['DEBUG'] is defined. * lib/alexandria/ui/new_book_dialog.rb: Removed code to handle EINVAL exception, this was a workaround for a FreeBSD bug which seems to have disappeared. 2004-05-15 Laurent Sansonetti * data/alexandria/glade/preferences_dialog.glade: Added a "General" tab in which you can configure visible columns for the "View as List" mode. * lib/alexandria/book.rb: Removed bad tabulations. * lib/alexandria/ui/main_app.rb, data/alexandria/glade/main_app.glade: - Fixed bad signals and added "Help/Submit Bug Report", which is still not implemented yet ; - Don't clear the iconlist if it's empty (to avoid a GLib warning). 2004-04-30 Laurent Sansonetti * data/alexandria/glade/info_book_dialog.glade, data/alexandria/glade/new_book_dialog.glade, data/alexandria/glade/preferences_dialog.glade: Use the 'clicked' signal instead of 'pressed' for Gtk::Button's. * data/alexandria/glade/preferences_dialog.glade, lib/alexandria/ui/preferences_dialog.rb: - Removed the network proxy tab ; - Improved accessibility (via keyboard accelerators) and HIG compliance ; - Double click on a provider opens its setup dialog. * lib/alexandria/book.rb: - Refactored the YAML object, by removing the following fields: saved, small_cover and medium_cover ; - Improved the loading and saving procedures. * lib/alexandria/ui/about_dialog.rb: Fixed the transient (parent) window. * lib/alexandria/ui/info_book_dialog.rb: - Follow changes in book.rb ; - Save the notes in the YAML file if they changed. * lib/alexandria/ui/main_app.rb: Follow changes in book.rb, about_dialog.rb and info_book_dialog.rb. * lib/alexandria/ui/new_book_dialog.rb: Follow changes in book.rb. 2004-04-22 Laurent Sansonetti * data/alexandria/glade/info_book_dialog.glade, lib/alexandria/book.rb, lib/alexandria/ui/info_book_dialog.rb: - Redesigned the layout of the Book Property dialog, adding a notebook and packing the cover image in a frame ; - Introduced notes (not yet saved though). 2004-04-21 Laurent Sansonetti * data/alexandria/glade/preferences_dialog.glade: Fixed the wording (thanks to rene). * lib/alexandria/book.rb: Introduced BookProviders' Preferences. * lib/alexandria/ui/new_book_dialog.rb: Follow book.rb changes. * lib/alexandria/ui/preferences_dialog.rb: Constructs a dynamic dialog box according to the preferences of the selected provider. 2004-04-20 Laurent Sansonetti * data/alexandria/glade/preferences_dialog.glade, lib/alexandria/ui/preferences_dialog.rb, lib/alexandria/ui.rb, lib/alexandria/ui/main_app.rb: Added a basic Preferences dialog. * lib/alexandria/book.rb: Refactored. 2004-04-17 Laurent Sansonetti * README: Fixed a typo. 2004-04-16 Laurent Sansonetti * HACKING: New file. * lib/alexandria.rb, AUTHORS: Added Daffyd and Zachary. * bin/alexandria, lib/alexandria.rb, lib/alexandria/book.rb, lib/alexandria/ui.rb, lib/alexandria/ui/about_dialog.rb, lib/alexandria/ui/alert_dialog.rb, lib/alexandria/ui/glade_base.rb, lib/alexandria/ui/icons.rb, lib/alexandria/ui/info_book_dialog.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog.rb: Prefixed with GPL header (required by the the license). * data/alexandria/glade/main_app.glade: Set the 'Rules Hint' property of tree views to true. 2004-04-15 Dafydd Harries * lib/alexandria/ui/alert_dialog.rb: Make the ErrorDialog use markup for the error. * lib/alexandria/ui/main_app.rb: Allow more characters in library names, and improve the error message for invalid names by including the invalid character found. === Alexandria 0.1.2 === 2004-04-15 Laurent Sansonetti * lib/alexandria.rb, NEWS: Updated for 0.1.2. 2004-04-15 Zachary P. Landau * lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog.rb: Default to the currently selected library in the Add Book Dialog. 2004-04-15 Laurent Sansonetti * lib/alexandria/book.rb: - Ported to the latest Ruby/Amazon release (0.8.1) ; - Fixed a bug when Amazon doesn't provide the 'authors' for a book. * README: Alexandria now requires Ruby/Amazon 0.8.1 or newer. === Alexandria 0.1.1 === 2004-04-12 Laurent Sansonetti * lib/alexandria/book.rb: Creates ~/.alexandria if it doesn't exist. === Alexandria 0.1.0 === 2004-04-12 Laurent Sansonetti * NEWS: New file. * README, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog.rb: Fixed the spelling of some strings. * bin/alexandria: Added some code to help users report bugs. 2004-04-11 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: - Fixed the length of icons titles to 20 instead of 15 ; - Changes the title of the main window according to the selected library. * data/alexandria/glade/main_app.glade, lib/alexandria/ui/main_app.rb: Sets the history of the option menu in the toolbar (View as...) each time the view is changed. * lib/alexandria/book.rb: Fixed a bug introduced in the latest commit entry. 2004-04-08 Laurent Sansonetti * lib/alexandria/book.rb: Rescues the TimerError exception raised by Ruby/Amazon (when it could not reach amazon.com), and displays a meaningful error dialog box. * data/alexandria/glade/main_app.glade, lib/alexandria/ui/main_app.rb: Auto-sensitize File/Properties and Edit/Delete according to the current focus. 2004-04-07 Laurent Sansonetti * lib/alexandria/book.rb, lib/alexandria/ui/main_app.rb: Implemented the possibility to delete a library. 2004-04-06 Laurent Sansonetti * data/alexandria/glade/main_app.glade, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog.rb: - Displays an error dialog when the user picks a new name for a library which contains at least one illegal character ; - Automatically show the sidepane upon "New Library", because it may be hidden ; - Fixed a bug in the random name chooser (for "New Library") ; - Displays an error dialog when the user tries to add a book which already exists in the selected library ; - Displays smaller names on the icon view (max 15 characters). 2004-04-05 Laurent Sansonetti * lib/alexandria/book.rb: Fixed a bug when loading books (the reference to the Library obj is not saved in the YAML description). * lib/alexandria/ui/main_app.rb: Implemented the "New Library" feature. 2004-04-04 Laurent Sansonetti * lib/alexandria/book.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog.rb: Libraries (in the side pane) are now 'editable' (means that it's possible to rename them). 2004-04-03 Laurent Sansonetti * data/alexandria/glade/main_app.glade, lib/alexandria/ui/main_app.rb: Properties [menu|popup] items are now disabled unless a single book is selected. * data/alexandria/glade/info_book_dialog.glade, data/alexandria/glade/new_book_dialog.glade: Fixed Gtk::Button response IDs. * data/alexandria/glade/main_app.glade, lib/alexandria/ui/main_app.rb: - Added statusbar information about current selection ; - Added "View as [Icons|List]" in the popup menus. 2004-04-01 Laurent Sansonetti * data/alexandria/glade/main_app.glade: Moved 'Edit/Delete' after 'Edit/[De]select All'. * lib/alexandria/book.rb, lib/alexandria/ui/main_app.rb: Implemented the 'Delete' book action. * lib/alexandria/ui/alert_dialog.rb, lib/alexandria/ui/error_dialog.rb, lib/alexandria/ui.rb: Renamed error_dialog.rb in alert_dialog.rb. 2004-03-31 Laurent Sansonetti * data/alexandria/glade/main_app.glade, lib/alexandria/ui/main_app.rb: - Removed obsolete callbacks ; - Added a popup menu for multiple selections and a default one when nothing is selected yet ; - Implemented the 'Refresh' action. 2004-03-31 Laurent Sansonetti * data/alexandria/glade/main_app.glade, lib/alexandria/ui/main_app.rb: Added 'Edit/Select All' and 'Edit/Deselect All'. 2004-03-30 Laurent Sansonetti * data/alexandria/icons/alexandria_small.png, data/alexandria/icons/library.png, data/alexandria/icons/library_small.png, lib/alexandria/ui/icons.rb: Added. * data/alexandria/glade/main_app.glade, data/alexandria/glade/new_book_dialog.glade, lib/alexandria/book.rb, lib/alexandria/ui.rb, lib/alexandria/ui/about_dialog.rb, lib/alexandria/ui/main_app.rb, lib/alexandria/ui/new_book_dialog.rb: - Implemented the side pane ; - Implemented 'View as Icons/List' ; - Added popup menu for single selections ; - The new book dialog has been modified to accept a library in which the book will be added ; - Added 'New Library', 'Refresh' and 'View as Icons/List' on the toolbar. 2004-03-21 Laurent Sansonetti * lib/alexandria/ui/main_app.rb: - Implemented libraries tree view in the sidepane - Implemented 'View/Toolbar' and 'View/Statusbar' - Added and implemented 'View/Side pane' * lib/alexandria/book.rb: Removed our check on the ISBN number (since it can contain non-numerical data and it seems that Ruby/Amazon checks it for us already). * data/alexandria/glade/main_app.glade: - Following changes in main_app.rb - Added a Home item in the toolbar - Added Go menu with a Home menu item - Renamed 'Tool Bar' -> 'Toolbar' (View menu) - Renamed 'Status Bar' -> 'Statusbar' (View menu) 2004-03-20 Laurent Sansonetti Initial RubyForge import.