summaryrefslogtreecommitdiff
path: root/embed.fnc
Commit message (Collapse)AuthorAgeFilesLines
* Remove sv_setpviv{_,mg}; regen perlapi.Jarkko Hietaniemi2002-05-011-2/+0
| | | p4raw-id: //depot/perl@16290
* The #16182 radiates U32ness.Jarkko Hietaniemi2002-04-261-1/+1
| | | p4raw-id: //depot/perl@16185
* -Wformat cleanups from Robin Barker.Jarkko Hietaniemi2002-04-251-1/+1
| | | p4raw-id: //depot/perl@16156
* Re: Unbalanced string table refcount (was: perl@15930)Nicholas Clark2002-04-161-1/+1
| | | | | Message-ID: <20020416212241.GA315@Bagpuss.unfortu.net> p4raw-id: //depot/perl@15958
* my $utf8here, our $utf8here, and package variable $utf8here.Jarkko Hietaniemi2002-04-161-0/+1
| | | | | | | | | | | | | | | The actual minimal fix is in utf8.c and from NI-S, the rest are the tests (in fresh_perl since I couldn't get them easily to work elsewhere) and a slight behaviour change: previously UTF-8 identifiers had to start with an alphabetic character. No more so, now they can start with an (Unicode) ID_Continue character (which however is not a (Unicode) digit). (Limiting the first character to ID_Start would be rather restrictive, since ID_Start allows only alphabetic letters.) TODO: use vars qw($utf8here). This I don't find to be a showstopper. p4raw-id: //depot/perl@15943
* [dodgy PATCH] Re: [Storable] utf8 keys started working!Nicholas Clark2002-04-131-2/+3
| | | | | Message-ID: <20020413015806.GA371@Bagpuss.unfortu.net> p4raw-id: //depot/perl@15893
* Fix prototypes of save{,shared}pv{,n} (s/sv/pv/) as suggested byAbhijit Menon-Sen2002-04-081-3/+3
| | | | | Simon Cozens. p4raw-id: //depot/perl@15796
* Make hv_notallowed a static as suggested by Nicholas Clark;Jarkko Hietaniemi2002-04-061-0/+1
| | | | | | and synchronize the nomenclature to talk about restricted (not fixed) hashes. p4raw-id: //depot/perl@15758
* Re: the dirty half dozen (Re: perl@15662)Nicholas Clark2002-04-061-1/+7
| | | | | | | Message-ID: <20020405232117.GE323@Bagpuss.unfortu.net> (with the last one reversed) p4raw-id: //depot/perl@15757
* Integrate perlio:Jarkko Hietaniemi2002-04-031-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | [ 15698] Fix segfaults when mainthread exits with other threads running: - track number of running threads - if main thread calls perl_destruct() with other threads running skip most of cleanup (with a warning). [ 15696] Add -hiertype option to xsubpp for easier mapping C++ with namespaces. p4raw-link: @15698 on //depot/perlio: 62375a601d6dbbc42fa6d70d83d0a60b73d1b86d p4raw-link: @15696 on //depot/perlio: 0ab125c1e00cef4eab6989366621d77be6d38567 p4raw-id: //depot/perl@15699
| * Fix segfaults when mainthread exits with other threads running:Nick Ing-Simmons2002-04-031-0/+1
| | | | | | | | | | | | | | - track number of running threads - if main thread calls perl_destruct() with other threads running skip most of cleanup (with a warning). p4raw-id: //depot/perlio@15698
| * Integrate mainlineNick Ing-Simmons2002-03-241-3/+3
| |\ | |/ |/| p4raw-id: //depot/perlio@15463
| * Integrate mainlineNick Ing-Simmons2002-03-221-3/+0
| |\ | | | | | | p4raw-id: //depot/perlio@15409
| * | Integrate mainline (Win2k/MinGW all ok except threads/t/end.t)Nick Ing-Simmons2002-03-211-0/+2
| | | | | | | | | p4raw-id: //depot/perlio@15382
| * | Integrate mainlineNick Ing-Simmons2002-03-191-2/+1
| |\ \ | | | | | | | | p4raw-id: //depot/perlio@15315
| * \ \ Integrate mainlineNick Ing-Simmons2002-03-181-0/+1
| |\ \ \ | | | | | | | | | | p4raw-id: //depot/perlio@15284
| * \ \ \ Integarate mainlineNick Ing-Simmons2002-03-171-0/+2
| |\ \ \ \ | | | | | | | | | | | | p4raw-id: //depot/perlio@15269
| * \ \ \ \ Integrate mainline (a while ago)Nick Ing-Simmons2002-03-121-1/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | p4raw-id: //depot/perlio@15195
| * \ \ \ \ \ Integrate mainlineNick Ing-Simmons2002-03-041-0/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | p4raw-id: //depot/perlio@15010
| * \ \ \ \ \ \ Integrate mainline - all tests pass - some noise from threadsNick Ing-Simmons2002-03-041-0/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | av_simple (SuSE7.3). p4raw-id: //depot/perlio@14992
| * \ \ \ \ \ \ \ Integrate mainlineNick Ing-Simmons2002-03-011-0/+2
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | p4raw-id: //depot/perlio@14926
| * \ \ \ \ \ \ \ \ Integrate mainlineNick Ing-Simmons2002-02-261-0/+7
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | p4raw-id: //depot/perlio@14885
* | | | | | | | | | | tidy sv.[ch] after CRIPPLED_CC removalDave Mitchell2002-03-231-3/+3
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Message-ID: <20020323222724.A19425@fdgroup.com> p4raw-id: //depot/perl@15452
* | | | | | | | | | -DCRIPPLED_CC RIPDave Mitchell2002-03-211-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Message-ID: <20020321172440.C13683@fdgroup.com> p4raw-id: //depot/perl@15397
* | | | | | | | | | Fix for "UTF-8 bug with s///" from Hugo.Jarkko Hietaniemi2002-03-201-0/+2
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | p4raw-id: //depot/perl@15356
* | | | | | | | | s/regcinclasslen/reginclass/ and remove the oldJarkko Hietaniemi2002-03-191-2/+1
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reginclass since nothing is using it. p4raw-id: //depot/perl@15310
* | | | | | | | Implement the retry-on-ERANGE for the get*_r().Jarkko Hietaniemi2002-03-171-0/+1
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | The buffer will keep doubling until 64k. p4raw-id: //depot/perl@15272
* | | | | | | Monster _r patch: try to scan for all known _r variants,Jarkko Hietaniemi2002-03-151-0/+2
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and then use them (under ithreads). May fail in HP-UX, and the op/groups is known to be fickle everywhere. Known to work in Solaris, Linux, Tru64, IRIX, AIX. (Some compiler warnings in AIX since the first arguments of getnetbyaddr and getnetbyadd_r are of different types. Thanks, IBM.) In non-Configure platforms deny the existence of any of the _r thingies. (Also add the recently introduced d_tm_* to places it wasn't already in.) TODO: the suggested glibc buffer growth retry loop in case some entries (at least for: gr*, host*) are big. Forgot win32/config.win64. p4raw-id: //depot/perl@15238
* | | | | | Renaming tweaks, and split off the reentrant "superbuffer"Jarkko Hietaniemi2002-03-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | init routine. p4raw-id: //depot/perl@15139
* | | | | | Retract #14985, #14899, and #14990, following the principlesJarkko Hietaniemi2002-03-071-1/+0
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Do no harm." and "If it ain't broke, don't fix it." Firstly, the #14985 broke badly on UTF-EBCDIC, #14990 fixed some, but still broken, and I do not have the extra brain cells for the EBCDIC backport. Secondly, the old version worked both in EBCDIC and non-. Thirdly, the old version may be more amenable for the behaviour suggsted by Anton Tagunov regarding the encoding pragma. p4raw-id: //depot/perl@15084
* | | | | Needed for threaded builds.Jarkko Hietaniemi2002-03-041-0/+1
| |_|_|/ |/| | | | | | | p4raw-id: //depot/perl@15004
* | | | sv_cmp and friendsIlya Zakharevich2002-03-041-0/+1
| |_|/ |/| | | | | | | | | | | | | | Message-Id: <20020304023103.A14140@math.ohio-state.edu> p4raw-link: @14577 on //depot/perl: 0ad5258ff3f3328f321188cbb4fcd6a74b365431 p4raw-id: //depot/perl@14985
* | | autoloaded DESTROY bugfixIlya Zakharevich2002-03-011-0/+2
| |/ |/| | | | | | | | | Message-Id: <20020226195431.A9625@math.ohio-state.edu> p4raw-link: @14577 on //depot/perl: 0ad5258ff3f3328f321188cbb4fcd6a74b365431 p4raw-id: //depot/perl@14920
* | Re: Copying PV only with possible UTF-8 charactersJohn Peacock2002-02-241-0/+1
| | | | | | | | | | Message-ID: <3C795DB7.40105@rowman.com> p4raw-id: //depot/perl@14857
* | pack with a human face: the sequelIlya Zakharevich2002-02-221-0/+1
| | | | | | | | | | Message-ID: <20020221213337.A23848@math.ohio-state.edu> p4raw-id: //depot/perl@14824
* | grouping in pack/unpackIlya Zakharevich2002-02-211-0/+5
| | | | | | | | | | Message-ID: <20020221060614.A29836@math.ohio-state.edu> p4raw-id: //depot/perl@14815
* | Integrate perlio:Jarkko Hietaniemi2002-01-251-11/+3
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 14411] Linux/NFS hackery was not faking right number of passes. [ 14410] threads::shared tidy up: - Add _id() function to shared.xs so we can test refs point at same thing. - Use that rather that comparing stringified ref in shared/t/hv_refs.t - Allow no_share to pass if sharing to works despite mis-ordering. - Change docs of threads to document ->create() (as used in tests), and not mention "new". [ 14401] Expand command line test globs on Win32. [ 14393] Except Win32 from echo tests. (Alarm does not break into connect) [ 14392] SvTEMP_off to stop private PV's being stolen and stored in shared space [ 14387] thread::shared nearly working again - remaining issue is references withing shared space. Added bulk test with no threads involved (for debugging) Tuned tests to skip those needing _thrcnt [ 14378] Implement recursive lock and use of scope for PL_sharedsv_space, so now croak() from asserts does not leave locks. Make hv_simple compile (new prototype for debugging probe). [ 14377] Shared scalars working, some shared array ops working. [ 14373] Miss mg_len == 0 meaning don't Safefree [ 14372] XS side of new threads::shared designed, coded and compiles, and mostly commented but is totaly untested. submit in case anyone wants a preview. [ 14363] Add new threads/typemap to MANIFEST [ 14357] #14352 deleted ext/threads/threads.h [ 14356] Eradicate sharedsv.* [ 14355] threads work again on Win32. (Not threads::shared yet) Submit to see if they do on Linux. [ 14352] Nearly-working threads re-structuring. Do not integrate, submit-ing to get to Win32, and as "off site" backup. p4raw-link: @14411 on //depot/perlio: 3ed9f8f7de3dfc6ca29c4acc02b797c9dd51d971 p4raw-link: @14410 on //depot/perlio: 9c4972d9e75b4597ce8eb071662b3474470a1ada p4raw-link: @14401 on //depot/perlio: 4efb34a6d9cca053e4635f6fdedd5c6efdc554d8 p4raw-link: @14393 on //depot/perlio: 5d604bee230faa93dca054659df6c20150cd55c3 p4raw-link: @14392 on //depot/perlio: 85e0a142d02334b9703df242ba0bb3d8d109cdd0 p4raw-link: @14387 on //depot/perlio: 6b85e4fe3be6a9500d3cf5a72f618bc0f7919496 p4raw-link: @14378 on //depot/perlio: 6d56dc1c660466654588ccd5e1ccb4e636456d0f p4raw-link: @14377 on //depot/perlio: a446a88f1d0ae9b5bdb72150525c08f417f05975 p4raw-link: @14373 on //depot/perlio: 7719e2416ec63cec924046d8e4d98affa4e7d3b0 p4raw-link: @14372 on //depot/perlio: 21312124121f8d9d8bc6674291e502b6a45ed0c7 p4raw-link: @14363 on //depot/perlio: 8fe26a07135ad5547dcddf1acc0665979f51a5f6 p4raw-link: @14357 on //depot/perlio: c6fa1bd53e9d5706a86ffc7abe1d48a50fb56696 p4raw-link: @14356 on //depot/perlio: b7491e57135e2ad2a84ac0cb80916ea08e497f99 p4raw-link: @14355 on //depot/perlio: ba14dd9ace5a84c9784d70e7ae3b0baccfea783d p4raw-link: @14352 on //depot/perlio: 68795e9367de98482c4a5830e6e94b51bd60f4e3 p4raw-id: //depot/perl@14416
| * Integrate mainlineNick Ing-Simmons2002-01-251-1/+2
| | | | | | | | | | All but ../lib/Unicode/UCD.t pass. p4raw-id: //depot/perlio@14412
| * Nearly-working threads re-structuring. Do not integrate,Nick Ing-Simmons2002-01-191-11/+3
| | | | | | | | | | submit-ing to get to Win32, and as "off site" backup. p4raw-id: //depot/perlio@14352
* | Re: bless() bug ? Why fails reblessing of 'main::Object' to 'Object' ?Michael G. Schwern2002-01-231-1/+1
| | | | | | | | | | Message-ID: <20020121201642.GA6659@blackrider> p4raw-id: //depot/perl@14385
* | path_is_absolute() needs a prototype (and maybeJarkko Hietaniemi2002-01-211-0/+1
| | | | | | | | | | a better name, but that's another story). p4raw-id: //depot/perl@14367
* | Integrate perlio:Jarkko Hietaniemi2002-01-191-0/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 14335] Split out core of sv_magic() into sv_magicext(). sv_magic provides the extra restictions (no READONLY, only one of each type, canned set of vtables), and sv_magicext() does the actual data twiddling. Also enhances semantics of ->mg_ptr setting via name/namlen to allow either an uncopied ptr (namlen == 0), or a Newz()ed scratch area (namlen > 0 && name == NULL). sv_magicext also returns the MAGIC * it added. sv_magicext is intended mainly for PERL_MAGIC_ext (~) magic. To come sv_unmagicext() - which will remove just one magic of particular type, and additionaly match against ->mg_ptr, or the MAGIC * (need to experiment as to which is more natural). p4raw-link: @14335 on //depot/perlio: 92110913508b9944d111285d9488f2f7b604919c p4raw-id: //depot/perl@14346
| * Split out core of sv_magic() into sv_magicext().Nick Ing-Simmons2002-01-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sv_magic provides the extra restictions (no READONLY, only one of each type, canned set of vtables), and sv_magicext() does the actual data twiddling. Also enhances semantics of ->mg_ptr setting via name/namlen to allow either an uncopied ptr (namlen == 0), or a Newz()ed scratch area (namlen > 0 && name == NULL). sv_magicext also returns the MAGIC * it added. sv_magicext is intended mainly for PERL_MAGIC_ext (~) magic. To come sv_unmagicext() - which will remove just one magic of particular type, and additionaly match against ->mg_ptr, or the MAGIC * (need to experiment as to which is more natural). p4raw-id: //depot/perlio@14335
| * Integrate mainlineNick Ing-Simmons2002-01-161-1/+1
| |\ | |/ |/| p4raw-id: //depot/perlio@14295
* | Add Slab_Free to embed.fncMattia Barbon2002-01-151-0/+1
| | | | | | | | | | Message-ID: <3C44A637.16602.25EB208@localhost> p4raw-id: //depot/perl@14292
* | Integrate perlio:Jarkko Hietaniemi2002-01-151-0/+2
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 14281] Correct slab allocator for case where sizeof(IV) > sizeof(IV *) e.g. -Duse64bitint on a 32-bit platform. Now uses I32 for use-count and is more careful with its casts. [ 14277] Correct name of PL_OP_SLAB_ALLOC [ 14271] Regen embed enable slab for PERL_IMPLICIT_SYS [ 14269] Typo in #else branch of PL_SLAB_ALLOC [ 14268] const-ness fix in savepv's passing of NULL [ 14267] Hand merge of non slab allocator stuff [ 14259] Use PerlMemShared for CopSTASHPV and CopFILE. MUCH harder than it sounds! Need to use CopXXXXX macros everywhere and add CopSTASH_free Add new scope type and add support for it to scope.c and scope stack dup-er in sv.c. Add savesharedpv(). Also zealous version of Win32's vmem.h to catch all the abuses. With this t/op/fork.t passes even with zealous checking and checker is point a finger at various threads/shared issues. PL_curcop->cop_io is still an issue. [ 14257] Inverted sense of special-ness of specialCopIO - supposed to be true if value is "special" i.e. NOT an SV. p4raw-link: @14281 on //depot/perlio: 5a8e194fce7241d2bd0867584a5f8b0c0e672556 p4raw-link: @14277 on //depot/perlio: 6916a0abaebd67f9eaa2ffb20dbbb5aaf1b1719d p4raw-link: @14271 on //depot/perlio: ba979b3106a5e7f3b2512d1f4e93c681fba7aa9f p4raw-link: @14269 on //depot/perlio: a594c7b4495766324bc28504b0f4af2b5424ed02 p4raw-link: @14268 on //depot/perlio: 965155cb95a9be50d5ff126b516ea1fda1cb74ee p4raw-link: @14267 on //depot/perlio: 00ca71c18f4e3a59b9a40525cbef41f099448920 p4raw-link: @14259 on //depot/perlio: 05ec9bb346c404c8906ed1ac374d4bce61c84f5d p4raw-link: @14257 on //depot/perlio: b47b7e599cdd7224bc23222ddfd89205dbb5c997 p4raw-id: //depot/perl@14284
| * Use PerlMemShared for CopSTASHPV and CopFILE. MUCH harder than it sounds!Nick Ing-Simmons2002-01-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Need to use CopXXXXX macros everywhere and add CopSTASH_free Add new scope type and add support for it to scope.c and scope stack dup-er in sv.c. Add savesharedpv(). Also zealous version of Win32's vmem.h to catch all the abuses. With this t/op/fork.t passes even with zealous checking and checker is point a finger at various threads/shared issues. PL_curcop->cop_io is still an issue. p4raw-id: //depot/perlio@14259
* | Retract #14251 (the op slab allocator from perlio)Jarkko Hietaniemi2002-01-141-1/+0
|/ | | | | | | until we figure out why 2.2.19 x86 debian gets a circular sibling chain and therefore hangs in the Perl_ck_subr() sibling for-loop. p4raw-id: //depot/perl@14255
* Slab allocator for opsNick Ing-Simmons2002-01-131-0/+1
| | | | | | | - moved the statics to intrpvar.h - implemented Slab_Free() - uses PerlMemShared (for now) if distinction exists. p4raw-id: //depot/perlio@14250
* export win32_async_check or Perl_despatch_signalsMattia Barbon2002-01-121-1/+1
| | | | | Message-ID: <3C3F756C.21561.2E2A9CE@localhost> p4raw-id: //depot/perl@14203