gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Fri Feb 16 22:56:19 EST 2024


Updated	 via  https://github.com/Gnucash/gnucash/commit/f0dc23a6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/907667df (commit)
	from  https://github.com/Gnucash/gnucash/commit/dcbd1bfb (commit)



commit f0dc23a60c18234bd10915c5d3fe12dd88d2a1b6
Merge: dcbd1bfba6 907667df01
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Feb 16 19:55:31 2024 -0800

    Merge Brian RAter's 'import_file_headers' into stable.


commit 907667df01adb538d7e8e2a07438418e33168759
Author: BLR <blrnh94 at gmail.com>
Date:   Tue Feb 13 20:03:21 2024 -0500

    Adding missing file headers in import source files.

diff --git a/gnucash/import-export/csv-imp/gnc-tokenizer-csv.cpp b/gnucash/import-export/csv-imp/gnc-tokenizer-csv.cpp
index 5a8aa93e92..65523c1f50 100644
--- a/gnucash/import-export/csv-imp/gnc-tokenizer-csv.cpp
+++ b/gnucash/import-export/csv-imp/gnc-tokenizer-csv.cpp
@@ -1,3 +1,27 @@
+/********************************************************************\
+ * gnc-tokenizer-csv.cpp - takes a csv file and converts it into a  *
+ *                         two-dimensional vector of strings (table)*
+ *                                                                  *
+ *  Copyright (C) 2015 Geert Janssens <geert at kobaltwit.be>          *
+ *                                                                  *
+ * 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; if not, contact:                        *
+ *                                                                  *
+ * Free Software Foundation           Voice:  +1-617-542-5942       *
+ * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
+ * Boston, MA  02110-1301,  USA       gnu at gnu.org                   *
+\********************************************************************/
+
 #include "gnc-tokenizer-csv.hpp"
 
 #include <iostream>
diff --git a/gnucash/import-export/csv-imp/gnc-tokenizer-dummy.cpp b/gnucash/import-export/csv-imp/gnc-tokenizer-dummy.cpp
index 1da593b3d7..a1f5a14d73 100644
--- a/gnucash/import-export/csv-imp/gnc-tokenizer-dummy.cpp
+++ b/gnucash/import-export/csv-imp/gnc-tokenizer-dummy.cpp
@@ -1,3 +1,28 @@
+/********************************************************************\
+ * gnc-tokenizer-dummy.cpp - takes a file and converts it into a    *
+ *                        two-dimensional vector of strings (table) *
+ *                        each row will only have one single column *
+ *                                                                  *
+ * Copyright (C) 2016 Geert Janssens <geert at kobaltwit.be>           *
+ *                                                                  *
+ * 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; if not, contact:                        *
+ *                                                                  *
+ * Free Software Foundation           Voice:  +1-617-542-5942       *
+ * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
+ * Boston, MA  02110-1301,  USA       gnu at gnu.org                   *
+\********************************************************************/
+
 #include "gnc-tokenizer-dummy.hpp"
 
 #include <iostream>
diff --git a/gnucash/import-export/csv-imp/gnc-tokenizer-fw.cpp b/gnucash/import-export/csv-imp/gnc-tokenizer-fw.cpp
index 9ec861289c..f192884c31 100644
--- a/gnucash/import-export/csv-imp/gnc-tokenizer-fw.cpp
+++ b/gnucash/import-export/csv-imp/gnc-tokenizer-fw.cpp
@@ -1,3 +1,29 @@
+/********************************************************************\
+ * gnc-tokenizer-fw.cpp - takes a file and converts it into a       *
+ *                        two-dimensional vector of strings (table) *
+ *                        splitting the contents on fixed width     *
+ *                        positions                                 *
+ *                                                                  *
+ * Copyright (C) 2015 Geert Janssens <geert at kobaltwit.be>           *
+ *                                                                  *
+ * 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; if not, contact:                        *
+ *                                                                  *
+ * Free Software Foundation           Voice:  +1-617-542-5942       *
+ * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
+ * Boston, MA  02110-1301,  USA       gnu at gnu.org                   *
+\********************************************************************/
+
 #include "gnc-tokenizer-fw.hpp"
 
 #include <iostream>
diff --git a/gnucash/import-export/csv-imp/gnc-tokenizer.cpp b/gnucash/import-export/csv-imp/gnc-tokenizer.cpp
index 5c1e054382..8dc6b450eb 100644
--- a/gnucash/import-export/csv-imp/gnc-tokenizer.cpp
+++ b/gnucash/import-export/csv-imp/gnc-tokenizer.cpp
@@ -1,3 +1,27 @@
+/********************************************************************\
+ * gnc-tokenizer.cpp - base class for converting a text file into a *
+ *                     two-dimensional vector of strings (table)    *
+ *                                                                  *
+ * Copyright (C) 2015 Geert Janssens <geert at kobaltwit.be>           *
+ *                                                                  *
+ * 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; if not, contact:                        *
+ *                                                                  *
+ * Free Software Foundation           Voice:  +1-617-542-5942       *
+ * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
+ * Boston, MA  02110-1301,  USA       gnu at gnu.org                   *
+\********************************************************************/
+
 #include "gnc-tokenizer.hpp"
 #include "gnc-tokenizer-csv.hpp"
 #include "gnc-tokenizer-dummy.hpp"
diff --git a/gnucash/import-export/csv-imp/test/gtest-gnc-imp-props-tx.cpp b/gnucash/import-export/csv-imp/test/gtest-gnc-imp-props-tx.cpp
index 7981453eec..7b1979f141 100644
--- a/gnucash/import-export/csv-imp/test/gtest-gnc-imp-props-tx.cpp
+++ b/gnucash/import-export/csv-imp/test/gtest-gnc-imp-props-tx.cpp
@@ -1,3 +1,27 @@
+/********************************************************************\
+ * gtest-gnc-imp-props-tx.cpp - Tests using fixture                 *
+ *                              GncImpPropsTxTest                   *
+ *                                                                  *
+ * Copyright (c) 2015 Geert Janssens <geert at kobaltwit.be>           *
+ *                                                                  *
+ * 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; if not, contact:                        *
+ *                                                                  *
+ * Free Software Foundation           Voice:  +1-617-542-5942       *
+ * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
+ * Boston, MA  02110-1301,  USA       gnu at gnu.org                   *
+\********************************************************************/
+
 #include <gtest/gtest.h>
 
 #include <config.h>
diff --git a/gnucash/import-export/test/gtest-import-backend.cpp b/gnucash/import-export/test/gtest-import-backend.cpp
index 3cdfbdd9f6..554c011142 100644
--- a/gnucash/import-export/test/gtest-import-backend.cpp
+++ b/gnucash/import-export/test/gtest-import-backend.cpp
@@ -1,3 +1,26 @@
+/********************************************************************\
+ * gtest-import-backend.cpp - Tests for import-backend              *
+ *                                                                  *
+ * Copyright (c) 2020 Christian Gruber                              *
+ *                                                                  *
+ * 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; if not, contact:                        *
+ *                                                                  *
+ * Free Software Foundation           Voice:  +1-617-542-5942       *
+ * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
+ * Boston, MA  02110-1301,  USA       gnu at gnu.org                   *
+\********************************************************************/
+
 #include <gtk/gtk.h>
 #include <gtest/gtest.h>
 #include <gmock/gmock.h>
diff --git a/gnucash/import-export/test/test-import-pending-matches.cpp b/gnucash/import-export/test/test-import-pending-matches.cpp
index d98c56f8fa..3f57568c3b 100644
--- a/gnucash/import-export/test/test-import-pending-matches.cpp
+++ b/gnucash/import-export/test/test-import-pending-matches.cpp
@@ -1,3 +1,27 @@
+/********************************************************************\
+ * test-import-pending-matches.cpp - Tests for                      *
+ *                                   import-pending-matches         *
+ *                                                                  *
+ * Copyright (c) 2017 Jesse Olmer                                   *
+ *                                                                  *
+ * 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; if not, contact:                        *
+ *                                                                  *
+ * Free Software Foundation           Voice:  +1-617-542-5942       *
+ * 51 Franklin Street, Fifth Floor    Fax:    +1-617-542-2652       *
+ * Boston, MA  02110-1301,  USA       gnu at gnu.org                   *
+\********************************************************************/
+
 #include <glib.h>
 #include <gtk/gtk.h> /* for references in import-backend.h */
 



Summary of changes:
 .../import-export/csv-imp/gnc-tokenizer-csv.cpp    | 24 ++++++++++++++++++++
 .../import-export/csv-imp/gnc-tokenizer-dummy.cpp  | 25 +++++++++++++++++++++
 gnucash/import-export/csv-imp/gnc-tokenizer-fw.cpp | 26 ++++++++++++++++++++++
 gnucash/import-export/csv-imp/gnc-tokenizer.cpp    | 24 ++++++++++++++++++++
 .../csv-imp/test/gtest-gnc-imp-props-tx.cpp        | 24 ++++++++++++++++++++
 .../import-export/test/gtest-import-backend.cpp    | 23 +++++++++++++++++++
 .../test/test-import-pending-matches.cpp           | 24 ++++++++++++++++++++
 7 files changed, 170 insertions(+)



More information about the gnucash-changes mailing list