Commit Graph
36 Commits
Author SHA1 Message Date
takase1121 5cc23348a1 reverse the order of args in keymap.unbind 2021-09-08 23:17:50 +08:00
takase1121 7e4236a82f add keymap.unbind(), update contextmenu to use keymap.get_binding()
This is something probably people are looking for...
2021-09-08 23:11:36 +08:00
TakaseandFrancesco 816ceb4493 increase code readibility 2021-08-24 11:35:53 +02:00
takase1121andFrancesco cf7ebdad1f add doc:get_selection_text() 2021-08-24 11:35:53 +02:00
takase1121andFrancesco 1d9f04e7d6 remove unused variable 2021-08-24 11:31:22 +02:00
takase1121andFrancesco 6ac1428b51 more changes to logview
- remove draw_text_elipsis
- remove clip rect operations
- fix text drawing when expanded
- simplify code
2021-08-24 11:31:22 +02:00
takase1121andFrancesco 2fec3052ce add context menu options for logview 2021-08-24 11:31:22 +02:00
takase1121andFrancesco 7c3daa0f39 add core.get_log() 2021-08-24 11:31:22 +02:00
takase1121andFrancesco cb639700b3 improve logview
The logview is now less cluttered.
The filename and stack trace (if any) is hidden by default.
The user can click on the log entry to expand it.
2021-08-24 11:31:22 +02:00
takase1121andFrancesco 419cd58c8f remove x11 dependency in meson.build 2021-08-17 07:53:44 -07:00
takase1121andFrancesco 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
takase1121andAdam Harrison 6bcdaa9d7a Revert "fix number of parameters passed to self:move_towards"
Apparently the LSP intellisense is wrong on this one, this actually
causes an infinite loop
2021-07-15 18:01:27 -04:00
takase1121andAdam Harrison 169b8abae5 fix number of parameters passed to self:move_towards
self:move_towards(self) causes self to be passed twice, ignoring rate
2021-07-15 18:01:24 -04:00
takase1121andAdam Harrison 4ef707e941 add compile_commands.json to gitignore
Apparently ccls needs it to work, and it's usually located in project
root. I symlinked it from the build folder and now I should put it in
gitignore
2021-07-15 18:01:24 -04:00
takase1121andAdam Harrison c7bbf221ee remove duplicated constants 2021-07-15 18:01:24 -04:00
takase1121andAdam Harrison 192a93014d change double quotes to single quotes to reduce escaping 2021-07-15 18:01:24 -04:00
takase1121andAdam Harrison 818e21610c do not terminate process when read fails 2021-07-15 18:01:24 -04:00
takase1121andAdam Harrison de3013ce88 fix wrongly spaced variable name 2021-07-15 18:01:24 -04:00
takase1121andAdam Harrison e7b025203b add generic read function
process_read and process_read_errors no longer contain redundant code
2021-07-15 18:01:24 -04:00
takase1121andAdam Harrison 8bbb26a469 refactor process.c
- include api.h instead of individual #includes
- moved metatable name to API_TYPE_PROCESS
- moved read buffer size to READ_BUF_SIZE
2021-07-15 18:01:24 -04:00
takase1121andAdam Harrison c41747c8fb add .ccls-cache to .gitignore
For that one user that uses ccls :)
2021-07-15 18:01:24 -04:00
takase1121andAdam Harrison f4f33bd36b remove deprecated code 2021-07-15 18:01:24 -04:00
TakaseandGitHub 0fd1fa8872 Commands refactor (#257)
* remove unecessary check

* move command registration to core/commands
2021-06-07 23:00:29 +02:00
TakaseandGitHub 130b29438a Allow creation of nested directories (#254)
* allow nested directories to be created

* fix / be turned into //

* refactor error handling

* refactor path splitting and mkdir calls

If a path exists it will now return immediately.

* fix typo

* remove possible trailing empty string

* fix bugs with path check
2021-06-07 22:44:35 +02:00
takase1121 cd5c64fe8c prevent mouse movement from propagating when context menu is open 2021-06-05 08:51:17 +08:00
takase1121 794cf3813a export context menu 2021-06-05 08:47:32 +08:00
TakaseandGitHub 63b9cf223e NagView improvements (#136)
Implement keyboard commands for the NagView.
2021-04-04 16:11:47 +02:00
TakaseandGitHub 49cde08ed6 Use Xlib to read resources (#142) 2021-04-02 16:43:21 +02:00
takase1121 5e8444b2b1 rename tooltip_alpha_step to tooltip_alpha_rate 2021-03-20 01:04:07 +00:00
takase1121 93753634f5 set delay to 0.5 and disable animation 2021-03-20 01:03:16 +00:00
takase1121 cdf5b9b9b8 show tooltips only when hovering over text 2021-03-20 00:57:06 +00:00
takase1121 d191e8ee34 prevent rendering tooltip when alpha is 0 2021-03-20 00:28:49 +00:00
TakaseandGitHub 0bb7f21dd7 tooltip enhancements (#114)
Add a delay to show the tooltip and other improvements.
2021-03-18 16:18:36 +01:00
takase1121 1f97805321 normalize tooltip filename to home dir 2021-03-14 03:09:18 +00:00
TakaseandGitHub 13ebb51c38 add tooltips to treeview.lua (#100) 2021-03-13 16:44:40 +01:00
TakaseandGitHub c0ad86de8c integrate NagView 2021-03-13 12:57:52 +01:00