Matthias Klumpp
fba7e41b48
ci: run LDC tests again
...
Now that LDC is in Stretch again, we can finally test with both
compilers again.
2016-10-15 17:41:11 +02:00
Antonio Rojas
302971f0d8
Fix a build error with LDC
...
Still builds fine with DMD. This doesn't completely fix build with LDC, there are further errors.
Fixes issue #26
2016-10-15 17:00:04 +02:00
Matthias Klumpp
1538452b0a
trivial: Fix typo
2016-10-15 16:56:45 +02:00
Antonio Rojas
b06c07c2aa
Fix build with DMD
...
DMD doesn't provide core.sys.linux.stdio, use core.sys.posix.stdio which is provided by all 3 compilers.
2016-10-15 16:54:42 +02:00
Matthias Klumpp
354504a02c
Simplify zarchive code a little
2016-10-09 17:47:07 +02:00
Matthias Klumpp
b484066aab
meson: Make finding mustache-d more robust
2016-10-03 23:53:06 +02:00
Matthias Klumpp
2a8b08e310
Correctly install templates with Meson
2016-10-03 20:29:36 +02:00
Matthias Klumpp
515c442753
trivial: Move .gitignore so it doesn't get installed
2016-10-03 19:40:08 +02:00
Matthias Klumpp
04f12b252f
trivial: post release version bump
2016-10-03 19:10:37 +02:00
Matthias Klumpp
a754564f52
Release version 0.6.0
2016-10-03 19:05:35 +02:00
Matthias Klumpp
6c6b95ed22
trivial: Fonts are done
2016-10-03 18:56:09 +02:00
Matthias Klumpp
b4be95cec4
ci: Update dependencies
2016-10-03 18:53:03 +02:00
Matthias Klumpp
0162f68081
Update README
2016-10-03 18:51:33 +02:00
Matthias Klumpp
aba95682fe
Add description to options
2016-10-03 18:51:23 +02:00
Matthias Klumpp
fb8a1727ec
Make Meson a first-class buildsystem for asgen
...
Now, Meson won't need helpers anymore to do its job.
2016-10-03 18:44:12 +02:00
Matthias Klumpp
34f4f5c04c
Share ContentsStore between threads again
...
This might resolve #24 and might even kill some excessive memory usage,
since opening LMDB database from multiple threads isn't supported.
In my local asgen runs, after this patch asgen always used around 1G of
memory, not more.
2016-09-30 23:53:53 +02:00
Matthias Klumpp
04f3b855f6
Drop universal font test code
2016-09-30 23:38:03 +02:00
Matthias Klumpp
c64b6db2bf
Multiple font tweaks; reduce the use of Mutexes
2016-09-30 23:37:09 +02:00
Matthias Klumpp
be0d4d7a08
Simplify Fontconfig call
...
Maybe we can work around the expensive threading here, even?
(Needs to be investigated for crashes, Fontconfig is unreliable - e.g.
it crashes if I pass in null to the count parameter of FcFreeTypeQuery()
instead of a pointer to an int (who doesn't check for that?))
2016-09-30 02:45:30 +02:00
Matthias Klumpp
7f3def21b3
Attempt to work around some broken strings when building the icon tarball
2016-09-30 01:34:45 +02:00
Matthias Klumpp
c39badd444
Enable fonts support
...
This resolves #7
2016-09-30 01:15:14 +02:00
Matthias Klumpp
1d74c88e96
More error checking and only process fonts with metainfo again
2016-09-30 01:08:31 +02:00
Matthias Klumpp
c4b5aa5f50
Do some fine-tuning on font processing
2016-09-30 00:24:35 +02:00
Matthias Klumpp
a0e7ff156c
Make FC mutex a bit more fine-grained
...
Now we can at least extract data in parallel, which speeds up the
operations a bit.
2016-09-29 03:19:44 +02:00
Matthias Klumpp
52dadcd57d
Use an ugly mutex to work around Fontconfig issues, and process all fonts for testing
...
We will switch back to metainfo-only soon though.
2016-09-29 01:54:24 +02:00
Matthias Klumpp
5faef6804e
Map font full names to files in a spec-compliant way
2016-09-28 21:28:16 +02:00
Matthias Klumpp
22f27a4905
trivial: Fix unittests
2016-09-26 21:56:17 +02:00
Matthias Klumpp
49692e2ebd
Render font screenshots
2016-09-26 21:17:21 +02:00
Matthias Klumpp
0a5b33a4be
ci: Add missing dependency on mustache-d
2016-09-26 05:06:30 +02:00
Matthias Klumpp
9f5ef15d0a
ci: Test Meson builds as well
2016-09-26 04:58:40 +02:00
Matthias Klumpp
92e5622bd0
Reorganize code for proper namespacing
...
This matches more what's common for D and gives us proper namespacing
(although I hate deeply nested directory structures)
2016-09-26 04:54:56 +02:00
Matthias Klumpp
6ab455ed9c
Remove crash causes my what is likely a Fontconfig bug and no GC issue
...
Not sure why, but when we don't immediately use the fpattern variable we
received from Fontconfig, later calls on it smash memory which makes it
impossible for the GC to free the memory later (from FreeType, not
Fontconfig! - which makes no sense), but works when freeing it
explicitly.
I currently assume that these issues are all multithreading-related and
due to Fontconfig being absolutely non-threadsafe.
It doesn't really make sense for these weird bugs to occur, neither does
it make sense that this change fixes the issues. But since others use
Fontconfig the same way, and with these changes I didn't see any crash
in 30 runs, this patch seems to reliably fix the bug.
2016-09-24 18:10:13 +02:00
Matthias Klumpp
f955629ed9
Render icons for fonts with the right locale
2016-09-24 02:57:12 +02:00
Matthias Klumpp
eacc64e382
Determine languages a font supports
2016-09-23 23:47:07 +02:00
Matthias Klumpp
1865a59de3
trivial: Fix compiler warning
2016-09-23 20:45:34 +02:00
Matthias Klumpp
57f0594e9f
Add dependencies on Pango, FreeType and Fontconfig
...
Unfortunately we need all three for proper rendering of
internationalized fonts and to get all information out of the fonts that
we need.
2016-09-23 20:45:21 +02:00
Matthias Klumpp
5a8f926be5
Render an icon for fonts
2016-09-23 03:52:22 +02:00
Matthias Klumpp
d1f6ee2ba6
Create new Font class to read font metadata
2016-09-23 01:52:51 +02:00
Matthias Klumpp
2a49f8c82c
Only search for .desktop files if we have a DESKTOP_APP component
2016-09-23 01:17:48 +02:00
Matthias Klumpp
12ca9be289
trivial: Fix compiler warning
2016-09-22 22:23:49 +02:00
Matthias Klumpp
3736961c1f
Complain about stuff in legacy paths
2016-09-22 21:56:54 +02:00
Matthias Klumpp
d6fd0a008e
trivial: Fix build
2016-09-22 21:55:47 +02:00
Matthias Klumpp
4ef03ac211
Tweak the issue messages a bit
...
More references, consistent metainfo file naming, etc.
2016-09-22 21:49:45 +02:00
Matthias Klumpp
273f5475b6
Fix a few style issues in zarchive
2016-09-22 21:47:28 +02:00
Matthias Klumpp
4695622829
Merge pull request #23 from iainlane/prune-allpackages
...
ubuntu: Don't reference all packages, just the ones we need (langpacks)
2016-09-21 18:07:39 +02:00
Iain Lane
49b9c584d4
ubuntu: Don't reference all packages, just the ones we need (langpacks)
2016-09-21 16:21:23 +01:00
Matthias Klumpp
b0dd0c4df5
Open databases with NOTLS
...
See discussion on #21 . This also resolves #21 .
2016-09-20 17:41:42 +02:00
Matthias Klumpp
5df0224d12
trivial: Initiative for more meaningful debug messages
2016-09-20 17:18:42 +02:00
Matthias Klumpp
6be003214d
trivial: Remove superfluous brackets
2016-09-20 17:16:30 +02:00
Matthias Klumpp
8b9d17a751
Merge pull request #22 from iainlane/more-robust-downloading
...
Make downloading more robust
2016-09-20 16:53:26 +02:00