summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Release Pango 1.40.91.40.9Emmanuele Bassi2017-08-093-2/+7
| | | | | | | Changes from 1.40.8: - Build and dist fixes - Fix build on Windows with MSVC (#783274)
* docs: Use Markdown instead of DocbookEmmanuele Bassi2017-08-091-9/+9
| | | | | | | The example code is not correctly escaped, and gtk-doc has become slightly more strict. This is a good chance to port this bit of the API reference to Markdown, and avoid all issues in a future without inlined XML.
* tests: Dist missing layout test filesEmmanuele Bassi2017-08-081-2/+2
| | | | | We're disting only a subset of files with Autotools, but Meson expects everything we have in Git.
* Dist pango-features.h.mesonMichael Catanzaro2017-08-081-0/+1
|
* meson: Clean up things a bit on Visual StudioChun-wei Fan2017-08-081-19/+2
| | | | | | | | We can just force-include msvc_recommended_pragmas.h, which will silence the unwanted noise and point out to us potential problems in the code. https://bugzilla.gnome.org/show_bug.cgi?id=783274
* tests: Don't include unistd.h unconditionallyChun-wei Fan2017-08-083-3/+15
| | | | | | | Don't include unistd.h on Windows, and include io.h if necessary, as Windows compilers may not ship with it. https://bugzilla.gnome.org/show_bug.cgi?id=783274
* 1.40.81.40.8Matthias Clasen2017-08-073-2/+7
|
* Add some Emoji presentation sequencesMatthias Clasen2017-08-061-0/+1
| | | | I had some issue with these, so add an example here.
* Add more emoji sequencesBehdad Esfahbod2017-08-011-2/+6
|
* fix build with mesonAlberts Muktupāvels2017-08-011-0/+1
|
* Choose emoji font for color emojiBehdad Esfahbod2017-07-312-11/+50
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=785566
* Add data files and routines for emoji itemizationBehdad Esfahbod2017-07-316-0/+786
| | | | | | Ported from Chromium. Not hooked yet.
* Update pango_default_break function for Sentence BoundaryPeng Wu2017-07-311-443/+305
| | | | | | | Re-write the code for Sentence Boundary, and use the code style like Grapheme Boundary and Word Boundary. https://bugzilla.gnome.org/show_bug.cgi?id=782813
* Update pango_default_break function for Word BoundaryPeng Wu2017-07-311-16/+59
| | | | | | | Improve Word Boundary Rule for Hebrew_Letter, Single_Quote, Double_Quote and Regional Indicator. https://bugzilla.gnome.org/show_bug.cgi?id=782813
* Update pango_default_break function for Emoji ZWJ sequencePeng Wu2017-07-311-1/+116
| | | | | | Support Grapheme Boundaries Rule GB10, GB11, GB12 and GB13. https://bugzilla.gnome.org/show_bug.cgi?id=782813
* Update GraphemeBreakTest.txt to Unicode 9.0.0Peng Wu2017-07-311-10/+498
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=782813
* Add some emoji break test casesMatthias Clasen2017-07-312-0/+20
| | | | These are the same testcases from the previous commit.
* Revert "some test cases"Matthias Clasen2017-07-311-3/+1
| | | | | | | This reverts commit 77b56b4248816c5331ba344f19c45865c8bf2a32. This file is a copy of a file in the ucd, we should not change it. Lets add a new test instead.
* some test casesPeng Wu2017-07-291-1/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=780669
* pango: Support emoji sequence in UnicodePeng Wu2017-07-291-0/+27
| | | | | | | | | | | Checked several emoji sequences, the sequence pattern is like follows: 1. Use zero width joiner to combine two characters with any width 2. Ignore the width of variation selector, tag and emoji modifier for the purposes of finding a run or uniform-width characters. https://bugzilla.gnome.org/show_bug.cgi?id=780669
* Fix a typo in the emoji test fileMatthias Clasen2017-07-291-2/+2
|
* Fix typo in meson build supportuserwithuid2017-07-251-2/+2
| | | | | | The keyword is called symbol_prefix, not symbols_prefix. https://bugzilla.gnome.org/show_bug.cgi?id=785296
* meson: Specify version when defining _POSIX_C_SOURCETing-Wei Lan2017-07-181-1/+1
| | | | | | | | | | FreeBSD libc assumes defining _POSIX_C_SOURCE without specifying a version means a pre-C89 environment with the oldest version of POSIX standard, IEEE Std 1003.1-1988, causing several functions used by pango to be undeclared. To resolve this problem, simply provide a version number when defining _POSIX_C_SOURCE. https://bugzilla.gnome.org/show_bug.cgi?id=783428
* Don't check array for NULLTing-Wei Lan2017-07-181-1/+1
| | | | | | | Arrays can never be NULL, and doing unnecessary checking causes compilers to show warnings. https://bugzilla.gnome.org/show_bug.cgi?id=783428
* Cast enum to int before doing calculationTing-Wei Lan2017-07-181-2/+2
| | | | | | | | It seems that it is possible for compilers to use unsigned interger types to store enum values, so we should cast them to signed interger types before doing calculation to avoid getting unexpected results. https://bugzilla.gnome.org/show_bug.cgi?id=783428
* 1.40.71.40.7Matthias Clasen2017-07-173-2/+9
|
* Drop an questionable G_UNLIKELYMatthias Clasen2017-06-301-1/+1
| | | | Owen and I agreed that this doesn't look right.
* Don't throw away text prematurelyMatthias Clasen2017-06-301-1/+1
| | | | | | | | | | | When calling into cairo to render glyphs, we want to use show_text_glyphs and pass the text along, if the surface supports that operation. But here, we throw the text away prematurely and end up always end passing no text or clusters down to cairo. https://bugzilla.gnome.org/show_bug.cgi?id=784394
* trivial: fix a typoMatthias Clasen2017-06-301-1/+1
| | | | s/bytess/bytes/ in a warning.
* Ignore undefined macros when importing freetype / 2Emmanuele Bassi2017-05-312-0/+9
| | | | Missing inclusions of freetype via Cairo.
* Ignore undefined macros when importing freetypeEmmanuele Bassi2017-05-313-0/+13
| | | | | | Recently, freetype added checks for various options and forgot to check all combinations. This breaks building projects including freetype.h and using -Werror=undef.
* [break-thai] Fix two bugs in libthai glue layerBehdad Esfahbod2017-05-231-1/+6
| | | | | | | | | | | | | | | | | | | First bug is, we were passing as count to th_brk, the UTF-8 length instead of TIS length. Ouch! I'm not sure how this was never caught... The other one was, break-thai was possibly marking a position is_line_break when break.c has already set it to is_char_break=FALSE. This broke the invariant that if a position is line-break, then it must be char-break as well. This, in turn was hitting assertions in certain conditions. Hit it with this for example: $ ./pango-view --text 'ส์" (S' --width 43 --font 156px Note that in a correct world the Latin part of that string should not reach break-thai.c at all, but that's not how pango-layout.c breaks right now. See comment before pango_break() call in pango-layout.c.
* Unmark private symbols as exportedEmmanuele Bassi2017-05-232-3/+0
| | | | | | | | Commit ce097c062ea079bf7888d2b2f1f7b17d34f976b6 was a bit too eager to mark symbols as public, and marked some internal functions as exported. If a symbol has an underscore prefix it generally means it's not meant to be public.
* meson: Remove the pango enums type from the sub-librariesEmmanuele Bassi2017-05-231-5/+5
| | | | | | | | | Sub-libraries need to be built after pango-enum-types.h has been generated; we already have a transitive dependency on the header through libpango_dep, so we do not need to add the header to the list of sources. This avoids symbols leaking in the sub-libraries.
* Don't change fonts for variation selectorsBehdad Esfahbod2017-05-221-1/+6
| | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=781123 Patch from Takao Fujiwara.
* meson: Generate correct sonamesJan Alexander Steffens (heftig)2017-05-222-1/+7
| | | | | "soversion:" is for the version placed in the soname. The full library revision goes into "version:". This affects the symlinks, too.
* meson: Use only spaces for indentJan Alexander Steffens (heftig)2017-05-221-8/+8
| | | | This was an inconsistent mix of tabs and spaces.
* meson: Ensure we generate the appropriate pkg-config filesEmmanuele Bassi2017-05-221-6/+19
| | | | | | The Pango pkg-config files are generated depending on the platform we are building for, and backends we are using. Only the `pango.pc` file is generated unconditionally.
* Use the appropriate symbols for the version stringEmmanuele Bassi2017-05-221-1/+1
| | | | | We need to use the `@...@` pattern so that Meson can replace the symbols.
* build: Drop the 'lib' prefix from shared librariesEmmanuele Bassi2017-05-221-4/+4
| | | | Meson adds it by itself, where appropriate.
* build: Add Meson files to the Autotools distEmmanuele Bassi2017-05-221-1/+18
| | | | | This way, we can use Meson to build a release tarball generated by Autotools.
* 1.40.61.40.6Matthias Clasen2017-05-223-2/+10
|
* meson: Add pango-view's man page generationwip/mesonEmmanuele Bassi2017-05-191-8/+26
|
* meson: Install tests and additional dataEmmanuele Bassi2017-05-194-1/+131
|
* meson: Add a few missing things, minor fixes, TODONirbheek Chauhan2017-05-197-41/+66
|
* build: Add Meson build systemEmmanuele Bassi2017-05-1912-0/+994
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Meson is a meta build system that is: - fast - simpler to understand and use - portable to multiple platforms through different backends - well integrated with the GNOME platform - well maintained Using Meson allows us to build Pango much more quickly, and on all the platforms we currently target, without any loss of functionality, compared to Autotools. Some timing comparisons with hot ccache for both build systems: * autogen.sh: * meson real 0m11.149s real 0m2.525s user 0m8.153s user 0m1.609s sys 0m2.363s sys 0m1.206s * make -j$(($(nproc) + 2)) * ninja real 0m9.186s real 0m3.387s user 0m16.295s user 0m6.887s sys 0m5.337s sys 0m1.318s -------------------------------------------------------------- * autotools * meson + ninja real 0m27.669s real 0m5.772s user 0m45.622s user 0m8.465s sys 0m10.698s sys 0m2.357s System: Intel Core i7-7500U, SSD, 16GB of RAM
* tests: Use the appropriate extension for the C++ testEmmanuele Bassi2017-05-192-1/+1
| | | | | | While `.C` is a valid GCC extension for C++ files, it only works for case sensitive file systems. Let's use `.cpp`, like the rest of the planet does.
* Remove uninstalled pkg-config filesEmmanuele Bassi2017-05-197-58/+1
| | | | | No other library in the stack ships them any more, and they are of dubious use.
* Remove old ChangeLog filesEmmanuele Bassi2017-05-1912-20078/+0
| | | | | The log of each change is in Git, as it should be. For dist tarballs we only care about the changes since the beginning of the last cycle.
* examples: Initialize variablesEmmanuele Bassi2017-05-191-3/+3
| | | | Avoid a compiler warning for potentially uninitialized variables.