From libgadu-commit at lists.ziew.org Tue Nov 17 00:45:19 2009 From: libgadu-commit at lists.ziew.org (Libgadu commit list) Date: Tue, 17 Nov 2009 00:45:19 +0100 Subject: [libgadu-commit] r875 - branches/1.9/docs Message-ID: <20091116234519.AE0F617B59@toxygen.net> Author: wojtekka Date: 2009-11-17 00:45:19 +0100 (Tue, 17 Nov 2009) New Revision: 875 Modified: branches/1.9/docs/Makefile.am Log: Poprawka czyszczenia wygenerowanej dokumentacji. Modified: branches/1.9/docs/Makefile.am =================================================================== --- branches/1.9/docs/Makefile.am 2009-10-19 21:54:56 UTC (rev 874) +++ branches/1.9/docs/Makefile.am 2009-11-16 23:45:19 UTC (rev 875) @@ -7,5 +7,5 @@ touch html-stamp clean-local: - rm -rf html + rm -rf html html-stamp From libgadu-commit at lists.ziew.org Tue Nov 17 00:46:11 2009 From: libgadu-commit at lists.ziew.org (Libgadu commit list) Date: Tue, 17 Nov 2009 00:46:11 +0100 Subject: [libgadu-commit] r876 - branches/1.9/docs Message-ID: <20091116234611.41B8217B59@toxygen.net> Author: wojtekka Date: 2009-11-17 00:46:10 +0100 (Tue, 17 Nov 2009) New Revision: 876 Modified: branches/1.9/docs/Doxyfile.in branches/1.9/docs/events.dox branches/1.9/docs/status.dox Log: Poprawki ostrze?e? przy generowaniu dokumentacji. Modified: branches/1.9/docs/Doxyfile.in =================================================================== --- branches/1.9/docs/Doxyfile.in 2009-11-16 23:45:19 UTC (rev 875) +++ branches/1.9/docs/Doxyfile.in 2009-11-16 23:46:10 UTC (rev 876) @@ -41,7 +41,7 @@ OPTIMIZE_OUTPUT_FOR_C = YES OPTIMIZE_OUTPUT_JAVA = NO SHOW_USED_FILES = YES -DETAILS_AT_TOP = YES +#DETAILS_AT_TOP = YES #--------------------------------------------------------------------------- # configuration options related to warning and progress messages #--------------------------------------------------------------------------- Modified: branches/1.9/docs/events.dox =================================================================== --- branches/1.9/docs/events.dox 2009-11-16 23:45:19 UTC (rev 875) +++ branches/1.9/docs/events.dox 2009-11-16 23:46:10 UTC (rev 876) @@ -255,7 +255,7 @@ \c GG_EVENT_NOTIFY -\c event.notify\c[\c] +\c event.notify[] \c gg_notify_reply \copydoc gg_event_t::GG_EVENT_NOTIFY @@ -273,7 +273,7 @@ \c GG_EVENT_NOTIFY60 -\c event.notify60\c[\c] +\c event.notify60[] \c gg_event_notify60 \copydoc gg_event_t::GG_EVENT_NOTIFY60 Modified: branches/1.9/docs/status.dox =================================================================== --- branches/1.9/docs/status.dox 2009-11-16 23:45:19 UTC (rev 875) +++ branches/1.9/docs/status.dox 2009-11-16 23:46:10 UTC (rev 876) @@ -27,7 +27,7 @@ dodatkowo przekazywana za pomoc? flagi \c GG_STATUS_DESCR_MASK. To samo dotyczy zmiany status?w os?b z listy kontakt?w. -\bug Nie ma mo?liwo?ci ustawiania i poprawnego odbierania status?w -zawieraj?cych czas powrotu. +\bug Nie ma mo?liwo?ci poprawnego odbierania status?w zawieraj?cych czas +powrotu. */ From libgadu-commit at lists.ziew.org Tue Nov 17 00:47:08 2009 From: libgadu-commit at lists.ziew.org (Libgadu commit list) Date: Tue, 17 Nov 2009 00:47:08 +0100 Subject: [libgadu-commit] r877 - branches/1.9 Message-ID: <20091116234708.B364F17B59@toxygen.net> Author: wojtekka Date: 2009-11-17 00:47:08 +0100 (Tue, 17 Nov 2009) New Revision: 877 Modified: branches/1.9/README Log: Podbicie wersji. Modified: branches/1.9/README =================================================================== --- branches/1.9/README 2009-11-16 23:46:10 UTC (rev 876) +++ branches/1.9/README 2009-11-16 23:47:08 UTC (rev 877) @@ -1,5 +1,5 @@ -libgadu 1.8.0 -(C) Copyright 2001-2008 Autorzy (pe?na lista w pliku AUTHORS) +libgadu 1.9.0-rc2 +(C) Copyright 2001-2009 Autorzy (pe?na lista w pliku AUTHORS) libgadu jest bibliotek? przeznaczon? do obs?ugi protoko?u komunikatora Gadu-Gadu. Przez d?u?szy czas by?a integraln? cz??ci? Eksperymentalnego From libgadu-commit at lists.ziew.org Tue Nov 17 00:48:19 2009 From: libgadu-commit at lists.ziew.org (Libgadu commit list) Date: Tue, 17 Nov 2009 00:48:19 +0100 Subject: [libgadu-commit] r878 - in branches/1.9: examples include src Message-ID: <20091116234820.354AF17B59@toxygen.net> Author: wojtekka Date: 2009-11-17 00:48:19 +0100 (Tue, 17 Nov 2009) New Revision: 878 Modified: branches/1.9/examples/Makefile.am branches/1.9/include/libgadu.h.in branches/1.9/src/Makefile.am branches/1.9/src/common.c branches/1.9/src/libgadu.c Log: Zniech??my ludzi do u?ywania wewn?trznych funkcji libgadu. Modified: branches/1.9/examples/Makefile.am =================================================================== --- branches/1.9/examples/Makefile.am 2009-11-16 23:47:08 UTC (rev 877) +++ branches/1.9/examples/Makefile.am 2009-11-16 23:48:19 UTC (rev 878) @@ -1,6 +1,8 @@ noinst_PROGRAMS = send httphash conn-async register-sync register-async remind-sync remind-async status token-sync token-async LDADD = ../src/libgadu.la +httphash_CFLAGS = -DGG_IGNORE_DEPRECATED + register_sync_SOURCES = register.c register_async_SOURCES = register.c Modified: branches/1.9/include/libgadu.h.in =================================================================== --- branches/1.9/include/libgadu.h.in 2009-11-16 23:47:08 UTC (rev 877) +++ branches/1.9/include/libgadu.h.in 2009-11-16 23:48:19 UTC (rev 878) @@ -317,8 +317,12 @@ #ifdef __GNUC__ #define GG_PACKED __attribute__ ((packed)) +#ifndef GG_IGNORE_DEPRECATED #define GG_DEPRECATED __attribute__ ((deprecated)) #else +#define GG_DEPRECATED +#endif +#else #define GG_PACKED #define GG_DEPRECATED #endif @@ -711,7 +715,7 @@ int num; /**< Numer wyniku */ char *field; /**< Nazwa pola */ char *value; /**< Warto?? pola */ -}; +} /* GG_DEPRECATED */; /** * Zapytanie lub odpowied? katalogu publicznego. @@ -725,7 +729,7 @@ uint32_t seq; /**< Numer sekwencyjny */ struct gg_pubdir50_entry *entries; /**< Pola zapytania lub odpowiedzi */ int entries_count; /**< Liczba p?l */ -}; +} /* GG_DEPRECATED */; /** * Zapytanie lub odpowied? katalogu publicznego. @@ -1273,45 +1277,41 @@ /** \endcond */ -int gg_file_hash_sha1(int fd, uint8_t *result); +int gg_file_hash_sha1(int fd, uint8_t *result) GG_DEPRECATED; -#ifdef _WIN32 -int gg_thread_socket(int thread_id, int socket); -#endif - #ifdef __GNUC__ -char *gg_saprintf(const char *format, ...) __attribute__ ((format (printf, 1, 2))); +char *gg_saprintf(const char *format, ...) __attribute__ ((format (printf, 1, 2))) GG_DEPRECATED; #else -char *gg_saprintf(const char *format, ...); +char *gg_saprintf(const char *format, ...) GG_DEPRECATED; #endif -char *gg_vsaprintf(const char *format, va_list ap); +char *gg_vsaprintf(const char *format, va_list ap) GG_DEPRECATED; #define gg_alloc_sprintf gg_saprintf -char *gg_get_line(char **ptr); +char *gg_get_line(char **ptr) GG_DEPRECATED; -int gg_connect(void *addr, int port, int async); -struct in_addr *gg_gethostbyname(const char *hostname); -char *gg_read_line(int sock, char *buf, int length); -void gg_chomp(char *line); -char *gg_urlencode(const char *str); -int gg_http_hash(const char *format, ...); -void gg_http_free_fields(struct gg_http *h); -int gg_read(struct gg_session *sess, char *buf, int length); -int gg_write(struct gg_session *sess, const char *buf, int length); -void *gg_recv_packet(struct gg_session *sess); -int gg_send_packet(struct gg_session *sess, int type, ...); -unsigned int gg_login_hash(const unsigned char *password, unsigned int seed); -void gg_login_hash_sha1(const char *password, uint32_t seed, uint8_t *result); -uint32_t gg_fix32(uint32_t x); -uint16_t gg_fix16(uint16_t x); +int gg_connect(void *addr, int port, int async) GG_DEPRECATED; +struct in_addr *gg_gethostbyname(const char *hostname) GG_DEPRECATED; +char *gg_read_line(int sock, char *buf, int length) GG_DEPRECATED; +void gg_chomp(char *line) GG_DEPRECATED; +char *gg_urlencode(const char *str) GG_DEPRECATED; +int gg_http_hash(const char *format, ...) GG_DEPRECATED; +void gg_http_free_fields(struct gg_http *h) GG_DEPRECATED; +int gg_read(struct gg_session *sess, char *buf, int length) GG_DEPRECATED; +int gg_write(struct gg_session *sess, const char *buf, int length) GG_DEPRECATED; +void *gg_recv_packet(struct gg_session *sess) GG_DEPRECATED; +int gg_send_packet(struct gg_session *sess, int type, ...) GG_DEPRECATED; +unsigned int gg_login_hash(const unsigned char *password, unsigned int seed) GG_DEPRECATED; +void gg_login_hash_sha1(const char *password, uint32_t seed, uint8_t *result) GG_DEPRECATED; +uint32_t gg_fix32(uint32_t x) GG_DEPRECATED; +uint16_t gg_fix16(uint16_t x) GG_DEPRECATED; #define fix16 gg_fix16 #define fix32 gg_fix32 -char *gg_proxy_auth(void); -char *gg_base64_encode(const char *buf); -char *gg_base64_decode(const char *buf); -int gg_image_queue_remove(struct gg_session *s, struct gg_image_queue *q, int freeq); +char *gg_proxy_auth(void) GG_DEPRECATED; +char *gg_base64_encode(const char *buf) GG_DEPRECATED; +char *gg_base64_decode(const char *buf) GG_DEPRECATED; +int gg_image_queue_remove(struct gg_session *s, struct gg_image_queue *q, int freeq) GG_DEPRECATED; /** * Kolejka odbieranych obrazk?w. @@ -1325,13 +1325,13 @@ uint32_t done; /**< Rozmiar odebranych danych */ struct gg_image_queue *next; /**< Kolejny element listy */ -}; +} GG_DEPRECATED; -int gg_dcc7_handle_id(struct gg_session *sess, struct gg_event *e, void *payload, int len); -int gg_dcc7_handle_new(struct gg_session *sess, struct gg_event *e, void *payload, int len); -int gg_dcc7_handle_info(struct gg_session *sess, struct gg_event *e, void *payload, int len); -int gg_dcc7_handle_accept(struct gg_session *sess, struct gg_event *e, void *payload, int len); -int gg_dcc7_handle_reject(struct gg_session *sess, struct gg_event *e, void *payload, int len); +int gg_dcc7_handle_id(struct gg_session *sess, struct gg_event *e, void *payload, int len) GG_DEPRECATED; +int gg_dcc7_handle_new(struct gg_session *sess, struct gg_event *e, void *payload, int len) GG_DEPRECATED; +int gg_dcc7_handle_info(struct gg_session *sess, struct gg_event *e, void *payload, int len) GG_DEPRECATED; +int gg_dcc7_handle_accept(struct gg_session *sess, struct gg_event *e, void *payload, int len) GG_DEPRECATED; +int gg_dcc7_handle_reject(struct gg_session *sess, struct gg_event *e, void *payload, int len) GG_DEPRECATED; #define GG_APPMSG_HOST "appmsg.gadu-gadu.pl" #define GG_APPMSG_PORT 80 Modified: branches/1.9/src/Makefile.am =================================================================== --- branches/1.9/src/Makefile.am 2009-11-16 23:47:08 UTC (rev 877) +++ branches/1.9/src/Makefile.am 2009-11-16 23:48:19 UTC (rev 878) @@ -1,4 +1,4 @@ lib_LTLIBRARIES = libgadu.la libgadu_la_SOURCES = common.c dcc.c dcc7.c events.c http.c obsolete.c pubdir.c pubdir50.c libgadu.c sha1.c resolver.c -libgadu_la_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include +libgadu_la_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -DGG_IGNORE_DEPRECATED libgadu_la_LDFLAGS = -version-number 3:10 -export-symbols libgadu.sym Modified: branches/1.9/src/common.c =================================================================== --- branches/1.9/src/common.c 2009-11-16 23:47:08 UTC (rev 877) +++ branches/1.9/src/common.c 2009-11-16 23:48:19 UTC (rev 878) @@ -105,7 +105,7 @@ /** - * Przekazuje informacj? odpluskawiania. + * \internal Przekazuje informacj? odpluskawiania. * * \param level Poziom wiadomo?ci * \param format Format wiadomo?ci (zgodny z \c printf) @@ -123,7 +123,7 @@ } /** - * Przekazuje informacj? odpluskwiania zwi?zan? z sesj?. + * \internal Przekazuje informacj? odpluskwiania zwi?zan? z sesj?. * * \param sess Struktura sesji * \param level Poziom wiadomo?ci @@ -144,7 +144,7 @@ #endif /** - * Odpowiednik funkcji \c vsprintf alokuj?cy miejsce na wynik. + * \internal Odpowiednik funkcji \c vsprintf alokuj?cy miejsce na wynik. * * Funkcja korzysta z funkcji \c vsnprintf, sprawdzaj?c czy dost?pna funkcja * systemowa jest zgodna ze standardem C99 czy wcze?niejszymi. @@ -222,7 +222,7 @@ } /** - * Odpowiednik funkcji \c sprintf alokuj?cy miejsce na wynik. + * \internal Odpowiednik funkcji \c sprintf alokuj?cy miejsce na wynik. * * Funkcja korzysta z funkcji \c vsnprintf, sprawdzaj?c czy dost?pna funkcja * systemowa jest zgodna ze standardem C99 czy wcze?niejszymi. @@ -325,7 +325,7 @@ } /** - * Nawi?zuje po??czenie TCP. + * \internal Nawi?zuje po??czenie TCP. * * \param addr Wska?nik na struktur? \c in_addr z adresem serwera * \param port Port serwera @@ -399,7 +399,7 @@ } /** - * Usuwa znaki ko?ca linii. + * \internal Usuwa znaki ko?ca linii. * * Funkcja dzia?a bezpo?rednio na buforze. * @@ -423,7 +423,7 @@ } /** - * Koduje ci?g znak?w do postacji adresu HTTP. + * \internal Koduje ci?g znak?w do postacji adresu HTTP. * * Zamienia znaki niedrukowalne, spoza ASCII i maj?ce specjalne znaczenie * dla protoko?u HTTP na encje postaci \c %XX, gdzie \c XX jest szesnastkow? @@ -597,7 +597,7 @@ "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /** - * Koduje ci?g znak?w do base64. + * \internal Koduje ci?g znak?w do base64. * * Wynik funkcji nale?y zwolni? za pomoc? \c free. * @@ -656,7 +656,7 @@ } /** - * Dekoduje ci?g znak?w zapisany w base64. + * \internal Dekoduje ci?g znak?w zapisany w base64. * * Wynik funkcji nale?y zwolni? za pomoc? \c free. * Modified: branches/1.9/src/libgadu.c =================================================================== --- branches/1.9/src/libgadu.c 2009-11-16 23:47:08 UTC (rev 877) +++ branches/1.9/src/libgadu.c 2009-11-16 23:48:19 UTC (rev 878) @@ -182,7 +182,7 @@ } /** - * Zamienia kolejno?? bajt?w w 32-bitowym s?owie. + * \internal Zamienia kolejno?? bajt?w w 32-bitowym s?owie. * * Ze wzgl?du na little-endianowo?? protoko?u Gadu-Gadu, na maszynach * big-endianowych odwraca kolejno?? bajt?w w s?owie. @@ -207,7 +207,7 @@ } /** - * Zamienia kolejno?? bajt?w w 16-bitowym s?owie. + * \internal Zamienia kolejno?? bajt?w w 16-bitowym s?owie. * * Ze wzgl?du na little-endianowo?? protoko?u Gadu-Gadu, na maszynach * big-endianowych zamienia kolejno?? bajt?w w s?owie. @@ -1043,6 +1043,8 @@ free(sess); } +#ifndef DOXYGEN + /** * \internal Funkcja wysy?aj?ca pakiet zmiany statusu u?ytkownika. * @@ -1153,6 +1155,8 @@ return res; } +#endif /* DOXYGEN */ + /** * Zmienia status u?ytkownika. * From libgadu-commit at lists.ziew.org Tue Nov 17 23:29:20 2009 From: libgadu-commit at lists.ziew.org (Libgadu commit list) Date: Tue, 17 Nov 2009 23:29:20 +0100 Subject: [libgadu-commit] r879 - tags Message-ID: <20091117222920.7A19717B5A@toxygen.net> Author: wojtekka Date: 2009-11-17 23:29:19 +0100 (Tue, 17 Nov 2009) New Revision: 879 Added: tags/1.9.0-rc2/ Log: 1.9.0-rc2. From libgadu-commit at lists.ziew.org Wed Nov 18 00:41:38 2009 From: libgadu-commit at lists.ziew.org (Libgadu commit list) Date: Wed, 18 Nov 2009 00:41:38 +0100 Subject: [libgadu-commit] r880 - branches/1.9/src Message-ID: <20091117234138.E538B17B58@toxygen.net> Author: wojtekka Date: 2009-11-18 00:41:38 +0100 (Wed, 18 Nov 2009) New Revision: 880 Modified: branches/1.9/src/Makefile.am Log: Brakuj?cy plik do dystrybucji. Modified: branches/1.9/src/Makefile.am =================================================================== --- branches/1.9/src/Makefile.am 2009-11-17 22:29:19 UTC (rev 879) +++ branches/1.9/src/Makefile.am 2009-11-17 23:41:38 UTC (rev 880) @@ -2,3 +2,4 @@ libgadu_la_SOURCES = common.c dcc.c dcc7.c events.c http.c obsolete.c pubdir.c pubdir50.c libgadu.c sha1.c resolver.c libgadu_la_CFLAGS = -I$(top_srcdir) -I$(top_srcdir)/include -DGG_IGNORE_DEPRECATED libgadu_la_LDFLAGS = -version-number 3:10 -export-symbols libgadu.sym +EXTRA_DIST = libgadu.sym From libgadu-commit at lists.ziew.org Wed Nov 18 00:42:12 2009 From: libgadu-commit at lists.ziew.org (Libgadu commit list) Date: Wed, 18 Nov 2009 00:42:12 +0100 Subject: [libgadu-commit] r881 - tags/1.9.0-rc2 Message-ID: <20091117234212.662CF17B5A@toxygen.net> Author: wojtekka Date: 2009-11-18 00:42:11 +0100 (Wed, 18 Nov 2009) New Revision: 881 Added: tags/1.9.0-rc2/1.9/ Log: Drobna poprawka 1.9.0-rc2.