Up to [cvs.NetBSD.org] / pkgsrc / databases / p5-Jifty-DBI
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.30 / (download) - annotate - [select for diffs], Thu Jul 6 09:38:26 2023 UTC (2 months, 2 weeks ago) by wiz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.29: +2 -2
lines
Diff to previous 1.29 (colored)
*: recursive bump for perl 5.38
Revision 1.29 / (download) - annotate - [select for diffs], Tue Jun 6 12:40:31 2023 UTC (3 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base,
pkgsrc-2023Q2
Changes since 1.28: +3 -3
lines
Diff to previous 1.28 (colored)
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/. Almost all uses, if not all of them, are wrong, according to the semantics of BUILD_DEPENDS (packages built for target available for use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for host available for use _as_ tools at build-time). No change to BUILD_DEPENDS as used correctly inside buildlink3. As proposed on tech-pkg: https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
Revision 1.28 / (download) - annotate - [select for diffs], Tue Jun 28 11:31:27 2022 UTC (14 months, 3 weeks ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2023Q1-base,
pkgsrc-2023Q1,
pkgsrc-2022Q4-base,
pkgsrc-2022Q4,
pkgsrc-2022Q3-base,
pkgsrc-2022Q3
Changes since 1.27: +2 -2
lines
Diff to previous 1.27 (colored)
*: recursive bump for perl 5.36
Revision 1.27 / (download) - annotate - [select for diffs], Mon May 24 19:49:39 2021 UTC (2 years, 4 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base,
pkgsrc-2022Q2,
pkgsrc-2022Q1-base,
pkgsrc-2022Q1,
pkgsrc-2021Q4-base,
pkgsrc-2021Q4,
pkgsrc-2021Q3-base,
pkgsrc-2021Q3,
pkgsrc-2021Q2-base,
pkgsrc-2021Q2
Changes since 1.26: +2 -2
lines
Diff to previous 1.26 (colored)
*: recursive bump for perl 5.34
Revision 1.26 / (download) - annotate - [select for diffs], Mon Aug 31 18:07:04 2020 UTC (3 years ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base,
pkgsrc-2021Q1,
pkgsrc-2020Q4-base,
pkgsrc-2020Q4,
pkgsrc-2020Q3-base,
pkgsrc-2020Q3
Changes since 1.25: +2 -2
lines
Diff to previous 1.25 (colored)
*: bump PKGREVISION for perl-5.32.
Revision 1.25 / (download) - annotate - [select for diffs], Sun Aug 11 13:18:30 2019 UTC (4 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base,
pkgsrc-2020Q2,
pkgsrc-2020Q1-base,
pkgsrc-2020Q1,
pkgsrc-2019Q4-base,
pkgsrc-2019Q4,
pkgsrc-2019Q3-base,
pkgsrc-2019Q3
Changes since 1.24: +2 -2
lines
Diff to previous 1.24 (colored)
Bump PKGREVISIONs for perl 5.30.0
Revision 1.24 / (download) - annotate - [select for diffs], Sun Jun 30 20:14:26 2019 UTC (4 years, 2 months ago) by nia
Branch: MAIN
Changes since 1.23: +2 -2
lines
Diff to previous 1.23 (colored)
Update packages using a search.cpan.org HOMEPAGE to metacpan.org. The former now redirects to the latter. This covers the most simple cases where http://search.cpan.org/dist/name can be changed to https://metacpan.org/release/name. Reviewed by hand to hopefully make sure no unwanted changes sneak in.
Revision 1.23 / (download) - annotate - [select for diffs], Wed Aug 22 09:43:19 2018 UTC (5 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base,
pkgsrc-2019Q2,
pkgsrc-2019Q1-base,
pkgsrc-2019Q1,
pkgsrc-2018Q4-base,
pkgsrc-2018Q4,
pkgsrc-2018Q3-base,
pkgsrc-2018Q3
Changes since 1.22: +2 -2
lines
Diff to previous 1.22 (colored)
Recursive bump for perl5-5.28.0
Revision 1.22 / (download) - annotate - [select for diffs], Wed Jun 14 15:48:56 2017 UTC (6 years, 3 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base,
pkgsrc-2018Q2,
pkgsrc-2018Q1-base,
pkgsrc-2018Q1,
pkgsrc-2017Q4-base,
pkgsrc-2017Q4,
pkgsrc-2017Q3-base,
pkgsrc-2017Q3,
pkgsrc-2017Q2-base,
pkgsrc-2017Q2
Changes since 1.21: +3 -1
lines
Diff to previous 1.21 (colored)
Requires PERL_USE_UNSAFE_INC hack.
Revision 1.21 / (download) - annotate - [select for diffs], Mon Jun 5 14:22:29 2017 UTC (6 years, 3 months ago) by ryoon
Branch: MAIN
Changes since 1.20: +2 -2
lines
Diff to previous 1.20 (colored)
Recursive revbump from lang/perl5 5.26.0
Revision 1.20 / (download) - annotate - [select for diffs], Wed Jun 8 19:22:28 2016 UTC (7 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base,
pkgsrc-2017Q1,
pkgsrc-2016Q4-base,
pkgsrc-2016Q4,
pkgsrc-2016Q3-base,
pkgsrc-2016Q3,
pkgsrc-2016Q2-base,
pkgsrc-2016Q2
Changes since 1.19: +2 -2
lines
Diff to previous 1.19 (colored)
Bump PKGREVISION for perl-5.24.
Revision 1.19 / (download) - annotate - [select for diffs], Sun Jul 12 18:56:08 2015 UTC (8 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base,
pkgsrc-2016Q1,
pkgsrc-2015Q4-base,
pkgsrc-2015Q4,
pkgsrc-2015Q3-base,
pkgsrc-2015Q3
Changes since 1.18: +2 -2
lines
Diff to previous 1.18 (colored)
Comment out dependencies of the style {perl>=5.16.6,p5-ExtUtils-ParseXS>=3.15}:../../devel/p5-ExtUtils-ParseXS since pkgsrc enforces the newest perl version anyway, so they should always pick perl, but sometimes (pkg_add) don't due to the design of the {,} syntax. No effective change for the above reason. Ok joerg
Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 12 10:48:41 2015 UTC (8 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2015Q2-base,
pkgsrc-2015Q2
Changes since 1.17: +2 -1
lines
Diff to previous 1.17 (colored)
Recursive PKGREVISION bump for all packages mentioning 'perl', having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
Revision 1.17 / (download) - annotate - [select for diffs], Fri May 1 00:49:29 2015 UTC (8 years, 4 months ago) by wen
Branch: MAIN
Changes since 1.16: +2 -2
lines
Diff to previous 1.16 (colored)
Update to 0.78 Upstream changes: 0.78 2015-04-30 * Make t/99-pod-spelling.t pass * Updated packaging
Revision 1.16 / (download) - annotate - [select for diffs], Fri Dec 12 04:51:06 2014 UTC (8 years, 9 months ago) by mef
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base,
pkgsrc-2015Q1,
pkgsrc-2014Q4-base,
pkgsrc-2014Q4
Changes since 1.15: +2 -3
lines
Diff to previous 1.15 (colored)
Update 0.74 to 0.77 0.77 2013-12-01 * Fix for perl 5.19.4 parsing of @{ foo { ... } } * Fix signature 0.76 2013-06-17 * Provide source repository info in metadata * Default Cached::Memcached dependency off on Windows due to known build problems Thanks to Alexandr Ciornii for both. 0.75 2013-01-29 - Bug fixes: * backport a sort order fix for Pg handles from Searchbuilder * Work around Pg's sub-second formatting and DateTime::Parser::ISO8601 * Don't attempt to filter, eq-check, validate, or otherwise munge functions - Tests: * Fix failures on 5.17.6, reported as [rt.cpan.org #82978] * Update test to account for the ported bug fix in f9439a0 - Cleanup: * remove a useless wrapper function - Documentation: * SPROUT points out that the second fix in 0.73 is actually a run-time error, of course
Revision 1.15 / (download) - annotate - [select for diffs], Thu May 29 23:35:29 2014 UTC (9 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base,
pkgsrc-2014Q3,
pkgsrc-2014Q2-base,
pkgsrc-2014Q2
Changes since 1.14: +2 -2
lines
Diff to previous 1.14 (colored)
Bump for perl-5.20.0. Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
Revision 1.14 / (download) - annotate - [select for diffs], Mon Dec 9 14:17:42 2013 UTC (9 years, 9 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base,
pkgsrc-2014Q1,
pkgsrc-2013Q4-base,
pkgsrc-2013Q4
Changes since 1.13: +3 -3
lines
Diff to previous 1.13 (colored)
Fix/Update DEPENDS paterns for perl CORE modules, with some trivial fixes. Bump PKGREVISION for runtime dependency pattern changed packages.
Revision 1.13 / (download) - annotate - [select for diffs], Fri May 31 12:39:52 2013 UTC (10 years, 3 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base,
pkgsrc-2013Q3,
pkgsrc-2013Q2-base,
pkgsrc-2013Q2
Changes since 1.12: +2 -2
lines
Diff to previous 1.12 (colored)
Bump all packages for perl-5.18, that a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
Revision 1.12 / (download) - annotate - [select for diffs], Wed Oct 3 21:54:20 2012 UTC (10 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base,
pkgsrc-2013Q1,
pkgsrc-2012Q4-base,
pkgsrc-2012Q4
Changes since 1.11: +2 -1
lines
Diff to previous 1.11 (colored)
Bump all packages that use perl, or depend on a p5-* package, or are called p5-*. I hope that's all of them.
Revision 1.11 / (download) - annotate - [select for diffs], Tue Oct 2 21:25:32 2012 UTC (10 years, 11 months ago) by asau
Branch: MAIN
Changes since 1.10: +1 -3
lines
Diff to previous 1.10 (colored)
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 26 15:25:13 2012 UTC (11 years, 7 months ago) by rhaen
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base,
pkgsrc-2012Q3,
pkgsrc-2012Q2-base,
pkgsrc-2012Q2,
pkgsrc-2012Q1-base,
pkgsrc-2012Q1
Changes since 1.9: +2 -2
lines
Diff to previous 1.9 (colored)
Updated to 0.74 Changes: 0.74 2012-01-25 - Documentation: * Re-release of 0.73, now with a proper changelog 0.73 2012-01-25 - Fixes: * Allow prefetching of only a subset of the other table's columns (Alex Vandiver) * Avoid a compilation failure on blead caused by incorrect precedence (Thomas Sibley)
Revision 1.9 / (download) - annotate - [select for diffs], Thu Nov 17 09:09:22 2011 UTC (11 years, 10 months ago) by hiramatsu
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base,
pkgsrc-2011Q4
Changes since 1.8: +2 -3
lines
Diff to previous 1.8 (colored)
Update p5-Jifty-DBI to 0.72. Changes from previous: 0.72 2011-10-17 - Fixes: * Handle DBH connection errors, retry the query (Luke Closs) - Documentation: * Mention old_value in after_* hooks (Thomas Sibley) 0.71 2011-06-17 - Fixes: * Ensure canonicalization and validation triggers are properly found (Thomas Sibley) 0.70 2011-06-15 - Fixes: * Respect manual column sort_orders (Thomas Sibley) * Produce more useful error messages during schema upgrades (Thomas Sibley) - Documentation: * Clarify what value after_set_* hooks receive (Thomas Sibley) 0.69 2011-05-17 - Fixes: * Remove some instances of qw() as parentheses deprecated in 5.14 (sunnavy)
Revision 1.8 / (download) - annotate - [select for diffs], Sun Aug 14 08:18:08 2011 UTC (12 years, 1 month ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base,
pkgsrc-2011Q3
Changes since 1.7: +2 -1
lines
Diff to previous 1.7 (colored)
Revision bump after updating perl5 to 5.14.1.
Revision 1.6.6.1 / (download) - annotate - [select for diffs], Sat May 7 10:30:37 2011 UTC (12 years, 4 months ago) by tron
Branch: pkgsrc-2011Q1
Changes since 1.6: +5 -6
lines
Diff to previous 1.6 (colored) next main 1.7 (colored)
Pullup ticket #3422 - requested by obache databases/p5-Jifty-DBI: security update Revisions pulled up: - databases/p5-Jifty-DBI/Makefile 1.7 - databases/p5-Jifty-DBI/distinfo 1.5 --- Module Name: pkgsrc Committed By: obache Date: Thu May 5 11:36:40 UTC 2011 Modified Files: pkgsrc/databases/p5-Jifty-DBI: Makefile distinfo Log Message: Update p5-Jifty-DBI to 0.68. 0.68 2011-04-14 - Security: * Prevent SQL injection in column names, operators, order and group by (Alex Vandiver) * Fix distinct_query to catch injection and correctly rewrite to function => '' (Alex Vandiver) * Prevent SQL injection via IS - Fixes: * There is no need to check $args{column} around our LIKE adjustments (Alex Vandiver) * Slightly unify nigh-identical codepaths between Pg and Oracle (Alex Vandiver) 0.67 2011-02-28 - Features: * Make ->distinct_column_values use ->simple_query, thus going through our SQL logging infrastructure (Alex Vandiver) - Fixes: * Set raw_values in load_by_hash so the __raw_value method works when the record is loaded by a collection (Thomas Sibley) - Tests: * Author tests for no tabs (Shawn M Moore) 0.66 2011-02-14 - Features: * Provide a sane way to wrap a function around an aliased column in order_by * Pass old_value to triggers on column update - Fixes: * Respect the 'by' attribute for refers_to columns in create and set * Use the right FK when using a record object in load_by_cols or limit [rt.cpan.org #64779] * Don't encode fields when attempting to limit with IS * Fix since/till by refactoring columns to use an updated all_columns - Installation: * Only run these URI filter tests if we have URI [rt.cpan.org #65047] 0.64 Wed Dec 8 15:21:17 EST 2010 - Installation: * Minor distribution fixes 0.63 Wed Dec 8 15:14:17 EST 2010 - Features: * distinct_column_values method, docs and tests - Fixes: * Warn about load(arg => value) * Include column_name in the value passed to reader warning * It is a rare but possible case that 0 is a valid id * Ensure encode_base64 doesn't choke on utf8 0.62 Thu May 20 13:58:53 EST 2010 - Features: * Computed columns let you have the Jifty-DBI scaffolding but without touching the database * Column->is_boolean - Fixes: * Don't attempt to store undef values in memcached * Avoid undef warnings 0.61 Mon Jan 4 13:04:20 EST 2010 - Installation: * Minor distribution fixes 0.60 Mon Jan 4 13:02:17 EST 2010 - Features: * Allow passing of extra parameters to canonicalizers * Add an attribute which controls placeholder use for load_by_cols - Fixes: * Don't add LOWER() on <= or >= operators, only = and != * Better case sensitivity tests * Expose quote_value() on Jifty::DBI::Handle * When generating COUT, don't add a DISTINCT unless needed * Fix t/12prefetch.t's assumptions on row ordering
Revision 1.7 / (download) - annotate - [select for diffs], Thu May 5 11:36:40 2011 UTC (12 years, 4 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base,
pkgsrc-2011Q2
Changes since 1.6: +5 -6
lines
Diff to previous 1.6 (colored)
Update p5-Jifty-DBI to 0.68. 0.68 2011-04-14 - Security: * Prevent SQL injection in column names, operators, order and group by (Alex Vandiver) * Fix distinct_query to catch injection and correctly rewrite to function => '' (Alex Vandiver) * Prevent SQL injection via IS - Fixes: * There is no need to check $args{column} around our LIKE adjustments (Alex Vandiver) * Slightly unify nigh-identical codepaths between Pg and Oracle (Alex Vandiver) 0.67 2011-02-28 - Features: * Make ->distinct_column_values use ->simple_query, thus going through our SQL logging infrastructure (Alex Vandiver) - Fixes: * Set raw_values in load_by_hash so the __raw_value method works when the record is loaded by a collection (Thomas Sibley) - Tests: * Author tests for no tabs (Shawn M Moore) 0.66 2011-02-14 - Features: * Provide a sane way to wrap a function around an aliased column in order_by * Pass old_value to triggers on column update - Fixes: * Respect the 'by' attribute for refers_to columns in create and set * Use the right FK when using a record object in load_by_cols or limit [rt.cpan.org #64779] * Don't encode fields when attempting to limit with IS * Fix since/till by refactoring columns to use an updated all_columns - Installation: * Only run these URI filter tests if we have URI [rt.cpan.org #65047] 0.64 Wed Dec 8 15:21:17 EST 2010 - Installation: * Minor distribution fixes 0.63 Wed Dec 8 15:14:17 EST 2010 - Features: * distinct_column_values method, docs and tests - Fixes: * Warn about load(arg => value) * Include column_name in the value passed to reader warning * It is a rare but possible case that 0 is a valid id * Ensure encode_base64 doesn't choke on utf8 0.62 Thu May 20 13:58:53 EST 2010 - Features: * Computed columns let you have the Jifty-DBI scaffolding but without touching the database * Column->is_boolean - Fixes: * Don't attempt to store undef values in memcached * Avoid undef warnings 0.61 Mon Jan 4 13:04:20 EST 2010 - Installation: * Minor distribution fixes 0.60 Mon Jan 4 13:02:17 EST 2010 - Features: * Allow passing of extra parameters to canonicalizers * Add an attribute which controls placeholder use for load_by_cols - Fixes: * Don't add LOWER() on <= or >= operators, only = and != * Better case sensitivity tests * Expose quote_value() on Jifty::DBI::Handle * When generating COUT, don't add a DISTINCT unless needed * Fix t/12prefetch.t's assumptions on row ordering
Revision 1.6 / (download) - annotate - [select for diffs], Sat Aug 21 16:33:02 2010 UTC (13 years, 1 month ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base,
pkgsrc-2010Q4-base,
pkgsrc-2010Q4,
pkgsrc-2010Q3-base,
pkgsrc-2010Q3
Branch point for: pkgsrc-2011Q1
Changes since 1.5: +2 -1
lines
Diff to previous 1.5 (colored)
Bump the PKGREVISION for all packages which depend directly on perl, to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=..."), minus the packages updated after the perl package update. sno@ was right after all, obache@ kindly asked and he@ led the way. Thanks!
Revision 1.5 / (download) - annotate - [select for diffs], Sun Nov 22 21:55:44 2009 UTC (13 years, 10 months ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base,
pkgsrc-2010Q2,
pkgsrc-2010Q1-base,
pkgsrc-2010Q1,
pkgsrc-2009Q4-base,
pkgsrc-2009Q4
Changes since 1.4: +2 -2
lines
Diff to previous 1.4 (colored)
Update p5-Jifty-DBI from version 0.58 to version 0.59. Upstream changes: 0.59 Wed Nov 18 20:12:57 EST 2009 - Features: * Support a special value of "all" in set_page_info - Fixes: * Make "default is ''" propagate correctly to ALTER and CREATE TABLE statements - Installation: * Our Module::Install was hilariously out of date
Revision 1.4 / (download) - annotate - [select for diffs], Sun Aug 23 22:27:47 2009 UTC (14 years, 1 month ago) by seb
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base,
pkgsrc-2009Q3
Changes since 1.3: +3 -3
lines
Diff to previous 1.3 (colored)
Update p5-Jifty-DBI from version 0.53 to version 0.58. Pkgsrc changes: - Perl 5.10, which includes version.pm, is now required by pkgsrc, hence the dependency on devel/p5-version can be removed - Set LICENSE Upstream changes: 0.58 Tue Jul 14 03:21:21 EST 2009 - Possible incompatibilities: * Modules which use Jifty::DBI::Schema will have strict and warnings automatically applied to them. - Features: * Jifty::DBI::Handle now has methods for supported_drivers, available_drivers, and is_available_driver. - Fixes: * Remove unused _limit_clause method * Various error message improvements * Use ->new_item instead of ->record_class->new since it was a performance hit in Jifty * Avoid cals to ->new_item where possible - Documentation: * Document connect's quirky return value 0.57 Tue May 19 08:02:03 EDT 2009 - Major bugfixes: * Use eval {} in Jifty::DBI::Handle's DESTROY block when manipulating DBI Alterations to the DBI object in the DESTROY block must be wrapped in an eval {}, as object destruction order is not guaranteed during global destruction, and this interacts poorly with DBI's tie'd object. * During DESTROY, don't explicitly disconnect a dbh set InactiveDestroy The InactiveDestroy flag on DBI objects prevent them from being implicitly disconnected when they go out of scope -- for example, in the case where a process has forked, and two processes hold the socket open. However, it does not prevent them from being _explicitly_ disconnected, as we were doing in Jifty::DBI::Handle's DESTROY method. This caused InactiveDestroy to never kick in, causing either a shared socket, or two closed handles after a fork. We prevent this by having Jifty::DBI::Handle respect InactiveDestroy in its DESTROY method. * Do not use Scalar::Defer defaults for columns' defaults in the db - New features: * Add a display_length attribute on columns * add schema manipulation tables: rename_column and rename_table * If a column's default is a record, call its id method - Fixes: * Improve SQL error message and avoid its duplication * Pull the input_ and output_filters out of the instance hash - Tests: * Added a unit test for the SaltHash filter * use drop_table_if_exists in tests * add drop_table_if_exists in t/utils.t * unconditionaly drop tables for testing * test rename_table * add tests for rename_column * SaltHash test does not need an is_deeply() * Don't explicitly disconnect the handle, DESTROY handles it better * Test for warnings instead of letting them leak into the test output
Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 12 10:35:45 2009 UTC (14 years, 5 months ago) by he
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base,
pkgsrc-2009Q2
Changes since 1.2: +3 -4
lines
Diff to previous 1.2 (colored)
Update from version 0.49nb1 to 0.53. Pkgsrc changes: o Add perl>=5.10 as an alternative to p5-version Upstream changes: 0.53 Wed Mar 25 15:27:03 EDT 2009 - Major bugfixes: * On rollback, flush the record cache. This fixes a bug when SQLite reuses primary keys after rollback, and thus the record cache is wrong. * Apply filters to "default is ..." values, so "is boolean, default is 0" works on postgres, for instance * $self->_new_collection_args is passed to the ->new constructor of a collection, not its ->new_item method - Performance fixes: * Don't call accessor twice when we have values around * Don't create temporary variables we don't need around, just return * Optimize for the case when there are no output filters * Play with self/class only when passed argument is not a reference * In _do_search, separate prefetch and non-prefetch paths; the latter is a much tighter loop * Refactor first pass over results in prefetch path * Move a ->new_item call where we only need it * Jifty::DBI::Handle::SQLite - LOWER() in SQLite is expensive; it's easier just put COLLATE NOCASE on the column side. Bump DBD::SQLite to 1.14 which gives us COLLATE NOCASE. * Cache on record table, not record class so subclasses also get cached correctly. If the data in the underlying table changes, regardless of the class you're using, you want to load the new data. * Refactor _qualified_record_columns * call ->table for defaulting only when we actually want defaulting * Selay some method calls when possible in limit * Minor refactoring of _get_alias * grep before looping to loop over fewer values in load_from_hash * Cache load attempts in new_item in a local static cache * Cache filter class load attempts in _apply_filters * Save some slow Class::Accessor calls in Jifty::DBI::Filter * Stick aliases into COLUMNS as well, for faster lookup * Provide a faster load_from_hash for when we're being called from do_search - Datetime fixes: * _formatter is *inheritable* class data. If it happens to get set by the DateTime filter before getting set by one of its subclasses (the Date and Time filters), than it is stuck on the DateTime _formatter setting because the subclasses don't override it. There are a couple solutions, the simplest being to check the value of _strptime and update/override _formatter if it is different, which is what I've done here. (This may not be the most optimized solution.) * Require Time::Duration::Parse 0.06 to win us decimal durations like 1.5h * Fix a broken regex that just happened to work because we only fed it correct data * Add date_only method in date and datetime filters * For date-only timestamps, set hour, minute, and second to zero * Include the datetime string we're trying to decode in parse failure cluck * Use DateTime's strptime since we don't want additional logic - Documentation fixes: * Minor POD improvement for debian lintian in Jifty::DBI::Column * Adding an example of open_paren/close_paren and limit subclause. * Added documentation for "IS" on limit(). * Additional docs for load_by_cols * Update record_class' docs - Minor bugfixes: * Perltidy, primarily for indentation fixes * Update copyright year to 2009 * collections can now clear_order_by * requires('perl' => '5.8.3') confuses M:I. the "correct" incantation is perl_version('5.8.3') * Add the ability to unload columns and prefetched values * Use $args{'collection'}->limit instead of $self->Jifty::DBI::Collection::limit so we don't break * We accept IN or = as operators for array ref. values, so match against that (and do it case insensitively to boot) * Allow validators to get extra arguments * Storable with non-bytea is OK if we base64 * add double naming schema for record references, using name, name_by * fixed situation with 'column X_not_id refers_to M by "not_id"' * Aliases should be virtual * When we have group_by, the first column may not be enough to distinctify the rows. But since they're grouped, they're all distinct by definition. * turn _handle _is_limited rows_per_page into accessors * Clean out fetched when we load_from_hash * Pass arguments database_Version to the super method * Don't chomp Collection or s if prev character is ':', die instead, it can happen for annon collections based either on JDBI::Collection or J::Collection * No need to setup the pager, its constructor does that for us; actually it's really questionable that we need to setup pager when there is no paging by default * Don't optimize left joins on mysql 5.0 and newer, may be other DBs can drop this too * $caller->COLUMNS should not contain virtual methods from plugins * Add "raw value" internal values * Plugin import must not call ->columns which causes incorrect caching.
Revision 1.2 / (download) - annotate - [select for diffs], Sun Oct 19 19:17:45 2008 UTC (14 years, 11 months ago) by he
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base,
pkgsrc-2009Q1,
pkgsrc-2008Q4-base,
pkgsrc-2008Q4
Changes since 1.1: +2 -1
lines
Diff to previous 1.1 (colored)
Bump the PKGREVISION for all packages which depend directly on perl, to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0. The list of packages is computed by finding all packages which end up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl, or PERL5_PACKLIST defined in their make setup (tested via "make show-vars VARNAMES=...").
Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Aug 25 21:37:07 2008 UTC (15 years, 1 month ago) by seb
Branch: TNF
CVS Tags: pkgsrc-base,
pkgsrc-2008Q3-base,
pkgsrc-2008Q3,
cube-native-xorg-base,
cube-native-xorg
Changes since 1.1: +0 -0
lines
Diff to previous 1.1 (colored)
Initial import of p5-Jifty-DBI version 0.49 in the NetBSD Packages Collection. The Perl 5 module Jifty::DBI deals with databases, so that you don't have to. This module provides an object-oriented mechanism for retrieving and updating data in a DBI-accessible database. This module is the direct descendent of DBIx::SearchBuilder. If you're familiar with SearchBuilder, Jifty::DBI should be quite familiar to you.
Revision 1.1 / (download) - annotate - [select for diffs], Mon Aug 25 21:37:07 2008 UTC (15 years, 1 month ago) by seb
Branch: MAIN
Initial revision