summaryrefslogtreecommitdiff
path: root/handy.h
Commit message (Collapse)AuthorAgeFilesLines
* provide minimal documentation for the MUTABLE_*() macrosDavid Mitchell2009-03-291-0/+9
|
* Detection of IPv6 clueful functions by Configure (part 1)H.Merijn Brand2009-03-251-12/+9
| | | | | | | | Other OS parts will follow From: Steve Peters <steve@fisharerojo.org> Date: Wed, 25 Mar 2009 10:54:51 -0500 Message-ID: <fd7a59d30903250854q53311f48o6744df7cbfa1d03d@mail.gmail.com>
* Add get_cvs() as a shortcut for STR_WITH_LEN() and Perl_get_cvn_flags(), andNicholas Clark2009-01-211-0/+2
| | | | use it where possible.
* Subject: PATCH 5.10 documentationSteve Peters2008-12-191-12/+15
| | | | | | From: karl williamson <public@khwilliamson.com> Date: Tue, 16 Dec 2008 16:00:34 -0700 Message-ID: <49483312.80804@khwilliamson.com>
* The breakage caused by #34653 (sh|c)ould have been detectedMarcus Holland-Moritz2008-11-031-1/+1
| | | | | by the compiler. So further improve the STR_WITH_LEN() macro. p4raw-id: //depot/perl@34712
* Explicitly specify some printf formats for constant strings.Rafael Garcia-Suarez2008-11-021-2/+2
| | | | | | This is mostly to silence gcc's warning, "format not a string literal and no format arguments". p4raw-id: //depot/perl@34694
* Add MUTABLE_GV(), and eliminate (V *) casts in *.c.Nicholas Clark2008-10-311-0/+1
| | | | | | Can't easily do gv.h, as GvGP() (at least) needs to split into two macros - one const for reading, one non-const for writing. p4raw-id: //depot/perl@34679
* Add MUTABLE_IO(), and eliminate (IO *) casts in *.c.Nicholas Clark2008-10-291-0/+1
| | | p4raw-id: //depot/perl@34654
* Add MUTABLE_CV(), and eliminate (CV *) casts in *.c.Nicholas Clark2008-10-291-0/+1
| | | p4raw-id: //depot/perl@34647
* Add MUTABLE_HV(), and remove (HV *) casts from headers.Nicholas Clark2008-10-281-0/+1
| | | p4raw-id: //depot/perl@34619
* MHX notes that I have a superfluous void cast.Nicholas Clark2008-10-271-1/+1
| | | p4raw-id: //depot/perl@34612
* Add MUTABLE_AV(), and remove (AV *) casts from headers.Nicholas Clark2008-10-271-0/+1
| | | p4raw-id: //depot/perl@34608
* Add a macro MUTABLE_PTR(p), which on (non-pedantic) gcc will not castNicholas Clark2008-10-271-0/+7
| | | | | | | | | | away const, returning a void *. Add MUTABLE_SV(sv) which uses this, and replace all (SV *) casts either with MUTABLE_SV(sv), or (const SV *). This probably still needs some work - assigning to SvPVX() and SvRV() is now likely to generate a casting error. The core doesn't do this. But as-is it's finding bugs that can be fixed. p4raw-id: //depot/perl@34605
* Make sure Perl_mem_log_(?:alloc|realloc|free) have C linkage,Marcus Holland-Moritz2008-10-261-4/+5
| | | | | | | | | | so modules like Digest::MD5, that are including perl.h from within an 'extern "C"' block, will actually see them when building with a C++ compiler. Also make sure that Perl_mem_log_(?:new|del)_sv are only seen by sv.c. p4raw-id: //depot/perl@34598
* Update copyright years.Nicholas Clark2008-10-251-2/+2
| | | p4raw-id: //depot/perl@34585
* Make C++ compilers happy #4: move cast so Newc() andMarcus Holland-Moritz2008-10-241-7/+7
| | | | | Renewc() will return the correct type under PERL_MEM_LOG. p4raw-id: //depot/perl@34577
* Make C++ compilers happy #1: "typename" is a C++ keyword.Marcus Holland-Moritz2008-10-241-2/+2
| | | p4raw-id: //depot/perl@34574
* Add SV allocation tracing to -Dm and PERL_MEM_LOGMarcus Holland-Moritz2008-10-241-1/+6
| | | | | Message-ID: <20081022013731.23b5a2e5@r2d2> p4raw-id: //depot/perl@34568
* Refactor Perl_mem_log_ functionsMarcus Holland-Moritz2008-10-241-2/+12
| | | | | Message-ID: <20081022013721.374a490c@r2d2> p4raw-id: //depot/perl@34567
* Add probes for *time64 () functionsH.Merijn Brand2008-10-031-1/+9
| | | | | Add missing config vars p4raw-id: //depot/perl@34456
* Add probes for LOCALTIME_max and LOCALTIME_min (y2038 project)H.Merijn Brand2008-09-151-1/+1
| | | p4raw-id: //depot/perl@34363
* Probe for timegmH.Merijn Brand2008-07-071-1/+1
| | | p4raw-id: //depot/perl@34107
* Part one of y2038 changes for SchwernH.Merijn Brand2008-07-071-1/+1
| | | p4raw-id: //depot/perl@34105
* If the C library provides malloc_size(), we can use that in the sameNicholas Clark2008-02-261-1/+1
| | | | | | | places as Perl's malloced_size(), except that we need to be careful of any PERL_TRACK_MEMPOOL manipulations in force. Wrap both as Perl_safesysmalloc_size(), to give a consistent name and interface. p4raw-id: //depot/perl@33379
* The return of USE_DTRACEH.Merijn Brand2008-01-231-1/+1
| | | p4raw-id: //depot/perl@33045
* Add newSVpvs_flags() as a wrapper to newSVpvn_flags(), and reworkNicholas Clark2008-01-031-0/+6
| | | | | sv_2mortal(newSVpvs(...)) constructions to use it. p4raw-id: //depot/perl@32819
* Add editor blocks to some header files.Marcus Holland-Moritz2008-01-011-0/+9
| | | p4raw-id: //depot/perl@32793
* Remove the definitions of Null(), Nullch, Nullfp, Nullsv and PL_naNicholas Clark2007-12-221-6/+8
| | | | | | | when PERL_CORE is defined. (Which, "obviously", is only in code within the perl source tree, which we control). Nullop remains, and would be moderately invasive to remove. p4raw-id: //depot/perl@32707
* Fix up copyright years for files modified in 2007.Nicholas Clark2007-11-071-1/+1
| | | p4raw-id: //depot/perl@32237
* Optimise the logic in isPRINT(), possible following Jarkko's bugfixNicholas Clark2007-10-061-1/+1
| | | | | | of change 10855. (to the implementation added in change 18) Nothing that a decent compiler optimiser would have missed. p4raw-id: //depot/perl@32041
* Add a new function Perl_hv_common_key_len(), which contains theNicholas Clark2007-09-201-2/+8
| | | | | | | | manipulations to convert negative lengths to positive length + UTF-8 flag. hv_delete(), hv_exists(), hv_fetch(), hv_store() and hv_store_flags() all become mathoms. The macros hv_fetchs() and hv_stores() call hv_common() directly. p4raw-id: //depot/perl@31931
* Add Perl_my_dirfd() to util.cSteve Peters2007-05-011-1/+1
| | | p4raw-id: //depot/perl@31112
* stop the cargo cult of (MEM_SIZE)~0Jarkko Hietaniemi2007-03-271-2/+4
| | | | | Message-Id: <200703271207.l2RC7qOC443040@kosh.hut.fi> p4raw-id: //depot/perl@30774
* Move CHECK_WORD in regcomp.c to a more generic memEQs() in handy.hNicholas Clark2007-03-231-0/+4
| | | | | and provide memNEs() too. p4raw-id: //depot/perl@30726
* Introduction of d_pseudoforkH.Merijn Brand2006-12-051-1/+1
| | | p4raw-id: //depot/perl@29467
* Configure patch to add detection for DIR.dd_fd member variableSteve Peters2006-11-081-1/+1
| | | | | | From: "Steve Peters" <steve.peters@gmail.com> Message-ID: <fd7a59d30611042340p5543442ctad306aeb748b6bfe@mail.gmail.com> p4raw-id: //depot/perl@29238
* The non-unix parts for localtime_r_needs_tzsetH.Merijn Brand2006-11-061-1/+1
| | | | | Plus forced Glossary entry. That is a TODO for automation p4raw-id: //depot/perl@29213
* solution(?) to the "warning: comparison is always false dueto limited range ↵Jarkko Hietaniemi2006-08-011-1/+4
| | | | | | | of data type" with New*() Message-ID: <44C9A7FC.1060801@iki.fi> p4raw-id: //depot/perl@28634
* The sv_catpvs() and sv_setpvs() macros also return void.Marcus Holland-Moritz2006-05-241-2/+2
| | | p4raw-id: //depot/perl@28301
* HAS_HAS WAS NOW HASH.Merijn Brand2006-05-231-1/+1
| | | p4raw-id: //depot/perl@28286
* If I needed this now, I'll probably need it next time too :)H.Merijn Brand2006-05-221-1/+1
| | | p4raw-id: //depot/perl@28284
* literal string macrosMarcus Holland-Moritz2006-05-221-0/+40
| | | | | Message-ID: <20060522133933.65ea93ce@r2d2> p4raw-id: //depot/perl@28273
* Document PoisonFree() instead of documenting Poison() twice.Marcus Holland-Moritz2006-05-211-1/+1
| | | p4raw-id: //depot/perl@28265
* Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2Marcus Holland-Moritz2006-04-261-1/+1
| | | | | Message-ID: <20060424232038.7550f9b6@r2d2> p4raw-id: //depot/perl@27962
* Newxz() can use calloc() rather than malloc(), as the implementationNicholas Clark2006-04-121-2/+1
| | | | | | | of calloc() may know that it has fresh pages from the OS, and so doesn't need to zero them itself. Plus our object code should be slightly smaller. p4raw-id: //depot/perl@27774
* re-[PATCH] Re: [PATCH] Poison now in two different flavours!Jarkko Hietaniemi2006-03-291-3/+18
| | | | | Message-ID: <442680D4.3000809@gmail.com> p4raw-id: //depot/perl@27626
* Add gv_fetchpvs, which uses STR_WITH_LEN to call gv_fetchpvn_flags.Nicholas Clark2006-01-281-0/+2
| | | | | Many strlen()s saved. p4raw-id: //depot/perl@26983
* Change all NEWSV() to newSV() in the core and non-dual-lived modules.Steve Hay2006-01-181-9/+3
| | | | | | | | Keep NEWSV() itself for backwards-compatibility outside of the core, but don't advertise it any more. (cf. change #25101). p4raw-link: @25101 on //depot/perl: a02a5408b2f199007c4dcb74559cc79066307ada p4raw-id: //depot/perl@26901
* More readable MEM_WRAP_CHECK_1() macro.Gisle Aas2006-01-171-1/+1
| | | | | | This form also avoids the "dead part of constant expression is nonconstant" warning from the Sun Studio 10 compiler. p4raw-id: //depot/perl@26871
* s/superceded/superseded/gNicholas Clark2006-01-101-1/+1
| | | p4raw-id: //depot/perl@26774