Vincent Wei
57bdcd4754
use get_sem_key_for_layers
2020-01-22 17:03:42 +08:00
Vincent Wei
b95538a415
use a small static buffer for zero size surface
2020-01-22 17:03:19 +08:00
Vincent Wei
fa7c84b2b5
enhance to delete old IPC objects
2020-01-22 17:02:57 +08:00
Vincent Wei
bc77048488
make lock_zi_for_xxx/unlock_zi_for_xxx static inline
2020-01-22 17:02:22 +08:00
Vincent Wei
2f21b22a49
make lock_zi_for_xxx/unlock_zi_for_xxx static inline
2020-01-22 17:02:12 +08:00
Vincent Wei
ec91986854
add inline functions for get shm/sem key for system/layer
2020-01-22 17:01:42 +08:00
Vincent Wei
e7b03037be
notes for 4.0.5
2020-01-22 17:01:02 +08:00
Vincent Wei
9ff822c7fd
change version to 4.0.5
2020-01-03 14:45:12 +08:00
Vincent Wei
239924c63e
BUGFIXING: always initialize csr_bmp fields with explicit assignments
2020-01-03 14:38:28 +08:00
Vincent Wei
2f85645e9d
change version to 4.0.4
2020-01-03 14:37:50 +08:00
Vincent Wei
9a6b208a85
FIXBUG: bad handling of repeated keydowns
2019-12-30 11:47:30 +08:00
Vincent Wei
28e49dd768
Version -> Version.md
2019-12-24 11:49:56 +08:00
Vincent Wei
d5200eec58
add ignored subdirectories
2019-12-24 10:44:59 +08:00
Vincent Wei
d35bde9a4c
fix some misspells
2019-12-24 10:02:49 +08:00
Vincent Wei
daab1ae19b
Merge branch 'gpu-integration'
2019-12-24 10:00:19 +08:00
Vincent Wei
3e8e8a5984
4.1.0 -> 4.0.4; release notes
2019-12-24 09:59:48 +08:00
Vincent Wei
3f80c9f3c0
check surface for GetVideoHandle
2019-12-12 15:01:44 +08:00
Vincent Wei
548117ac06
call drmModeAddFB2 for scanout buffer
2019-12-02 17:27:48 +08:00
VincentWei
6339a7417b
__dri_ex_driver_get to __drm_ex_driver_get
2019-12-02 14:31:48 +08:00
Vincent Wei
a2e4b55966
cleanup
2019-12-02 11:09:12 +08:00
Vincent Wei
fb90d5e164
debug
2019-12-01 14:01:11 +08:00
Vincent Wei
68a29d0e53
check whether the driver is initialized
2019-12-01 12:46:10 +08:00
Vincent Wei
117b79e51c
change default DRM driver name
2019-12-01 12:45:46 +08:00
Vincent Wei
3df060c5da
add argument name to InitGUI
2019-11-28 12:30:09 +08:00
Vincent Wei
cd558b1739
add prime_fd and name fields for DrmSurface object and info
2019-11-25 17:12:17 +08:00
Vincent Wei
873e88313b
dri -> drm
2019-11-21 10:57:33 +08:00
Vincent Wei
f0975518b1
change since 4.0.4 to since 4.1.0
2019-11-21 10:25:59 +08:00
Vincent Wei
14075969bd
user DRM/drm instead of DRI/dri for DRM engine and APIs
2019-11-21 10:25:03 +08:00
Vincent Wei
47ec0374c5
change version to 4.1.0
2019-11-20 13:52:32 +08:00
Vincent Wei
6af2f7a67b
change version to 4.1.0 and fix bad libdrm includ path
2019-11-20 11:28:54 +08:00
Vincent Wei
db0956431d
add exdrv_handle for the handle of the shared library for the external DRM driver
2019-11-20 10:35:04 +08:00
Vincent Wei
de64d2ac96
use dlopen to load external DRM driver
2019-11-20 10:34:21 +08:00
Vincent Wei
38234739e5
add a new argument to __dri_ex_driver_get: device_fd
2019-11-20 10:33:40 +08:00
Vincent Wei
c6a4943aae
add new key for dri section: exdriver
2019-11-20 10:32:59 +08:00
Vincent Wei
7a7dd5b6e5
implement IsScreenDC and IsWindowDC
2019-11-19 15:59:40 +08:00
Vincent Wei
7123f08da6
add IsScreenDC and IsWindowDC
2019-11-19 15:59:10 +08:00
Vincent Wei
13348f18be
tune calls of _WRN_PRINTF
2019-11-19 09:42:08 +08:00
Vincent Wei
064ceade0f
tune _WRN_PRINTF and _DBG_PRINTF
2019-11-19 09:41:47 +08:00
Vincent Wei
8832f051a8
add create_buffer_from_prime_fd operation
2019-11-19 09:41:13 +08:00
Vincent Wei
add133abd4
add implementation for driCreateDCFromPrimeFd
2019-11-19 09:40:33 +08:00
Vincent Wei
def8833037
add driCreateDCFromPrimeFd
2019-11-19 09:40:06 +08:00
Vincent Wei
b1913b67d6
tune
2019-11-18 19:02:29 +08:00
Vincent Wei
ef9afd0f55
GetSurfaceHandle -> GetVideoHandle; tune driGetDeviceFD and driGetSurfaceInfo; add driCreateDCFromName and driCreateDCFromHandle
2019-11-18 19:02:22 +08:00
Vincent Wei
5b340d82dc
GetSurfaceHandle -> GetVideoHandle; tune driGetDeviceFD and driGetSurfaceInfo; add driCreateDCFromName and driCreateDCFromHandle
2019-11-18 19:01:33 +08:00
Vincent Wei
64be953123
tune interface of create_buffer_from_name; add DRI driver method create_buffer_from_handle
2019-11-18 18:59:27 +08:00
Vincent Wei
580cf66695
make fbcon engine disabled by default
2019-11-14 09:04:57 +08:00
Vincent Wei
637dbbce68
change link to licensing policy
2019-11-13 11:53:59 +08:00
Vincent Wei
bb63875964
new API: IsMemDC
2019-11-06 17:04:24 +08:00
Vincent Wei
fe26d71145
change version to 4.0.3
2019-11-06 17:04:16 +08:00
Vincent Wei
9095139bf7
cleanup DriDriverOps, use DriSurfaceBuffer object for addressing the surface buffer
2019-11-04 11:16:03 +08:00
Vincent Wei
0581365fcd
merge pull request for checking AARCH64 and RISCV architectures
2019-11-04 08:47:31 +08:00
Vincent Wei
9ae865eb3e
Merge branch 'master' of github.com:VincentWei/minigui into gpu-integration
2019-11-04 08:42:48 +08:00
Vincent Wei
5c531a6154
Merge pull request #24 from wangrunji0408/master
...
Fix byte order for aarch64 and riscv
2019-11-04 08:34:29 +08:00
Runji Wang
df93b74fca
fix byte order for aarch64 and riscv
2019-11-02 00:38:50 +08:00
Vincent Wei
9af014c045
New API: GetSurfaceHandle, driGetDeviceFD, driGetSurfaceInfo; Tune operations of DriDriverOps
2019-11-01 17:47:15 +08:00
Vincent Wei
9823a00352
global variable current_video -> __mg_current_video
2019-11-01 14:18:37 +08:00
Vincent Wei
38aa40042c
release version 4.0.2
2019-10-31 11:29:24 +08:00
Vincent Wei
991472894b
tune configure output
2019-10-24 17:33:45 +08:00
Vincent Wei
ca249ba378
change version to 4.0.2
2019-10-24 17:27:51 +08:00
Vincent Wei
04adac288f
change version to 4.0.2
2019-10-24 17:26:08 +08:00
Vincent Wei
fcd401128c
add configure options for RT-Thread, RTEMS, FreeRTOS
2019-10-24 17:24:37 +08:00
Vincent Wei
067df2ea37
tune for minigui-docs
2019-10-23 19:08:03 +08:00
Vincent Wei
c47dad1ad5
restore build/rules-pc.linux and fix errors in makefile.ng files
2019-10-18 16:56:05 +08:00
Vincent Wei
28d907165f
remove standalone option
2019-10-17 16:41:36 +08:00
Vincent Wei
8a8cdd18ed
tune readme
2019-07-29 16:34:33 +08:00
Vincent Wei
2e5a8804bf
tune api desc
2019-07-29 10:03:27 +08:00
Vincent Wei
173171b653
use -1 instead of 0xFFFFFFFF for ON_UPDSECDC_DONOTHING; chang return type of GetGDCapability to Uint32
2019-07-26 12:07:32 +08:00
Vincent Wei
b4e46463cd
remove _DEBUG
2019-07-19 15:49:16 +08:00
Vincent Wei
d7c818080c
libdrm does not need udev
2019-07-19 15:32:08 +08:00
Vincent Wei
c03ed8d23a
change version
2019-07-19 14:56:58 +08:00
Vincent Wei
f965c4b8ea
notes for ver-4-0-1
2019-07-19 14:45:24 +08:00
Vincent Wei
3710611ebd
restore GetResPath
2019-07-19 14:08:08 +08:00
VincentWei
d50c5c25ed
use %zu instead of %lu for size_t values
2019-07-19 12:23:54 +08:00
Vincent Wei
b7820d888f
use DWORD for RES_KEY
2019-07-19 11:21:54 +08:00
Vincent Wei
a068f25519
use FNV 1a algrithm for Str2Key
2019-07-19 11:11:34 +08:00
Vincent Wei
f6ad9a960e
cleanup
2019-07-18 14:59:12 +08:00
Vincent Wei
29a6e0f0f9
tune api desc
2019-07-18 12:44:24 +08:00
Vincent Wei
868548cf0d
fix typos
2019-07-17 17:23:14 +08:00
Vincent Wei
a9daa05807
- [Overview](#overview)
2019-07-17 17:22:41 +08:00
Vincent Wei
5e0500411e
struct description for _DriDriverOps
2019-07-16 11:36:27 +08:00
Vincent Wei
717fbd6fee
tune for version 4.0.0
2019-07-15 15:46:43 +08:00
Vincent Wei
53c77a9a73
prepend excpetion list statement
2019-07-15 14:17:20 +08:00
Vincent Wei
e256fb2a0a
restore timer thread
2019-07-14 17:17:40 +08:00
Vincent Wei
ce29edbca6
disable timer thread for MiniGUI-Threads
2019-07-14 17:08:36 +08:00
Vincent Wei
3a37407982
cleanup for MiniGUI-Processes
2019-07-14 16:38:03 +08:00
Vincent Wei
3d0e33d2b3
Use ENTER_DRAWING_NOCHECK for BitBlt
2019-07-14 15:26:53 +08:00
Vincent Wei
8040f7abd5
__mg_time -> mg_os_time; __mg_mktime -> __mg_os_mktime; __mg_localtime -> __mg_os_localtime; use clock_gettime for tick count instead of gettimeofday
2019-07-14 14:21:40 +08:00
Vincent Wei
7e1e59a40b
tune
2019-07-12 17:36:53 +08:00
Vincent Wei
d6cbed96bc
tune format
2019-07-12 17:25:56 +08:00
Vincent Wei
8adabc5917
Do not send MSG_NCPAINT when calling UpdateInvalidateRect
2019-07-12 17:13:56 +08:00
Vincent Wei
11950343df
two new non-posix functions: __mg_os_start_time and __mg_os_get_time, and use __mg_os_get_time to implement GetTickCount for MiniGUI Standalone runmode
2019-07-12 16:38:16 +08:00
Vincent Wei
c7201cbde1
Merge branch 'master' of gitlab.fmsoft.cn:VincentWei/minigui
2019-07-11 19:35:44 +08:00
Vincent Wei
fd67781384
use DRM pixel format to define the pixel format surface
2019-07-11 19:34:43 +08:00
Vincent Wei
93101e6eed
clear GAL_HWACCEL flag if check_blit retruns non-zero
2019-07-11 16:35:42 +08:00
Vincent Wei
3494e3d496
cleanup
2019-07-11 15:11:56 +08:00
Vincent Wei
5138402296
tune DriDriverOps to use DriSurfaceBuffer* for mapped surface buffer
2019-07-11 12:38:10 +08:00
Vincent Wei
f324e2a1b6
tune release notes
2019-07-08 18:18:32 +08:00
Vincent Wei
36d5500a31
use DriPixelFormat when creating hardware buffer
2019-07-08 17:31:19 +08:00
Vincent Wei
61819fd832
Windows
2019-07-08 12:03:52 +08:00
Vincent Wei
a2cd26ea99
DRM -> DRI
2019-07-05 12:47:00 +08:00
Vincent Wei
f4af247b15
DRM -> DRI
2019-07-05 12:41:54 +08:00
Vincent Wei
aa9bb68ad9
tune release notes
2019-07-04 18:43:12 +08:00
gengyue
5e8b27b810
solved some memery error
2019-07-04 18:39:16 +08:00
Vincent Wei
5f22485ed5
cleanup
2019-07-04 14:14:01 +08:00
Vincent Wei
06b90939c4
tune drm video engine for acclerated graphics
2019-07-03 12:17:21 +08:00
Vincent Wei
5e65422a28
tune
2019-07-03 08:42:26 +08:00
Vincent Wei
ca98e4de5b
show target name
2019-07-03 08:41:24 +08:00
Vincent Wei
46ed039e84
use a larger buffer
2019-07-02 14:30:16 +08:00
Vincent Wei
d2701bac10
fix a minor bug
2019-07-02 11:58:20 +08:00
Vincent Wei
ac6ebea61f
clean extra input message before calling ial_wait_event
2019-07-02 11:52:30 +08:00
Vincent Wei
80f5ab49ce
tune code for MiniGUI-Standalone runmode
2019-07-02 11:34:34 +08:00
Vincent Wei
59f97d7de0
tune for gcc 4.8
2019-06-25 17:42:50 +08:00
Vincent Wei
d24fa1c8e5
just skip alpha component for RGBA format
2019-06-23 12:34:38 +08:00
Vincent Wei
775b7586d6
enhance __mg_load_jpg to support any type of MG_RWops
2019-06-23 12:30:43 +08:00
Vincent Wei
485b329737
tune
2019-06-20 16:39:07 +08:00
Vincent Wei
2cb7f7b08f
fix typos
2019-06-20 11:38:10 +08:00
Vincent Wei
1a948f71d5
describe support for DRI and extra input messages
2019-06-20 11:29:57 +08:00
Vincent Wei
67ba6dc63d
on the webpage -> in the webpage
2019-06-20 10:31:59 +08:00
Vincent Wei
52753ac730
fix typos
2019-06-19 14:00:05 +08:00
Vincent Wei
92acd5b204
update
2019-06-19 12:18:34 +08:00
Vincent Wei
58849e4b5a
tune format
2019-06-19 11:54:30 +08:00
Vincent Wei
d285256317
exception list
2019-06-19 11:53:47 +08:00
Vincent Wei
31b33c39c3
debug random IAL engine
2019-06-18 18:46:31 +08:00
Vincent Wei
a5319df211
fix some bad documents for MSG_EXIN_XXX
2019-06-18 18:46:12 +08:00
Vincent Wei
ee1cb96ec1
keys for random IAL engine
2019-06-18 18:45:55 +08:00
Vincent Wei
d1b8c90b13
implementation of random IAL engine for mouse, keyboard, button, single_touch, gesture
2019-06-18 16:43:30 +08:00
Vincent Wei
d503b340e0
handle KS_LEFTMETA and KS_RIGHTMETA
2019-06-17 15:16:41 +08:00
Vincent Wei
2a9549a138
add KS_LEFTMETA, KS_RIGHTMETA, and KS_META
2019-06-17 15:16:03 +08:00
Vincent Wei
acb9b95bc6
implementation of random IAL engine
2019-06-17 12:34:16 +08:00
Vincent Wei
60f07ae26a
move GetTickCount from window.h to minigui.h
2019-06-17 12:33:54 +08:00
Vincent Wei
77c4db5e2b
framework of new random enigne
2019-06-16 18:50:15 +08:00
Vincent Wei
421ffea9c5
tune
2019-06-16 17:35:15 +08:00
Vincent Wei
57d8eb5237
section for enhanced random engine
2019-06-16 17:35:03 +08:00
Vincent Wei
799ff54869
description for two new engines: drm and libinput
2019-06-16 17:34:42 +08:00
Vincent Wei
d6ee29ae11
fix some doc for messages
2019-06-14 18:58:46 +08:00
Vincent Wei
8dabf82a51
cleanup
2019-06-14 15:51:41 +08:00
Vincent Wei
237112bfe9
Implementation of GAL_SuspendVideo and GAL_ResumeVideo
2019-06-14 15:51:24 +08:00
Vincent Wei
c445b5a80d
Suspend and Resume methods
2019-06-14 15:50:37 +08:00
Vincent Wei
80773ab228
GAL_SuspendVideo and GAL_ResumeVideo
2019-06-14 15:50:11 +08:00
Vincent Wei
3f0ada1ee2
call GAL_SuspendVideo and GAL_ResumeVideo for VT switch
2019-06-14 15:49:53 +08:00
Vincent Wei
e45b4ccad8
use LeftALT+LeftCTRL+Fx to switch virtual terminal
2019-06-14 15:49:19 +08:00
Vincent Wei
fcb43eccb2
call treat_longpress when checking KS_REPEAT
2019-06-14 11:20:58 +08:00
Vincent Wei
111254b440
change DEF_LPRESS_TIME to 200
2019-06-14 11:20:20 +08:00
Vincent Wei
9f60ba7138
post MSG_EXIN_END_CHANGES message
2019-06-14 11:01:24 +08:00
Vincent Wei
d2e0559bdf
emulate mouse move and lbutton down for tablet tool
2019-06-14 11:01:03 +08:00
Vincent Wei
55b1934642
tune and cleanup
2019-06-14 10:13:04 +08:00
Vincent Wei
6a31f83a23
interfaces for Linux TTY
2019-06-14 10:12:37 +08:00
Vincent Wei
fbe779b195
operators for Linux TTY
2019-06-14 10:12:17 +08:00
Vincent Wei
f4e597d5d0
rename to have linux- prefix
2019-06-14 10:11:48 +08:00
Vincent Wei
cf2ae944b7
special hande extra input messages in desktop procedure
2019-06-13 18:35:56 +08:00
Vincent Wei
a9d7effc11
tune format
2019-06-13 18:00:20 +08:00
Vincent Wei
88771efb41
tune the default message queue length to 32
2019-06-13 18:00:02 +08:00
Vincent Wei
4a354b94f9
implementation of all extra input events
2019-06-13 17:50:30 +08:00
Vincent Wei
047ab34a98
handle extra input events in low-level event loop
2019-06-13 17:50:07 +08:00
Vincent Wei
83660e0d45
implementation of extra input events for touch and gesture
2019-06-13 12:35:44 +08:00
Vincent Wei
352a8cb158
add definitions of MSG_EXIN_XXX
2019-06-13 12:35:12 +08:00
Vincent Wei
85ba11cdd6
remove INPUT.mdev
2019-06-13 12:34:49 +08:00
Vincent Wei
c9448ef4c6
Handle extra input events
2019-06-13 12:34:26 +08:00
Vincent Wei
2375100fd7
inline implementation of IAL_WaitEvent
2019-06-13 12:34:02 +08:00
Vincent Wei
ebca4834a3
Tune INPUT structure: remove mdev and add wait_event_ex
2019-06-13 12:33:38 +08:00
Vincent Wei
34a007815b
remove extra spaces after message name
2019-06-13 09:20:11 +08:00
Vincent Wei
50fcc2afc9
handle middle mouse button events
2019-06-12 19:08:24 +08:00
Vincent Wei
22cf10c508
handle mouse moved
2019-06-12 18:06:41 +08:00
Vincent Wei
51b0e704d7
cleanup
2019-06-12 18:06:22 +08:00
Vincent Wei
da0cc99e7f
cleanup
2019-06-12 18:06:13 +08:00
Vincent Wei
c08a44638c
Call IAL_SetMouseRange after initialized
2019-06-12 18:06:01 +08:00
Vincent Wei
9cc9e274cd
handle more events
2019-06-12 17:48:08 +08:00
Vincent Wei
069c3eea17
cleanup
2019-06-12 17:47:49 +08:00
Vincent Wei
24381b4cb1
Add messages for middle mouse button: MSG_MBUTTONxxx and MSG_NCMBUTTONxxx;
...
Add messages for extra input events: MSG_EXIN_XXXX for pointer axis, generic button, touch, tablet, tablet pad, and switch.
2019-06-12 17:45:37 +08:00
Vincent Wei
5e362a9afb
handle keyboard event
2019-06-12 12:33:32 +08:00
Vincent Wei
8a3437d948
change NR_KEYS to 250
2019-06-12 12:33:20 +08:00
Vincent Wei
4c2a8e7cc5
define more SCANCODE_xxxx and change NR_KEYS to 250
2019-06-12 12:32:45 +08:00
Vincent Wei
b615321745
rename
2019-06-12 09:03:09 +08:00
Vincent Wei
8c81845eba
change IAL engine of evdev to libinput
2019-06-11 18:39:26 +08:00
Vincent Wei
e7913edc7e
tuen implementation of dumb framebuffer
2019-06-11 17:02:48 +08:00
Vincent Wei
d777055154
GAL_VideoModeOK returns Ok when the size requested are smaller than any mode available
2019-06-11 17:01:10 +08:00
Vincent Wei
bbbff5bd8c
Dumb buffer is almost ok
2019-06-11 15:33:30 +08:00
Vincent Wei
046353b9cb
cleanup to use DrmVideoData for mode_list
2019-06-11 12:19:40 +08:00
Vincent Wei
06066b47b5
helpers for DRM mode setting
2019-06-10 18:25:58 +08:00
Vincent Wei
4f263517bb
Source files for EvDev IAL engine
2019-06-10 18:25:03 +08:00
Vincent Wei
50afdc7826
add null implementation for EvDev IAL engine
2019-06-10 18:24:16 +08:00
Vincent Wei
b282a7773d
give mdev and mtype default values when they are not defined in ETC
2019-06-10 18:18:49 +08:00
Vincent Wei
1a5383b9bf
open drm device
2019-06-10 16:11:18 +08:00
Vincent Wei
59e79143fb
add DRM video driver
2019-06-10 16:10:59 +08:00
Vincent Wei
3601fa4868
use uintptr_t instead of UINT
2019-06-10 16:10:34 +08:00
Vincent Wei
bad3722987
cleanup
2019-06-06 16:15:35 +08:00
Vincent Wei
f3518b0254
ignore *.in~
2019-06-06 12:39:43 +08:00
Vincent Wei
4fd4dfa561
empty implementation for drm video engine
2019-06-05 15:32:58 +08:00
Vincent Wei
924c1ecd79
sections for DRM video engine and EVDev input engine
2019-06-05 15:31:48 +08:00
Vincent Wei
43f9a1efbd
options for DRM video engine and EVDev input engine
2019-06-05 15:31:27 +08:00
Vincent Wei
fd7bb50756
add some notes for some keys
2019-06-04 10:50:57 +08:00
Vincent Wei
209a9cd69a
remove checking of output rectangle for DrawTextEx2
2019-05-31 17:36:29 +08:00
Vincent Wei
855fdbad22
fixbug: convert Achar32 to Glyph32 for GetTabbedTextExtentPoint function
2019-05-30 16:34:22 +08:00
Vincent Wei
ec330b1fea
Try to load font from the relative path, if failed, try to load font from the system resource path.
2019-05-28 18:06:54 +08:00
Vincent Wei
09667150e8
Use _DBG_PRINTF for debug output instead of _WRN_PRINTF.
2019-05-28 18:06:19 +08:00
Vincent Wei
8ad28f6ae7
IsInvalidKey -> IsValidKey
2019-05-17 18:11:36 +08:00
Vincent Wei
d3541df49e
remove debug printf
2019-05-17 16:49:01 +08:00
Vincent Wei
617715e332
tune
2019-05-16 10:20:41 +08:00
Vincent Wei
b9fd4b9178
New API: GetNextUChar
2019-05-15 11:58:48 +08:00
Vincent Wei
e4499ee3ab
cleanup
2019-04-22 16:24:31 +08:00
Vincent Wei
dc31fc8e68
add link to CSS Writing Modes Level 3
2019-04-17 14:10:07 +08:00
Vincent Wei
dff3093091
add link to GitHub wiki
2019-04-17 13:54:32 +08:00
Vincent Wei
05483a43bb
fix typos
2019-04-16 18:08:25 +08:00
HOU Huihua
7ed7a27d62
tune code for SUBPIXEL rendering
2019-04-16 15:43:00 +08:00
Vincent Wei
4592dd3cd1
cleanup
2019-04-16 09:13:52 +08:00
Vincent Wei
8fe06d5a07
use const for pointer fields of INNER_RES
2019-04-15 16:44:37 +08:00
Vincent Wei
fda8b7975d
use inline functions for --disable-cursor instead of macros
2019-04-15 16:44:03 +08:00
Vincent Wei
9eb7bec6d3
update splash picture with new version (4.0)
2019-04-15 10:38:23 +08:00
Vincent Wei
5aee257855
Merge branch 'master' of github.com:VincentWei/minigui
2019-04-15 10:33:29 +08:00
Vincent Wei
9acc9e7b68
update to version 4.0
2019-04-15 10:33:04 +08:00
Vincent Wei
524fbd4833
cleanup
2019-04-15 10:13:23 +08:00
Vincent Wei
1eee78cfbc
tune
2019-04-14 18:25:43 +08:00
Vincent Wei
efc658016e
HarzBuff -> HarfBuzz
2019-04-12 19:58:19 +08:00
Vincent Wei
f8b834948f
tune format
2019-04-12 19:42:59 +08:00
Vincent Wei
ed4f2c1cfb
tune format
2019-04-12 19:31:51 +08:00
WEI Yongming
8baaad037a
tune release notes
2019-04-12 18:22:07 +08:00
WEI Yongming
2879190c44
Merge branch 'master' of github.com:VincentWei/minigui
2019-04-12 18:19:58 +08:00
WEI Yongming
49a9114155
support for LibPNG16
2019-04-12 18:19:35 +08:00
Vincent Wei
596c62b0c7
tune release notes
2019-04-12 15:50:47 +08:00
Vincent Wei
08f0d86c6e
tune readme.md
2019-04-12 14:30:52 +08:00
Vincent Wei
7135b7ee5f
tune release notes
2019-04-12 14:16:49 +08:00
Vincent Wei
9c1e9ad2ff
GetGlyphValue -> GetGlyphValueAlt; Restore old GetGlyphValue
2019-04-12 14:05:22 +08:00
Vincent Wei
0c8a8acadd
tune code for make docs
2019-04-12 11:39:53 +08:00
Vincent Wei
15fad87930
Restore GetGlyphBitmap
2019-04-12 11:39:06 +08:00
WEI Yongming
2caa09e185
tune
2019-04-12 09:23:51 +08:00
WEI Yongming
54577e9dd2
increase temp buffer size to avoid overflow; \t -> 4 spaces
2019-04-11 18:49:47 +08:00
WEI Yongming
2547782f77
tune code for gcc 4.8.5
2019-04-11 18:16:29 +08:00
Vincent Wei
9db7ec1abb
use directly link for RELEASE-NOTES.md file
2019-04-11 12:53:13 +08:00
Vincent Wei
d8264a91d5
Include README.md for Doxygen mainpage
2019-04-11 12:51:31 +08:00
Vincent Wei
852b7da5bc
tune API description
2019-04-11 12:18:03 +08:00
Vincent Wei
dd6248e90e
cleanup for Doxygen
2019-04-11 10:54:17 +08:00
Vincent Wei
2581fa4d18
remove assert
2019-04-10 18:22:32 +08:00
Vincent Wei
7ab32056e1
tune glyph generating
2019-04-10 18:06:48 +08:00
Vincent Wei
3e6e0151af
check ellipsized for next line
2019-04-10 16:31:02 +08:00
Vincent Wei
8f27fbb1a8
debug and tune
2019-04-10 16:20:37 +08:00
Vincent Wei
87d4fcf00b
shape_fallback when the shaping engine failed
2019-04-10 14:38:29 +08:00
Vincent Wei
9ae76a1d91
cleanup
2019-04-10 10:13:51 +08:00
Vincent Wei
43ef338bd8
debug: use FS_SLANT_ROMAN as the default
2019-04-10 10:13:41 +08:00
Vincent Wei
3407d6f20c
GRF_ALIGN_JUSTIFY for all lines
2019-04-10 09:39:28 +08:00
Vincent Wei
33bd6087b5
always use __mg_glyph_string_set_size
2019-04-10 09:16:41 +08:00
Vincent Wei
a36b2fb3b3
debug
2019-04-09 18:46:53 +08:00
Vincent Wei
7811f86782
debug
2019-04-09 18:39:28 +08:00
Vincent Wei
eb81fadbda
debug: use bad ellipsis_ucs in shape_ellipsis
2019-04-09 16:04:24 +08:00
Vincent Wei
27139876a8
Use language code instead of script type for the first argument of UStrGetBreaks
2019-04-09 15:35:19 +08:00
Vincent Wei
14eca8703c
debug
2019-04-09 15:26:07 +08:00
Vincent Wei
9e0c3a9c99
cleanup
2019-04-09 11:09:54 +08:00
Vincent Wei
7cc185f409
use 0xff for alpha of RGB2Pixel
2019-04-09 10:46:54 +08:00
Vincent Wei
c827a8b6a9
debug: use static _funcs object to avoid memory leak
2019-04-09 10:17:52 +08:00
Vincent Wei
5abeee3b64
tune __mg_ft2_get_face return filename and face
2019-04-08 18:35:34 +08:00
Vincent Wei
5758700e70
cleanup
2019-04-08 18:12:07 +08:00
Vincent Wei
4586e25709
cleanup
2019-04-08 17:53:55 +08:00
Vincent Wei
7e776f6b78
optimize complex shaping engine
2019-04-08 17:52:46 +08:00
Vincent Wei
4ea2e11c5a
debug
2019-04-08 16:13:03 +08:00
Vincent Wei
8e95f3bd93
debug
2019-04-08 15:34:51 +08:00
Vincent Wei
872ea630fd
initial implementation of complex shaping engine
2019-04-08 15:17:05 +08:00
Vincent Wei
0b92cd51be
check li.bpp with the requested bpp
2019-04-08 12:10:24 +08:00
Vincent Wei
724da1b1c0
tune links
2019-04-08 11:03:15 +08:00
Vincent Wei
f78b9b750c
link to RELEASENOTES.md
2019-04-08 10:59:13 +08:00
Vincent Wei
c3683fb626
C++ -> Class
2019-04-08 10:57:42 +08:00
Vincent Wei
79b1dfefa2
more description
2019-04-08 10:54:29 +08:00
Vincent Wei
eca76e6e89
fix typos
2019-04-07 18:17:46 +08:00
Vincent Wei
114426559f
fix typos
2019-04-07 17:45:46 +08:00
Vincent Wei
a0aaccdfd0
use standard pixel format for pdc->alpha_pixel_format
2019-04-07 17:19:12 +08:00
Vincent Wei
944d2ca8ae
expose structures and definitions
2019-04-07 17:04:28 +08:00
Vincent Wei
321633c7bc
Merge branch 'master' of github.com:VincentWei/minigui
2019-04-07 16:56:55 +08:00
Vincent Wei
e5255d13e1
merge changes for exstubs.h from rel-3-2 manually
2019-04-07 16:56:43 +08:00
VincentWei
e8bf19f212
fix typos
2019-04-06 23:13:43 +08:00
Vincent Wei
a407f36975
introduction to MiniGUI 4.0.0
2019-04-06 15:51:02 +08:00
Vincent Wei
c179737716
release notes for MiniGUI 4.0.0
2019-04-06 15:44:11 +08:00
Vincent Wei
4ef0079488
release notes for MiniGUI 4.0.0
2019-04-06 15:30:51 +08:00
Vincent Wei
36e3869385
handle SIGINT for ths and sa runmodes
2019-04-06 13:59:13 +08:00
Vincent Wei
32d800b1b9
always link to pthread
2019-04-06 13:45:59 +08:00
Vincent Wei
dfd4a603f9
change version to 4.0.0
2019-04-06 13:34:20 +08:00
Vincent Wei
2b01f35cac
rename: LayoutInfo -> Layout, TextRunsInfo -> TextRuns
2019-04-06 11:25:21 +08:00
Vincent Wei
e0b6a64402
tune position for west gravity
2019-04-04 19:00:45 +08:00
Vincent Wei
084d7e58a2
tune indentation
2019-04-04 18:53:37 +08:00
Vincent Wei
88753a5fd0
cleanup
2019-04-04 17:02:06 +08:00
Vincent Wei
b739daadba
cleanup FreeType2 font engine, remove redundant code
2019-04-04 16:51:54 +08:00
Vincent Wei
5529ab1e10
use mg_slice for TEXTRUNS, TEXTLAYOUT, GlyphRun, TextRun, LayoutRun, and so on
2019-04-04 15:10:19 +08:00
Vincent Wei
032fdcc3bb
mg_slice_free -> mg_slice_delete; mg_slice_free1 -> mg_slice_free
2019-04-04 14:46:05 +08:00
Vincent Wei
1cb9922dad
Initialize mutex of mgslice
2019-04-04 12:27:05 +08:00
Vincent Wei
8ac0d539d0
implementation of mg_slice_xxx
2019-04-04 12:18:10 +08:00
Vincent Wei
e3ae994212
debug: line->nr_runs should be re-caculate for ellipsized line
2019-04-04 08:39:09 +08:00
Vincent Wei
b0145a15d2
CalcLayoutBoundingRect
2019-04-03 19:13:27 +08:00
Vincent Wei
9dab380f3e
GetLayoutLineRect
2019-04-03 19:01:19 +08:00
Vincent Wei
d1facd5468
No shaping arabic for vertical layout
2019-04-03 15:50:32 +08:00
Vincent Wei
5996ede23b
cleanup
2019-04-03 15:26:50 +08:00
Vincent Wei
837cd49045
debug: uninitialized length
2019-04-03 15:16:07 +08:00
Vincent Wei
dc4f54ffe4
debug: uninitialized length
2019-04-03 15:15:39 +08:00
Vincent Wei
f611fe3859
normal, word break and alignment
2019-04-03 12:27:10 +08:00
Vincent Wei
4ff5097dfb
check pointer for get_glyph_advance
2019-04-02 19:00:13 +08:00
Vincent Wei
49421e1f88
implementation of DrawLayoutLine
2019-04-02 18:46:34 +08:00
Vincent Wei
6e33602e7d
debug for glyph orientation in vertical layout
2019-04-02 17:27:15 +08:00
Vincent Wei
d13c31a08a
add ta (text align) to RENDERDATA
2019-04-02 12:36:31 +08:00
Vincent Wei
704b6287ff
debug for MIXED orientation
2019-04-02 10:12:31 +08:00
Vincent Wei
1df726dd10
tune gravity and orientation
2019-04-02 09:27:06 +08:00
Vincent Wei
b2afe815b5
debug DrawShapedGlyph
2019-04-01 19:12:41 +08:00
Vincent Wei
f648c1a8c7
tune api desc
2019-04-01 14:37:09 +08:00
Vincent Wei
4d2fe61e52
remove (x,y) from CB_GLYPH_LAID_OUT
2019-04-01 14:26:56 +08:00
Vincent Wei
9644964e9c
tune api description
2019-03-31 15:31:49 +08:00
Vincent Wei
61b799af88
fix bug: not convert AChar to Glyph32
2019-03-29 20:18:26 +08:00
Vincent Wei
2f52006cde
fix a bug: no MSG_IDLE when using dummy IAL engine
2019-03-29 19:22:31 +08:00
Vincent Wei
cf063aad32
disable debug print
2019-03-29 18:31:23 +08:00
Vincent Wei
0855e8b972
add null fonts for korea and japanese charsets
2019-03-29 16:13:16 +08:00
Vincent Wei
a501557532
Tune CB_GLYPH_LAID_OUT
2019-03-29 14:51:57 +08:00
Vincent Wei
820d6aeac4
fix a bug
2019-03-29 12:27:04 +08:00
Vincent Wei
215242e3e8
tune
2019-03-29 12:14:19 +08:00
Vincent Wei
c79f09fe87
implementation of GetLayoutLineSize and CalcLayoutBoundingRect
2019-03-29 11:44:29 +08:00
Vincent Wei
f68c26860a
Implementation of CreateLogFontForMChar2UChar; FONT_MIN_SIZE -> 1
2019-03-29 10:40:35 +08:00
Vincent Wei
53f1a05526
Tune new APIs
2019-03-29 10:09:23 +08:00
Vincent Wei
6a5cfd1052
new APIs: SetFontNameInTextRuns, SetTextColorInTextRuns, SetBackgroundColorInTextRuns, and GetXXXX
2019-03-28 18:57:21 +08:00
Vincent Wei
1c79cf510f
Tune the TextRunsInfo and LayoutInfo related APIs
2019-03-28 17:47:12 +08:00
Vincent Wei
86965a0e9c
fixbug in layout-ellipsize.c
2019-03-28 11:40:58 +08:00
Vincent Wei
9cca87878c
tune CB_GLYPH_LAID_OUT
2019-03-27 19:28:19 +08:00
Vincent Wei
2cffa1154c
API description
2019-03-27 19:16:33 +08:00
Vincent Wei
9adea7df64
implementation of NULL font engine and incored NULL devfonts for every charset
2019-03-27 17:58:56 +08:00
Vincent Wei
8f70dfcf69
UStrTailorBreaks
2019-03-27 16:46:42 +08:00
Vincent Wei
ccf1e6f7a5
cleanup
2019-03-27 15:52:43 +08:00
Vincent Wei
913ea4db23
CreateTextRunsInfo and CreateLayoutInfo passed test cases
2019-03-27 15:50:16 +08:00
Vincent Wei
55baa8c741
cleanup
2019-03-27 12:39:27 +08:00
Vincent Wei
db63d8cad3
cleanup
2019-03-27 11:40:34 +08:00
Vincent Wei
338fb0276e
use _DEBUG for real output of _DBG_PRINTF
2019-03-27 10:08:01 +08:00
Vincent Wei
8dd64e7f2d
api description
2019-03-26 19:14:05 +08:00
Vincent Wei
c1cbb8423e
parameters of CB_GLYPH_LAID_OUT
2019-03-26 18:44:05 +08:00
Vincent Wei
a95ee5b181
debug
2019-03-26 18:09:49 +08:00
Vincent Wei
9d9bf95c21
cleanup
2019-03-26 12:25:08 +08:00
Vincent Wei
ed6ceaa49c
fixbug of layout implementation
2019-03-26 12:22:26 +08:00
Vincent Wei
f5e1144cbe
debug LayoutInfo implementaion
2019-03-26 11:24:31 +08:00
Vincent Wei
c890e4296a
add list_concat, list_move, list_reverse
2019-03-26 11:24:06 +08:00
Vincent Wei
d09313407e
reorder glyph runs according to embedding levels
2019-03-25 15:31:03 +08:00
Vincent Wei
7dfe5954f5
go on
2019-03-25 12:15:23 +08:00
Vincent Wei
390c5de6ef
go on
2019-03-24 19:14:46 +08:00
Vincent Wei
274fdaaa31
go on
2019-03-24 19:00:15 +08:00
Vincent Wei
04725fc892
cleanup
2019-03-24 15:46:40 +08:00
Vincent Wei
4da29f635d
Use CamelCase for internal structures and types
2019-03-24 15:32:08 +08:00
Vincent Wei
3e5ff0af91
tune implementation
2019-03-24 12:35:31 +08:00
Vincent Wei
1820e74b77
empty implementation
2019-03-22 18:42:08 +08:00
Vincent Wei
2278c4975c
new file for ellipsisi
2019-03-22 18:34:11 +08:00
Vincent Wei
af8a04570d
more code
2019-03-22 18:33:37 +08:00
Vincent Wei
452edfa831
more code for layout
2019-03-22 12:33:53 +08:00
Vincent Wei
4fba705082
cleanup
2019-03-22 10:53:50 +08:00
Vincent Wei
a049e387e0
some code for layout
2019-03-22 09:40:05 +08:00
Vincent Wei
c67a18536d
some code for layout
2019-03-21 19:12:52 +08:00
Vincent Wei
d9e09ac34f
Intent to add new APIs: DrawShapedGlyph and DrawShapedGlyphLine
2019-03-21 15:28:30 +08:00
Vincent Wei
65972861a0
bugfixs
2019-03-21 15:03:04 +08:00
Vincent Wei
96b06544b3
Optimize FreeType2 engine for get_glyph_advance; add new devfont op: get_kerning
2019-03-21 11:01:37 +08:00
Vincent Wei
838530d6b1
add new internal header: glyph.h; _font_get_glyph_log_width
2019-03-21 09:46:20 +08:00
Vincent Wei
c276122f60
Start to implement InitBasicShapingEngine
2019-03-20 18:53:06 +08:00
Vincent Wei
46a8b1768a
cleanup
2019-03-20 17:08:43 +08:00
Vincent Wei
d5b57e8200
cleanup and add _WRN_PRINTF for warning
2019-03-20 17:06:43 +08:00
Vincent Wei
ee179e6995
API description related to LAYOUTINFO
2019-03-20 16:31:41 +08:00
Vincent Wei
3571d88f3d
use LoadResource for LOGFONTs of text runs
2019-03-19 19:33:11 +08:00
Vincent Wei
8ba346eec5
use logfont name for CreateTextRunsInfo instead of logfont object
2019-03-19 18:43:04 +08:00
Vincent Wei
e110cb61f4
fix bugs
2019-03-19 17:14:42 +08:00
Vincent Wei
d29aa1d881
Tune name of structure and functions
2019-03-19 15:37:30 +08:00
Vincent Wei
6337f5d6fa
cleanup
2019-03-19 11:49:34 +08:00
Vincent Wei
14bfe263a3
Use LanguageCode and ScriptType types for external APIs
2019-03-19 11:48:24 +08:00
Vincent Wei
cbd54e0766
add new APIs: ScriptGetGlyphOrientation and ScriptGetWideGlyphOrientation
2019-03-19 10:45:26 +08:00
Vincent Wei
ceaec7e3d3
new API: UBidiGetParagraphEmbeddingLevelsAlt, an optimized call
2019-03-18 19:07:53 +08:00
Vincent Wei
aab8d6e2c6
Emoji, Script, and Width iterators for Unicode string
2019-03-18 17:32:27 +08:00
Vincent Wei
8a856e5b99
cleanup
2019-03-18 14:30:46 +08:00
Vincent Wei
46f48a0d6c
UCharGetVerticalOrientation
2019-03-18 12:42:45 +08:00
Vincent Wei
40fc11f324
gen-vop-tab: tool to generate the vertical orientation property table
2019-03-18 12:32:47 +08:00
Vincent Wei
d63fe9849b
Tune GlyphRunInfo
2019-03-16 19:12:57 +08:00
Vincent Wei
349f310148
cleanup
2019-03-16 16:28:46 +08:00
Vincent Wei
ac60980bc2
tune GlyphRunInfo APIs and cleanup
2019-03-16 16:21:49 +08:00
Vincent Wei
e7002ad870
cleanup; new -> new_entry
2019-03-16 11:33:40 +08:00
Vincent Wei
6838a67e7d
some minor changes
2019-03-15 18:24:37 +08:00
Vincent Wei
9a8d997f63
new files
2019-03-15 17:13:47 +08:00
Vincent Wei
f8b0a89d90
add glyphruninfo.h
2019-03-15 14:47:41 +08:00
Vincent Wei
72f61f17be
trim UCHAR prefix from UCharScriptType and UCHAR_SCRIPT_XXXX
2019-03-15 14:46:24 +08:00
Vincent Wei
676dd0e6da
cleanup
2019-03-14 19:08:15 +08:00
Vincent Wei
02c7a6e07c
add unicode funcs for HarzBuff
2019-03-14 18:36:21 +08:00
Vincent Wei
8f841a0bc0
split shaped-glyph.c into three files
2019-03-14 17:26:14 +08:00
Vincent Wei
f218b7b892
add enable option for complex scripts and harzbuff; cleanup options for TTF support (onley FreeType2)
2019-03-14 17:17:09 +08:00
Vincent Wei
1e1dd76fb1
tune interfaces of GetShapedGlyphsXXX
2019-03-14 12:34:21 +08:00
Vincent Wei
4ba0bcd0fe
cleanup
2019-03-13 19:05:15 +08:00
Vincent Wei
cc9d9f6d42
basic implementation of GetLangScriptFromName and NormalizeScriptType
2019-03-13 18:57:39 +08:00
Vincent Wei
4c9e8138b1
table for lang name to scripts
2019-03-13 18:27:57 +08:00
Vincent Wei
f79a1bd86a
cleanup
2019-03-13 18:24:56 +08:00
Vincent Wei
211135fbc5
cleanup
2019-03-13 17:52:43 +08:00
Vincent Wei
537b659fc7
tune implementation of GetShapedGlyphsBasic
2019-03-13 17:25:48 +08:00
Vincent Wei
6b45b74e32
return length of break_oppos instead of the number of consumed uchars
2019-03-13 15:05:18 +08:00
Vincent Wei
0ceb5616bf
fix memory usage bug of UStrGetBreaks; UStrGetBreaks does not return when it encounters a hard break
2019-03-13 14:33:48 +08:00
Vincent Wei
62f9cf9e48
tune API description
2019-03-13 12:29:01 +08:00
Vincent Wei
6842cd3933
Split GetUCharsAndBreaks into two APIs: GetUCharsUntilParagraphBoundary and UStrGetBreaks
2019-03-13 12:21:45 +08:00
Vincent Wei
2c5ddd93cb
add internal api: _unicode_normalize_script
2019-03-12 19:00:30 +08:00
Vincent Wei
64ddca1e2f
Add UCharIsArabicVowel
2019-03-12 18:34:47 +08:00
Vincent Wei
9dea317925
cleanup
2019-03-12 17:53:14 +08:00
Vincent Wei
a4e8a42707
cleanup
2019-03-12 17:52:06 +08:00
Vincent Wei
005519e7cc
Tuen API of GetShapedGlyphsBasic and GetShapedGlyphsComplex
2019-03-12 15:41:57 +08:00
Vincent Wei
da7c2175dd
cleanup
2019-03-12 12:29:13 +08:00
Vincent Wei
c7e6a867f4
cleanup
2019-03-12 11:57:04 +08:00
Vincent Wei
30c6033e8c
cleanup
2019-03-12 09:27:11 +08:00
Vincent Wei
5a5d5d3bbb
Passed BidiCharacterTest
2019-03-12 09:03:32 +08:00
Vincent Wei
bdd75353d2
cleanup
2019-03-11 19:14:35 +08:00
Vincent Wei
ce7b9eccca
debug
2019-03-11 18:45:46 +08:00
Vincent Wei
c66f1a5fa3
cleanup
2019-03-11 16:08:52 +08:00
Vincent Wei
ba240cd53b
cleanup
2019-03-11 15:55:14 +08:00
Vincent Wei
ca9d0200f3
Implementation of UBidiXXX functions
2019-03-11 15:47:48 +08:00
Vincent Wei
5dd2a21919
Description of Bidi APIs
2019-03-11 12:33:42 +08:00
Vincent Wei
11124ef8a0
rename internal apis and cleanup
2019-03-11 11:51:16 +08:00
Vincent Wei
e8714be5ef
rename macros
2019-03-11 11:33:02 +08:00
Vincent Wei
13341e864c
rename files and internal apis
2019-03-11 09:36:36 +08:00
Vincent Wei
e1a464b32f
cleanup
2019-03-10 18:55:07 +08:00
Vincent Wei
a7601d8cfe
tune UCD url
2019-03-10 18:31:15 +08:00
Vincent Wei
98ae3a6b35
Restore BidiBracketType
2019-03-10 18:19:21 +08:00
Vincent Wei
f82e15ed5e
use iso8859-bidi-tables
2019-03-10 18:08:53 +08:00
Vincent Wei
690f5487ab
BIDIType to BidiType
2019-03-10 17:31:36 +08:00
Vincent Wei
4e0a9a8d37
two implementations for biditype, bracket and mirror
2019-03-10 16:54:45 +08:00
Vincent Wei
c6f1004ba6
cleanup
2019-03-10 14:47:02 +08:00
Vincent Wei
a4e9f56c08
cleanup
2019-03-10 14:44:33 +08:00
Vincent Wei
d84a7ffbbe
Bidi tables
2019-03-10 14:42:36 +08:00
Vincent Wei
11865764da
cleanup
2019-03-10 13:21:08 +08:00
Vincent Wei
fdc449335d
utilities for generating Bidi tables
2019-03-10 13:17:52 +08:00
Vincent Wei
27e508848d
new implementation of UNICODE BIDIRECTIONAL ALGORITHM
2019-03-08 20:38:04 +08:00
Vincent Wei
cc01ce0bbc
new implementation of UNICODE BIDIRECTIONAL ALGORITHM
2019-03-08 20:37:44 +08:00
Vincent Wei
0093ac3edc
New APIs: UCHAR2ACHAR, UChar2AChar, UChars2AChars
2019-03-08 14:39:48 +08:00
Vincent Wei
45db7410c0
Update Unicode tables to 12.0.0
2019-03-08 11:52:49 +08:00
Vincent Wei
e6df345736
Update LB8a rule to conform Unicode 12.0.0
2019-03-08 11:52:36 +08:00
Vincent Wei
e7b05090cd
Rename MCHAR_TYPE_XXX to ACHAR_BASIC_XXX; Tune implementation of GetACharType and GetACharBIDIType
2019-03-08 10:17:18 +08:00
Vincent Wei
b82128091e
add const for keymap data
2019-03-07 19:09:34 +08:00
Vincent Wei
adab30261c
add const to incore-res data
2019-03-07 18:57:04 +08:00
Vincent Wei
7e0b378475
add const to _cos_tbl, _tag_tbl, and _acos_tbl; add prefix __mg to these global variables
2019-03-07 18:46:42 +08:00
Vincent Wei
d1ef9e2598
rename _unicode_is_emoji_extended_pictographic to _unicode_is_extended_pictographic
2019-03-07 17:46:35 +08:00
Vincent Wei
5887668b17
add new API UCharGetBracketType
2019-03-07 17:42:47 +08:00
Vincent Wei
e6cb8f272b
update Unicode bidi tables
2019-03-07 17:31:15 +08:00
Vincent Wei
90e4ee91fe
Tune BIDIType to Uint16 instead of unsigned int
2019-03-07 12:40:37 +08:00
Vincent Wei
83207ca329
Update Unicode data to 11.0.0
2019-03-07 11:46:17 +08:00
Vincent Wei
dcd31bed7c
Indic shaping table
2019-03-07 11:02:51 +08:00
Vincent Wei
76cf8a02af
Arabic shaping tables
2019-03-07 10:20:41 +08:00
Vincent Wei
10d8b43c61
update emoji data tables
2019-03-07 09:55:23 +08:00
Vincent Wei
554b709890
Restore prototype of DrawGlyphStringEx and add DrawShapedGlyphString
2019-03-07 08:55:47 +08:00
Vincent Wei
d877e86adc
New API description for GetShapedGlyphsBasic, GetShapedGlyphsComplex, GetGlyphsExtentInfo, and GetGlyphsPositionInfo
2019-03-06 17:20:19 +08:00
Vincent Wei
c5e5bd01e8
implement get_glyph_value for FreeType2 engine; the glyph value of this devfont is the glyph index of the default CMap
2019-03-06 16:03:00 +08:00
Vincent Wei
e3760457c4
GetGlyphsExtentPointEx -> GetGlyphsExtentFromUChars
2019-03-06 14:42:16 +08:00
Vincent Wei
c6ed1626f9
cleanup
2019-03-05 19:09:26 +08:00
Vincent Wei
b4b18828b2
change GLYPHTYPE_ to CHARTYPE_
2019-03-05 18:44:39 +08:00
Vincent Wei
36167be7e6
Tune APIs of Achar32
2019-03-05 18:18:54 +08:00
Vincent Wei
4b633c801d
Introduce the Mchar32 type, and distinguish glyph and character
2019-03-05 12:27:35 +08:00
Vincent Wei
33fd8a8668
tune TTF cache arguments
2019-03-05 10:50:25 +08:00
Vincent Wei
94f44890a5
tune code to handle auto-italic correctly
2019-03-05 10:42:16 +08:00
Vincent Wei
cc7441c4dd
add df_slot to get_font_size of DEVFONT operators in order to set scale correctly
2019-03-05 09:16:36 +08:00
Vincent Wei
6fdc0281ba
handle whitespace gracefully
2019-03-04 18:08:36 +08:00
Vincent Wei
136a51d9b8
cleanup
2019-03-04 16:47:19 +08:00
Vincent Wei
5e871c486b
Tune FS_SLANT_XXX and tune auto bold implementation
2019-03-04 16:30:25 +08:00
Vincent Wei
fdd69bf470
fix bug: do not override bitmap size for grey and subpixel glyph
2019-03-04 16:30:17 +08:00
Vincent Wei
10e55b0d4f
restore style for TTF cache
2019-03-04 14:37:59 +08:00
Vincent Wei
682c81d636
tune
2019-03-04 11:52:47 +08:00
Vincent Wei
9eb4e54b75
cleanup
2019-03-04 11:39:32 +08:00
Vincent Wei
e43bc07a63
tune fontcache functions: use devfont name instead of family and style
2019-03-04 11:37:50 +08:00
Vincent Wei
508130afdc
tune
2019-03-03 20:06:07 +08:00
Vincent Wei
d60c057dc4
tune load_flags
2019-03-03 20:00:54 +08:00
Vincent Wei
8f5a741af6
tune load_flags
2019-03-03 19:58:29 +08:00
Vincent Wei
bee1bc87c4
tune code for size_request of LOGFONT
2019-03-03 19:14:18 +08:00
Vincent Wei
3a9274e9a0
add SIZE* sz for get_glyph_monobmp and get_glyph_graybmp
2019-03-03 18:54:39 +08:00
Vincent Wei
44ee735cd6
fix a bug of is_glyph_exsited (always returns FALSE)
2019-03-03 18:54:14 +08:00
Vincent Wei
2c010cdbeb
fix a bug of fontDoesMatchFamily
2019-03-03 16:51:49 +08:00
Vincent Wei
a04ae43bdb
fix bug of gdiCreateLogFont
2019-03-03 16:43:40 +08:00
Vincent Wei
5c333445c5
tune font styles
2019-03-01 20:01:30 +08:00
Vincent Wei
dd93e67a3d
tune document
2019-03-01 14:38:48 +08:00
Vincent Wei
d886268eee
cleanup and check the duplicated fontname of a new devfont
2019-03-01 14:20:46 +08:00
Vincent Wei
090824cb91
bugfix
2019-02-28 19:08:05 +08:00
Vincent Wei
00eb4e363f
Enhance LOGFONT to support multiple MBC devfonts (up to 7)
2019-02-28 18:47:44 +08:00
Vincent Wei
f73f0786ee
remove break_classes argument and add uchars argument for GetGlyphsAndBreaks
2019-02-28 11:50:00 +08:00
Vincent Wei
dacc81cf2a
Rename UCharGetBreak to UCharGetBreakType; Cleanup and optimization
2019-02-28 09:47:25 +08:00
Vincent Wei
97c6249af5
cleanup: remove definition of DEBUG
2019-02-27 18:47:25 +08:00
Vincent Wei
7ce1fe47ff
implementation of character transformation of GetGlyphsAndBreaks; fix a bug of UCharToFullSizeKana
2019-02-27 18:33:32 +08:00
Vincent Wei
8e66bb366e
tune word breaks and sentence breaks
2019-02-27 17:56:41 +08:00
Vincent Wei
ce7fd6e776
passed all test cases for UAX#14 and UAX#29
2019-02-27 11:37:17 +08:00
Vincent Wei
957f9cbb47
remove break_classes argument from GetGlyphsExtentPointEx
2019-02-26 19:07:37 +08:00
Vincent Wei
2a7e3003bd
Rename GetGlyphsByRules to GetGlyphsAndBreaks
2019-02-26 18:47:33 +08:00
Vincent Wei
19cd208a6e
support for GB, WB, SB in break_oppos; add emoji tables
2019-02-26 17:59:50 +08:00
Vincent Wei
6a44111a35
cleanup
2019-02-25 17:09:37 +08:00
Vincent Wei
fd5d55942b
use Uint16 type for break_oppo instead of Uint8 type in order to contain GB, WB, SB flags
2019-02-25 16:42:49 +08:00
Vincent Wei
d4e7f048f0
fixbug
2019-02-25 09:12:51 +08:00
Vincent Wei
d90c4d5842
cleanup
2019-02-24 18:31:38 +08:00
Vincent Wei
0f562cd39f
cleanup
2019-02-24 15:02:16 +08:00
Vincent Wei
fb01003c45
use LEN_VBF_NAME instead of LEN_DEVFONT_NAME
2019-02-24 14:56:43 +08:00
Vincent Wei
9bcea02975
cleanup
2019-02-24 13:35:43 +08:00
Vincent Wei
c51ae8d1c1
cleanup
2019-02-22 19:11:37 +08:00
Vincent Wei
b8a5ad2d73
return NULL when not matched devfont
2019-02-22 19:11:26 +08:00
Vincent Wei
39b8c88d1b
new DC attribute: DC_ATTR_WORD_EXTRA
2019-02-22 18:46:23 +08:00
Vincent Wei
1e73f6713a
enable cache of freetype2 engine for rotated glyphs
2019-02-22 17:51:41 +08:00
Vincent Wei
97babaa4e2
add size_request in LOGFONT for original requested size
2019-02-22 17:46:13 +08:00
Vincent Wei
c6c486f306
almost there
2019-02-22 15:47:20 +08:00
Vincent Wei
338f10b896
debug
2019-02-22 12:39:07 +08:00
Vincent Wei
2353a873a8
debug GetGlyphsExtentPointEx
2019-02-22 10:49:02 +08:00
Vincent Wei
52c539e870
debug
2019-02-21 20:21:02 +08:00
Vincent Wei
64d63a84c5
cleanup and bugfixs
2019-02-21 18:43:14 +08:00
Vincent Wei
3d80d73450
cleanup and bugfixs
2019-02-21 18:38:49 +08:00
Vincent Wei
2e04898fbe
fix bugs
2019-02-21 15:56:51 +08:00
Vincent Wei
f390e1a091
fix bugs
2019-02-21 15:51:11 +08:00
Vincent Wei
848c1d7ce1
tune
2019-02-21 12:07:02 +08:00
Vincent Wei
0c0becc780
tune
2019-02-21 10:32:16 +08:00
Vincent Wei
0e918da2a4
bugfix: get_ch_width does not check glyph value
2019-02-21 10:32:01 +08:00
Vincent Wei
7f36c339b7
tune
2019-02-20 18:21:17 +08:00
Vincent Wei
871486daab
cleanup
2019-02-20 16:41:21 +08:00
Vincent Wei
0cffc8798f
Suppress and/or hang spaces and punctations for GetGlyphsExtentPointEx
2019-02-20 16:00:16 +08:00
Vincent Wei
4d4a3901eb
TODOs
2019-02-19 18:53:20 +08:00
Vincent Wei
50e95cb461
Initial implementation of GetGlyphsExtentPointEx and DrawGlyphStringEx
2019-02-19 18:38:57 +08:00
Vincent Wei
d223edf0ba
partial implementation of GetGlyphsExtentPointEx
2019-02-19 17:48:39 +08:00
Vincent Wei
8e88082f07
UCharGetType -> UCharGetCategory
2019-02-19 10:45:49 +08:00
Vincent Wei
5b1762b637
Enhance GetGlyphsByRules to return breaking classes
2019-02-19 09:41:22 +08:00
Vincent Wei
6c83ea4ceb
implementation for LBP_NORMAL and LBP_STRICT; both passed all test cases
2019-02-18 18:24:59 +08:00
Vincent Wei
5aa5e75813
UCharBasicType -> UCharGeneralCategory
2019-02-18 12:16:49 +08:00
Vincent Wei
1ba35dcbf6
implementation of WBR_BREAK_ALL and WBR_KEEP_ALL
2019-02-18 11:44:54 +08:00
Vincent Wei
8828824b23
Add BOV_NOTALLOWED_DEFINITELY and BOV_NOTALLOWED_UNCERTAINLY
2019-02-18 09:25:18 +08:00
Vincent Wei
e3f2cc22ec
tune BIDILogGlyphs2VisGlyphsEx and BIDILogGlyphs2VisGlyphs
2019-02-17 12:56:35 +08:00
Vincent Wei
93aae6782e
Tune GetGlyphsByRules and GetGlyphsExtentPointEx
2019-02-17 11:53:35 +08:00
Vincent Wei
b746d2927e
Partial implementation of GetGlyphsExtentPointEx
2019-02-15 18:07:03 +08:00
Vincent Wei
79e3be705c
simplify the interfaces of GetGlyphsExtentPointEx and DrawGlyphStringEx
2019-02-15 11:07:54 +08:00
Vincent Wei
a052b7bf55
cleanup BIDI APIs
2019-02-14 19:45:50 +08:00
Vincent Wei
74a84362ca
correct some bad names of BIDI-related APIs
2019-02-14 17:27:11 +08:00
Vincent Wei
d673008f5a
tune API description
2019-02-14 11:52:59 +08:00
Vincent Wei
09c9438de8
tune api description
2019-01-29 17:02:48 +08:00
Vincent Wei
0734180d70
set user_comp_ctxt to be pixel format for default composition operators
2019-01-29 15:43:23 +08:00
Vincent Wei
8ca8deb02d
list developers
2019-01-29 10:51:15 +08:00
Vincent Wei
9aa719aeb3
list developers
2019-01-29 10:42:43 +08:00
Vincent Wei
447eebbafc
all UNICODE LINE BREAKING ALGORITHM test cases for GetGlyphsByRules passed
2019-01-27 12:45:20 +08:00
Vincent Wei
19f8689a20
almost passed the test cases for GetGlyphsByRules
2019-01-25 21:34:34 +08:00
Vincent Wei
60902f83d5
debug GetGlyphsByRules
2019-01-25 20:42:32 +08:00
Vincent Wei
a725acfd5e
debug GetGlyphsByRules
2019-01-25 16:14:42 +08:00
Vincent Wei
0191772111
Tune the implementation of UNICODE LINE BREAKING ALGORITHM
2019-01-24 20:17:27 +08:00
Vincent Wei
a11cef5f2e
push
2019-01-24 18:43:30 +08:00
Vincent Wei
cf4c75bcbc
almost finished GetGlyphsByRules
2019-01-24 11:31:54 +08:00
Vincent Wei
f85801dcbe
part implementation of GetGlyphsByRules
2019-01-23 17:08:03 +08:00
Vincent Wei
4e67f8c56b
part implementation of GetGlyphsByRules
2019-01-23 14:36:56 +08:00
Vincent Wei
1cfd2fe324
part implementation of GetGlyphsByRules
2019-01-22 10:50:15 +08:00
Vincent Wei
5ef2e0fa42
temp
2019-01-21 17:14:59 +08:00
Vincent Wei
57b71e985c
Add UCharGetType, UCharGetBreak, UCharGetBIDIType, and UCharGetMirror for completeness
2019-01-21 16:19:20 +08:00
Vincent Wei
d9d76ec59b
DrawGlyphStringEx returns BOOL
2019-01-19 18:29:09 +08:00
Vincent Wei
7935883267
GetGlyphsByRules returns line break opportunities
2019-01-19 18:20:55 +08:00
Vincent Wei
0385def7b2
tune
2019-01-19 15:05:53 +08:00
Vincent Wei
565f4b34e5
cleanup
2019-01-19 15:02:55 +08:00
Vincent Wei
70ba8a0420
cleanup
2019-01-19 14:59:12 +08:00
Vincent Wei
4bdbe4a002
tune
2019-01-19 14:53:35 +08:00
Vincent Wei
2c98ef96da
tune release notes
2019-01-19 14:24:26 +08:00
Vincent Wei
6663c98787
add CreateLogFontIndirectEx function
2019-01-19 14:21:46 +08:00
Vincent Wei
bbf2376f7a
fix a potential bug: reserve key when creating logfont by calling CreateLogFontIndirect
2019-01-19 14:04:11 +08:00
Vincent Wei
21ac9f2def
add content language and writing system parameters for rendering glyphs for CSS
2019-01-19 13:27:01 +08:00
Vincent Wei
a10d28dd11
unicode script and language code
2019-01-19 12:57:34 +08:00
Vincent Wei
856126c72e
make GRF_HANGING_PUNC_FIRST and GRF_HANGING_PUNC_LAST as flag bits
2019-01-18 18:07:44 +08:00
Vincent Wei
547fc0059c
tune readme
2019-01-18 16:45:23 +08:00
Vincent Wei
195363dc82
use the same table for UCharToFullSizeKana and UCharToSmallKana
2019-01-18 16:24:56 +08:00
Vincent Wei
54288e5687
more API description
2019-01-18 16:15:14 +08:00
Vincent Wei
9d46406a95
some API description
2019-01-18 15:49:10 +08:00
Vincent Wei
d365feca5d
tune
2019-01-18 14:05:19 +08:00
Vincent Wei
f34ac9d0fe
UChar32 -> Uchar32; UChar16 -> Uchar16
2019-01-18 13:56:18 +08:00
Vincent Wei
3a02b056ca
Tune format
2019-01-18 12:39:23 +08:00
Vincent Wei
1a1e8cf652
Add UCharToFullWidth and UCharToFullSizeKana
2019-01-18 12:37:53 +08:00
Vincent Wei
94feb0ae44
Tune Glyph32 and UChar32 to be unsigned
2019-01-18 11:43:42 +08:00
Vincent Wei
1e1a5edd13
tune
2019-01-18 11:29:35 +08:00
Vincent Wei
ae9b14201b
make sure the strings are null-terminated (fontDoesMatchFamily)
2019-01-18 09:29:39 +08:00
Vincent Wei
742150d4f1
restore LEN_FONT_NAME
2019-01-17 19:29:14 +08:00
Vincent Wei
03eac03c8c
add UCharCanonicalOrdering and others for composition and decomposition
2019-01-17 18:45:22 +08:00
Vincent Wei
8cd6b037ec
tuen release notes
2019-01-17 14:59:40 +08:00
Vincent Wei
b35e38bdff
tune length of devfont name fields; devfont now supports family aliases
2019-01-17 14:55:06 +08:00
Vincent Wei
58275c88e9
call REAL_GLYPH for devfont operators
2019-01-17 12:40:25 +08:00
Vincent Wei
31b43521d0
call REAL_GLYPH for charset operators
2019-01-17 12:14:02 +08:00
Vincent Wei
e68ee00b85
rename glyph type macros and glyph type now includes MCHAR_TYPE_XXX for ASCII characters
2019-01-17 11:59:29 +08:00
Vincent Wei
6e54d4a7d7
add macro GLYPH2UCHAR
2019-01-16 20:43:01 +08:00
Vincent Wei
69b1d63569
Rename IsGlyphAlnum, GlyphToUpper to IsUCharAlnum, UCharToTitle and so on
2019-01-16 20:37:56 +08:00
Vincent Wei
817f4063a1
Add UNICODE utilities: IsGlyphAlnum, GlyphToUpper, ...
2019-01-16 20:34:51 +08:00
Vincent Wei
c9ec23dc70
empty implementation of glyphs APIs for CSS
2019-01-16 19:27:41 +08:00
Vincent Wei
972085fa56
cleanup
2019-01-16 17:50:21 +08:00
Vincent Wei
c2e24b61e3
cleanup
2019-01-16 17:44:48 +08:00
Vincent Wei
bd1fb67930
retrive the break type of UNICODE char; upgrade UNICODE tables to 10.0.0
2019-01-16 17:10:50 +08:00
Vincent Wei
0fcedfca08
cleanup
2019-01-16 14:52:12 +08:00
Vincent Wei
c39ce7c0b8
cleanup
2019-01-16 12:04:43 +08:00
Vincent Wei
97014ccdc8
cleanup
2019-01-16 12:02:58 +08:00
Vincent Wei
48e7f6e928
cleanup
2019-01-16 11:53:46 +08:00
Vincent Wei
473f9f98ff
cleanup
2019-01-16 11:52:56 +08:00
Vincent Wei
95d09a7673
tune and cleanup
2019-01-16 11:43:27 +08:00
Vincent Wei
53253ed101
optimize the font matching algorithm
2019-01-16 10:18:26 +08:00
Vincent Wei
4bd7c0eef4
add mutex for freetype2 font engine (MGRM_THREADS) and remove lock/unlock of __mg_gdi_lock in _font_get_glyph_advance
2019-01-16 10:06:46 +08:00
Vincent Wei
9af71438dd
cleanup
2019-01-15 17:02:11 +08:00
Vincent Wei
747894247b
tune release notes
2019-01-15 16:18:45 +08:00
Vincent Wei
1ed5b44926
cleanup for 3.2.2
2019-01-15 15:13:50 +08:00
Vincent Wei
16287af2a6
fix the bug of wrong bbox handling for SUBPIXEL rendering of glyph
2019-01-15 14:53:57 +08:00
Vincent Wei
82033a44dd
cleanup and fix the bug of wrong bboxing handling for SUBPIXEL rendering of glyph
2019-01-15 14:50:46 +08:00
Vincent Wei
1c9537fc63
BMP_TYPE_REPLACEKEY for BITMAP; Declaration of GetGlyphsExtentPointEx and DrawGlyphStringEx; cleanup of GLYPHINFO and GLYPHBITMAP
2019-01-15 10:17:25 +08:00
Vincent Wei
612c395c06
Backward compatiblity of CreateLogFont
2019-01-14 10:23:37 +08:00
Vincent Wei
8dc0ee2ade
cleanup
2019-01-13 18:56:41 +08:00
Vincent Wei
caefd7355a
cleanup
2019-01-13 18:36:03 +08:00
Vincent Wei
9ea0e15dba
try to match devfont without style
2019-01-13 17:42:27 +08:00
Vincent Wei
83c8984c74
support flipping glyph for subpixel rendering
2019-01-13 16:59:36 +08:00
Vincent Wei
c975fe5b8d
tune release notes
2019-01-13 16:23:57 +08:00
Vincent Wei
b4569adbd5
skipp null pixels for subpixel glyph
2019-01-13 16:22:34 +08:00
Vincent Wei
4761333a1a
skip null pixels for subpixel
2019-01-13 16:20:08 +08:00
Vincent Wei
715a44beeb
typo for pitch
2019-01-13 14:32:49 +08:00
Vincent Wei
e6bb4fa05f
tune RELEASE NOTES
2019-01-13 14:24:14 +08:00
Vincent Wei
c436af69bb
fixbug: No need to make the pitch of FT2 monobitmap is single-byte aligned
2019-01-13 14:22:54 +08:00