cascardo/atompub.git
15 years agoCreate a xml node from an AtomEntry
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 21:51:35 +0000 (18:51 -0300)]
Create a xml node from an AtomEntry

15 years agoModify interface to get string from entry
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 21:41:38 +0000 (18:41 -0300)]
Modify interface to get string from entry

15 years agolibxml2 may return document with null root node
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 20:28:16 +0000 (17:28 -0300)]
libxml2 may return document with null root node

15 years agoIf it is not possible to parse document, return NULL
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 20:25:05 +0000 (17:25 -0300)]
If it is not possible to parse document, return NULL

15 years agoAtomEntry requires AtomPerson
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 20:18:49 +0000 (17:18 -0300)]
AtomEntry requires AtomPerson

15 years agoAtomEntry has some of the interesting nodes as properties
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 20:15:19 +0000 (17:15 -0300)]
AtomEntry has some of the interesting nodes as properties

15 years agoReading AtomPerson from a XML node
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 20:14:48 +0000 (17:14 -0300)]
Reading AtomPerson from a XML node

15 years agoURI property is of IRI type, not string
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 20:08:25 +0000 (17:08 -0300)]
URI property is of IRI type, not string

15 years agoCreate a XML node from an AtomPerson
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 18:51:51 +0000 (15:51 -0300)]
Create a XML node from an AtomPerson

15 years agoCopy IRI when setting AtomPerson uri
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 18:50:22 +0000 (15:50 -0300)]
Copy IRI when setting AtomPerson uri

15 years agoAdded more interface for IRI
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 18:46:43 +0000 (15:46 -0300)]
Added more interface for IRI

You can set scheme and host part of IRIs now. You can also get it as a
string, which should be revised, because of the needed separators. You
can also make a copy of a IRI.

15 years agoInclude IRI header into AtomPerson header and this into main header
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 18:14:49 +0000 (15:14 -0300)]
Include IRI header into AtomPerson header and this into main header

15 years agoAdded AtomPerson structure
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 18:08:44 +0000 (15:08 -0300)]
Added AtomPerson structure

15 years agoDistribute headers in pkgincludedir instead of includedir
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 17:57:15 +0000 (14:57 -0300)]
Distribute headers in pkgincludedir instead of includedir

15 years agoCopies error message from GError
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 09:26:15 +0000 (06:26 -0300)]
Copies error message from GError

15 years agoRecover from errors when reading XML
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 09:20:51 +0000 (06:20 -0300)]
Recover from errors when reading XML

15 years agoUnused old Atom type variable in main
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 08:56:55 +0000 (05:56 -0300)]
Unused old Atom type variable in main

15 years agoFixes build with missing comma
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 08:47:13 +0000 (05:47 -0300)]
Fixes build with missing comma

15 years agoFinished chaging some Atom into AtomEntry types
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 08:44:51 +0000 (05:44 -0300)]
Finished chaging some Atom into AtomEntry types

15 years agoRegistered implementation of enumerate_entries for GIO backend
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 06:26:14 +0000 (03:26 -0300)]
Registered implementation of enumerate_entries for GIO backend

15 years agoImplement enumeration of entries for GIO backend
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 06:09:18 +0000 (03:09 -0300)]
Implement enumeration of entries for GIO backend

15 years agoDoes not unref a GFile when creating an Atom, do it in the caller
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 06:01:36 +0000 (03:01 -0300)]
Does not unref a GFile when creating an Atom, do it in the caller

15 years agoGiven a GFile, return an Atom, so we can use it for enumeration
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 03:37:31 +0000 (00:37 -0300)]
Given a GFile, return an Atom, so we can use it for enumeration

When enumerating/summarizing many entries into one feed, we may need to
read each entry. Making it easier to do this with a function and using
it for retrieving the resource itself.

15 years agoAdded backend interface to enumerate entries
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 06:24:46 +0000 (03:24 -0300)]
Added backend interface to enumerate entries

15 years agoChanged from Atom to AtomEntry and atom_ to atom_entry_
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 08:03:50 +0000 (05:03 -0300)]
Changed from Atom to AtomEntry and atom_ to atom_entry_

15 years agoMerge branch 'master' into entry
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 07:59:01 +0000 (04:59 -0300)]
Merge branch 'master' into entry

Conflicts:

Makefile.am
atom/Makefile.am
atom/entry.c
configure.ac

Get atom entry implementation from libatom. Some changes needed in
headers and usage of it.

15 years agoMoving atom entry implementation to merge it with atompub
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 07:54:31 +0000 (04:54 -0300)]
Moving atom entry implementation to merge it with atompub

15 years agoAtomEntry is now an opaque structure and may be read from a file
Thadeu Lima de Souza Cascardo [Sat, 9 Aug 2008 07:45:06 +0000 (04:45 -0300)]
AtomEntry is now an opaque structure and may be read from a file

15 years agoDescription of requirements for IRIs
Thadeu Lima de Souza Cascardo [Fri, 8 Aug 2008 01:29:46 +0000 (22:29 -0300)]
Description of requirements for IRIs

15 years agoSome comments about what need to be done for text constructs
Thadeu Lima de Souza Cascardo [Thu, 7 Aug 2008 23:32:05 +0000 (20:32 -0300)]
Some comments about what need to be done for text constructs

15 years agoInterface to retrieve data in a buffer and its size
Thadeu Lima de Souza Cascardo [Thu, 7 Aug 2008 22:18:06 +0000 (19:18 -0300)]
Interface to retrieve data in a buffer and its size

15 years agoAdded function to create an atom entry with a namespace prefix
Thadeu Lima de Souza Cascardo [Thu, 7 Aug 2008 22:09:14 +0000 (19:09 -0300)]
Added function to create an atom entry with a namespace prefix

15 years agoAtom namespace is now a macro
Thadeu Lima de Souza Cascardo [Thu, 7 Aug 2008 22:07:21 +0000 (19:07 -0300)]
Atom namespace is now a macro

15 years agoFirst commit of an atom format library
Thadeu Lima de Souza Cascardo [Thu, 7 Aug 2008 21:56:54 +0000 (18:56 -0300)]
First commit of an atom format library

Autoconf and automake support, with license file. The interface is just
to create and delete an entry. It is not even published in a header. The
implementation uses libxml2. However, the interface should not expose
this and allow the implementation to change.

15 years agoNew error interface: migrated core, backends and frontends to it
Thadeu Lima de Souza Cascardo [Sun, 3 Aug 2008 21:15:54 +0000 (18:15 -0300)]
New error interface: migrated core, backends and frontends to it

15 years agoFixed leak in Atom entry
Thadeu Lima de Souza Cascardo [Sat, 2 Aug 2008 14:31:27 +0000 (11:31 -0300)]
Fixed leak in Atom entry

15 years agoDoes not leak memory with ctx and backend
Thadeu Lima de Souza Cascardo [Sat, 2 Aug 2008 14:21:37 +0000 (11:21 -0300)]
Does not leak memory with ctx and backend

15 years agoUse new backend interface in main program
Thadeu Lima de Souza Cascardo [Sat, 2 Aug 2008 02:27:19 +0000 (23:27 -0300)]
Use new backend interface in main program

15 years agoFunctions to create new backend and usage of it in existing backends
Thadeu Lima de Souza Cascardo [Sat, 2 Aug 2008 02:23:25 +0000 (23:23 -0300)]
Functions to create new backend and usage of it in existing backends

15 years agoAdded a backend per context
Thadeu Lima de Souza Cascardo [Sat, 2 Aug 2008 02:22:33 +0000 (23:22 -0300)]
Added a backend per context

15 years agoInitialize GObject in main program
Thadeu Lima de Souza Cascardo [Sat, 2 Aug 2008 01:23:39 +0000 (22:23 -0300)]
Initialize GObject in main program

15 years agoLink main binary to gio module
Thadeu Lima de Souza Cascardo [Sat, 2 Aug 2008 01:22:50 +0000 (22:22 -0300)]
Link main binary to gio module

15 years agoAdded gio configuration to sample config file
Thadeu Lima de Souza Cascardo [Sat, 2 Aug 2008 01:22:11 +0000 (22:22 -0300)]
Added gio configuration to sample config file

15 years agoPrint error messages as plain content in http body too
Thadeu Lima de Souza Cascardo [Sat, 2 Aug 2008 01:20:57 +0000 (22:20 -0300)]
Print error messages as plain content in http body too

15 years agoIncluding the license file
Thadeu Lima de Souza Cascardo [Fri, 1 Aug 2008 22:30:13 +0000 (19:30 -0300)]
Including the license file

15 years agoAdded some information files requested by automake
Thadeu Lima de Souza Cascardo [Fri, 1 Aug 2008 22:29:48 +0000 (19:29 -0300)]
Added some information files requested by automake

15 years agoUnref a GFile in GIO, not a GIOChannel.
Thadeu Lima de Souza Cascardo [Thu, 31 Jul 2008 21:04:41 +0000 (18:04 -0300)]
Unref a GFile in GIO, not a GIOChannel.

15 years agoMake configure output the GIO Makefile.
Thadeu Lima de Souza Cascardo [Thu, 31 Jul 2008 21:02:48 +0000 (18:02 -0300)]
Make configure output the GIO Makefile.

15 years agoAdded very basic GIO support for local files.
Thadeu Lima de Souza Cascardo [Thu, 31 Jul 2008 20:54:41 +0000 (17:54 -0300)]
Added very basic GIO support for local files.

15 years ago@frontent/cgi/cgi.c: Fixing some typos about variable names: from err to error and...
Gabriel Falcao [Mon, 12 May 2008 13:39:27 +0000 (10:39 -0300)]
@frontent/cgi/cgi.c: Fixing some typos about variable names: from err to error and G_FILE_ERROR_ACCESS to G_FILE_ERROR_ACCES.

16 years agoChanged root directory in example configuration file.
Thadeu Lima de Souza Cascardo [Tue, 5 Feb 2008 20:35:49 +0000 (18:35 -0200)]
Changed root directory in example configuration file.

16 years agoAdded example configuration file.
Thadeu Lima de Souza Cascardo [Tue, 5 Feb 2008 20:35:23 +0000 (18:35 -0200)]
Added example configuration file.

16 years agoReturns HTTP error if some error has been found while serving the file.
Thadeu Lima de Souza Cascardo [Sun, 27 Jan 2008 04:43:24 +0000 (02:43 -0200)]
Returns HTTP error if some error has been found while serving the file.

16 years agoTest CGI frontend with main funcion.
Thadeu Lima de Souza Cascardo [Sun, 27 Jan 2008 04:29:20 +0000 (02:29 -0200)]
Test CGI frontend with main funcion.

16 years agoDoes not release path got from IRI.
Thadeu Lima de Souza Cascardo [Sun, 27 Jan 2008 04:28:33 +0000 (02:28 -0200)]
Does not release path got from IRI.

16 years agoAdded headers for I/O.
Thadeu Lima de Souza Cascardo [Sun, 27 Jan 2008 04:18:41 +0000 (02:18 -0200)]
Added headers for I/O.

16 years agoAdd library instead of redefining LDADD.
Thadeu Lima de Souza Cascardo [Sun, 27 Jan 2008 04:16:35 +0000 (02:16 -0200)]
Add library instead of redefining LDADD.

16 years agoDo not mix buffered output and unbuffured output (printf and write).
Thadeu Lima de Souza Cascardo [Sun, 27 Jan 2008 04:15:57 +0000 (02:15 -0200)]
Do not mix buffered output and unbuffured output (printf and write).

16 years agoAdded initial CGI frontend.
Thadeu Lima de Souza Cascardo [Sun, 27 Jan 2008 03:39:19 +0000 (01:39 -0200)]
Added initial CGI frontend.

16 years agoAdded backend interface.
Thadeu Lima de Souza Cascardo [Sun, 27 Jan 2008 03:36:40 +0000 (01:36 -0200)]
Added backend interface.

16 years agoAdded function to release IRI memory.
Thadeu Lima de Souza Cascardo [Sun, 27 Jan 2008 03:32:48 +0000 (01:32 -0200)]
Added function to release IRI memory.

16 years agoAdded new functions for atom entry.
Thadeu Lima de Souza Cascardo [Sun, 27 Jan 2008 03:30:08 +0000 (01:30 -0200)]
Added new functions for atom entry.

16 years agoAutoconf and automake building support.
Thadeu Lima de Souza Cascardo [Sun, 27 Jan 2008 01:35:29 +0000 (23:35 -0200)]
Autoconf and automake building support.

16 years agoSupport namespace in the config interface.
Thadeu Lima de Souza Cascardo [Sat, 26 Jan 2008 23:59:21 +0000 (21:59 -0200)]
Support namespace in the config interface.

16 years agoGet context error support.
Thadeu Lima de Souza Cascardo [Sat, 26 Jan 2008 23:53:32 +0000 (21:53 -0200)]
Get context error support.

16 years agoAdded function to allocate a new context.
Thadeu Lima de Souza Cascardo [Sat, 26 Jan 2008 23:40:49 +0000 (21:40 -0200)]
Added function to allocate a new context.

16 years agoGeneral config initialization interface.
Thadeu Lima de Souza Cascardo [Sat, 26 Jan 2008 23:39:15 +0000 (21:39 -0200)]
General config initialization interface.

16 years agoMore functions for IRI manipulation.
Thadeu Lima de Souza Cascardo [Sat, 26 Jan 2008 23:36:19 +0000 (21:36 -0200)]
More functions for IRI manipulation.

16 years agoAdded support for initialization of configuration, opening GKeyFile.
Thadeu Lima de Souza Cascardo [Sat, 26 Jan 2008 23:32:45 +0000 (21:32 -0200)]
Added support for initialization of configuration, opening GKeyFile.

16 years agoAdded initial IRI structure.
Thadeu Lima de Souza Cascardo [Sat, 26 Jan 2008 23:24:58 +0000 (21:24 -0200)]
Added initial IRI structure.

16 years agoAdded basic glue code for configuration support.
Thadeu Lima de Souza Cascardo [Sat, 26 Jan 2008 23:22:51 +0000 (21:22 -0200)]
Added basic glue code for configuration support.

16 years agoAdded structure for atom entry.
Thadeu Lima de Souza Cascardo [Sat, 26 Jan 2008 23:21:28 +0000 (21:21 -0200)]
Added structure for atom entry.

16 years agoImplement first context functions.
Thadeu Lima de Souza Cascardo [Sat, 26 Jan 2008 23:18:12 +0000 (21:18 -0200)]
Implement first context functions.

16 years agoFixed leak bug of GIOChannel.
Thadeu Lima de Souza Cascardo [Sat, 26 Jan 2008 23:10:51 +0000 (21:10 -0200)]
Fixed leak bug of GIOChannel.

16 years agoAdded config implementation using GKeyFile.
Thadeu Lima de Souza Cascardo [Wed, 23 Jan 2008 16:33:46 +0000 (14:33 -0200)]
Added config implementation using GKeyFile.

16 years agoStarted a file backend and first prototype interface.
Thadeu Lima de Souza Cascardo [Wed, 23 Jan 2008 15:49:23 +0000 (13:49 -0200)]
Started a file backend and first prototype interface.