Adam Harrison
fe787de97a
Fixed clip boundaries.
2021-10-07 18:54:23 -04:00
Adam Harrison
26ec2d7090
Fixed negative pens.
2021-10-02 14:13:39 -04:00
Francesco
eb79381c89
Merge pull request #521 from adamharrison/remove-font-renderer
...
Remove Font Renderer + CP Replace + libagg
2021-10-02 18:45:31 +02:00
Adam Harrison
c5f60a7865
Fixed issues if one got into high codepoint ranges.
2021-10-01 23:56:36 -04:00
Adam Harrison
531cd3bedb
Fixed issue with metrics.
2021-10-01 21:20:44 -04:00
Jean-André Santoni
eb73ad3f8a
Fix the size and blurriness of the icon on OSX ( #553 )
...
* Fix the size and blurriness of the icon on OSX
* Don't nest ifndef
* Fix
2021-09-29 22:22:00 +02:00
Adam Harrison
7a21ec382f
Unecessary call..
2021-09-26 20:09:51 -04:00
Adam Harrison
4690459a13
Used different weights.
2021-09-26 19:46:32 -04:00
Adam
8f8af19cbe
Rearranged DPI calc so that on calc failure, returns 1. ( #547 )
2021-09-26 16:21:57 +02:00
Adam
84622a0009
Potentially fixing issue with cache not invalidating on restart. ( #548 )
2021-09-26 16:18:13 +02:00
Adam Harrison
ecbdb7a945
Reverted bledthrough changes.
2021-09-25 13:01:01 -04:00
Adam Harrison
8816131780
Added in a float for rencache.
2021-09-25 12:55:20 -04:00
Adam Harrison
b17aa3b068
Addressed issue where glyphs would continue to draw past their clip.
2021-09-25 00:45:19 -04:00
Adam Harrison
42d72cc296
Missed a float.
2021-09-25 00:37:08 -04:00
Adam Harrison
806e4bc970
Converted all ints to floats for x coordinate purposes.
2021-09-25 00:35:55 -04:00
Adam Harrison
d07d0e6d22
Made width return a floating point.
2021-09-24 23:34:19 -04:00
takase1121
27fe185ed4
fix unable to load any native library
...
something went wrong in snprintf that it skips the first character of
the library name. Not only that, the signature is actually luaopen and
not lua_open.
2021-09-25 10:31:15 +08:00
Adam Harrison
c5fda5237f
Added in correcion calculations for surface_scale.
2021-09-24 11:23:49 -04:00
Adam Harrison
940db0f9c7
Added in underline as well.
2021-09-24 11:23:49 -04:00
Adam Harrison
16deedc8a3
Fixed up some naming conventions, and also added bolding and italics.
2021-09-24 11:23:49 -04:00
Adam Harrison
c879e016cc
Removed lib font renderer mention.
2021-09-24 11:22:39 -04:00
Adam Harrison
be6bcbcacc
Meson build updated.
2021-09-24 11:22:39 -04:00
Adam Harrison
e25f2e9c5c
Removed font renderer.
2021-09-24 11:22:39 -04:00
Adam
8c32950f4b
Merge pull request #527 from adamharrison/native-interop
...
Native Plugins
2021-09-23 15:11:08 -04:00
Adam Harrison
5ffe4eae90
Removed extra boolean.
2021-09-20 23:54:52 -04:00
Adam Harrison
713ef787c2
Removed extra macros, used PLATFORM. Also removed MACOS, as it's redundant C code that's already encapsulated within PLATFORM.
2021-09-20 23:50:06 -04:00
Adam Harrison
e13529444f
Less C code, and more namespacing is better.
2021-09-20 23:42:39 -04:00
Adam Harrison
c01c5a23b0
Added in plugin table.
2021-09-20 23:38:10 -04:00
Francesco Abbate
849614a3cb
Avoid unnecessary call to SDL_GetModState
2021-09-19 18:42:36 +02:00
Adam
075061b80c
Added in custom runtime environment variable for ease of testing. ( #538 )
2021-09-18 21:56:23 +02:00
Francesco
c018ca3c60
Fix numpad fn keys ( #532 )
...
* Fix the numeric keypad function keys
As suggested in:
https://github.com/lite-xl/lite-xl/issues/64
* Apply scancode lookup to KEY_UP events
2021-09-17 22:38:09 +02:00
Adam Harrison
fbc11c00eb
Split entrypoints in half.
2021-09-16 16:55:33 -04:00
Adam Harrison
1721b8f1c9
Should be elif.
2021-09-16 16:28:02 -04:00
Adam Harrison
801b7dd0d9
Added some comments.
2021-09-16 16:22:33 -04:00
Adam Harrison
03b467d9d9
Cleaned up, added utility API.
2021-09-16 16:08:21 -04:00
Adam Harrison
377ce1cd06
Moved things around, fixed a few things up.
2021-09-16 12:37:17 -04:00
Adam Harrison
e9f48ce949
Added in sample plugin and tested things out. Works.
2021-09-14 00:13:30 -04:00
Adam Harrison
a66a76f9c9
Added in searcher.
2021-09-13 23:40:01 -04:00
Francesco Abbate
c9669410ad
Fix macOS build issue with recent commit
...
Add objc_args in meson when compiling to pass C defines also to
bundle_open.m.
Default "bundle" option to false to have by default a unix-like
build and install.
In the run-local script always expect that "bundle" option is to
false to have a unix-like install.
In the build-package script pass the -Dbundle=true option when
building on macos.
When setting the resouce path revert to original method using
[[NSBundle mainBundle] resourcePath]
to have the real resource path when the bundle option will be
activated. With the recent commit the function
set_macos_bundle_resources will be called only if the "bundle"
option is activate and is not used in unix-like mode.
2021-08-19 14:33:39 -07:00
Francesco Abbate
717f4eb782
Conditionally disable macos bundle function
2021-08-19 11:33:03 +02:00
Francesco Abbate
d9e73a97ea
Merge remote-tracking branch 'harens/macos-bundle'
2021-08-19 11:32:36 +02:00
Nikolai Sinyov
1687bbd92d
Update main.c
...
Fixed interface Scale in MacOS in get_scale function
2021-08-19 10:07:46 +03:00
harens
2d088256b1
Add unix-like behaviour on macOS
...
Closes https://github.com/lite-xl/lite-xl/issues/398
2021-08-18 13:26:51 +01:00
takase1121
35fd29fc39
remove extraneous DPI code
...
since 5 months ago (ttps://github.com/libsdl-org/SDL/commit/c289bad9007cb672c994f726d967f6e5682f200d)
SDL2 now reads Xft.dpi. There is no need to link to X11 anymore.
2021-08-17 07:53:44 -07:00
redtide
3468164518
Updated Meson configuration
...
- Added version and license metadata
- Configuration data to be used in configured files to set metadata
- Portable binary and directories in the main install directory
- Binary file installed in correct places for all supported platforms
- Freedesktop AppStream support
- Added missing files install rules
2021-08-09 22:26:16 +02:00
Adam Harrison
0777a6f0b8
Merged dev to master.
2021-07-20 14:39:50 -04:00
takase1121
c7bbf221ee
remove duplicated constants
2021-07-15 18:01:24 -04:00
takase1121
192a93014d
change double quotes to single quotes to reduce escaping
2021-07-15 18:01:24 -04:00
takase1121
818e21610c
do not terminate process when read fails
2021-07-15 18:01:24 -04:00
takase1121
de3013ce88
fix wrongly spaced variable name
2021-07-15 18:01:24 -04:00