libtabula

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

34 descendants and 50 ancestors of [ac763fd4ac]

2018-10-28
11:53
Forward-ported all of the differences between MySQL++ 3.2.1 (the point where libtabula originally forked off) and the current trunk version, which includes changes made after the release of MySQL++ 3.2.4. Leaf check-in: 6c22637ceb user: tangent tags: trunk
11:08
Dropped throw-specs, that being one of the things we always wanted to do for "MySQL++ 4.0". This obviates the porting of the MAY_THROW() stuff from MySQL++ 3.2.x. check-in: bc21e10c05 user: tangent tags: trunk
10:47
Updated the Doxyfile.in files for Doxygen 1.8.14. check-in: f3a0657c56 user: tangent tags: trunk
2018-10-27
07:30
Fixed references to README-Mac-OS-X.md check-in: e8696effde user: tangent tags: trunk
07:27
Renamed README-Mac-OS-X.md to README-macOS.md. check-in: 5b39c725dd user: tangent tags: trunk
05:58
Added logo check-in: 318e53556b user: tangent tags: trunk
2017-06-29
02:59
Updated our HACKERS.md file to be consistent with the newly-Fossilized MySQL++ HACKERS.md file. check-in: 60f47c604d user: tangent tags: trunk
2016-02-06
10:22
Whitespace fix check-in: fa93a19a0a user: tangent tags: trunk
10:02
Added a missing library check-in: 9e56dd977c user: tangent tags: trunk
2015-12-21
02:10
Added a FIXME comment check-in: 01622c2244 user: tangent tags: trunk
2015-12-18
23:29
Copying the refcounted pointer to the FieldNames object in Row::operator =() instead of copying the field names. We can share the object. check-in: 1e03cb233c user: tangent tags: trunk
22:42
Removed need for Impl parameter to ResultBase::fetch_row() and its derivatives. ResultBase can provide the implementation object to the DBDriver layer, which is the only code that needed this. check-in: 3f91a82d13 user: tangent tags: trunk
22:24
STL on OS X can't cope with vector::at() assignments when the space has only been set aside with vector::reserve(). It wants either a resize() call to set the space aside definitely, or push_back() to extend the vector into the reserved space. (This is probably a sanity check like the old SafeSTL, rather than an actual memory bug, but it has the same effect as a crash.) check-in: 24d069b506 user: tangent tags: trunk
2015-09-11
19:04
Simplified the C++ feature testing mechanism some check-in: 05f15e2b1c user: etr tags: trunk
18:47
Moved the configure_file() calls to the bottom of the top-level CMakeLists.txt file so they're after the recently-added C++11 tests. Otherwise, the wrong values get stored in src/config.h, and it can toggle on you, too. check-in: 650133871e user: etr tags: trunk
18:41
Added another C++11 test using the same mechanism from the previous one, this time for the cbegin/cend iterators, required on EL7, but which break the build on EL5's default GCC 4.1.2 compiler. Now we use them if present, and not if not. check-in: 9069ab8ffb user: etr tags: trunk
18:30
Added a test for C++11's "long long" data type, which we use in defining sql_* data types. Previously, we blindly assumed the C++ compiler also supported C99's "long long" even though C++98 and C++03 don't require it, which in turn required a couple of levels of fall-back for the cases where the C++ compiler didn't have that extension. Now that it's finally part of C++, we can just check for it. check-in: dd77d4c60e user: etr tags: trunk
2015-09-03
14:37
. check-in: 22689bd7dc user: etr tags: trunk
2015-08-15
10:11
Fixed some errors introduced in the recent merge check-in: 7e59757bd5 user: tangent tags: trunk
09:35
Merged row-pimpl branch into trunk: moves one of the last few remaining MySQLisms on the trunk down into the MySQLDBDriver layer. check-in: be382a7009 user: tangent tags: trunk
09:32
Merged trunk changes in Closed-Leaf check-in: 4e189f92a7 user: tangent tags: row-pimpl
09:24
Removed a FIXME comment: its proposed "fix" doesn't work. check-in: 381f8225d9 user: tangent tags: row-pimpl
09:21
The crash that prompted the creation of the row-pimpl branch was due to calling Row.size() before Row was initialized. This old MYSQL_ROW base implementation copes with this, but the new branch will try to dereference a null pointer to its nonexistent implementation object. Guarding this and a few other paths so we don't try to use that smart pointer if we aren't initialized yet.

(This change should have been made on the row-pimpl branch, but it also works against trunk, where it amounts to belt-and-suspenders.) check-in: bd141d86c6 user: tangent tags: trunk

09:15
Documented the method for enabling a debug build on *ix check-in: 2a3b9252e1 user: tangent tags: trunk
09:10
Merged trunk changes in check-in: d80e2d46a2 user: tangent tags: row-pimpl
09:09
Added lldb to the list of tools exrun can make use of, so we don't have to install gdb on OS X. Also made a few other tweaks to it while in there. check-in: 21b6f7c6f5 user: tangent tags: trunk
08:51
Merged dtest-to-ctest branch into trunk. (It only had to branch to avoid a fork.) check-in: 518f8d3962 user: tangent tags: trunk
08:50
First cut at making Row take a Row::Impl as its first argument instead of a MYSQL_ROW, with all the MySQL C API conversion code moving into MySQLDBDriver. It builds, but test/array_index segfaults. check-in: f9e573bf51 user: tangent tags: row-pimpl
2015-08-14
23:45
Fixed some overzealous "MySQL" -> "libtabula" references, and clarified some details about the development history in the CREDITS.md file. check-in: 9e7ac4fc37 user: tangent tags: trunk
23:34
Fixed a bunch of references to *.txt, which should be *.md now. check-in: 91de75b98b user: tangent tags: trunk
23:23
Typo fix in a comment check-in: ebb9a16682 user: tangent tags: trunk
19:02
Added a CTest-based "test" top-level target which currently only runs dtest. We still have the top-level dtest target since "test" suppresses output, and that's important for debugging the integration tests. The plan now is to move the unit tests out of dtest into CTest, so that dtest returns to its classic (MySQL++ 2.x?) form, doing integration tests only. Closed-Leaf check-in: 869873f020 user: etr tags: dtest-to-ctest
18:54
The dtest script now returns nonzero on error, so callers can tell whether it succeeded. The reason will be clear soon. check-in: 940bd74363 user: etr tags: dtest-to-ctest
06:23
Squished a clang warning about an unused parameter reported on the MySQL++ mailing list by João M. S. Silva. check-in: d076442415 user: tangent tags: trunk
06:08
Merged mysql-type-info branch into trunk, now that dtest runs to completion on two major platforms and all FIXME comments are dealt with. check-in: ac763fd4ac user: tangent tags: trunk
06:05
Merged the contents of a FIXME comment into the relevant Wishlist item. Closed-Leaf check-in: 06939e737d user: tangent tags: mysql-type-info
06:01
Comment fix check-in: 69c9023a1a user: tangent tags: mysql-type-info
06:00
Removed an unnneded method check-in: 102fa4f726 user: tangent tags: mysql-type-info
05:57
One of the sql_types.h changes recently lost the fallback for no stdint at all, such as VC++ 2008 and earlier. check-in: 143d1ad0bd user: tangent tags: mysql-type-info
05:54
Removed an unneded ctor in the new MySQLFieldTypes class. check-in: 200397c3a7 user: tangent tags: mysql-type-info
05:52
Comment change check-in: 135cd93ba4 user: tangent tags: mysql-type-info
05:40
Merged trunk changes check-in: 5f36ef6682 user: tangent tags: mysql-type-info
05:39
Regenerated bmark.txt to remove CRs from cgi_jpeg output now that tests run to completion on OS X. (Earlier success report was on CentOS 5.) check-in: 3fa3f424bf user: tangent tags: trunk
05:29
Better fix for the old problem of how to distinguish a 1-parameter template query call to Query::store() and friends from a raw query string call, which allows it to do the right thing on OS X with Clang. Not sure why this doesn't affect MySQL++, but it doesn't. (Tested 3.2.2.) check-in: 5c2b34bee3 user: tangent tags: trunk
04:17
Added <tr1/cstdint> alternative between <cstdint> and <boost/cstdint.hpp> check-in: 169bdfd29a user: tangent tags: trunk
03:55
Merged trunk changes in check-in: f2cdede2a0 user: tangent tags: mysql-type-info
03:55
Dropped the versioned crnl-glob Fossil setting. All *.md and *.txt are now LF-only. check-in: c37cba89a5 user: tangent tags: trunk
03:54
examples/cgi_jpeg now modifies its output to use LF only in output when running under dtest so the bmark.txt output file doesn't have mixed line endings. There's no reason we have to speak legal HTTP in this case. check-in: 4234731834 user: tangent tags: trunk
03:43
Fixed an operator precedence complaint in the new field type matching code noticed by Clang. check-in: f8610afda3 user: tangent tags: mysql-type-info
2015-08-13
21:52
Fixed the quoted NULL value problem. The code wasn't checking for null values explicitly when building query strings, it was only checking the attributes of the data type. That is, it might ask something like, "Should sql_text_null be quoted", get "yes", and quote the value when building SQL query strings even when the value is a SQL NULL, and thus needs to go literally into the generated SQL.

MySQL++ must have gotten away without such code by playing some kind of game with the field type. This is a better way to do it.

Incidentally, this marks the first version of this branch that runs dtest to completion without diffs! A bit of cleanup, and we can merge it back into the trunk! check-in: e32649510e user: etr tags: mysql-type-info

2015-08-12
21:55
Merged trunk Wishlist changes again, and removed the type_info item from the DB independence section in anticipation of merging this branch into the trunk, since that's what this branch is addressing. check-in: e039e01875 user: etr tags: mysql-type-info
21:53
Removed "Initializing result set objects" from the "tricky bits" section of the Wishlist section on DB independence, since it now basically boils down to the Row and Field items just added, and those are more specific. check-in: 97073e9aa4 user: etr tags: trunk
21:46
Merged Wishlist.md change in check-in: a6baa231d9 user: etr tags: mysql-type-info
21:45
Noted that Field and Row are still intimately tied into the MySQL C API. check-in: dc744e7800 user: etr tags: trunk
02:19
Refactored the FieldType implementation details to reduce the amount of code duplication between the base type and the old TypeInfo class, greatly increasing the clarity of the code. This version is gives the same semi-broken test results as the previous checkin on this branch, so it's a good refactoring. :) check-in: c78d403f45 user: etr tags: mysql-type-info
2015-08-11
11:40
The std::type_info to FieldType mapping mechanism was purposely self-limiting itself to looking up "best guess" entries only, on the theory that since moving from MySQL C API data type enums to libtabula generic type enums we lost the uniquenss of the {FieldType::Base, FieldType::Flags} pair, that we should only look through the subset that has unique pairs. However, that logic only works when mapping from libtabula values *to* C++ data types, not the other way around, since all of the C++ type_info values in that table *are* unique.

Therefore, removed the check on the new "best guess" flag in FieldType::TypeMap::operator[] since it isn't helping us. Maybe we will use this flag later, if we add the reverse mapping; or, maybe we'll remove it on YAGNI grounds. check-in: 28f9d01b73 user: etr tags: mysql-type-info

03:32
Merged exrun OS X fixes in check-in: fb36fd8453 user: tangent tags: mysql-type-info
03:30
Updated OS X and Cygwin cases in exrun to match new CMake build system. (Linux was done previously.) check-in: cf319f7c5b user: tangent tags: trunk
2015-08-10
23:38
Merged trunk changes in check-in: 7d3a624647 user: etr tags: mysql-type-info
23:34
Moved the "tags" target to the top level. It's no use down in src. check-in: 0c16a98c03 user: etr tags: trunk
23:12
Manually merged the recent pthread changes from the mysql-type-info branch into trunk, where they should have been all along. check-in: e9bcb962a4 user: etr tags: trunk
22:38
Conditionally using Boost and C++11 cstdint header instead of C99's stdint.h for stock sql_* data types, where available. check-in: 72280af4f6 user: etr tags: trunk
21:54
Comment tweak check-in: 41713dfd16 user: etr tags: mysql-type-info
21:49
Put FieldType::ft_null case back into the static type mapping table. I removed it because I thought it was nonsense, since you can't have a "null column" in SQL, or if you can it makes no sense to do so. But, I didn't consider that the library needs a way to represent the type of a null _value_. check-in: 518f621ce8 user: etr tags: mysql-type-info
21:37
Raised MySQLFieldType::name(), sql_name() and c_type() back up to the FieldType level, since they no longer depend on MySQL-specific implementation details. Also hid an internal-only helper function. check-in: 63950facbb user: etr tags: mysql-type-info
20:38
Added a std::type_info ctor to String class, paralleling the version that takes a FieldType. This gets us around the double-conversion restriction on automatic C++ data type conversions, since we pass that type object to a SQLBuffer, which doesn't have an explicit ctor taking std::type_info, but it does have one taking FieldType, which can be constructed from std::type_info.

Not sure what we lost in all this MySQL type info refactoring that requires this where MySQL++ does not, but it's a simple fix for a real problem, so I'm not motivated to find out why MySQL++ could get away without it. check-in: 75d7e12a86 user: etr tags: mysql-type-info

20:34
Simplified examples' CMake build info the same as we just did for the test tree. check-in: 83e27bb0ba user: etr tags: mysql-type-info
17:42
Greatly simplified the test/CMakeLists.txt by using a loop and macro instead of a bunch of explicit targets, with all the redundant code that creates. As part of this, also moved to use of MYSQL_C_API_LIBRARY, as in previous checkin. check-in: d74f19163a user: etr tags: mysql-type-info
17:41
Using new MYSQL_C_API_LIBRARY macro in libtabula link step instead of an explicit mysqlclient_r. check-in: 301007b794 user: etr tags: mysql-type-info
2015-08-08
07:30
Fixed some more mysql_type_info stuff check-in: 4d92d34d84 user: tangent tags: mysql-type-info
07:26
Fixed several problems in the new FieldType mechanism, found now that we're actually trying to build it. :) check-in: 3ea24ed240 user: tangent tags: mysql-type-info
06:35
Added missing field_type.cpp check-in: d2ae8f5377 user: etr tags: mysql-type-info
2015-08-07
00:49
Proper fix for MYSQL_TYPE_*2 types check-in: 56e2ec90a9 user: tangent tags: mysql-type-info
2015-08-06
23:17
The CMake build system now detects the need for -lpthread and such, and auto-selects between libmysqlclient[_r] options based on whether a threading library was found. That is, we're choosing to drop the MySQL++ --enable-thread-check build feature and just enable thread awareness if it's possible here. check-in: 02d5267584 user: etr tags: mysql-type-info
23:09
Build fix for MySQL 5.1: new MYSQL_TYPE_* constants added to squish compiler warnings about unhandled cases with MariaDB 10 don't exist in older C libraries, so they have to be conditional. check-in: 22bc9089e2 user: etr tags: mysql-type-info
07:19
Genericized the MySQL type map stuff some more so that we can move most of it back up from the driver layer into the user-facing layer. (FieldType and such.) This change is the first that lets this branch compile, though not link.

This addresses [359c32123a] check-in: baaa9e942e user: etr tags: mysql-type-info

2015-07-23
12:31
Squished warnings about missing cases in the mapping of MySQL C API data types to C++ ones. Adds things like MYSQL_TYPE_NEWDATE in addition to ..._DATE. This change also adds a new FieldType::ft_unsupported enum value for data types that we simply do not support yet, such as MySQL's "geometry" and "bit" data types. check-in: 3cbc77152d user: etr tags: mysql-type-info
2015-05-27
06:27
Another whitespace fix check-in: 996a37c0d2 user: tangent tags: trunk
06:12
Minor improvements to branch discussion in HACKERS.md check-in: 62a92f89ba user: tangent tags: trunk
05:21
Added info on Fossil's diff and bundle features to HACKERS.md check-in: 2c6280a66f user: tangent tags: trunk
05:02
Added section on CMake build directories to HACKERS.md check-in: 6f18180b49 user: tangent tags: trunk
04:55
Whitespace fix check-in: 0049687b97 user: tangent tags: trunk
04:55
- Added info on developer access to the Fossil repo to the HACKERS.md file - Gave a cursory overview of branches in libtabula check-in: 841571143d user: tangent tags: trunk
2015-01-12
22:58
. check-in: 354ccf3c50 user: tangent tags: trunk
2014-10-14
19:55
Another round of compiler error fixes resulting from the "type info" refactoring check-in: cec92a5d87 user: etr tags: mysql-type-info