-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change region implementation names to eliminate the 'mi' prefix
This prepares the file to be moved from mi to dix. This patch was done mechanically with the included scripts 'fix-miregion' run over the entire X server and 'fix-miregion-private' run over include/regionstr.h and mi/miregion.c. Reviewed-by: Jamey Sharp <[email protected]> Signed-off-by: Keith Packard <[email protected]>
- Loading branch information
1 parent
1768e51
commit 9b6f5f5
Showing
10 changed files
with
192 additions
and
149 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/bin/sh | ||
sed -i \ | ||
-e 's/miRegionCreate\b/RegionCreate/g' \ | ||
-e 's/miRegionInit\b/RegionInit/g' \ | ||
-e 's/miRegionDestroy\b/RegionDestroy/g' \ | ||
-e 's/miRegionUninit\b/RegionUninit/g' \ | ||
-e 's/miRegionCopy\b/RegionCopy/g' \ | ||
-e 's/miIntersect\b/RegionIntersect/g' \ | ||
-e 's/miUnion\b/RegionUnion/g' \ | ||
-e 's/miRegionAppend\b/RegionAppend/g' \ | ||
-e 's/miRegionValidate\b/RegionValidate/g' \ | ||
-e 's/miRectsToRegion\b/RegionFromRects/g' \ | ||
-e 's/miSubtract\b/RegionSubtract/g' \ | ||
-e 's/miInverse\b/RegionInverse/g' \ | ||
-e 's/miRectIn\b/RegionContainsRect/g' \ | ||
-e 's/miTranslateRegion\b/RegionTranslate/g' \ | ||
-e 's/miRegionReset\b/RegionReset/g' \ | ||
-e 's/miRegionBreak\b/RegionBreak/g' \ | ||
-e 's/miPointInRegion\b/RegionContainsPoint/g' \ | ||
-e 's/miRegionEqual\b/RegionEqual/g' \ | ||
-e 's/miRegionNotEmpty\b/RegionNotEmpty/g' \ | ||
-e 's/miRegionEmpty\b/RegionEmpty/g' \ | ||
-e 's/miRegionExtents\b/RegionExtents/g' \ | ||
-e 's/miPrintRegion\b/RegionPrint/g' \ | ||
-e 's/miRectAlloc\b/RegionRectAlloc/g' \ | ||
-e 's/miValidRegion\b/RegionIsValid/g' \ | ||
-e 's/miRegionBroken\b/RegionBroken/g' \ | ||
-e 's/miClipSpans\b/RegionClipSpans/g' \ | ||
"$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/sh | ||
sed -i \ | ||
-e 's/miEmptyBox\b/RegionEmptyBox/g' \ | ||
-e 's/miEmptyData\b/RegionEmptyData/g' \ | ||
-e 's/miBrokenData\b/RegionBrokenData/g' \ | ||
-e 's/miBrokenRegion\b/RegionBrokenRegion/g' \ | ||
-e 's/miCoalesce\b/RegionCoalesce/g' \ | ||
-e 's/miAppendNonO\b/RegionAppendNonO/g' \ | ||
-e 's/miRegionOp\b/RegionOp/g' \ | ||
-e 's/miSetExtents\b/RegionSetExtents/g' \ | ||
-e 's/miIntersectO\b/RegionIntersectO/g' \ | ||
-e 's/miUnionO\b/RegionUnionO/g' \ | ||
-e 's/miSubtractO\b/RegionSubtractO/g' \ | ||
"$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.