In perl.git, the branch smoke-me/khw-xx has been created
<http://perl5.git.perl.org/perl.git/commitdiff/b30ddecca45e152256fdfb6248a638a7265ba370?hp=0000000000000000000000000000000000000000>
at b30ddecca45e152256fdfb6248a638a7265ba370 (commit)
- Log -----------------------------------------------------------------
commit b30ddecca45e152256fdfb6248a638a7265ba370
Author: Karl Williamson <[email protected]>
Date: Sun Sep 21 22:07:58 2014 -0600
Suppress some Solaris warnings
We get an integer overflow message when we left shift a 1 into the
highest bit of a word. This changes the 1's into 1U's to indicate
unsigned. This is done for all the flag bits in the affected word, as
they could get reorderd by someone in the future, unintentionally
reintroducing this problem again.
M op.h
M op_reg_common.h
M regexp.h
commit 38675dd4a9ef800d6d41054a0ea878237556111e
Author: Karl Williamson <[email protected]>
Date: Sat Sep 20 17:34:51 2014 -0600
f
M ext/re/re.pm
M ext/re/t/reflags.t
M pod/perldiag.pod
M regcomp.c
M regexp.h
M t/re/reg_mesg.t
M toke.c
commit d76697fb5d6c5ee1acb07ae03984ae2b9372d618
Author: Karl Williamson <[email protected]>
Date: Wed Sep 17 17:59:39 2014 -0600
op_reg_common.h: White-space only
Align columns vertically
M op_reg_common.h
commit 726e6886848909e8f6a2214ee77327d39a14c250
Author: Karl Williamson <[email protected]>
Date: Wed Sep 17 17:55:16 2014 -0600
XXXSee Peek.t Make space for /xx flag
This doesn't actually use the flag yet.
M dump.c
M ext/B/t/concise-xs.t
M ext/Devel-Peek/t/Peek.t
M ext/re/re.pm
M lib/B/Deparse.pm
M op.h
M op_reg_common.h
M regexp.h
M regnodes.h
commit 5872c390f24424080f89e3741ae889878075e43f
Author: Karl Williamson <[email protected]>
Date: Wed Sep 17 17:57:17 2014 -0600
op_reg_common.h: #define in terms of more basic one
The mask to copy bits should always include at least the compile-time
bits. By defining it in terms of the compile-time bits, we make it
easier to change and understand.
M op_reg_common.h
commit 27278b8aeda5e49db9d8ed9f66f5de0bb15ab53c
Author: Karl Williamson <[email protected]>
Date: Wed Sep 17 12:16:12 2014 -0600
Up regex flags limit for (??{})
Previously the regex pattern compilation flags needed for this construct
would fit into an 8-bit byte. This conveniently fits into the flags
structure element of a regnode. There are changes coming that require
more than 8 bits, so in preparation, this commit adds an argument to the
node that implements (??{}) (31-bits usable for flags), and moves the
storage to that.
M op_reg_common.h
M pod/perldebguts.pod
M regcomp.c
M regcomp.sym
M regexec.c
M regnodes.h
commit 10a38ceb8d0026543a04946e9c7a83ff2fb68566
Author: Karl Williamson <[email protected]>
Date: Tue Sep 16 17:19:52 2014 -0600
regcomp.c: Add assertions
This changes from assuming that certain things are constant to using a
variable instead, and then asserting that the variable matches the
constant.
M regcomp.c
commit fbf10112068fbbcd2cee643cd256f0cd62767c2f
Author: Karl Williamson <[email protected]>
Date: Tue Sep 16 17:16:47 2014 -0600
regcomp.c: Add a function and use it
This adds a function to allocate a regnode with 2 32-bit arguments, and
uses it, rather than the ad-hoc code that did the same thing previously.
This is in preparation for this code being used in a 2nd place in a
future commit.
M embed.fnc
M embed.h
M proto.h
M regcomp.c
M regcomp.h
commit 542b7a14199384d7863f1c5e237ebbfcc054fcff
Author: Karl Williamson <[email protected]>
Date: Tue Sep 16 16:26:36 2014 -0600
regcomp.sym: ANYOF nodes have an argument
Plus a bitmap, but they always have an argument besides, contrary to
what was specified here. Future commits rely on this, whereas
heretofore this error was harmless.
M pod/perldebguts.pod
M regcomp.sym
M regnodes.h
commit 036d55979c8a2ddd720c68b0b519b5ea733a402a
Author: Karl Williamson <[email protected]>
Date: Tue Sep 16 10:00:32 2014 -0600
regcomp.h: Add comment
M regcomp.h
commit a615d5db6680c23a425830c629445deeac566fa8
Author: Karl Williamson <[email protected]>
Date: Mon Sep 15 12:14:17 2014 -0600
regcomp.c: Outdent line to align with neighbors
M regcomp.c
commit 7f0e6e94f50391b5ca4387a706ac19000e8f2bb5
Author: Karl Williamson <[email protected]>
Date: Mon Sep 15 11:30:25 2014 -0600
regcomp.h: Remove obsolete #defines
These internal definitions are no longer used.
M regcomp.h
commit 52a533c7b5e49394d9e701e29fc738dcfc0e9d5b
Author: Karl Williamson <[email protected]>
Date: Mon Sep 15 11:29:43 2014 -0600
regcomp.h: Use existing macro instead of reinventing
M regcomp.h
commit f1ca007d0aee5d50b057f01a72c76ae852260f48
Author: Karl Williamson <[email protected]>
Date: Mon Sep 15 08:46:35 2014 -0600
regcomp.c: Extract duplicated code to fcn
This causes the nearly-duplicate code of S_reg_node and S_reganode to be
placed into a single function, S_regnode_guts.
There is one place where it might not be obvious that this doesn't
change things. And that is under DEBUGGING, reg_node() called
Set_Node_Offset(RExC_emit, RExC_parse + (op == END));
and reganode called
Set_Cur_Node_Offset;
However Set_Cur_Node_Offset is defined to be
Set_Node_Offset(RExC_emit, RExC_parse)
and since op will never be END for reganode, the two statements are
equivalent.
M embed.fnc
M embed.h
M proto.h
M regcomp.c
commit de169a918f59618999cb720e0f411abf6c0b584a
Author: Karl Williamson <[email protected]>
Date: Sun Sep 14 22:25:47 2014 -0600
regcomp.c: Move some statements
These statements are moved to after the debugging code so that the two
functions are essentially identical before them. This will allow the
two to be combined in a future commit. I verified by testing that the
debugging info was not affected.
M regcomp.c
commit 96957f80f99169e1ee17eac731823ccaf896cd5f
Author: Karl Williamson <[email protected]>
Date: Wed Sep 17 12:11:21 2014 -0600
op.h: Move flag bits; comment shared-bit scheme
This changes op.h to correspond with regexp.h. It moves all the used
bits up in the word so that if a new shared bit is added, the #error
will be triggered, alerting the person doing it that things need
adjusting so binary compatibility is preserved.
M op.h
commit 0ba2842fc9538d938bb2d1c115d3896ad6e05d30
Author: Karl Williamson <[email protected]>
Date: Wed Sep 17 12:08:41 2014 -0600
regexp.h: Comment shared-pool free bits scheme
M regexp.h
commit d981af21262438634e7fcf5d2535d466cf28336d
Author: Karl Williamson <[email protected]>
Date: Fri Sep 12 14:04:12 2014 -0600
regexp.h: Make tentative division of free-bit space
This sets a #define to point in the middle of the free-space, so that
bits at either end can be added without having to adjust many other
defines.
M regexp.h
commit 34121fc8899abb598302b274664cf2d7263845c2
Author: Karl Williamson <[email protected]>
Date: Fri Sep 12 13:59:13 2014 -0600
regexp.h: Define flag bit directly, not indirectly
This #defined a symbol then did a compile time check that it was the
same as another symbol. This commit simply defines it as the other
symbol directly, and moves it to above the other definitions, which it
no longer is part of. This prepares for the next commit.
M regexp.h
commit 4c4e24cd4a9a99565aeff9ca8502935a2f86587f
Author: Karl Williamson <[email protected]>
Date: Fri Sep 12 14:40:03 2014 -0600
regexp.h Remove unused bit placeholders
We do not need a placeholder for unused flag bits. And removing them
makes the generated regnodes.h more accurate as to what bits are
available.
M regexp.h
M regnodes.h
commit 4e30d0654a990bfe23eff4c4b31b5595b8ee86d9
Author: Karl Williamson <[email protected]>
Date: Thu Sep 11 22:45:06 2014 -0600
regexp.h: Move regex flag bit positions.
This moves three bits to create a block of unused bits at the beginning.
The first bit had to be moved to make space for other uses that are
coming in future commits. This breaks binary compatibility, so might as
well move the other two bits so that all the unused bits are
consolidated at the beginning.
This pool of unused bits is the boundary between the bits that are
common to op.h and regexp.h (and in op_reg_common.h) and those that are
separate. It's best to have all the unused bits there, so when we need
to use one, it can be taken from either side, as needed, without us
being trapped into having an available bit, but of the wrong kind.
M regexp.h
M regnodes.h
-----------------------------------------------------------------------
--
Perl5 Master Repository