alexandria-book-collection-manager 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +0 -1
- data/.rubocop.yml +45 -27
- data/.rubocop_todo.yml +127 -86
- data/.simplecov +1 -0
- data/.yardopts +1 -1
- data/CHANGELOG.md +5 -0
- data/ChangeLog.0 +33 -35
- data/Gemfile +2 -2
- data/INSTALL.md +152 -0
- data/Rakefile +12 -10
- data/alexandria-book-collection-manager.gemspec +5 -5
- data/bin/alexandria +2 -1
- data/doc/AUTHORS +61 -0
- data/doc/BUGS +31 -0
- data/doc/FAQ +369 -0
- data/doc/HACKING +19 -0
- data/doc/NEWS +341 -0
- data/doc/alexandria.1 +120 -0
- data/doc/cuecat_support.rdoc +67 -0
- data/doc/dependency_decisions.yml +61 -0
- data/lib/alexandria.rb +2 -0
- data/lib/alexandria/about.rb +7 -6
- data/lib/alexandria/book_providers.rb +6 -6
- data/lib/alexandria/book_providers/adlibris.rb +9 -14
- data/lib/alexandria/book_providers/amazon_aws.rb +29 -33
- data/lib/alexandria/book_providers/amazon_ecs_util.rb +10 -14
- data/lib/alexandria/book_providers/barnes_and_noble.rb +9 -11
- data/lib/alexandria/book_providers/deastore.rb +12 -20
- data/lib/alexandria/book_providers/douban.rb +9 -15
- data/lib/alexandria/book_providers/mcu.rb +26 -13
- data/lib/alexandria/book_providers/proxis.rb +9 -15
- data/lib/alexandria/book_providers/pseudomarc.rb +15 -27
- data/lib/alexandria/book_providers/renaud.rb +18 -9
- data/lib/alexandria/book_providers/siciliano.rb +8 -9
- data/lib/alexandria/book_providers/thalia.rb +6 -6
- data/lib/alexandria/book_providers/web.rb +2 -0
- data/lib/alexandria/book_providers/worldcat.rb +6 -7
- data/lib/alexandria/book_providers/z3950.rb +19 -10
- data/lib/alexandria/config.rb +4 -2
- data/lib/alexandria/console.rb +2 -0
- data/lib/alexandria/execution_queue.rb +2 -2
- data/lib/alexandria/export_library.rb +14 -18
- data/lib/alexandria/import_library.rb +8 -16
- data/lib/alexandria/import_library_csv.rb +5 -52
- data/lib/alexandria/logging.rb +4 -6
- data/lib/alexandria/models/book.rb +2 -0
- data/lib/alexandria/models/library.rb +10 -20
- data/lib/alexandria/net.rb +2 -0
- data/lib/alexandria/preferences.rb +10 -14
- data/lib/alexandria/scanners.rb +2 -0
- data/lib/alexandria/scanners/cuecat.rb +4 -2
- data/lib/alexandria/scanners/keyboard.rb +2 -0
- data/lib/alexandria/smart_library.rb +4 -3
- data/lib/alexandria/ui.rb +2 -0
- data/lib/alexandria/ui/builder_base.rb +2 -0
- data/lib/alexandria/ui/callbacks.rb +8 -12
- data/lib/alexandria/ui/columns.rb +2 -0
- data/lib/alexandria/ui/completion_models.rb +2 -0
- data/lib/alexandria/ui/dialogs/about_dialog.rb +3 -1
- data/lib/alexandria/ui/dialogs/acquire_dialog.rb +11 -17
- data/lib/alexandria/ui/dialogs/alert_dialog.rb +2 -0
- data/lib/alexandria/ui/dialogs/bad_isbns_dialog.rb +10 -2
- data/lib/alexandria/ui/dialogs/barcode_animation.rb +2 -0
- data/lib/alexandria/ui/dialogs/book_properties_dialog.rb +5 -9
- data/lib/alexandria/ui/dialogs/book_properties_dialog_base.rb +3 -3
- data/lib/alexandria/ui/dialogs/export_dialog.rb +3 -3
- data/lib/alexandria/ui/dialogs/import_dialog.rb +2 -2
- data/lib/alexandria/ui/dialogs/misc_dialogs.rb +6 -4
- data/lib/alexandria/ui/dialogs/new_book_dialog.rb +22 -31
- data/lib/alexandria/ui/dialogs/new_book_dialog_manual.rb +3 -3
- data/lib/alexandria/ui/dialogs/new_smart_library_dialog.rb +3 -3
- data/lib/alexandria/ui/dialogs/preferences_dialog.rb +8 -18
- data/lib/alexandria/ui/dialogs/smart_library_properties_dialog.rb +2 -0
- data/lib/alexandria/ui/dialogs/smart_library_properties_dialog_base.rb +4 -6
- data/lib/alexandria/ui/dndable.rb +4 -2
- data/lib/alexandria/ui/icons.rb +3 -3
- data/lib/alexandria/ui/iconview.rb +3 -3
- data/lib/alexandria/ui/iconview_tooltips.rb +4 -6
- data/lib/alexandria/ui/init.rb +2 -0
- data/lib/alexandria/ui/libraries_combo.rb +2 -0
- data/lib/alexandria/ui/listview.rb +15 -12
- data/lib/alexandria/ui/main_app.rb +2 -0
- data/lib/alexandria/ui/multi_drag_treeview.rb +2 -0
- data/lib/alexandria/ui/sidepane.rb +8 -6
- data/lib/alexandria/ui/sound.rb +2 -0
- data/lib/alexandria/ui/ui_manager.rb +37 -43
- data/lib/alexandria/undo_manager.rb +2 -0
- data/lib/alexandria/version.rb +5 -3
- data/lib/alexandria/web_themes.rb +2 -0
- data/spec/alexandria/book_providers_spec.rb +12 -49
- data/spec/alexandria/book_spec.rb +4 -2
- data/spec/alexandria/library_spec.rb +2 -0
- data/spec/alexandria/preferences_spec.rb +2 -0
- data/spec/alexandria/scanners/cuecat_spec.rb +2 -0
- data/spec/alexandria/smart_library_spec.rb +3 -1
- data/spec/alexandria/ui/dialogs_spec.rb +2 -0
- data/spec/alexandria/ui/iconview_spec.rb +2 -0
- data/spec/alexandria/ui/main_app_spec.rb +2 -0
- data/spec/alexandria/ui/sidepane_spec.rb +2 -0
- data/spec/alexandria/ui/sound_spec.rb +2 -0
- data/spec/alexandria/ui/ui_manager_spec.rb +2 -0
- data/spec/alexandria/ui/ui_utilities_spec.rb +2 -0
- data/spec/alexandria/utilities_spec.rb +2 -0
- data/spec/spec_helper.rb +2 -0
- data/tasks/dogtail.rake +2 -0
- data/tasks/setup.rb +3 -1
- data/tasks/spec.rake +2 -0
- data/util/rake/fileinstall.rb +6 -12
- data/util/rake/gettextgenerate.rb +9 -64
- data/util/rake/omfgenerate.rb +3 -3
- metadata +21 -37
- data/INSTALL.rdoc +0 -148
- data/lib/alexandria/book_providers/bol_it.rb +0 -160
- data/lib/alexandria/book_providers/ibs_it.rb +0 -147
- data/lib/alexandria/book_providers/webster_it.rb +0 -167
data/doc/FAQ
ADDED
@@ -0,0 +1,369 @@
|
|
1
|
+
Copyright (C) 2007 Marco Costantini
|
2
|
+
|
3
|
+
########################################################################
|
4
|
+
|
5
|
+
Question: I have a ( Bug | Support Request | Patch | Feature Request ).
|
6
|
+
|
7
|
+
Answer: You are welcome to report it. Please use the tracker at
|
8
|
+
http://rubyforge.org/tracker/?group_id=205
|
9
|
+
|
10
|
+
It may be helpful to read the text "How to Report Bugs Effectively", at
|
11
|
+
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
|
12
|
+
|
13
|
+
Please, one bug per report, and one report per bug.
|
14
|
+
|
15
|
+
Please use a meaningful and specific summary.
|
16
|
+
|
17
|
+
In order to let us investigate the bug and fix it for you, we need a clear
|
18
|
+
and specific information about how to replicate it. For instance: report
|
19
|
+
the ISBN of the book for which the bug happens; report the book provider
|
20
|
+
used if relevant; copy and paste the error message. You may also start
|
21
|
+
Alexandria in terminal window, and copy and paste the output on that
|
22
|
+
window.
|
23
|
+
|
24
|
+
In the past we got the bug report [#6767] saying:
|
25
|
+
"Entering a valid ISBN number (many different) is rejected by the
|
26
|
+
program. Stating to be an invalid ISBN."
|
27
|
+
This user didn't report any single non-working ISBN; and didn't explain
|
28
|
+
"rejected" enough. Hence, even if further work has been done on this
|
29
|
+
topic, we can't know whether this bug was a real one, and whether it has
|
30
|
+
been already solved or not.
|
31
|
+
|
32
|
+
If you report only the backtrace without saying how to replicate the
|
33
|
+
bug, it is usually impossible to understand and fix the bug.
|
34
|
+
|
35
|
+
Please have a look at the already reported bugs or feature request:
|
36
|
+
it is useless to report again an already reported one.
|
37
|
+
If you have more information, please add it at the already reported bug,
|
38
|
+
instead of opening a new one.
|
39
|
+
|
40
|
+
Your bug could be a bug already solved in the development version of
|
41
|
+
Alexandria. You can get the development version at
|
42
|
+
http://rubyforge.org/scm/?group_id=205
|
43
|
+
|
44
|
+
|
45
|
+
########################################################################
|
46
|
+
|
47
|
+
|
48
|
+
Question: Where are the Z39.50 stuff, the providers US Library of
|
49
|
+
Congress and British Library, the advanced options, and the window for
|
50
|
+
adding new providers? I can't install Ruby/ZOOM.
|
51
|
+
|
52
|
+
Answer: All these things require that the library Ruby/ZOOM,
|
53
|
+
version >= 0.2.0 is installed and working. You can get it at
|
54
|
+
http://ruby-zoom.rubyforge.org/ Install it according to its
|
55
|
+
documentation.
|
56
|
+
|
57
|
+
Ruby/ZOOM requires YAZ, http://www.indexdata.dk/yaz/ , compiled with
|
58
|
+
passing the --enable-shared option to the configure script:
|
59
|
+
|
60
|
+
./configure --enable-shared
|
61
|
+
|
62
|
+
before building YAZ with make.
|
63
|
+
|
64
|
+
The following works for me with Ubuntu
|
65
|
+
|
66
|
+
sudo apt-get -y install libyaz-dev ruby ruby1.8-dev make gcc
|
67
|
+
wget http://rubyforge.org/frs/download.php/6940/ruby-zoom-0.2.2.tar.gz
|
68
|
+
tar xfz ruby-zoom-0.2.2.tar.gz
|
69
|
+
cd ruby-zoom-0.2.2/
|
70
|
+
ruby extconf.rb
|
71
|
+
make
|
72
|
+
sudo make install
|
73
|
+
|
74
|
+
|
75
|
+
|
76
|
+
List of Z39.50 server are at
|
77
|
+
http://www.webclarity.info/registry/browse
|
78
|
+
http://targettest.indexdata.com/
|
79
|
+
|
80
|
+
|
81
|
+
When adding new Z39.50 providers, you must choose the record syntax.
|
82
|
+
Currently (March 2007), these are offered: "USMARC", "SUTRS", "UNIMARC".
|
83
|
+
|
84
|
+
"USMARC" works, "UNIMARC" works very limited, "SUTRS" doesn't work.
|
85
|
+
Choose a provider that supports "USMARC", or if none is available, one
|
86
|
+
that supports "UNIMARC".
|
87
|
+
MARC21 is the same as USMARC (at least for Alexandria).
|
88
|
+
|
89
|
+
You must choose also the charset encoding. Some are
|
90
|
+
|
91
|
+
UTF-8
|
92
|
+
ISO-8859-1 (also known as Latin-1, Western Europe)
|
93
|
+
ISO-8859-15
|
94
|
+
ISO_6937-2 (also known as Ala, Ansel)
|
95
|
+
|
96
|
+
The list of all possible charset encoding could be at
|
97
|
+
/usr/lib/gconv/gconv-modules
|
98
|
+
|
99
|
+
|
100
|
+
There is a plan to replace in future the provider British Library with
|
101
|
+
Copac, which includes British Library and others; see
|
102
|
+
http://copac.ac.uk/libraries/
|
103
|
+
http://en.wikipedia.org/wiki/Copac
|
104
|
+
|
105
|
+
|
106
|
+
########################################################################
|
107
|
+
|
108
|
+
|
109
|
+
Question: A provider is not working, or only partial information it
|
110
|
+
retrieved from it, or there are books on the providers for which
|
111
|
+
Alexandria fails to retrieve information.
|
112
|
+
|
113
|
+
Answer: Yes, the provider may have changed the structure of its
|
114
|
+
web pages, and hence it is necessary to update the file for that
|
115
|
+
provider; this file is in the directory
|
116
|
+
/<something>/alexandria/book_providers/
|
117
|
+
|
118
|
+
It is also possible that the file handles only the "simple" cases, and the
|
119
|
+
case of your book is a "complex" one.
|
120
|
+
|
121
|
+
Try to get the development version at http://rubyforge.org/scm/?group_id=205
|
122
|
+
because the problem could be already fixed there.
|
123
|
+
|
124
|
+
Try to fix by yourself, and thereafter send us a patch.
|
125
|
+
Otherwise, report the bug, saying for which ISBN this problem happens.
|
126
|
+
|
127
|
+
|
128
|
+
########################################################################
|
129
|
+
|
130
|
+
|
131
|
+
Question: I know another book provider
|
132
|
+
|
133
|
+
Answer: There are many other providers, see
|
134
|
+
http://en.wikipedia.org/wiki/Wikipedia:Book_sources
|
135
|
+
That page contains also links to the pages for book providers in other
|
136
|
+
languages.
|
137
|
+
If you now other providers, please add them to that lists.
|
138
|
+
|
139
|
+
|
140
|
+
########################################################################
|
141
|
+
|
142
|
+
|
143
|
+
Question: Please add a new provider
|
144
|
+
|
145
|
+
Answer: First, choose wisely which provider(s) to ask. Do a
|
146
|
+
search on Internet of the various existing providers for your language
|
147
|
+
(see also, but not only, the previous question).
|
148
|
+
|
149
|
+
You may prefer providers that list also out-of-prints, instead of
|
150
|
+
providers that list only available books. It is also preferable a
|
151
|
+
provider that lists not only the books of your country, but also the
|
152
|
+
books of the neighbor countries.
|
153
|
+
|
154
|
+
Check whether the provider supports the Z39.50 protocol. This is probable
|
155
|
+
for public libraries, and very unlikely for commercial booksellers.
|
156
|
+
(If the Z39.50 protocol is supported, just go to "Preferences",
|
157
|
+
"Providers", "Advanced Settings", and add the provider there.)
|
158
|
+
|
159
|
+
It is useful if you choose a provider that allows to specify the ISBN in
|
160
|
+
the address, such as
|
161
|
+
http://www.internetbookshop.it/ame/ser/serdsp.asp?e=0060748222&shop=1
|
162
|
+
or
|
163
|
+
http://www.deastore.com/product.asp?isbn=9780060748227
|
164
|
+
|
165
|
+
It is necessary that the HTML page of each provider is easily parsable,
|
166
|
+
that is, that the computer can easily find title, author(s), ISBN,
|
167
|
+
publisher, year of publication, binding.
|
168
|
+
For instance, the following piece of HTML page is easily parsable.
|
169
|
+
|
170
|
+
<span class="BDtitoloLibro">The Krusty Book</span>
|
171
|
+
<span class="BDauthLibro">by: Matt
|
172
|
+
Groening </span><span class="BDformatoLibro"><span
|
173
|
+
class="BDEticLibro">Format: </span>paperback</span><span
|
174
|
+
class="BDEticLibro">Publication date: </span><span
|
175
|
+
class="BDdataPubbLibro">10/23/2006</span><span
|
176
|
+
class="BDEticLibro">Publisher: </span><span
|
177
|
+
class="BDeditoreLibro">HarperCollins Publishers (Australia) Pty
|
178
|
+
Ltd</span><br /><span class="BDEticLibro">ISBN: </span><span
|
179
|
+
class="isbn">0-06-074822-2</span><br /><span class="BDEticLibro">ISBN
|
180
|
+
13: </span><span class="isbn">978-0-06-074822-7</span></div>
|
181
|
+
|
182
|
+
It is not necessary that the provider reports for each book all the
|
183
|
+
information: title, author(s), ISBN, publisher, year of publication,
|
184
|
+
binding. In case that one of these is missing, Alexandria will not get
|
185
|
+
it.
|
186
|
+
|
187
|
+
It is easier, if the provider doesn't use cookies (however, provider
|
188
|
+
Deastore uses cookies and has been implemented).
|
189
|
+
|
190
|
+
After the choice of the provider, try by yourself to modify the file for
|
191
|
+
an already implemented provider. Probably it may be only required that
|
192
|
+
you modify some regular expressions. Please send us the patch.
|
193
|
+
If you can program already, learning Ruby may require 20 minutes, see
|
194
|
+
http://www.ruby-lang.org/en/documentation/quickstart/
|
195
|
+
|
196
|
+
If you can't implement the new provider by yourself, write a 'feature
|
197
|
+
request' at http://rubyforge.org/tracker/?group_id=205
|
198
|
+
Please report some ISBNs of books that your provider knows and no other
|
199
|
+
provider implemented by Alexandria knows. Report also how are the words
|
200
|
+
title, author(s), ISBN, publisher, year of publication, binding in the
|
201
|
+
language used by the site. Report any other relevant information.
|
202
|
+
|
203
|
+
|
204
|
+
########################################################################
|
205
|
+
|
206
|
+
|
207
|
+
Question: What are the ISBN, the ISBN-13, and the EAN?
|
208
|
+
|
209
|
+
Answer: For more information about ISBN, ISBN-13, EAN, see
|
210
|
+
http://en.wikipedia.org/wiki/International_Standard_Book_Number
|
211
|
+
|
212
|
+
|
213
|
+
########################################################################
|
214
|
+
|
215
|
+
|
216
|
+
Question: Does Alexandria support the ISBN-13? Do I need to enter the
|
217
|
+
ISBN with or without dashes?
|
218
|
+
|
219
|
+
Answer: Alexandria support both the 10-digit and 13-digit ISBN, and the
|
220
|
+
dashes entered with the ISBN are ignored. Hence you can enter the book
|
221
|
+
in any of these equivalent forms:
|
222
|
+
|
223
|
+
88-06-14930-X
|
224
|
+
880614930X
|
225
|
+
88-06-14930-x
|
226
|
+
880614930x
|
227
|
+
978-88-06-14930-7
|
228
|
+
9788806149307
|
229
|
+
|
230
|
+
|
231
|
+
########################################################################
|
232
|
+
|
233
|
+
|
234
|
+
Question: I entered the ISBN exactly as it shows on the book, and
|
235
|
+
Alexandria says that it is invalid.
|
236
|
+
|
237
|
+
Answer: You can check whether an ISBN is valid with
|
238
|
+
http://www.isbn-check.com/
|
239
|
+
Sometimes the ISBN reported on the book is wrong. Try to use the
|
240
|
+
13-digit one, or to use the ISBN reported on the back of the title page,
|
241
|
+
or to search by title/author on a book provider, in order to find the
|
242
|
+
correct ISBN.
|
243
|
+
|
244
|
+
|
245
|
+
########################################################################
|
246
|
+
|
247
|
+
|
248
|
+
Question: Where is stored the data about the books?
|
249
|
+
|
250
|
+
Answer: In the files ~/.alexandria/<library_name>/<ISBN>.yaml
|
251
|
+
These files are in YAML ( http://www.yaml.org/ ) format, and you can
|
252
|
+
edit them manually. The covers are in the files
|
253
|
+
~/.alexandria/<library_name>/<ISBN>.cover
|
254
|
+
These files persist if you install or deinstall Alexandria.
|
255
|
+
|
256
|
+
|
257
|
+
########################################################################
|
258
|
+
|
259
|
+
|
260
|
+
Question: I was enjoying Alexandria a lot and now it doesn't work any
|
261
|
+
more, I can't enter other books, or crashes when it starts.
|
262
|
+
|
263
|
+
Answer: This usually happens when there is some invalid data in one of
|
264
|
+
the .yaml files (see the question above). For one or more of the
|
265
|
+
latest books that you have entered, a bug happened, and now the data
|
266
|
+
stored is invalid and causes trouble. Try to find which book it was,
|
267
|
+
(please send also a bug report), and to delete or to move to another
|
268
|
+
directory that .yaml file or the whole ~/.alexandria directory.
|
269
|
+
|
270
|
+
This kind of problem may show only with the manual entered books, and
|
271
|
+
not with the books searched by ISBN.
|
272
|
+
|
273
|
+
|
274
|
+
########################################################################
|
275
|
+
|
276
|
+
|
277
|
+
Question: can I catalog other objects?
|
278
|
+
|
279
|
+
Answer: Yes. Some kinds of object, such as illustrated calendars, or
|
280
|
+
geographical maps, have the ISBN, and can be treated as books.
|
281
|
+
|
282
|
+
For other objects, insert the EAN or bar-code number as ISBN. Provider
|
283
|
+
Thalia knows about music CDs, video DVDs, games and software, and can be
|
284
|
+
used to retrieve information about them. Other providers may be added in
|
285
|
+
future (possibly by you). Otherwise, the other objects may be added
|
286
|
+
manually.
|
287
|
+
|
288
|
+
|
289
|
+
########################################################################
|
290
|
+
|
291
|
+
|
292
|
+
Question: I prefer to have the field "Author" as "Surname, Name" instead
|
293
|
+
of "Name Surname".
|
294
|
+
|
295
|
+
Answer: Alexandria relies on what the providers say:
|
296
|
+
some providers report "Surname, Name": Deastore, Renaud, Mcu,
|
297
|
+
some "Surname Name": Webster.it, Ibs.it,
|
298
|
+
some "Name Surname": Bn, Thalia, Bol.it, Adlibris, L Siciliano, Worldcat,
|
299
|
+
and some without any rule: Amazon, Proxis.
|
300
|
+
You can change, in the preferences, the order in which the providers are
|
301
|
+
queried.
|
302
|
+
|
303
|
+
If Alexandria reports "Name Surname" with one provider, and in the HTML
|
304
|
+
page of that provider there is also (in a parsable way) "Surname, Name",
|
305
|
+
then this is a bug to be reported. In some of these cases, it would be
|
306
|
+
possible to get "Surname, Name", but the code would be complicated and
|
307
|
+
unreliable.
|
308
|
+
|
309
|
+
There is no algorithm that can decide, given the Author as a string,
|
310
|
+
which part of the string is the name and which part is the surname.
|
311
|
+
For instance, the name or the surname can be composed by more than one
|
312
|
+
word, or the author may be a collective author, or be a title or a
|
313
|
+
pseudonym, or in the author's country they may use that the surname is
|
314
|
+
the first word and the name is the second, or there may be the
|
315
|
+
patronymic, and so on.
|
316
|
+
|
317
|
+
For one provider, for books with more that one author, it's non-trivial
|
318
|
+
even to split the string of all the authors into strings "Name Surname" for
|
319
|
+
each author.
|
320
|
+
|
321
|
+
The only possibility to convert "Name Surname" to "Surname, Name" is to do
|
322
|
+
that by hand.
|
323
|
+
|
324
|
+
If you still believe that it is possible for a software to convert "Name
|
325
|
+
Surname" into "Surname, Name" in a reliable way, here are some cases of
|
326
|
+
real authors for you to try. (Some accented letters have been replaced by
|
327
|
+
the non accented ones.)
|
328
|
+
|
329
|
+
"Agente Italiano"
|
330
|
+
"Albert Sydney Hornby"
|
331
|
+
"Alexandre Dumas fils"
|
332
|
+
"Antoine de Saint-Exupery"
|
333
|
+
"Boston Women's Health Book Collective"
|
334
|
+
"Camilla"
|
335
|
+
"Central Intelligence Agency"
|
336
|
+
"Christiane F."
|
337
|
+
"Dario De Toffoli"
|
338
|
+
"Elaine St. James"
|
339
|
+
"Ernesto Che Guevara"
|
340
|
+
"Francois-Marie Arouet de Voltaire"
|
341
|
+
"Gaius Caesar Octavianus Augustus"
|
342
|
+
"Geographers A-Z Map Company"
|
343
|
+
"Gian Antonio Stella"
|
344
|
+
"H G Wells"
|
345
|
+
"John Paul II" (the surname is "Wojtyla")
|
346
|
+
"Jose Ortega y Gasset"
|
347
|
+
"Joseph K. von Eichendorff"
|
348
|
+
"Leonardo da Vinci" (he had no surname, "da Vinci" means "from the village
|
349
|
+
'Vinci'")
|
350
|
+
"Leone Stella" (this only is fictional, from a comic movie, whose main
|
351
|
+
characters are some "Leone Stella" and a "Stella Leone"
|
352
|
+
"Levi Strauss"
|
353
|
+
"Lewis Carroll" ("Lewis" may be both name and surname, and here the
|
354
|
+
surname is "Dodgson")
|
355
|
+
"Lorenzo il Magnifico"
|
356
|
+
"Lucio Lombado Radice"
|
357
|
+
"Luigi Luca Cavalli-Sforza"
|
358
|
+
"Malcolm X"
|
359
|
+
"Mao Zedong"
|
360
|
+
"Martin Luther"
|
361
|
+
"Martin Luther King Jr."
|
362
|
+
"Mihail Sergeevic Gorbacev"
|
363
|
+
"Robert Van der Plas"
|
364
|
+
"Saint Augustine"
|
365
|
+
"Scuola di Barbiana"
|
366
|
+
"Subcomandante Insurgente Marcos"
|
367
|
+
"Vladimir Lenin" (the surname is "Ulyanov")
|
368
|
+
|
369
|
+
########################################################################
|
data/doc/HACKING
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
In order to keep the code nice and clean we have a few requirements you'll
|
2
|
+
need to stick to in order to get your patch accepted:
|
3
|
+
|
4
|
+
- use 4-space tabs for indentation and expand tabs to spaces
|
5
|
+
(if you use VIM, `set ts=4' and `set et') ;
|
6
|
+
|
7
|
+
- for code blocks, use { ... } when they can be written into a
|
8
|
+
single line, otherwise use do ... end ;
|
9
|
+
|
10
|
+
- when accessing properties of Ruby-GNOME2 objects, always use
|
11
|
+
foo= instead of set_foo ;
|
12
|
+
|
13
|
+
- when hacking the user interface, make sure your changes don't
|
14
|
+
break the HIG rules (http://developer.gnome.org/projects/gup/hig/) ;
|
15
|
+
|
16
|
+
- always provide patches in unified form (`cvs diff -u') and with
|
17
|
+
a ChangeLog entry.
|
18
|
+
|
19
|
+
Be bold.
|
data/doc/NEWS
ADDED
@@ -0,0 +1,341 @@
|
|
1
|
+
================
|
2
|
+
Alexandria
|
3
|
+
================
|
4
|
+
|
5
|
+
New features:
|
6
|
+
* added the FAQ
|
7
|
+
* Now EAN/ISBN-13 is used
|
8
|
+
* New providers: webster.it, deastore.com, worldcat.org, bol.it.
|
9
|
+
"Servizio Bibliotecario Nazionale (Italy)"
|
10
|
+
* provider amadeus renamed to thalia (Amadeus was bought by Thalia)
|
11
|
+
* Now thalia supports also music, DVD, software, games
|
12
|
+
* added the country of the provider after the name
|
13
|
+
* the requirement Ruby/Amazon is now optional
|
14
|
+
* added info in case that Alexandria can't load optional libraries
|
15
|
+
* added hotkey "<control>O" for preferences
|
16
|
+
* in the "Book Properties Dialog", added "cancel" button, and renamed
|
17
|
+
"close" button to "save"
|
18
|
+
* added date when exporting to HTML or BibTeX
|
19
|
+
* added image size when exporting to HTML or Tellico
|
20
|
+
* improved export to ONIX, Tellico, CSV, HTML, BibTeX
|
21
|
+
* improved import from Tellico or ISBN list
|
22
|
+
* improved and refactored the code for Z39.50 providers
|
23
|
+
|
24
|
+
Bugs fixed:
|
25
|
+
* several fixes and updates for various providers
|
26
|
+
* converted the encoding from UTF-8, when searching by title/author/keyword
|
27
|
+
* converted the output from the provider to UTF-8
|
28
|
+
* used CGI::unescapeHTML for renaud and thalia
|
29
|
+
* now nul is returned instead of "", "n/a", or "Unknown Binding", when
|
30
|
+
the provider doesn't return a value
|
31
|
+
* allowed manual entry of books without author
|
32
|
+
* improved error and debug messages
|
33
|
+
|
34
|
+
Added translation:
|
35
|
+
|
36
|
+
Updated translations:
|
37
|
+
* revision of the Italian translation
|
38
|
+
|
39
|
+
================
|
40
|
+
Alexandria 0.6.0
|
41
|
+
================
|
42
|
+
|
43
|
+
New features:
|
44
|
+
* Z39.50 support, with the possibility to manage your own sources ;
|
45
|
+
* New book information providers: Internet Bookshop Italia, US Library of
|
46
|
+
Congress and British Library ;
|
47
|
+
* Complete manual (in English only), available either from the GNOME help
|
48
|
+
application and Alexandria itself (via Help buttons) ;
|
49
|
+
* Autocompletion is available in all fields of the Add Manually Book and
|
50
|
+
Book Properties dialogs ;
|
51
|
+
* Add a heart emblem to covers of books that have a 5 rating ;
|
52
|
+
* Support for American UPC barcodes ;
|
53
|
+
* Display covers in the search results of the Add Book dialog ;
|
54
|
+
* Added a 'Match everything' filtering option ;
|
55
|
+
* New icons ;
|
56
|
+
* More ONIX compliance.
|
57
|
+
|
58
|
+
Bugs fixed:
|
59
|
+
* Loading the model is now a bit faster ;
|
60
|
+
* Fixed a Proxis bug that was returning all editions of a book from an ISBN
|
61
|
+
search ;
|
62
|
+
* Labels in alert dialogs are now selectable ;
|
63
|
+
* Improved the wording of the status bar text ;
|
64
|
+
* Ignore CVS directories when looking for themes ;
|
65
|
+
* Ignore whitespace characters when extracting numbers for ISBN/EAN/... ;
|
66
|
+
* In the HTML export, create the directory if it does not exist yet ;
|
67
|
+
* In the ONIX export, do not write ProductWebsite elements for providers
|
68
|
+
that return nil URLs ;
|
69
|
+
* Handle low-case 'x' when validating ISBN/EAN/... ;
|
70
|
+
* In the ISBN-list text file import, iterate on the progress bar when
|
71
|
+
downloading covers ;
|
72
|
+
* In the ISBN-list text file import, start importing if there is at least one
|
73
|
+
valid ISBN in the file ;
|
74
|
+
* Added a backward compatibility hack to upgrade the old developer token
|
75
|
+
to a new valid one ;
|
76
|
+
* Resize all icons in the icon view to have the same height (and not the same
|
77
|
+
width as before) ;
|
78
|
+
* Handle GConf default values by ourself when the GConf client returns nil
|
79
|
+
values, this should fix all issues related to the installation of GConf
|
80
|
+
schemas ;
|
81
|
+
* Disable the 'View Online Information' actions if the according providers
|
82
|
+
do not provide a URL for the selected book.
|
83
|
+
|
84
|
+
Added translations:
|
85
|
+
* Jiri Pejchal <jiri.pejchal@gmail.com> (cs) ;
|
86
|
+
* Ligia Moreira <ligia.moreira@netvisao.pt> (pt) ;
|
87
|
+
* Lucas Rocha <lucasr@im.ufba.br> (pt_BR).
|
88
|
+
|
89
|
+
Updated translations:
|
90
|
+
* David Weinehall <tao@debian.org> (sv) ;
|
91
|
+
* Joachim Breitner <mail@joachim-breitner.de> (de) ;
|
92
|
+
* Laurent Sansonetti <lrz@gnome.org> (fr) ;
|
93
|
+
* Masao Mutoh <mutoh@highway.ne.jp> (ja) ;
|
94
|
+
* Miguel �ngel Garc�a (es) ;
|
95
|
+
* Mirko Maischberger <mirko@lilik.it> (it).
|
96
|
+
|
97
|
+
================
|
98
|
+
Alexandria 0.5.1
|
99
|
+
================
|
100
|
+
|
101
|
+
New features:
|
102
|
+
* Added provider for book information retrieval of the Amadeus Buch online
|
103
|
+
library (Austrian books) ;
|
104
|
+
* Allows user-specific themes in ~/.alexandria/.web-themes ;
|
105
|
+
* Localized .desktop file.
|
106
|
+
|
107
|
+
Bugs fixed:
|
108
|
+
* Fixed the wording of some messages ;
|
109
|
+
* Use alternating colours for rows in the search list of the Add Book dialog
|
110
|
+
and the providers list of the Preferences dialog ;
|
111
|
+
* The Amazon provider will cache information on ~/.alexandria/.amazon_cache
|
112
|
+
instead of /tmp/amazon, allowing multiple users with different credentials
|
113
|
+
to use it ;
|
114
|
+
* Really ignores hidden directories in ~/.alexandria ;
|
115
|
+
* Be more intelligent when building the list of providers by taking into
|
116
|
+
account nil values from the GConf schema ;
|
117
|
+
* Do not display the whole GPL text in the About dialog, just the header ;
|
118
|
+
* Display an confirmation message when trying to move a book into a library
|
119
|
+
that already has a book with the same ident ;
|
120
|
+
* Fixed the moves action after an import process ;
|
121
|
+
* Display an error message when trying to set an EAN/ISBN that is already
|
122
|
+
used by another book in the same library ;
|
123
|
+
* Forgot to mark some translatable strings ;
|
124
|
+
* Display an error message when trying to add a book with an EAN/ISBN that is
|
125
|
+
already used by another book in the same library ;
|
126
|
+
* Manually added books were not automatically added in the memory
|
127
|
+
representation of the library ;
|
128
|
+
* Pack the cover image as non-expandable in the books list view.
|
129
|
+
|
130
|
+
Added translation:
|
131
|
+
* Mirko Maischberger <mirko@lilik.it> (it).
|
132
|
+
|
133
|
+
Updated translations:
|
134
|
+
* Dafydd Harries <daf@muse.19inch.net> (cy) ;
|
135
|
+
* David Weinehall <tao@debian.org> (sv) ;
|
136
|
+
* Joachim Breitner <mail@joachim-breitner.de> (de) ;
|
137
|
+
* Laurent Sansonetti <lrz@gnome.org> (fr) ;
|
138
|
+
* Masao Mutoh <mutoh@highway.ne.jp> (ja) ;
|
139
|
+
* Miguel �ngel Garc�a (es).
|
140
|
+
|
141
|
+
================
|
142
|
+
Alexandria 0.5.0
|
143
|
+
================
|
144
|
+
|
145
|
+
New features:
|
146
|
+
* XHTML export with CSS themes ;
|
147
|
+
* Added provider for book information retrieval of the Spanish Ministry of
|
148
|
+
Culture ;
|
149
|
+
* Loaning support (very basic though), actually possible to mark a book
|
150
|
+
as loaned and specify a person name and a date ;
|
151
|
+
* Possibility to manually add ISBN-less books ;
|
152
|
+
* The ISBN-list import supports EAN ;
|
153
|
+
* The Amazon provider supports the French and Canadian web-services (via
|
154
|
+
Ruby/Amazon 0.9.0) ;
|
155
|
+
* Improved the usability of the main, import and export dialogs ;
|
156
|
+
* Performances and memory usage have been improved ;
|
157
|
+
* Migration to new GTK+ 2.6 widgets.
|
158
|
+
|
159
|
+
Bugs fixed:
|
160
|
+
* Migrated any reference to Bookcase in the Tellico import/export ;
|
161
|
+
* Fixed a bug where importing an ISBN list file would cause a crash when an
|
162
|
+
ISBN in the list did not have a cover image ;
|
163
|
+
* In the providers preferences dialog, disable the Setup button if the
|
164
|
+
selected provider does not have any preferences to setup, instead of
|
165
|
+
displaying a dialog ;
|
166
|
+
* Catches the SocketError exception when calling providers, and returns an
|
167
|
+
appropriate message ;
|
168
|
+
* When deleting more than one books, display a single alert dialog instead
|
169
|
+
of an alert dialog for each book ;
|
170
|
+
* Added the possibility to reset the rating in the book properties dialog ;
|
171
|
+
* Fixed a bug where EAN numbers with a checksum of 10 were incorrectly marked
|
172
|
+
as invalid ;
|
173
|
+
* Fixed BN.com query regexes ;
|
174
|
+
* Fixed a bug when a book returned by a search by title/authors/keyword
|
175
|
+
contains an invalid ISBN, propose the user to either add the book with a
|
176
|
+
blank ISBN or cancel the add) ;
|
177
|
+
* Added workaround for an Amazon US encoding bug ;
|
178
|
+
* Setup the Amazon online information URL according to the selected locale ;
|
179
|
+
* Filtering text field is more robust ;
|
180
|
+
* Make sure we do not select a library before having setup the moves action
|
181
|
+
at the beginning ;
|
182
|
+
* Fixed the wording of some messages.
|
183
|
+
|
184
|
+
Added translation:
|
185
|
+
* David Weinehall (sv).
|
186
|
+
|
187
|
+
Updated translations:
|
188
|
+
* Joachim Breitner (de) ;
|
189
|
+
* Laurent Sansonetti (fr) ;
|
190
|
+
* Masao Mutoh (ja) ;
|
191
|
+
* Miguel �ngel Garc�a (es).
|
192
|
+
|
193
|
+
================
|
194
|
+
Alexandria 0.4.0
|
195
|
+
================
|
196
|
+
|
197
|
+
New features:
|
198
|
+
* export libraries into ONIX, Tellico and ISBN-list formats ;
|
199
|
+
* import libraries from Tellico and ISBN-list formats ;
|
200
|
+
* a provider to the Barnes and Noble (bn.com) library has been added ;
|
201
|
+
* CueCat (R) barcode support ;
|
202
|
+
* manual addition of books ;
|
203
|
+
* allow the edition of all fields of the properties of a book (including cover
|
204
|
+
change) ;
|
205
|
+
* move books between libraries ;
|
206
|
+
* display online information (amazon, proxis, bn) for a book ;
|
207
|
+
* improved the usability of the Add Book dialog (the ISBN text entry grabs the
|
208
|
+
focus at the beginning, the criterion is automatically selected upon clicks
|
209
|
+
on insensitive widgets, the edition and publisher are appended in the search
|
210
|
+
result list for books that have the same title and authors) ;
|
211
|
+
* migration to the new GTK UI manager and file selector widgets.
|
212
|
+
|
213
|
+
Bugs fixed:
|
214
|
+
* modified the ISBN text entry to allow 18 characters (extended EAN)
|
215
|
+
instead of 13 ;
|
216
|
+
* bin/alexandria is now automatically generated by the installer, this
|
217
|
+
fixes a bug in the #! line (/usr/bin/env could not pass a parameter to
|
218
|
+
Ruby) ;
|
219
|
+
* squeezed extra space characters in the data given by Amazon ;
|
220
|
+
* fixed the ISBN validation code for numbers that end with an X ;
|
221
|
+
* recorded the maximize state of the main window in GConf ;
|
222
|
+
* fixed the default rating to 0 instead of 3 (0 means unrated) ;
|
223
|
+
* erases the 'http_proxy' environment variable if its content is invalid ;
|
224
|
+
* show an error message when trying to rename a library to an empty name, or
|
225
|
+
to a name that is already used by another library.
|
226
|
+
|
227
|
+
Added translations:
|
228
|
+
* Joachim Breitner (de) ;
|
229
|
+
* Miguel Angel Garcia (es).
|
230
|
+
|
231
|
+
No translation update in this release due to a Ruby-GetText problem.
|
232
|
+
|
233
|
+
================
|
234
|
+
Alexandria 0.3.1
|
235
|
+
================
|
236
|
+
|
237
|
+
Bugs fixed:
|
238
|
+
* removed custom sorting functions as they appear not to make anything
|
239
|
+
work better and may actually cause some problems ;
|
240
|
+
* fixed the Amazon provider to perform another lookup using the next
|
241
|
+
locale if the previous one gives no results ;
|
242
|
+
* improved exception handing to have better error messages ;
|
243
|
+
* calling providers one after one until at least one book has been found ;
|
244
|
+
* sorting by rating books that were not rated yet did crash ;
|
245
|
+
* sorting by edition and publisher were reversed ;
|
246
|
+
* the Add Book dialog is now resizable in search mode ;
|
247
|
+
* removing a book without a cover image did crash.
|
248
|
+
|
249
|
+
Updated translations:
|
250
|
+
* Dafydd Harries (cy) ;
|
251
|
+
* Laurent Sansonetti (fr) ;
|
252
|
+
* Masao Mutoh (ja).
|
253
|
+
|
254
|
+
================
|
255
|
+
Alexandria 0.3.0
|
256
|
+
================
|
257
|
+
|
258
|
+
New features:
|
259
|
+
* the Add Book dialog allows searches by title, authors and keyword as well
|
260
|
+
as regular ISBNs ;
|
261
|
+
* ISBNs are now validated before usage ;
|
262
|
+
* the Add Book dialog will autofill the ISBN text entry using the clipboard
|
263
|
+
content if it contains a valid EAN/ISBN ;
|
264
|
+
* the Add Book dialog will automatically convert EANs to ISBNs ;
|
265
|
+
* a provider to the Proxis library (http://www.proxis.be) has been added ;
|
266
|
+
* HTTP connections to Amazon and Proxis are configured to pass via a proxy
|
267
|
+
or not according to the GNOME preferences.
|
268
|
+
|
269
|
+
Bugs fixed:
|
270
|
+
* do not split title icons inside a multibyte character ;
|
271
|
+
* fixed the Amazon provider to not set the manufacturer attribute to nil
|
272
|
+
for some books that are not yet released ;
|
273
|
+
* enforced the use of UTF-8 for gettext ;
|
274
|
+
* some strings have been ngettexted ;
|
275
|
+
* the data/locale directory is cleaned by install.rb ;
|
276
|
+
* pre-setup.rb doesn't require Ruby-GetText anymore since all this does
|
277
|
+
is run msgfmt.
|
278
|
+
|
279
|
+
Updated translations:
|
280
|
+
* Dafydd Harries (cy) ;
|
281
|
+
* Laurent Sansonetti (fr) ;
|
282
|
+
* Masao Mutoh (ja).
|
283
|
+
|
284
|
+
================
|
285
|
+
Alexandria 0.2.0
|
286
|
+
================
|
287
|
+
|
288
|
+
New features:
|
289
|
+
* full i18n support ;
|
290
|
+
* a preferences dialog has been created, to configure the application and
|
291
|
+
the providers ;
|
292
|
+
* preferences are saved and restored using a GConf backend ;
|
293
|
+
* notes can be associated with books ;
|
294
|
+
* books can be rated ;
|
295
|
+
* books icons can be sorted ;
|
296
|
+
* the user interface has been improved to be more usable and accessible.
|
297
|
+
|
298
|
+
Bugs fixed:
|
299
|
+
* fixed some UTF-8 encoding problems in data from Amazon ;
|
300
|
+
* allow "-" characters in ISBNs ;
|
301
|
+
* allow more characters in library names ;
|
302
|
+
* display a default cover icon for a book which cover is not available ;
|
303
|
+
* the treeview is now sortable with UTF-8 data ;
|
304
|
+
* the 'clicked' signal is used instead of 'pressed' for Gtk::Button widgets ;
|
305
|
+
* when the current selected library is renamed the title of the application
|
306
|
+
is accordingly renamed.
|
307
|
+
* a lot of code has been refactored.
|
308
|
+
|
309
|
+
Added translations:
|
310
|
+
* Dafydd Harries (cy) ;
|
311
|
+
* Laurent Sansonetti (fr) ;
|
312
|
+
* Masao Mutoh (ja).
|
313
|
+
|
314
|
+
================
|
315
|
+
Alexandria 0.1.2
|
316
|
+
================
|
317
|
+
|
318
|
+
Bugs fixed:
|
319
|
+
* did not work with the latest version or Ruby/Amazon (0.8.1) ;
|
320
|
+
* crash when Amazon doesn't provide the author(s) for a book.
|
321
|
+
|
322
|
+
New feature:
|
323
|
+
* default to the currently selected library in the Add Book Dialog
|
324
|
+
(contributed by Zachary P. Landau).
|
325
|
+
|
326
|
+
================
|
327
|
+
Alexandria 0.1.1
|
328
|
+
================
|
329
|
+
|
330
|
+
This release fixes a bug when Alexandria fails to start if
|
331
|
+
the directory ~/.alexandria doesn't exist.
|
332
|
+
|
333
|
+
================
|
334
|
+
Alexandria 0.1.0
|
335
|
+
================
|
336
|
+
|
337
|
+
This is the first public release, which:
|
338
|
+
* retrieves book information from Amazon (including cover pictures) ;
|
339
|
+
* saves data using the YAML format ;
|
340
|
+
* features an HIG-compliant user interface ;
|
341
|
+
* shows books in different views (standard list or icons list).
|