Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vincent Wei
harfbuzz
Commits
c77ae408
Commit
c77ae408
authored
6 years ago
by
Behdad Esfahbod
Browse files
Options
Download
Email Patches
Plain Diff
Rename hb-*private.hh to hb-*.hh
Sorry for the noise, downstream custom builders. Please adjust.
parent
82b12bca
Changes
168
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
src/Makefile.sources
+36
-39
src/Makefile.sources
src/check-includes.sh
+4
-4
src/check-includes.sh
src/dump-indic-data.cc
+1
-1
src/dump-indic-data.cc
src/dump-khmer-data.cc
+1
-1
src/dump-khmer-data.cc
src/dump-myanmar-data.cc
+1
-1
src/dump-myanmar-data.cc
src/dump-use-data.cc
+1
-1
src/dump-use-data.cc
src/gen-indic-table.py
+1
-1
src/gen-indic-table.py
src/gen-use-table.py
+1
-1
src/gen-use-table.py
src/hb-aat-layout-ankr-table.hh
+1
-1
src/hb-aat-layout-ankr-table.hh
src/hb-aat-layout-bsln-table.hh
+1
-1
src/hb-aat-layout-bsln-table.hh
src/hb-aat-layout-common.hh
+4
-4
src/hb-aat-layout-common.hh
src/hb-aat-layout-feat-table.hh
+1
-1
src/hb-aat-layout-feat-table.hh
src/hb-aat-layout-kerx-table.hh
+2
-2
src/hb-aat-layout-kerx-table.hh
src/hb-aat-layout-morx-table.hh
+3
-3
src/hb-aat-layout-morx-table.hh
src/hb-aat-layout-trak-table.hh
+3
-3
src/hb-aat-layout-trak-table.hh
src/hb-aat-layout.cc
+4
-4
src/hb-aat-layout.cc
src/hb-aat-layout.hh
+7
-7
src/hb-aat-layout.hh
src/hb-aat-ltag-table.hh
+1
-1
src/hb-aat-ltag-table.hh
src/hb-atomic.hh
+4
-4
src/hb-atomic.hh
src/hb-blob.cc
+2
-2
src/hb-blob.cc
with
79 additions
and
82 deletions
+79
-82
src/Makefile.sources
View file @
c77ae408
# Base and default-included sources and headers
HB_BASE_sources
=
\
hb-atomic
-private
.hh
\
hb-blob
-private
.hh
\
hb-atomic.hh
\
hb-blob.hh
\
hb-blob.cc
\
hb-buffer
-private
.hh
\
hb-buffer.hh
\
hb-buffer-serialize.cc
\
hb-buffer.cc
\
hb-common.cc
\
hb-debug.hh
\
hb-dsalgs.hh
\
hb-face
-private
.hh
\
hb-face.hh
\
hb-face.cc
\
hb-font
-private
.hh
\
hb-font.hh
\
hb-font.cc
\
hb-iter
-private
.hh
\
hb-map
-private
.hh
\
hb-iter.hh
\
hb-map.hh
\
hb-map.cc
\
hb-machinery
-private
.hh
\
hb-mutex
-private
.hh
\
hb-machinery.hh
\
hb-mutex.hh
\
hb-null.hh
\
hb-object
-private
.hh
\
hb-open-file
-private
.hh
\
hb-open-type
-private
.hh
\
hb-object.hh
\
hb-open-file.hh
\
hb-open-type.hh
\
hb-ot-color-cbdt-table.hh
\
hb-ot-cmap-table.hh
\
hb-ot-glyf-table.hh
\
...
...
@@ -38,23 +38,23 @@ HB_BASE_sources = \
hb-ot-post-macroman.hh
\
hb-ot-post-table.hh
\
hb-ot-tag.cc
\
hb
-private
.hh
\
hb-set-digest
-private
.hh
\
hb-set
-private
.hh
\
hb.hh
\
hb-set-digest.hh
\
hb-set.hh
\
hb-set.cc
\
hb-shape.cc
\
hb-shape-plan
-private
.hh
\
hb-shape-plan.hh
\
hb-shape-plan.cc
\
hb-shaper-list.hh
\
hb-shaper-impl
-private
.hh
\
hb-shaper
-private
.hh
\
hb-shaper-impl.hh
\
hb-shaper.hh
\
hb-shaper.cc
\
hb-static.cc
\
hb-string-array.hh
\
hb-unicode
-private
.hh
\
hb-unicode.hh
\
hb-unicode.cc
\
hb-vector
-private
.hh
\
hb-utf
-private
.hh
\
hb-vector.hh
\
hb-utf.hh
\
hb-warning.cc
\
$(NULL)
...
...
@@ -89,61 +89,61 @@ HB_FALLBACK_sources = \
HB_OT_sources
=
\
hb-aat-layout.cc
\
hb-aat-layout-common
-private
.hh
\
hb-aat-layout-common.hh
\
hb-aat-layout-ankr-table.hh
\
hb-aat-layout-bsln-table.hh
\
hb-aat-layout-feat-table.hh
\
hb-aat-layout-kerx-table.hh
\
hb-aat-layout-morx-table.hh
\
hb-aat-layout-trak-table.hh
\
hb-aat-layout
-private
.hh
\
hb-aat-layout.hh
\
hb-aat-ltag-table.hh
\
hb-ot-font.cc
\
hb-ot-layout.cc
\
hb-ot-layout-base-table.hh
\
hb-ot-layout-common
-private
.hh
\
hb-ot-layout-common.hh
\
hb-ot-layout-gdef-table.hh
\
hb-ot-layout-gpos-table.hh
\
hb-ot-layout-gsubgpos
-private
.hh
\
hb-ot-layout-gsubgpos.hh
\
hb-ot-layout-gsub-table.hh
\
hb-ot-layout-jstf-table.hh
\
hb-ot-layout
-private
.hh
\
hb-ot-layout.hh
\
hb-ot-color.cc
\
hb-ot-color-colr-table.hh
\
hb-ot-color-cpal-table.hh
\
hb-ot-color-sbix-table.hh
\
hb-ot-color-svg-table.hh
\
hb-ot-map.cc
\
hb-ot-map
-private
.hh
\
hb-ot-map.hh
\
hb-ot-math.cc
\
hb-ot-math-table.hh
\
hb-ot-shape.cc
\
hb-ot-shape-complex-arabic.cc
\
hb-ot-shape-complex-arabic-fallback.hh
\
hb-ot-shape-complex-arabic
-private
.hh
\
hb-ot-shape-complex-arabic.hh
\
hb-ot-shape-complex-arabic-table.hh
\
hb-ot-shape-complex-arabic-win1256.hh
\
hb-ot-shape-complex-default.cc
\
hb-ot-shape-complex-hangul.cc
\
hb-ot-shape-complex-hebrew.cc
\
hb-ot-shape-complex-indic.cc
\
hb-ot-shape-complex-indic
-private
.hh
\
hb-ot-shape-complex-indic.hh
\
hb-ot-shape-complex-indic-table.cc
\
hb-ot-shape-complex-khmer
-private
.hh
\
hb-ot-shape-complex-khmer.hh
\
hb-ot-shape-complex-khmer.cc
\
hb-ot-shape-complex-myanmar
-private
.hh
\
hb-ot-shape-complex-myanmar.hh
\
hb-ot-shape-complex-myanmar.cc
\
hb-ot-shape-complex-thai.cc
\
hb-ot-shape-complex-tibetan.cc
\
hb-ot-shape-complex-use.cc
\
hb-ot-shape-complex-use
-private
.hh
\
hb-ot-shape-complex-use.hh
\
hb-ot-shape-complex-use-table.cc
\
hb-ot-shape-complex
-private
.hh
\
hb-ot-shape-normalize
-private
.hh
\
hb-ot-shape-complex.hh
\
hb-ot-shape-normalize.hh
\
hb-ot-shape-normalize.cc
\
hb-ot-shape-fallback
-private
.hh
\
hb-ot-shape-fallback.hh
\
hb-ot-shape-fallback.cc
\
hb-ot-shape
-private
.hh
\
hb-ot-shape.hh
\
hb-ot-var.cc
\
hb-ot-var-avar-table.hh
\
hb-ot-var-fvar-table.hh
\
...
...
@@ -214,9 +214,6 @@ HB_SUBSET_sources = \
HB_SUBSET_headers
=
\
hb-subset.h
\
hb-subset-glyf.hh
\
hb-subset-plan.hh
\
hb-subset-private.hh
\
$(NULL)
HB_GOBJECT_DIST_sources
=
hb-gobject-structs.cc
...
...
This diff is collapsed.
Click to expand it.
src/check-includes.sh
View file @
c77ae408
...
...
@@ -23,14 +23,14 @@ grep -v 'hb[.]h:' |
grep
.
>
&2
&&
stat
=
1
echo
'Checking that source files #include
"hb-*
private
.hh"
first (or none)'
echo
'Checking that source files #include
a
private
header
first (or none)'
for
x
in
$HBSOURCES
;
do
test
-f
"
$srcdir
/
$x
"
-a
!
-f
"
$x
"
&&
x
=
"
$srcdir
/
$x
"
grep
'#.*\<include\>'
"
$x
"
/dev/null |
grep
-v
'include _'
|
head
-n
1
grep
'#.*\<include\>'
"
$x
"
/dev/null |
head
-n
1
done
|
grep
-v
'"hb-.*
private
[.]hh"'
|
grep
-v
'hb
-private
[.]hh
:
'
|
grep
-v
'"hb-.*[.]hh"'
|
grep
-v
'hb[.]hh'
|
grep
.
>
&2
&&
stat
=
1
...
...
This diff is collapsed.
Click to expand it.
src/dump-indic-data.cc
View file @
c77ae408
...
...
@@ -24,7 +24,7 @@
* Google Author(s): Behdad Esfahbod
*/
#include "hb-ot-shape-complex-indic
-private
.hh"
#include "hb-ot-shape-complex-indic.hh"
int
main
(
void
)
...
...
This diff is collapsed.
Click to expand it.
src/dump-khmer-data.cc
View file @
c77ae408
...
...
@@ -24,7 +24,7 @@
* Google Author(s): Behdad Esfahbod
*/
#include "hb-ot-shape-complex-khmer
-private
.hh"
#include "hb-ot-shape-complex-khmer.hh"
int
main
(
void
)
...
...
This diff is collapsed.
Click to expand it.
src/dump-myanmar-data.cc
View file @
c77ae408
...
...
@@ -24,7 +24,7 @@
* Google Author(s): Behdad Esfahbod
*/
#include "hb-ot-shape-complex-myanmar
-private
.hh"
#include "hb-ot-shape-complex-myanmar.hh"
int
main
(
void
)
...
...
This diff is collapsed.
Click to expand it.
src/dump-use-data.cc
View file @
c77ae408
...
...
@@ -24,7 +24,7 @@
* Google Author(s): Behdad Esfahbod
*/
#include "hb-ot-shape-complex-use
-private
.hh"
#include "hb-ot-shape-complex-use.hh"
int
main
(
void
)
...
...
This diff is collapsed.
Click to expand it.
src/gen-indic-table.py
View file @
c77ae408
...
...
@@ -102,7 +102,7 @@ for h in headers:
print
(
" * %s"
%
(
l
.
strip
()))
print
(
" */"
)
print
()
print
(
'#include "hb-ot-shape-complex-indic
-private
.hh"'
)
print
(
'#include "hb-ot-shape-complex-indic.hh"'
)
print
()
# Shorten values
...
...
This diff is collapsed.
Click to expand it.
src/gen-use-table.py
View file @
c77ae408
...
...
@@ -394,7 +394,7 @@ for h in headers:
print
(
" * %s"
%
(
l
.
strip
()))
print
(
" */"
)
print
()
print
(
'#include "hb-ot-shape-complex-use
-private
.hh"'
)
print
(
'#include "hb-ot-shape-complex-use.hh"'
)
print
()
total
=
0
...
...
This diff is collapsed.
Click to expand it.
src/hb-aat-layout-ankr-table.hh
View file @
c77ae408
...
...
@@ -25,7 +25,7 @@
#ifndef HB_AAT_LAYOUT_ANKR_TABLE_HH
#define HB_AAT_LAYOUT_ANKR_TABLE_HH
#include "hb-aat-layout-common
-private
.hh"
#include "hb-aat-layout-common.hh"
/*
* ankr -- Anchor Point
...
...
This diff is collapsed.
Click to expand it.
src/hb-aat-layout-bsln-table.hh
View file @
c77ae408
...
...
@@ -25,7 +25,7 @@
#ifndef HB_AAT_LAYOUT_BSLN_TABLE_HH
#define HB_AAT_LAYOUT_BSLN_TABLE_HH
#include "hb-aat-layout-common
-private
.hh"
#include "hb-aat-layout-common.hh"
/*
* bsln -- Baseline
...
...
This diff is collapsed.
Click to expand it.
src/hb-aat-layout-common
-private
.hh
→
src/hb-aat-layout-common.hh
View file @
c77ae408
...
...
@@ -24,10 +24,10 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_AAT_LAYOUT_COMMON_
PRIVATE_
HH
#define HB_AAT_LAYOUT_COMMON_
PRIVATE_
HH
#ifndef HB_AAT_LAYOUT_COMMON_HH
#define HB_AAT_LAYOUT_COMMON_HH
#include "hb-aat-layout
-private
.hh"
#include "hb-aat-layout.hh"
namespace
AAT
{
...
...
@@ -641,4 +641,4 @@ struct hb_aat_apply_context_t :
}
/* namespace AAT */
#endif
/* HB_AAT_LAYOUT_COMMON_
PRIVATE_
HH */
#endif
/* HB_AAT_LAYOUT_COMMON_HH */
This diff is collapsed.
Click to expand it.
src/hb-aat-layout-feat-table.hh
View file @
c77ae408
...
...
@@ -25,7 +25,7 @@
#ifndef HB_AAT_LAYOUT_FEAT_TABLE_HH
#define HB_AAT_LAYOUT_FEAT_TABLE_HH
#include "hb-aat-layout-common
-private
.hh"
#include "hb-aat-layout-common.hh"
/*
* feat -- Feature Name
...
...
This diff is collapsed.
Click to expand it.
src/hb-aat-layout-kerx-table.hh
View file @
c77ae408
...
...
@@ -28,8 +28,8 @@
#ifndef HB_AAT_LAYOUT_KERX_TABLE_HH
#define HB_AAT_LAYOUT_KERX_TABLE_HH
#include "hb-open-type
-private
.hh"
#include "hb-aat-layout-common
-private
.hh"
#include "hb-open-type.hh"
#include "hb-aat-layout-common.hh"
#include "hb-aat-layout-ankr-table.hh"
/*
...
...
This diff is collapsed.
Click to expand it.
src/hb-aat-layout-morx-table.hh
View file @
c77ae408
...
...
@@ -27,9 +27,9 @@
#ifndef HB_AAT_LAYOUT_MORX_TABLE_HH
#define HB_AAT_LAYOUT_MORX_TABLE_HH
#include "hb-open-type
-private
.hh"
#include "hb-aat-layout-common
-private
.hh"
#include "hb-ot-layout-common
-private
.hh"
#include "hb-open-type.hh"
#include "hb-aat-layout-common.hh"
#include "hb-ot-layout-common.hh"
/*
* morx -- Extended Glyph Metamorphosis
...
...
This diff is collapsed.
Click to expand it.
src/hb-aat-layout-trak-table.hh
View file @
c77ae408
...
...
@@ -28,9 +28,9 @@
#ifndef HB_AAT_LAYOUT_TRAK_TABLE_HH
#define HB_AAT_LAYOUT_TRAK_TABLE_HH
#include "hb-aat-layout-common
-private
.hh"
#include "hb-ot-layout
-private
.hh"
#include "hb-open-type
-private
.hh"
#include "hb-aat-layout-common.hh"
#include "hb-ot-layout.hh"
#include "hb-open-type.hh"
/*
* trak -- Tracking
...
...
This diff is collapsed.
Click to expand it.
src/hb-aat-layout.cc
View file @
c77ae408
...
...
@@ -24,12 +24,12 @@
* Google Author(s): Behdad Esfahbod
*/
#include "hb-open-type
-private
.hh"
#include "hb-open-type.hh"
#include "hb-ot-layout
-private
.hh"
#include "hb-ot-layout-gsubgpos
-private
.hh"
#include "hb-ot-layout.hh"
#include "hb-ot-layout-gsubgpos.hh"
#include "hb-aat-layout
-private
.hh"
#include "hb-aat-layout.hh"
#include "hb-aat-layout-ankr-table.hh"
#include "hb-aat-layout-bsln-table.hh" // Just so we compile it; unused otherwise.
#include "hb-aat-layout-feat-table.hh" // Just so we compile it; unused otherwise.
...
...
This diff is collapsed.
Click to expand it.
src/hb-aat-layout
-private
.hh
→
src/hb-aat-layout.hh
View file @
c77ae408
...
...
@@ -24,14 +24,14 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_AAT_LAYOUT_
PRIVATE_
HH
#define HB_AAT_LAYOUT_
PRIVATE_
HH
#ifndef HB_AAT_LAYOUT_HH
#define HB_AAT_LAYOUT_HH
#include "hb
-private
.hh"
#include "hb.hh"
#include "hb-font
-private
.hh"
#include "hb-buffer
-private
.hh"
#include "hb-open-type
-private
.hh"
#include "hb-font.hh"
#include "hb-buffer.hh"
#include "hb-open-type.hh"
HB_INTERNAL
void
...
...
@@ -40,4 +40,4 @@ hb_aat_layout_substitute (hb_font_t *font, hb_buffer_t *buffer);
HB_INTERNAL
void
hb_aat_layout_position
(
hb_font_t
*
font
,
hb_buffer_t
*
buffer
);
#endif
/* HB_AAT_LAYOUT_
PRIVATE_
HH */
#endif
/* HB_AAT_LAYOUT_HH */
This diff is collapsed.
Click to expand it.
src/hb-aat-ltag-table.hh
View file @
c77ae408
...
...
@@ -25,7 +25,7 @@
#ifndef HB_AAT_LTAG_TABLE_HH
#define HB_AAT_LTAG_TABLE_HH
#include "hb-aat-layout-common
-private
.hh"
#include "hb-aat-layout-common.hh"
/*
* ltag -- Language Tag
...
...
This diff is collapsed.
Click to expand it.
src/hb-atomic
-private
.hh
→
src/hb-atomic.hh
View file @
c77ae408
...
...
@@ -29,10 +29,10 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_ATOMIC_
PRIVATE_
HH
#define HB_ATOMIC_
PRIVATE_
HH
#ifndef HB_ATOMIC_HH
#define HB_ATOMIC_HH
#include "hb
-private
.hh"
#include "hb.hh"
/*
...
...
@@ -278,4 +278,4 @@ struct hb_atomic_ptr_t
};
#endif
/* HB_ATOMIC_
PRIVATE_
HH */
#endif
/* HB_ATOMIC_HH */
This diff is collapsed.
Click to expand it.
src/hb-blob.cc
View file @
c77ae408
...
...
@@ -30,8 +30,8 @@
#define _POSIX_C_SOURCE 200809L
#endif
#include "hb
-private
.hh"
#include "hb-blob
-private
.hh"
#include "hb.hh"
#include "hb-blob.hh"
#ifdef HAVE_SYS_MMAN_H
#ifdef HAVE_UNISTD_H
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
5
…
9
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment