Changeset 23 for trunk

Show
Ignore:
Timestamp:
05/30/06 02:29:46 (3 years ago)
Author:
scott
Message:

Migrated to Dapper & Completed FileChannel Object

  • Upgraded my home workstation to dapper, so I had to change configure.in.
  • Added iochannel and filechannel implementations:
    • sagot_glib_filechannel.c
    • sagot_glib_filechannel.h
    • sagot_glib_iochannel.c
    • sagot_glib_iochannel.h
  • Ensured that sagot loads channel implementations

This commit closes #44 & #45

Location:
trunk/sagot
Files:
5 added
4 modified

Legend:

Unmodified
Added
Removed
  • trunk/sagot/configure.in

    r4 r23  
    1212AC_HEADER_STDBOOL 
    1313 
    14 PKG_CHECK_MODULES(DEPS, glib-2.0 >= 2.7 mozilla-js >= 1.7) 
     14PKG_CHECK_MODULES(DEPS, glib-2.0 >= 2.7 firefox-js >= 1.5) 
    1515AC_SUBST(DEPS_CFLAGS) 
    1616AC_SUBST(DEPS_LIBS) 
  • trunk/sagot/src/Makefile.am

    r5 r23  
    11bin_PROGRAMS = sagot 
    2 sagot_SOURCES = sagot.c sagot_glib_eventcontext.c sagot_glib_eventloop.c 
     2sagot_SOURCES = sagot.c sagot_glib_eventcontext.c sagot_glib_eventloop.c \ 
     3                sagot_glib_iochannel.c sagot_glib_filechannel.c 
    34sagot_LDADD = $(DEPS_LIBS) 
    45AM_CFLAGS = --std=c99 $(DEPS_CFLAGS) 
  • trunk/sagot/src/sagot.c

    r19 r23  
    152152    sagot_InitEventContextClass(cx, global); 
    153153    sagot_InitEventLoopClass(cx, global); 
     154    sagot_InitFileChannelClass(cx, global); 
     155    sagot_InitIOChannelClass(cx, global); 
    154156 
    155157    struct stat statr; 
  • trunk/sagot/src/sagot_glib.h

    r19 r23  
    99#include "sagot_glib_eventcontext.h" 
    1010#include "sagot_glib_eventloop.h" 
     11#include "sagot_glib_iochannel.h" 
    1112#include "sagot_glib_filechannel.h" 
     13 
     14#define SIZE_EMSG 1024