Commit Graph

5908 Commits (0eda63121c34cb52b85e9926b62b8390dcbb4f66)

Author SHA1 Message Date
Hleb Valoshka 0eda63121c Provide common celestia library instead of linking it to all frontends 2020-07-12 10:41:53 +03:00
Hleb Valoshka d7257adacc Don't distribute fonts with debian package, use fonts-dejavu-core package 2020-07-12 10:41:53 +03:00
Hleb Valoshka 4d911e41a6 Don't install legacy *.txf fonts 2020-07-12 10:41:53 +03:00
Hleb Valoshka ddbe9ddd1d Refactor astro.*/url.* to remove extern global variables 2020-07-12 10:41:53 +03:00
Hleb Valoshka 41f6b95c72 Add state tracking for depth 2020-07-08 15:09:18 +03:00
Hleb Valoshka e2bbd838a5 Add state tracking for blending 2020-07-08 15:09:18 +03:00
Hleb Valoshka 0811e7c350 Remove make_shared and make_unique to keep single style 2020-07-07 08:15:18 +03:00
Levin Li 7c81df8850 Fix crash due to init of TwoVectorFrame 2020-07-06 08:24:59 +08:00
Levin Li 06c688ad40 Larger star on hidpi screens 2020-07-04 19:39:37 +08:00
Levin Li c8338ea91f Fix point sso rendering on macOS 2020-07-01 21:43:53 +08:00
Hleb Valoshka 9e956abe3d Remove support for legacy TXF fonts 2020-06-24 17:14:31 +03:00
Levin Li 56ac73be36 Replace is_directory checking method 2020-06-23 21:13:12 +08:00
Hleb Valoshka 0754b85ee1 Add `scroll` method for Console 2020-06-23 14:41:40 +03:00
Hleb Valoshka ce533c9cc1 Make planet to point transition less ugly 2020-06-22 21:25:44 +03:00
unknown 94cd51ac64 Replace LF with CRLF for render info on Windows 2020-06-22 17:27:10 +08:00
Hleb Valoshka 4fd0562386 [win] promote warning C4316 to an error
...to prevent program abnormal termination if classes with members of
Eigen::* types are misaligned in memory
2020-06-22 08:24:10 +03:00
Hleb Valoshka 5b7ad7f9ca Properly align classes with members of Eigen::* type 2020-06-22 08:24:10 +03:00
Hleb Valoshka bd3cd7cc06 Provide win32 builds with debug information enabled 2020-06-22 08:24:10 +03:00
Levin Li 1a29294772 Check path empty before check is_directory 2020-06-22 08:29:42 +08:00
unknown 10e25e808d Do not call bind_text_domain_codeset 2020-06-21 23:35:51 +08:00
unknown 313f762a80 Add native font control to dialogs 2020-06-21 23:35:51 +08:00
unknown 852b696ea2 Fix crash on eclipse finder 2020-06-21 23:35:51 +08:00
unknown b6334718ba Fix string cut off during conversion 2020-06-21 23:35:51 +08:00
Levin Li 14df4fc955 Support reading font face for a specific index from .cfg 2020-06-21 23:17:04 +08:00
Levin Li 9d4043b9fa Fix potential crash caused by substring index 2020-06-21 19:31:07 +08:00
Hleb Valoshka 1c668d3d7f Fix warnings reported by clang/gcc 2020-06-20 10:11:09 +03:00
Levin Li 0e1983f48a Update CMakeLists.txt 2020-06-20 14:00:32 +08:00
Levin Li dbe84c16c4 Update CMakeLists.txt
On Mac with Xcode, CMAKE_CXX_COMPILER_ID is AppleClang
2020-06-20 14:00:32 +08:00
Levin Li 42c7625bf6 Additional safe area inset change
Console background
2020-06-18 23:10:58 +08:00
Hleb Valoshka b18ad6189c Fix alignment of TextureFontPrivate
should fix SIGBUS / BUS_ADRALN on Android
2020-06-17 13:13:34 +03:00
Hleb Valoshka 5124962d07 [qt] Don't use deprecated features 2020-06-16 21:59:21 +03:00
Hleb Valoshka 9a91bfebdb Fix some warnings found by clang++ 2020-06-16 21:59:21 +03:00
Hleb Valoshka f0110afdd8 [cmake] Add useful policies 2020-06-16 21:59:21 +03:00
Hleb Valoshka 794e833a42 Remove legacy build files 2020-06-16 21:59:21 +03:00
Hleb Valoshka ea4f89113a Use flush() before rebuilding atlas
...to avoid garbled output due to changed texture
2020-06-16 21:59:21 +03:00
Levin Li 2228773646 Better support for HiDPI for text 2020-06-16 12:32:27 +08:00
Hleb Valoshka 4619ba1a1a Check angle between normal and a light when applying shadow
to avoid shadow projection on back side (if looking from the light)
2020-06-15 19:27:46 +03:00
Hleb Valoshka 6b8a1fe6b3 Fix flickering edges on iOS
Li: "rq * rq - qq might be negative, and produce nan in this case,
which got translated into the largest float point number to displayed
as white"
2020-06-15 19:27:46 +03:00
Hleb Valoshka c588f80824 OpenGL ES 2.0 initial support 2020-06-15 19:27:46 +03:00
Levin Li 20b066cbcd Fix garbled text 2020-06-15 23:41:40 +08:00
Levin Li 2ce81471f6 Set font with DPI value 2020-06-10 19:41:41 +08:00
Hleb Valoshka ba308e4f19 Fix typo 2020-06-10 09:06:57 +03:00
Hleb Valoshka 0b6940565a [celx] Update ColorAttributeIndex value in gl.Color
...to fix font colors
2020-06-09 21:28:37 +03:00
Hleb Valoshka 457fcc1bac [celx] Return text width from font:render
...instead of updating ModelView matrix, fixes text rendering in LUT5
2020-06-09 21:28:37 +03:00
Hleb Valoshka a33e24914b [celx] Add method celestia:version() 2020-06-09 21:28:37 +03:00
Hleb Valoshka d9243202fa [celx] Add method font:unbind() 2020-06-09 21:28:37 +03:00
Hleb Valoshka e9c7de007a Add missing Overlay::beginText/endText 2020-06-09 13:53:34 +03:00
Levin Li 0110862f27 Allow to change font after initialization 2020-06-08 18:19:35 +08:00
Levin Li a0eb4038f1 Support safe area insets 2020-06-06 09:12:07 +08:00
Hleb Valoshka 4731334605 Small optimization 2020-06-01 10:36:42 +03:00