gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] Additional programs and language bindings branch, master, updated.


From: Daniele Forsi
Subject: [SCM] Additional programs and language bindings branch, master, updated. 5adcc1eec2b9b456809de4c83c98d37ebf2191e0
Date: Fri, 25 Sep 2009 08:35:25 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Additional programs and language bindings".

The branch, master has been updated
       via  5adcc1eec2b9b456809de4c83c98d37ebf2191e0 (commit)
       via  f3e4435e27b07fe4d50dd0b37205d4bf7dd34966 (commit)
       via  1bae271c718c3defb202c8b3c51e561c4dfd145b (commit)
       via  dffda079c6c8c7c09554494826cb142181f14c4b (commit)
      from  2ecd8466614b90b2dc2d0cde9cfd21431f4181e7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.savannah.gnu.org/cgit/gnokii/gnokii-extras.gitcommit/?id=5adcc1eec2b9b456809de4c83c98d37ebf2191e0

commit 5adcc1eec2b9b456809de4c83c98d37ebf2191e0
Author: Daniele Forsi <address@hidden>
Date:   Thu Sep 24 22:55:22 2009 +0200

    Add gnokii_sendsms

diff --git a/bindings/PHP/gnokii4php/ChangeLog 
b/bindings/PHP/gnokii4php/ChangeLog
index c265fd5..3e9f8b5 100644
--- a/bindings/PHP/gnokii4php/ChangeLog
+++ b/bindings/PHP/gnokii4php/ChangeLog
@@ -3,6 +3,7 @@
 
 * PHP functions
   o add gnokii_deletefile, gnokii_getfile, gnokii_getfilelist and 
gnokii_putfile
+  o add gnokii_sendsms
 
 0.0.11
 ======
diff --git a/bindings/PHP/gnokii4php/README b/bindings/PHP/gnokii4php/README
index fa06da3..e11db01 100644
--- a/bindings/PHP/gnokii4php/README
+++ b/bindings/PHP/gnokii4php/README
@@ -73,6 +73,9 @@ full path to phpize and pass the full filename of php-config 
using the
   make install
 
 4. Test
+
+If you added a --prefix at configure time of PHP, now you need to specify the
+full path to php:
   $HOME/bin/php -r 'dl("gnokii.so"); gnokii_open(); print_r( gnokii_identify() 
);'
 
 5. Examples
@@ -116,6 +119,7 @@ The following PHP functions are available (from 
php_gnokii.h):
  * gnokii_open
  * gnokii_putfile
  * gnokii_reset
+ * gnokii_sendsms
  * gnokii_version
 
 The following PHP constants are available (from libgnokii_const.c):
diff --git a/bindings/PHP/gnokii4php/gnokii.c b/bindings/PHP/gnokii4php/gnokii.c
index c6ef233..69c0c29 100644
--- a/bindings/PHP/gnokii4php/gnokii.c
+++ b/bindings/PHP/gnokii4php/gnokii.c
@@ -57,6 +57,7 @@ static function_entry gnokii_functions[] = {
        PHP_FE(gnokii_getsmsstatus, NULL)
        PHP_FE(gnokii_getsms, NULL)
        PHP_FE(gnokii_deletesms, NULL)
+       PHP_FE(gnokii_sendsms, NULL)
        /* from other.c */
        PHP_FE(gnokii_listnetworks, NULL)
        PHP_FE(gnokii_getnetworkinfo, NULL)
diff --git a/bindings/PHP/gnokii4php/php_gnokii.h 
b/bindings/PHP/gnokii4php/php_gnokii.h
index 182c85f..62adb6d 100644
--- a/bindings/PHP/gnokii4php/php_gnokii.h
+++ b/bindings/PHP/gnokii4php/php_gnokii.h
@@ -63,6 +63,7 @@ PHP_FUNCTION(gnokii_getsmsc);
 PHP_FUNCTION(gnokii_getsmsstatus);
 PHP_FUNCTION(gnokii_getsms);
 PHP_FUNCTION(gnokii_deletesms);
+PHP_FUNCTION(gnokii_sendsms);
 /* from other.c */
 PHP_FUNCTION(gnokii_listnetworks);
 PHP_FUNCTION(gnokii_getnetworkinfo);
diff --git a/bindings/PHP/gnokii4php/sms.c b/bindings/PHP/gnokii4php/sms.c
index 69c38d0..46fac40 100644
--- a/bindings/PHP/gnokii4php/sms.c
+++ b/bindings/PHP/gnokii4php/sms.c
@@ -14,7 +14,7 @@
   along with this program, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
-  Copyright (c) 2006, 2008 by Daniele Forsi
+  Copyright (c) 2006, 2008, 2009 by Daniele Forsi
 
   SMS related functions for gnokii PHP extension.
 
@@ -151,7 +151,6 @@ PHP_FUNCTION(gnokii_getsms)
                message.smsc_time.timezone);
        datebuf[sizeof(datebuf)-1] = '\0';
        add_assoc_string(return_value, "datetime", datebuf, 1);
-
 }
 
 PHP_FUNCTION(gnokii_deletesms)
@@ -199,4 +198,55 @@ PHP_FUNCTION(gnokii_deletesms)
        RETURN_TRUE;
 }
 
+PHP_FUNCTION(gnokii_sendsms)
+{
+       char *number, *text;
+       int number_len, text_len, j;
+       struct gn_statemachine *state;
+       gn_sms sms;
+       gn_data data;
+       gn_error error;
+
+       FETCH_NOT_NULL(state);
+
+       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &number, 
&number_len, &text, &text_len) == FAILURE) {
+               RETURN_NULL();
+       }
+       if (number_len >= sizeof(sms.remote.number)) {
+               RETURN_NULL();
+       }
+       if (text_len > 255 * 153) {
+               RETURN_NULL();
+       }
+
+       /* The memory is zeroed here */
+       gn_sms_default_submit(&sms);
+
+       snprintf(sms.remote.number, sizeof(sms.remote.number), "%s", number);
+       if (sms.remote.number[0] == '+')
+               sms.remote.type = GN_GSM_NUMBER_International;
+       else
+               sms.remote.type = GN_GSM_NUMBER_Unknown;
+
+       memcpy(sms.user_data[0].u.text, text, text_len);
+       sms.user_data[0].length = text_len;
+
+       sms.user_data[0].type = GN_SMS_DATA_Text;
+       if (!gn_char_def_alphabet(sms.user_data[0].u.text))
+               sms.dcs.u.general.alphabet = GN_SMS_DCS_UCS2;
+       sms.user_data[1].type = GN_SMS_DATA_None;
+
+       gn_data_clear(&data);
+       data.sms = &sms;
+
+       error = gn_sms_send(&data, state);
+       LASTERROR(state, error);
+       if (error != GN_ERR_NONE) {
+               RETURN_NULL();
+       }
 
+       array_init(return_value);
+       for (j = 0; j < sms.parts; j++) {
+               add_next_index_long(return_value, sms.reference[j]);
+       }
+}

http://git.savannah.gnu.org/cgit/gnokii/gnokii-extras.gitcommit/?id=f3e4435e27b07fe4d50dd0b37205d4bf7dd34966

commit f3e4435e27b07fe4d50dd0b37205d4bf7dd34966
Author: Daniele Forsi <address@hidden>
Date:   Thu Sep 24 22:45:43 2009 +0200

    Add gnokii_deletefile, gnokii_getfile, gnokii_getfilelist and gnokii_putfile

diff --git a/bindings/PHP/gnokii4php/.gitignore 
b/bindings/PHP/gnokii4php/.gitignore
index bf80887..9bc0f07 100644
--- a/bindings/PHP/gnokii4php/.gitignore
+++ b/bindings/PHP/gnokii4php/.gitignore
@@ -17,6 +17,7 @@ config.status
 config.sub
 configure
 configure.in
+file.lo
 gnokii.la
 gnokii.lo
 include
diff --git a/bindings/PHP/gnokii4php/ChangeLog 
b/bindings/PHP/gnokii4php/ChangeLog
index 6a65f83..c265fd5 100644
--- a/bindings/PHP/gnokii4php/ChangeLog
+++ b/bindings/PHP/gnokii4php/ChangeLog
@@ -1,8 +1,14 @@
+0.0.12
+======
+
+* PHP functions
+  o add gnokii_deletefile, gnokii_getfile, gnokii_getfilelist and 
gnokii_putfile
+
 0.0.11
 ======
 
 * Build system
-  o fix compilation when ZTS isn't defined (ie when Thread Safety id disabled)
+  o fix compilation when ZTS isn't defined (ie when Thread Safety is disabled)
 
 * Examples
   o add --config and --phone options (order is important!)
diff --git a/bindings/PHP/gnokii4php/README b/bindings/PHP/gnokii4php/README
index de463bd..fa06da3 100644
--- a/bindings/PHP/gnokii4php/README
+++ b/bindings/PHP/gnokii4php/README
@@ -98,8 +98,11 @@ III. PHP Functions and Constants
 The following PHP functions are available (from php_gnokii.h):
 
  * gnokii_close
+ * gnokii_deletefile
  * gnokii_deletephonebook
  * gnokii_deletesms
+ * gnokii_getfile
+ * gnokii_getfilelist
  * gnokii_getmemorystatus
  * gnokii_getnetworkinfo
  * gnokii_getphonebook
@@ -111,6 +114,7 @@ The following PHP functions are available (from 
php_gnokii.h):
  * gnokii_listnetworks
  * gnokii_netmonitor
  * gnokii_open
+ * gnokii_putfile
  * gnokii_reset
  * gnokii_version
 
diff --git a/bindings/PHP/gnokii4php/config.m4 
b/bindings/PHP/gnokii4php/config.m4
index e47afeb..1d53610 100644
--- a/bindings/PHP/gnokii4php/config.m4
+++ b/bindings/PHP/gnokii4php/config.m4
@@ -6,6 +6,6 @@ PHP_ARG_ENABLE(gnokii, whether to enable gnokii support,
 if test "$PHP_GNOKII" = "yes"; then
   AC_DEFINE(HAVE_GNOKII, 1, [Whether you have gnokii])
   LDFLAGS="$(pkg-config --libs gnokii)"
-  PHP_NEW_EXTENSION(gnokii, gnokii.c libgnokii_const.c monitor.c other.c 
phonebook.c sms.c, $ext_shared)
+  PHP_NEW_EXTENSION(gnokii, gnokii.c libgnokii_const.c file.c monitor.c 
other.c phonebook.c sms.c, $ext_shared)
 fi
 
diff --git a/bindings/PHP/gnokii4php/file.c b/bindings/PHP/gnokii4php/file.c
new file mode 100644
index 0000000..fee8793
--- /dev/null
+++ b/bindings/PHP/gnokii4php/file.c
@@ -0,0 +1,199 @@
+/* $Id$
+
+  This program is free software; you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation; either version 2 of the License, or
+  (at your option) any later version.
+
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+
+  You should have received a copy of the GNU General Public License
+  along with this program, write to the Free Software
+  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+
+  Copyright (c) 2009 by Daniele Forsi
+
+  File related functions for gnokii PHP extension.
+
+*/
+
+#include "php_gnokii.h"
+
+ZEND_DECLARE_MODULE_GLOBALS(gnokii)
+
+/**
+ * gn_file2array - populate a PHP associative array with file information
+*/
+static gn_file2array(gn_file *fi, zval *array){
+       char datebuf[27];
+
+       add_assoc_long(array, "filetype", fi->filetype);
+       if (fi->id)
+               add_assoc_string(array, "id", fi->id, 1);
+       if (fi->name)
+               add_assoc_string(array, "name", fi->name, 1);
+       /* do NOT translate this date format */
+       snprintf(datebuf, sizeof(datebuf), "%02d/%02d/%04d %02d:%02d:%02d 
%+03d00", \
+               fi->day, fi->month, fi->year, \
+               fi->hour, fi->minute, fi->second, \
+               0 /* timezone */);
+       datebuf[sizeof(datebuf)-1] = '\0';
+       add_assoc_string(array, "datetime", datebuf, 1);
+       add_assoc_long(array, "folderId", fi->folderId);
+       add_assoc_long(array, "file_length", fi->file_length);
+}
+
+PHP_FUNCTION(gnokii_getfile)
+{
+       char *filename;
+       int filename_len;
+       gn_file fi;
+       gn_data data;
+       gn_error error;
+       struct gn_statemachine *state;
+
+       FETCH_NOT_NULL(state);
+
+       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, 
&filename_len) == FAILURE) {
+               RETURN_NULL();
+       }
+
+       gn_data_clear(&data);
+       data.file = &fi;
+       memset(&fi, 0, sizeof(fi));
+       snprintf(fi.name, 512, "%s", filename);
+       /* filename too long? */
+       if (fi.name[511]) {
+               RETURN_NULL();
+       }
+       data.progress_indication = NULL;
+
+       error = gn_sm_functions(GN_OP_GetFile, &data, state);
+       LASTERROR(state, error);
+       if (error != GN_ERR_NONE) {
+               RETURN_NULL();
+       }
+
+       array_init(return_value);
+       gn_file2array(&fi, return_value);
+       add_assoc_stringl(return_value, "file", fi.file, fi.file_length, 1);
+}
+
+PHP_FUNCTION(gnokii_getfilelist)
+{
+       char *path;
+       int path_len;
+       gn_file_list fl;
+       gn_data data;
+       gn_error error;
+       struct gn_statemachine *state;
+       int i;
+       zval *subarray;
+
+       FETCH_NOT_NULL(state);
+
+       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &path, 
&path_len) == FAILURE) {
+               RETURN_NULL();
+       }
+
+       gn_data_clear(&data);
+       data.file_list = &fl;
+       memset(&fl, 0, sizeof(fl));
+       snprintf(fl.path, sizeof(fl.path), "%s", path);
+       /* filename too long? */
+       if (fl.path[sizeof(fl.path)]) {
+               RETURN_NULL();
+       }
+       data.progress_indication = NULL;
+
+       error = gn_sm_functions(GN_OP_GetFileList, &data, state);
+       LASTERROR(state, error);
+       if (error != GN_ERR_NONE) {
+               RETURN_NULL();
+       }
+
+       array_init(return_value);
+       for (i = 0; i < fl.file_count; i++) {
+               MAKE_STD_ZVAL(subarray);
+               array_init(subarray);
+               gn_file2array(fl.files[i], subarray);
+               add_next_index_zval(return_value, subarray);
+               free(fl.files[i]);
+       }
+}
+
+PHP_FUNCTION(gnokii_deletefile)
+{
+       char *filename;
+       int filename_len;
+       gn_file fi;
+       gn_data data;
+       gn_error error;
+       struct gn_statemachine *state;
+
+       FETCH_NOT_NULL(state);
+
+       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &filename, 
&filename_len) == FAILURE) {
+               RETURN_NULL();
+       }
+
+       gn_data_clear(&data);
+       data.file = &fi;
+       memset(&fi, 0, sizeof(fi));
+       snprintf(fi.name, 512, "%s", filename);
+       /* filename too long? */
+       if (fi.name[511]) {
+               RETURN_NULL();
+       }
+       data.progress_indication = NULL;
+
+       error = gn_sm_functions(GN_OP_DeleteFile, &data, state);
+       LASTERROR(state, error);
+       if (error != GN_ERR_NONE) {
+               RETURN_NULL();
+       }
+
+       RETURN_TRUE;
+}
+
+PHP_FUNCTION(gnokii_putfile)
+{
+       char *filename;
+       int filename_len;
+       char *file;
+       int file_len;
+       gn_file fi;
+       gn_data data;
+       gn_error error;
+       struct gn_statemachine *state;
+
+       FETCH_NOT_NULL(state);
+
+       if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &filename, 
&filename_len, &file, &file_len) == FAILURE) {
+               RETURN_NULL();
+       }
+
+       gn_data_clear(&data);
+       data.file = &fi;
+       memset(&fi, 0, sizeof(fi));
+       snprintf(fi.name, 512, "%s", filename);
+       /* filename too long? */
+       if (fi.name[511]) {
+               RETURN_NULL();
+       }
+       data.progress_indication = NULL;
+
+       fi.file_length = file_len;
+       fi.file = file;
+
+       error = gn_sm_functions(GN_OP_PutFile, &data, state);
+       LASTERROR(state, error);
+       if (error != GN_ERR_NONE) {
+               RETURN_NULL();
+       }
+
+       RETURN_TRUE;
+}
diff --git a/bindings/PHP/gnokii4php/gnokii.c b/bindings/PHP/gnokii4php/gnokii.c
index 86ad408..c6ef233 100644
--- a/bindings/PHP/gnokii4php/gnokii.c
+++ b/bindings/PHP/gnokii4php/gnokii.c
@@ -34,6 +34,11 @@ int le_gnokii_config_persist;
 ZEND_DECLARE_MODULE_GLOBALS(gnokii)
 
 static function_entry gnokii_functions[] = {
+       /* from file.c */
+       PHP_FE(gnokii_getfile, NULL)
+       PHP_FE(gnokii_getfilelist, NULL)
+       PHP_FE(gnokii_deletefile, NULL)
+       PHP_FE(gnokii_putfile, NULL)
        /* from gnokii.c */
        PHP_FE(gnokii_open, NULL)
        PHP_FE(gnokii_close, NULL)
diff --git a/bindings/PHP/gnokii4php/php_gnokii.h 
b/bindings/PHP/gnokii4php/php_gnokii.h
index 0fbeed5..182c85f 100644
--- a/bindings/PHP/gnokii4php/php_gnokii.h
+++ b/bindings/PHP/gnokii4php/php_gnokii.h
@@ -7,7 +7,7 @@
 #include "config.h"
 #endif
 
-#define PHP_GNOKII_EXT_VERSION "0.0.11"
+#define PHP_GNOKII_EXT_VERSION "0.0.12"
 #define PHP_GNOKII_EXT_NAME "gnokii"
 #define PHP_GNOKII_ABI_VERSION "1.1.0"
 
@@ -40,6 +40,11 @@ PHP_MINIT_FUNCTION(gnokii);
 PHP_MSHUTDOWN_FUNCTION(gnokii);
 PHP_RINIT_FUNCTION(gnokii);
 
+/* from file.c */
+PHP_FUNCTION(gnokii_getfile);
+PHP_FUNCTION(gnokii_getfilelist);
+PHP_FUNCTION(gnokii_deletefile);
+PHP_FUNCTION(gnokii_putfile);
 /* from gnokii.c */
 PHP_FUNCTION(gnokii_open);
 PHP_FUNCTION(gnokii_close);

http://git.savannah.gnu.org/cgit/gnokii/gnokii-extras.gitcommit/?id=1bae271c718c3defb202c8b3c51e561c4dfd145b

commit 1bae271c718c3defb202c8b3c51e561c4dfd145b
Author: Daniele Forsi <address@hidden>
Date:   Thu Sep 24 22:35:01 2009 +0200

    Simplify build instructions for debian-like distributions and try to 
improve overall explanation

diff --git a/bindings/PHP/gnokii4php/README b/bindings/PHP/gnokii4php/README
index f4532cd..de463bd 100644
--- a/bindings/PHP/gnokii4php/README
+++ b/bindings/PHP/gnokii4php/README
@@ -5,44 +5,83 @@ III. PHP Functions and Constants
 
 I. How To Compile and Install
 
-0. Uninstall PHP as it might interfere with the version you are going to 
compile
-   or you may use a --prefix at configure time of PHP
-1. Download gnokii *sources* from gnokii.org (version 0.6.14 or later); compile
-   and install
-2. Get PHP4 or PHP5 *sources* from php.net
-3. If you want to debug this extension then configure PHP4 using
+If you already have PHP and gnokii installed in your system, either uninstall
+them or make sure you understand the implications of having two versions,
+possibly with different features.
+To avoid interference with currently installed versions, the examples below
+use a configure --prefix to install the new versions *outside* of the path, in
+the home directory, so there is no need to run make && sudo make install like
+when installing in a system directory.
+Use --prefix=/usr if you don't mind overwriting the versions installed by your
+distribution.
+
+1. Install libgnokii and its include files
+
+You only need libgnokii and the include files, but consider also installing
+gnokii so that you can compare your PHP programs with it.
+
+On a debian-like distribution you can run:
+  sudo apt-get install libgnokii3-dev
+This will install also all other dependencies including libgnokii3.
+To install gnokii:
+  sudo apt-get install gnokii-cli
+
+However since for obvious reasons stable distributions usually supply out of
+date versions, you should download the latest gnokii sources from the source
+repository, configure, compile and install (read the INSTALL file from gnokii
+for the dependencies).
+  ./configure --prefix=$HOME --enable-security
+  make -C common install && make -C include install
+Or, if you want to install everything:
+  make install
+
+2. Install PHP and its include files
+
+On a debian-like distribution you can run:
+  apt-get source php5-cli
+Note that files are downloaded in the current directory.
+If you prefer, get PHP4 or PHP5 sources from php.net.
+
+In the PHP sources directory run:
+  ./configure --prefix=$HOME --enable-discard-path
+The --enable-discard-path option is not strictly necessary but it can increase
+security if you use PHP as cgi.
+Add --with-apxs to use PHP as a module within Apache.
+If you want to debug this extension then configure PHP4 using
    --enable-debug --enable-experimental-zts
-   or configure PHP5 with
+or configure PHP5 with
    --enable-debug --enable-maintainer-zts
-   If you plan to use PHP with Apache then add --with-apxs
+Add any other option that you need
 
-  ./configure --with-apxs --enable-debug --enable-experimental-zts 
--prefix=/usr
-  make && sudo make install
+You can install everything (make install), but you just need:
+  make install-programs
+  make install-headers
+  make install-build
+  make install-cli
 
-Compiling this version has been tested with PHP 4.4.4 and PHP 5.2.6 only after 
-installing PHP from source with debug options enabled.
-Note that this might replace the existant php executable and break your
-current install because extensions are searched in a subdirectory of the
-source tree, that's why I suggest to uninstall PHP in the first step.
+3. Install the gnokii4php extension
 
-4. Untar the extension sources inside php-x.y.z/ext then configure, compile and
-   install
+Compiling this version has been tested with PHP 4.4.4 and PHP 5.2.6 only after
+installing PHP from source with and without debug options enabled.
 
 If you added a --prefix at configure time of PHP, now you need to specify the
 full path to phpize and pass the full filename of php-config using the
 --with-php-config option of configure.
 
-  cd gnokii
-  phpize
-  ./configure --enable-gnokii
-  make && sudo make install
+  $HOME/bin/phpize
+  ./configure --enable-gnokii --with-php-config=$HOME/bin/php-config
+  make install
 
-5. Test
-  php -r 'dl("gnokii.so"); gnokii_open(); print_r( gnokii_identify() );'
+4. Test
+  $HOME/bin/php -r 'dl("gnokii.so"); gnokii_open(); print_r( gnokii_identify() 
);'
 
+5. Examples
+
+See the examples/ directory.
 Most of the code dealing with libgnokii is taken or inspired by gnokii so the
-programs in the example directory should give the same results as commandline
-gnokii.
+programs in the example directory should give results similar or identical to
+commandline gnokii.
+
 
 II. Note About Apache
 
@@ -53,6 +92,7 @@ extension=gnokii.so
 in the section "Dynamic Extensions" because you cannot load it
 using dl() inside the script in a threaded server.
 
+
 III. PHP Functions and Constants
 
 The following PHP functions are available (from php_gnokii.h):

http://git.savannah.gnu.org/cgit/gnokii/gnokii-extras.gitcommit/?id=dffda079c6c8c7c09554494826cb142181f14c4b

commit dffda079c6c8c7c09554494826cb142181f14c4b
Author: Daniele Forsi <address@hidden>
Date:   Thu Sep 24 22:26:28 2009 +0200

    Globally rename .cvsignore files as .gitignore

diff --git a/bindings/PHP/gnokii4php/.cvsignore 
b/bindings/PHP/gnokii4php/.gitignore
similarity index 100%
rename from bindings/PHP/gnokii4php/.cvsignore
rename to bindings/PHP/gnokii4php/.gitignore
diff --git a/snippets/calendar/.cvsignore b/snippets/calendar/.gitignore
similarity index 100%
rename from snippets/calendar/.cvsignore
rename to snippets/calendar/.gitignore
diff --git a/snippets/internals/.cvsignore b/snippets/internals/.gitignore
similarity index 100%
rename from snippets/internals/.cvsignore
rename to snippets/internals/.gitignore
diff --git a/snippets/misc/.cvsignore b/snippets/misc/.gitignore
similarity index 100%
rename from snippets/misc/.cvsignore
rename to snippets/misc/.gitignore
diff --git a/snippets/monitor/.cvsignore b/snippets/monitor/.gitignore
similarity index 100%
rename from snippets/monitor/.cvsignore
rename to snippets/monitor/.gitignore
diff --git a/snippets/other/.cvsignore b/snippets/other/.gitignore
similarity index 100%
rename from snippets/other/.cvsignore
rename to snippets/other/.gitignore
diff --git a/snippets/phonebook/.cvsignore b/snippets/phonebook/.gitignore
similarity index 100%
rename from snippets/phonebook/.cvsignore
rename to snippets/phonebook/.gitignore
diff --git a/snippets/sms/.cvsignore b/snippets/sms/.gitignore
similarity index 100%
rename from snippets/sms/.cvsignore
rename to snippets/sms/.gitignore

-----------------------------------------------------------------------

Summary of changes:
 bindings/PHP/gnokii4php/{.cvsignore => .gitignore} |    1 +
 bindings/PHP/gnokii4php/ChangeLog                  |    9 +-
 bindings/PHP/gnokii4php/README                     |   98 +++++++---
 bindings/PHP/gnokii4php/config.m4                  |    2 +-
 bindings/PHP/gnokii4php/file.c                     |  199 ++++++++++++++++++++
 bindings/PHP/gnokii4php/gnokii.c                   |    6 +
 bindings/PHP/gnokii4php/php_gnokii.h               |    8 +-
 bindings/PHP/gnokii4php/sms.c                      |   54 +++++-
 snippets/calendar/{.cvsignore => .gitignore}       |    0
 snippets/internals/{.cvsignore => .gitignore}      |    0
 snippets/misc/{.cvsignore => .gitignore}           |    0
 snippets/monitor/{.cvsignore => .gitignore}        |    0
 snippets/other/{.cvsignore => .gitignore}          |    0
 snippets/phonebook/{.cvsignore => .gitignore}      |    0
 snippets/sms/{.cvsignore => .gitignore}            |    0
 15 files changed, 347 insertions(+), 30 deletions(-)
 rename bindings/PHP/gnokii4php/{.cvsignore => .gitignore} (97%)
 create mode 100644 bindings/PHP/gnokii4php/file.c
 rename snippets/calendar/{.cvsignore => .gitignore} (100%)
 rename snippets/internals/{.cvsignore => .gitignore} (100%)
 rename snippets/misc/{.cvsignore => .gitignore} (100%)
 rename snippets/monitor/{.cvsignore => .gitignore} (100%)
 rename snippets/other/{.cvsignore => .gitignore} (100%)
 rename snippets/phonebook/{.cvsignore => .gitignore} (100%)
 rename snippets/sms/{.cvsignore => .gitignore} (100%)


hooks/post-receive
-- 
Additional programs and language bindings




reply via email to

[Prev in Thread] Current Thread [Next in Thread]