Revisions of perl-Object-Pad
Tina Müller (tinita)
committed
(revision 19)
Fix disabling of __perllib_provides
Dirk Stoecker (dstoecker)
accepted
request 1153621
from
Tina Müller (tinita)
(revision 18)
- updated to 0.808 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.808 2023-12-28 [CHANGES] * Added `Object::Pad::MOP::Class->try_for_class` * Nicer error message when calling `->for_class` on a package not implemented using Object::Pad 0.807 2023-12-11 [CHANGES] * Added `inherit` and `apply` keywords in an attempt to make subclassing and role-application more flexible in future * Experimental new ability to "import" fields from superclasses into subclasses, permitting subclasses to interact with base class fields directly * Allow setting the `OBJECTPAD_FLAG_ATTR_*_VALUE` flags when registering a custom attribute via the Perl-level MOP API
Dirk Stoecker (dstoecker)
accepted
request 1130047
from
Tina Müller (tinita)
(revision 17)
- updated to 0.806 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.806 2023-11-14 [CHANGES] * Allow field initialiser expressions to see the values of other fields already declared
Lars Vogdt (lrupp)
accepted
request 1120566
from
Tina Müller (tinita)
(revision 16)
- updated to 0.805 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.805 2023-10-20 [CHANGES] * Added an experimental feature to compose all ADJUST blocks into a single CV * Removed experimental warning from `ADJUST :params` [BUGFIXES] * Don't crash the `Devel::MAT::Dumper` helper if a class does not have a parammap (RT150151)
Dirk Stoecker (dstoecker)
accepted
request 1116903
from
Tina Müller (tinita)
(revision 15)
- updated to 0.804 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.804 2023-10-04 [CHANGES] * Add `:repr(pvobj)` for Perl 5.38+ * Much internal code adjustment to support instances not backed by `SVt_PVAV` [BUGFIXES] * Fix the METHSTART_CONTAINS_FIELD_BINDINGS optimisation that had been recently broken, restoring its performance gains
Dirk Stoecker (dstoecker)
accepted
request 1113729
from
Tina Müller (tinita)
(revision 14)
- updated to 0.803 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.803 2023-09-20 [CHANGES] * Add `:repr(keys)` to use one hash key per field * Performance improvements to constructor: + Use `av_*_simple()` functions when operating on internal AVs + Don't bother calling the universal `->BUILDARGS` method if the class doesn't override it + Calculate the argument count just once
Dirk Stoecker (dstoecker)
accepted
request 1108662
from
Tina Müller (tinita)
(revision 13)
- updated to 0.802 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.802 2023-08-22 [CHANGES] * Internal XS-level changes: + Generate the basic accessor ops directly before invoking the gen_accessor_ops chain, ensuring more reliable ordering + Renamed the `post_initfields` field hook to `post_makefields` to better reflect when it actually runs * Removed the special-case warning about `method BUILD` * Added docs to point out that `ADJUST` blocks see method-like field lexicals
Dirk Stoecker (dstoecker)
accepted
request 1103508
from
Tina Müller (tinita)
(revision 12)
- new version format, see https://github.com/openSUSE/cpanspec/issues/47 - updated to 0.801 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.801 2023-08-10 [CHANGES] * Warn at compiletime if `ADJUST` blocks perform out-of-block control flow. This warning will become a compiletime error in a later version * Added `mop_class_get_attribute()` and `mop_class_get_attribute_values()` to C-level API * Removed the old `ClassHook->hookdata` and `FieldHook->hookdata` variable aliases [BUGFIXES] * A better `sub VERSION` that works as a more transparent wrapper (RT149357) 0.800 2023-08-09 [CHANGES] * Switched to three-digit version numbering * Removed experimental warnings from non-constant field initialiser expressions * Emit deprecation warnings at compiletime from `has` keyword * Expanded documentation about the implied pragmata changes, which will likely be removed entirely in a later version. * Emit a warning if implied strict/warnings was enabled, conditional on `use Object::Pad` with this version number or later.
Dirk Stoecker (dstoecker)
accepted
request 1090323
from
Tina Müller (tinita)
(revision 11)
- updated to 0.79 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.79 2023-05-09 [CHANGES] * Swap all unit tests from `Test::More` to `Test2::V0` * Support `goto LABEL` entirely within a field initialiser block [BUGFIXES] * Docs fix for implied method names to match names of fields (RT146092) * Hide bleadperl's suspended compcv macros when redefining our own of the same name
Dirk Stoecker (dstoecker)
accepted
request 1061372
from
Tina Müller (tinita)
(revision 10)
- updated to 0.78 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.78 2023-01-12 [BUGFIXES] * Don't complain about empty-list field initialisers being non-constant (related to RT145618) * Define more configuration options for `Feature::Compat::Class`
Dirk Stoecker (dstoecker)
accepted
request 1046331
from
Tina Müller (tinita)
(revision 9)
- updated to 0.77 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.77 2022-12-19 [BUGFIXES] * Fix C compiler errors and warnings + Neater handling of OP_NULL in optrees; avoids error of a case label applied to a declaration, which upsets non-gcc compilers + Use PTR2UV / NUM2PTR pairs instead of plain casting 0.76 2022-12-16 [CHANGES] * No longer consider `field VAR = CONST` experimental for constant expressions * Make field assignment and `ADJUST :params` slightly more efficient by stealing new OP_HELEMEXISTSOR op from upcoming perl version * Defined new ABI version 0.76 + Adds `pre_seal` and `post_seal` functions for class hooks 0.75 2022-12-14 [CHANGES] * Support fields using `//=` and `||=` defaulting operators, to match the core perl `class` feature * Define more configuration options for `Feature::Compat::Class` 0.74 2022-12-04 [BUGFIXES] * Ensure that all struct fields are initialised after Newx(), by using a C99-style struct assignment, ensuring no uninitialised behaviour (RT145289) 0.73 2022-12-03 [CHANGES] * Accept `field VAR = EXPR;` syntax; evaluated within constructor similarly to block form * Generally prefer `field` over `has` in docs, unit tests, etc... * Long-deprecated `extends` and `implements` keywords are now immediate compile-time failures * Extended the C-level extension API + Added `get_compclassmeta()` + Added `mop_class_add_method_cv()` and `mop_class_get_name()` + Optional integration with XS::Parse::Keyword via the addition of the `OPXKP_*` macros [BUGFIXES] * Account for bleadperl's slightly changed warning message of "bareword found ..." 0.72 2022-11-30 [CHANGES] * Accept `//=` and `||=` in named signature-like syntax for `ADJUST :params` blocks * Added `__CLASS__` * Deprecate use of params hashref in `ADJUST` blocks; needs to be written as `ADJUSTPARAMS`, which is not longer exactly synonymous with `ADJUST`
Dirk Stoecker (dstoecker)
accepted
request 1034255
from
Tina Müller (tinita)
(revision 8)
- updated to 0.71 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.71 2022-11-01 [CHANGES] * Add a =head2 heading to docs on `ADJUST :params` for ease of linking * Support latest blead-perl which adds the xV_FROM_REF macros [BUGFIXES] * Make sure to deref the CODE reference to ->add_method before stuffing it into the GV (RT144975) * Avoid C99-style for() loop variable, to keep older MSWin32 compilers happy 0.70 2022-10-29 [CHANGES] * Added `ADJUST :params`, which permits named parameters to ADJUST blocks (currently experimental) 0.69 2022-10-25 [CHANGES] * Internal tidying to the way the initfields stage of the constructor works * Support for Feature::Compat::Class to enable the :isa class attribute alone
Dirk Stoecker (dstoecker)
accepted
request 997387
from
Tina Müller (tinita)
(revision 7)
- updated to 0.68 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.68 2022-08-13 [BUGFIXES] * Wording fix in new Object::Pad::MetaFunctions docs * Avoid label at end of compound statement (RT144005) 0.67 2022-08-12 [CHANGES] * Added `Object::Pad::MetaFunctions` to contain some introspection and reflection helper functions * Avoid writing the rather silly-sounding `field $field` in docs; use single-letter field names like `$x` or `$f` instead
Dirk Stoecker (dstoecker)
accepted
request 988351
from
Tina Müller (tinita)
(revision 6)
- updated to 0.66 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.66 2022-07-07 [CHANGES] * Improved performance on perl 5.22 onwards, by merging the operation of the individual pp_fieldpad ops into the main pp_methstart op * Prepare compatibility with core's `use feature 'class'`: + Support `field` keyword as a synonym of `has`, though without immediate EXPR version + Merge meaning of `ADJUST` and `ADJUSTPARAMS`; give all such blocks a params hashref. `ADJUSTPARAMS` is now just a synonym * Print "discouraged" warnings on `requires` keyword * Print deprecation warnings on `isa` and `does` subkeywords * Added list-returning ->get_attribute_values() accessor to Object::Pad::MOP::Field * Deleted legacy XS symbols relating to "slot" from before it was renamed to "field"
Lars Vogdt (lrupp)
accepted
request 977710
from
Tina Müller (tinita)
(revision 5)
- updated to 0.65 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.65 2022-05-10 [CHANGES] * Document the required version for :experimental tags * Mention the new Devel::MAT::Tool::Object::Pad in docs [BUGFIXES] * Update cv_copy_flags() for SvPADTMP fix; related to RT142468
Dirk Stoecker (dstoecker)
accepted
request 967715
from
Tina Müller (tinita)
(revision 4)
- updated to 0.64 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.64 2022-04-02 [CHANGES] * Improvements to `:experimental` import tag (RT141801): + Support multiple experiments at once + Make sure to still enable the default keywords * Much better integration with `Devel::MAT::Dumper`: + Export complete C-level structures and magic VTBL root * Adjusted wording of "MOP API is experimental" so it doesn't refer to a package that doesn't actually exist (RT141801)
Dirk Stoecker (dstoecker)
accepted
request 960461
from
Tina Müller (tinita)
(revision 3)
- updated to 0.63 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.63 2022-03-07 [CHANGES] * Deleted long-deprecated Object::Pad->begin_class * No longer declare the entire module as "experimental" * Add experimental warnings to still-experimental features; recognise `:experimental` import tags to silence them [BUGFIXES] * Ensure that generated accessors work correctly regardless of the prevailing package when they were generated (RT141599) * Ensure that classes and accessors can be generated entirely outside of a BEGIN block (RT141677) 0.62 2022-03-01 [CHANGES] * Add "common" methods: + Implement `:common` attribute for methods + Take 'common' argument to `$metaclass->add_method` + Added `$metamethod->is_common` accessor * Don't require a terminating semicolon after `has $field { EXPR }` [BUGFIXES] * Better handling of role method embeddings that include lexical captures (RT141483)
Dirk Stoecker (dstoecker)
accepted
request 956367
from
Tina Müller (tinita)
(revision 2)
- updated to 0.61 see /usr/share/doc/packages/perl-Object-Pad/Changes 0.61 2022-02-16 [CHANGES] * Added Object::Pad::MOP::Class->create_{class,role} * Added $metaclass->seal (RT131294) * Added $metaclass->add_required_method and ->required_method_names (RT141314) * Accept bodyless `method NAME;` declarations to declare a required role method [BUGFIXES] * Assert when compclassmeta->name doesn't match PL_curstname (RT131293)
Dirk Stoecker (dstoecker)
accepted
request 952808
from
Antoine Belvire (1Antoine1)
(revision 1)
For licensecheck
Displaying all 19 revisions