maevies
13 years agoTMDB Movie: Getter and print methods
Simón Pena [Sun, 16 May 2010 23:36:59 +0000 (01:36 +0200)]
TMDB Movie: Getter and print methods

* Getter methods for the properties are added.

* An auxiliary "print" method is added which prints
  the existing properties

13 years agoMovie Info Provider: Sending movie list
Simón Pena [Sun, 16 May 2010 22:13:19 +0000 (00:13 +0200)]
Movie Info Provider: Sending movie list

The "response-received" signal now carries a list containing
the results read from the web service.

13 years agoTMDB Movie: Added properties
Simón Pena [Sun, 16 May 2010 21:51:19 +0000 (23:51 +0200)]
TMDB Movie: Added properties

The TMDB Movie class gets all the attributes from the web service.

They share the name with the web service properties, so that they get
built easily, using g_object_set.

13 years agoProject: TMDB renaming
Simón Pena [Sun, 16 May 2010 19:27:03 +0000 (21:27 +0200)]
Project: TMDB renaming

Renaming references to mvs-movie-info to mvs-tmdb-movie, as that
will be the first implementation to be used.

13 years agoProject: Removed previous TMDB references
Simón Pena [Sun, 16 May 2010 19:12:32 +0000 (21:12 +0200)]
Project: Removed previous TMDB references

In the previous version, tmdb datasource was connected using
synchronous queries, and didn't have the GObject wrappers.

This commit removes those previous tmdb references, and updates
Makefile.am.

This is also a step towards removing librest dependency, in favor of
just libxml.

13 years agoMovie Info Provider: Added XML parsing
Simón Pena [Sun, 16 May 2010 19:00:05 +0000 (21:00 +0200)]
Movie Info Provider: Added XML parsing

13 years agoMovie Info Provider test: Signal response-received
Simón Pena [Sun, 16 May 2010 16:59:00 +0000 (18:59 +0200)]
Movie Info Provider test: Signal response-received

The "response-received" signal is connected, so that when we get
a response for the query, the main loop is left.

13 years agoMovie Info Provider: Added response-received signal
Simón Pena [Sun, 16 May 2010 16:57:26 +0000 (18:57 +0200)]
Movie Info Provider: Added response-received signal

A signal is emitted when the response is received, notifying
the clients. It doesn't carry data, nor even the success or failure
of the query.

13 years agoMovie Info Provider test: Added main loop support
Simón Pena [Sun, 16 May 2010 16:58:32 +0000 (18:58 +0200)]
Movie Info Provider test: Added main loop support

Mainloop support is added to the test, so that it keeps running
until the response is acquired (and still after that). It has
to be manually interrupted, but shows that the async query is working.

13 years agoMovie Info Provider: Added async. query support
Simón Pena [Sun, 16 May 2010 17:03:44 +0000 (19:03 +0200)]
Movie Info Provider: Added async. query support

Asynchronous support for querying "The Movie Database" web service
is added:

* An URI is built with the appropriate params
* The query is enqueued, and a callback function is added
* The response is extracted, and temporarily printed, in the callback
  function

13 years agoMovie Info Provider: Added format property
Simón Pena [Sun, 16 May 2010 17:02:44 +0000 (19:02 +0200)]
Movie Info Provider: Added format property

* Format property added
* set_format method added

13 years agoMovie Info: Referenced in the test file
Simón Pena [Sun, 16 May 2010 11:30:09 +0000 (13:30 +0200)]
Movie Info: Referenced in the test file

Support is added to test the new Movie Info from the provider test
file.

13 years agoMovie Info: First GObject version
Simón Pena [Sun, 16 May 2010 10:24:50 +0000 (12:24 +0200)]
Movie Info: First GObject version

A value object to store info about a movie is added, adding GObject
support. Current data types aren't final, but just mere placeholders.

13 years agoMovie Info Provider: Initial test added
Simón Pena [Sun, 16 May 2010 09:39:41 +0000 (11:39 +0200)]
Movie Info Provider: Initial test added

A test file is added (and the project build is updated) so that
the new GObject movie info provider can be tested

13 years agoMovie Info Provider: First gobject version
Simón Pena [Sun, 16 May 2010 09:41:43 +0000 (11:41 +0200)]
Movie Info Provider: First gobject version

A GObject skeleton is created for the Movie Info provider. While it
is far from ready, it will replace the old versions (which had
no GObject support, didn't follow any namespaces guidelines and all
that)

13 years agoProject: Updated copyright info
Simón Pena [Sun, 16 May 2010 09:40:08 +0000 (11:40 +0200)]
Project: Updated copyright info

Copyright info is updated so that my username is replaced by
my real name, and my current email address replaces the old one.

13 years ago[BUILD] Fix autoconf version
Simón Pena [Sun, 16 May 2010 00:06:46 +0000 (02:06 +0200)]
[BUILD] Fix autoconf version

13 years agoBUILD: Cleaned unneeded information
Simón Pena [Sat, 15 May 2010 23:08:30 +0000 (01:08 +0200)]
BUILD: Cleaned unneeded information

The project is cleaned, and the files no needed yet are removed (to
be added back later).

examples/' Makefile.am is updated to automatically generate the tests
for the code

src/'s Makefile.am is emptied as there are no binary results there

14 years agoAdded an example to test the WATC module. It lets you query whatsafterthecredits...
spenap [Wed, 18 Nov 2009 19:50:34 +0000 (19:50 +0000)]
Added an example to test the WATC module. It lets you query whatsafterthecredits.com, and checks if a movie has extra scenes or not. It returns a
GSList of pairs (movie, boolean).
The provider files are modified, too, to allow for disposing the result list and the struct, and for printing the results.
The extra_scenes_provider (acting like a facade), is now ready to understand watc results.

git-svn-id: file:///svnroot/maevies/trunk@15 a96798e0-47ce-444a-94a4-1d14e63744fc

14 years agoRegarding to TheMovieDB.org, I finished the parsing of 1 result (ignoring data if...
spenap [Sun, 15 Nov 2009 20:56:45 +0000 (20:56 +0000)]
Regarding to TheMovieDB.org, I finished the parsing of 1 result (ignoring data if there are more, and failing if there are errors).

I modified maevies_movieschedule to get it compiling in my system. Will have to take a decission on rest/rest-0.6, and the prefix in the includes.
With <rest-0.6/rest/file.h>, eclipse allows autocompletion. But <rest/file.h> should be used to ignore the librest version.

Regarding to the examples, I modified the Makefile to allow tmdb querying.

git-svn-id: file:///svnroot/maevies/trunk@14 a96798e0-47ce-444a-94a4-1d14e63744fc

14 years agoAdded a new provider type to support the retrieval of movie schedules
baturix [Sun, 15 Nov 2009 01:23:43 +0000 (01:23 +0000)]
Added a new provider type to support the retrieval of movie schedules

git-svn-id: file:///svnroot/maevies/trunk@13 a96798e0-47ce-444a-94a4-1d14e63744fc

14 years agoAdded the movie_info_provider layer, to abstract the concrete providers from the...
spenap [Sat, 14 Nov 2009 23:49:31 +0000 (23:49 +0000)]
Added the movie_info_provider layer, to abstract the concrete providers from the core of the app.TheMovieDB api is being worked out

git-svn-id: file:///svnroot/maevies/trunk@12 a96798e0-47ce-444a-94a4-1d14e63744fc

14 years agoComplete functional gmovies example. Supports the new Google Movies format and it...
baturix [Sat, 14 Nov 2009 23:24:33 +0000 (23:24 +0000)]
Complete functional gmovies example. Supports the new Google Movies format and it is 'librarized'.

git-svn-id: file:///svnroot/maevies/trunk@11 a96798e0-47ce-444a-94a4-1d14e63744fc

14 years agogit-svn-id: file:///svnroot/maevies/trunk@10 a96798e0-47ce-444a-94a4-1d14e63744fc
baturix [Sat, 14 Nov 2009 21:00:32 +0000 (21:00 +0000)]
git-svn-id: file:///svnroot/maevies/trunk@10 a96798e0-47ce-444a-94a4-1d14e63744fc

14 years agoNow the example parses almos completely the file and extracts all theaters and all...
baturix [Mon, 9 Nov 2009 23:49:18 +0000 (23:49 +0000)]
Now the example parses almos completely the file and extracts all theaters and all movies

git-svn-id: file:///svnroot/maevies/trunk@9 a96798e0-47ce-444a-94a4-1d14e63744fc

14 years agoThe application GUI is now organized into a maevies_window, for the GTK things and...
spenap [Sat, 7 Nov 2009 23:41:30 +0000 (23:41 +0000)]
The application GUI is now organized into a maevies_window, for the GTK things and callbacks (the UI logic should be there),
and a maevies_movie, for the logic and things related to the movies themselves. The UI part is connected to the core via
the signals, and the next point should involve using asynchrounous callbacks.

I also added a txt to describe the Google Movies API.

git-svn-id: file:///svnroot/maevies/trunk@8 a96798e0-47ce-444a-94a4-1d14e63744fc

14 years agoAdded the what's after the credits provider, with a simple (too simple!!) implementation.
spenap [Sat, 31 Oct 2009 18:27:48 +0000 (18:27 +0000)]
Added the what's after the credits provider, with a simple (too simple!!) implementation.

Added a file extra_scenes_provider, acting like a wrapper, which will select the right provider to use. It will be the
place to add support for dynamic loading. Right now it's just calling the watc provider

Modified the Makefile.am to get them compiled.

Modified the examples Makefile, to get it doing "all" if invoked without arguments.

Added a clean-auto.sh script to delete the files added by the autoconf tools.

git-svn-id: file:///svnroot/maevies/trunk@7 a96798e0-47ce-444a-94a4-1d14e63744fc

14 years agoAdded an example of HTML parsing with libxml2 to parse a Google movies page.
baturix [Sat, 31 Oct 2009 00:34:57 +0000 (00:34 +0000)]
Added an example of HTML parsing with libxml2 to parse a Google movies page.

git-svn-id: file:///svnroot/maevies/trunk@6 a96798e0-47ce-444a-94a4-1d14e63744fc

14 years agoChanged source template from the C++ one, in esbox, to the C one. Added librest as...
spenap [Wed, 28 Oct 2009 22:44:07 +0000 (22:44 +0000)]
Changed source template from the C++ one, in esbox, to the C one. Added librest as a dependence in autoconf (configure.ac)
Lots of work left, but this should be a good start.

git-svn-id: file:///svnroot/maevies/trunk@5 a96798e0-47ce-444a-94a4-1d14e63744fc

14 years agoMoved the examples folder to the trunk (as the examples should be related to the...
spenap [Tue, 27 Oct 2009 20:27:28 +0000 (20:27 +0000)]
Moved the examples folder to the trunk (as the examples should be related to the development, creating a branch
would affect an example)

Created a simple Makefile to get the sample compiling and linking.

git-svn-id: file:///svnroot/maevies/trunk@4 a96798e0-47ce-444a-94a4-1d14e63744fc

14 years agoAdded svn:ignore properties. Now, the files added by the autoconf & automake scripts...
spenap [Tue, 27 Oct 2009 19:50:07 +0000 (19:50 +0000)]
Added svn:ignore properties. Now, the files added by the autoconf & automake scripts won't get imported into the repository
To get the same configuration, you have to type

$svn propset svn:ignore -F .svnignore .

Added some diagrams, too: those found in the garage site. Added the sources to generate them using the online UML site
we found, and a README with the URL

There's also an examples folder, but there's no Makefile.am there, yet, so the sample should be compiled using

$g++ `pkg-config rest --libs --cflags` gtranslate.cpp -o gtranslate

Any other -o name is ok, but the .svnignore file just deals with that name. Will fix it :)

git-svn-id: file:///svnroot/maevies/trunk@3 a96798e0-47ce-444a-94a4-1d14e63744fc

14 years agoAdded stubs for the *Providers interfaces, and a fake implementation for the WhatsAft...
spenap [Fri, 23 Oct 2009 22:13:45 +0000 (22:13 +0000)]
Added stubs for the *Providers interfaces, and a fake implementation for the WhatsAfterTheCredits provider

git-svn-id: file:///svnroot/maevies/trunk@2 a96798e0-47ce-444a-94a4-1d14e63744fc

14 years agoInitial import: a Hello World C++ project is used as a skeleton
spenap [Fri, 23 Oct 2009 20:53:54 +0000 (20:53 +0000)]
Initial import: a Hello World C++ project is used as a skeleton

git-svn-id: file:///svnroot/maevies/trunk@1 a96798e0-47ce-444a-94a4-1d14e63744fc