<feed xmlns='http://www.w3.org/2005/Atom'>
<title>eye-on-manga/src, branch master</title>
<subtitle>Manga collection software for Maemo 5</subtitle>
<id>https://code.ryuslash.org/eye-on-manga/atom?h=master</id>
<link rel='self' href='https://code.ryuslash.org/eye-on-manga/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/eye-on-manga/'/>
<updated>2013-09-14T13:23:46Z</updated>
<entry>
<title>Show some messages for errors</title>
<updated>2013-09-14T13:23:46Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-09-14T13:23:46Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/eye-on-manga/commit/?id=c16bfb866ab831764e6cea3793bc6529f129ab0c'/>
<id>urn:sha1:c16bfb866ab831764e6cea3793bc6529f129ab0c</id>
<content type='text'>
When certain actions can't be completed messages are now shown.
</content>
</entry>
<entry>
<title>Use (real) prepared statements for all db actions</title>
<updated>2013-09-14T13:21:53Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-09-14T13:21:53Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/eye-on-manga/commit/?id=4a483777bfa1b797a3e8ecd0f2a6c85cd56a98b8'/>
<id>urn:sha1:4a483777bfa1b797a3e8ecd0f2a6c85cd56a98b8</id>
<content type='text'>
Prepared statements were already being used, but wrong. Instead of
creating a string with the right information the SQL should contain
parameters which should be bound by other functions.
</content>
</entry>
<entry>
<title>Show alert when adding a manga fails</title>
<updated>2013-09-14T11:18:20Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-09-14T11:18:20Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/eye-on-manga/commit/?id=96b2395daa2b9b9a20052b53e94d285c82b480ce'/>
<id>urn:sha1:96b2395daa2b9b9a20052b53e94d285c82b480ce</id>
<content type='text'>
In the future this should be expanded to include why adding it failed.
</content>
</entry>
<entry>
<title>Use SQL prepared statement for insertion</title>
<updated>2013-09-14T11:00:28Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-09-14T11:00:28Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/eye-on-manga/commit/?id=03f8c415ab676732566773004524e2f5f01b7a4f'/>
<id>urn:sha1:03f8c415ab676732566773004524e2f5f01b7a4f</id>
<content type='text'>
When creating a new manga with a name containing a quote (') it would
fail. No message was shown to indicate it had failed and the manga was
not added.

This was caused by not quoting the quote in the SQL. All SQL queries
should use prepared statements in order to make no mistakes quoting
quotes and other things.
</content>
</entry>
<entry>
<title>Upgrade license to GPLv3</title>
<updated>2013-05-02T22:34:43Z</updated>
<author>
<name>Tom Willemse</name>
</author>
<published>2013-05-02T22:34:43Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/eye-on-manga/commit/?id=760a836e5557ddc707430dfa57f7012336203e1e'/>
<id>urn:sha1:760a836e5557ddc707430dfa57f7012336203e1e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add "Delete" button to detail window</title>
<updated>2012-10-25T22:25:51Z</updated>
<author>
<name>Tom Willemsen</name>
</author>
<published>2012-10-25T22:25:51Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/eye-on-manga/commit/?id=33b73cac14f28e91cd90e0fb98579bf7690f637f'/>
<id>urn:sha1:33b73cac14f28e91cd90e0fb98579bf7690f637f</id>
<content type='text'>
* src/data.c (data_delete_manga): New function, deletes a manga and
  its associated volumes.
  (data_update_manga): Extra free.

* src/eom-detail-window.c (add_menu): Add a "Delete" button to the
  menu.
  (on_delete): New function.  Shows a confirmation dialog and if the
  user pressed "Ok" tries to delete the manga and close the window.

* src/eom-main-window.c (on_row_activated): Connect to the `hide'
  signal instead of the `delete-event' signal.  I couldn't find how te
  emit my own `delete-event' signal, then I found that hide works both
  when I close a window and when the window manager does it.
</content>
</entry>
<entry>
<title>Correctly show changes when total goes down</title>
<updated>2012-10-25T19:15:50Z</updated>
<author>
<name>Tom Willemsen</name>
</author>
<published>2012-10-25T19:15:50Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/eye-on-manga/commit/?id=7ffc87d99d0435146358c6ea1dd90ddaae294f51'/>
<id>urn:sha1:7ffc87d99d0435146358c6ea1dd90ddaae294f51</id>
<content type='text'>
* src/data.c (data_update_manga): When updating, set `current_qty' to
  the lesser of `current_qty' and `total_qty' so that current will
  never exceed total.  If the update went well remove any volumes that
  have numbers greater than the `total_qty'.

* src/eom-detail-window.c (eom_detail_window_load): Get to upper bound
  of rows, if I need 1.5 rows I actually need 2 rows, what was I
  thinking?  Clear both tables of children before filling them up
  again.
  (cb_destroy): New function.  Just calls destroy in `widget', but
  `gtk_widget_destroy' doesn't seem like a valid `GtkCallback'.
  (on_volume_toggled): When adding a volume fails, revert one from
  `current_qty'.  Don't mess with `self-&gt;manga-&gt;current_qty', just
  reset the manga id, otherwise we will know that there should be one
  more or less volume, but won't show it in the manga's volumes
  collection.
</content>
</entry>
<entry>
<title>Show an "infinite" list when total is unknown</title>
<updated>2012-10-24T22:25:24Z</updated>
<author>
<name>Tom Willemsen</name>
</author>
<published>2012-10-24T22:25:24Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/eye-on-manga/commit/?id=337a0ba2d28f837138aeebda5eda6fb566f3c39b'/>
<id>urn:sha1:337a0ba2d28f837138aeebda5eda6fb566f3c39b</id>
<content type='text'>
* src/eom-detail-window.c (eom_detail_window_load): If the currently
  selected manga's `total_qty' is `0', take, for viewing/editing
  purposes, the manga's `current_qty' + `1' instead.
  (on_volume_toggled): If the current manga's `total_qty' is `0'
  reload the screen after toggling a manga as collected.
</content>
</entry>
<entry>
<title>Add "Read" filter to main window</title>
<updated>2012-10-24T22:06:31Z</updated>
<author>
<name>Tom Willemsen</name>
</author>
<published>2012-10-24T22:06:31Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/eye-on-manga/commit/?id=18d4d38e8d1ca928102b56153b091759dee27860'/>
<id>urn:sha1:18d4d38e8d1ca928102b56153b091759dee27860</id>
<content type='text'>
* src/data.c (data_get_unread_manga): New function.  Gets any manga
  that have unread volumes.
  (data_get_volumes_for_manga): Default `volumes' to `NULL' to make
  sure we don't get garbage by mistake.

* src/eom-main-window.c: Add new enum.  The filter states
  that the main screen has.
  (eom_main_window_load): Get a list of unread manga if the window's
  state indecates we're looking for them.
  (add_menu): Add read filter button, shows only unread manga.
</content>
</entry>
<entry>
<title>Add - and + button after number entry</title>
<updated>2012-10-24T21:34:19Z</updated>
<author>
<name>Tom Willemsen</name>
</author>
<published>2012-10-24T21:34:19Z</published>
<link rel='alternate' type='text/html' href='https://code.ryuslash.org/eye-on-manga/commit/?id=7727a458fbc05b7cf3537e38d807a661aa7bcfd8'/>
<id>urn:sha1:7727a458fbc05b7cf3537e38d807a661aa7bcfd8</id>
<content type='text'>
These should make it easier to work with numbers.

* src/eom-new-item-dialog.c (change): New function.  Callback for the
  `+' and `-' buttons, either adds or subtracts one from the quantity
  field.
  (eom_new_item_dialog_init): Add `+' and `-' buttons after quantity
  entry.
</content>
</entry>
</feed>
