mackong
184ede6c67
Support eaf-browser-font-family, eaf-terminal-font-family
5 years ago
Mingde (Matthew) Zeng
07240c3044
core: standardize send_input_message and handle_input_response API
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
c4c56b79ac
rename search_quit to action_quit
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
luhuaei
b5bae8f8ca
app/terminal: fix the low version don't has directory argument
6 years ago
luhuaei
de0a578613
app/terminal: fix #310 use the http replace file protocol
6 years ago
Hollow Man
3670485bd7
Terminal: Rename buffer when running programme as in #331
...
Signed-off-by: Hollow Man <hollowman186@vip.qq.com>
6 years ago
Mingde (Matthew) Zeng
bca41e331e
core: redesign eaf-*-dark-mode logic
...
Addresses #318 . Below is a snippet of the wiki explaining the new logic.
```org-mode
By default, a number of EAF apps will switch to dark mode if your current Emacs theme is dark.
You can override the default by setting it to =true=, =false=, or =follow=, which is unchanged.
#+BEGIN_SRC emacs-lisp
(eaf-setq eaf-browser-dark-mode "true")
(eaf-setq eaf-terminal-dark-mode "false")
(eaf-setq eaf-mindmap-dark-mode "follow") ; default option
(eaf-setq eaf-pdf-dark-mode "ignore") ; see below
#+END_SRC
In EAF PDF Viewer, since you can interactively toggle inverted mode using =i= (default keybinding), it has an *additional* option to be more flexible:
When =eaf-pdf-dark-mode= is =ignore=, opening a PDF file for the first time will =follow= the current Emacs theme. Toggle inverted mode however you want, closing the buffer will record the final state of the dark mode. Next time the PDF file opens, it will restore the previous state. Therefore eaf-pdf-dark-mode will differ per file.
```
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Hollow Man
78a32abfcc
Terminal: Listen to sub-process status to exit
6 years ago
Hollow Man
86a00f1505
Terminal: Fix bugs in #324
6 years ago
Hollow Man
fe9b418961
fix bug in #325 change request.
6 years ago
Hollow Man
14f16391d3
Patch for CR #325 and code improvement
6 years ago
Hollow Man
7536509621
change from command-line-default-directory to default-directory variable
6 years ago
Hollow Man
e3e0cc9ad8
Terminal: Catch change directory signal in node-pty, rename terminal buffer and change Emacs default-directory variable real-time
6 years ago
Mingde (Matthew) Zeng
2013e0ad88
core: rewrite and simplify eaf-focus-buffer
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
8344e61898
terminal: Fix change_title and make it a placeholder
...
As random_string is no longer needed.
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
4c70953f5c
Redesign build_interactive_method, generalize with build_all_methods
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Andy Stewart
b9b18acf66
Remove debug code.
6 years ago
Mingde (Matthew) Zeng
166798490a
Redesign build_widget_method to build_interactive_method
...
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Mingde (Matthew) Zeng
77f805ad1b
Rename scroll -> scroll_other_buffer, update_details -> update_buffer_details
...
So the names are more precise and better reflect what they really are.
Also some scroll code refactoring.
Signed-off-by: Mingde (Matthew) Zeng <matthewzmd@gmail.com>
6 years ago
Andy Stewart
d39ef0d2f6
Remove synchronal function 'call_emacs', ready for receive websocket
...
patches that port EAF to Windows.
6 years ago
Andy Stewart
7177009408
Focus terminal.
6 years ago
Andy Stewart
df0ac5066a
Remove background_color interface and avoid terminal flash when loading.
6 years ago
Andy Stewart
4e1b35b915
Use json as data format between elisp and python.
6 years ago
Mingde (Matthew) Zeng
b2d135a1dd
Add eaf-terminal-font-size variable
6 years ago
Andy Stewart
27f70100e1
Add terminal actions.
6 years ago
Andy Stewart
d3de078af2
Terminal: use Xterm.js instead wetty.
6 years ago
Andy Stewart
bec77e1462
Add 'call_emacs' interface: python call elisp method and wait return result.
6 years ago
Andy Stewart
165f43b7c7
Default EAF app follow current theme mode (light or dark)
6 years ago
Andy Stewart
d66e864a0e
Move module_path in Buffer
6 years ago
Andy Stewart
2819866c1f
Revert "Pass module_path to Buffer."
...
This reverts commit 2894c4a24f .
6 years ago
Andy Stewart
2894c4a24f
Pass module_path to Buffer.
6 years ago
Andy Stewart
3241bc15d5
Make terminal start with current directory and support any command
...
from elisp side.
6 years ago
Andy Stewart
189dce5c11
1. We need delete QWebEnginePage manual, otherwise QtWebEngineProcess won't quit.
...
2. Refactroy destory interface of core/Buffer.py
6 years ago
Andy Stewart
505c436b39
Use SHELL variable to launch default shell.
6 years ago
Andy Stewart
2253ca501d
Fix crash problem cause by kill terminal.
6 years ago
Andy Stewart
0bf60559e4
Stop video when close web page.
6 years ago
Andy Stewart
ac3cebabe3
Use wetty as terminal backend.
6 years ago
Andy Stewart
27976bd1d2
Pass emacs_var_dict to Buffer.
6 years ago
Andy Stewart
b951304fa0
Fix #186 : add new option eaf-config-dir
6 years ago
Andy Stewart
02fe2aab92
Use fixed width font instead monospace.
7 years ago
Andy Stewart
939d2c2244
Add terminal emulator application.
7 years ago
Andy Stewart
333de8866d
Add eaf-grip-token option.
8 years ago
Andy Stewart
12e6e820c2
Force use python3
8 years ago
Andy Stewart
5eab98b979
Refacotry code with create_app function.
8 years ago
Andy Stewart
2cf99b2b37
Adjust file location to fix import problems.
8 years ago
Andy Stewart
cce61e7858
Fixed typo and update screenshot
8 years ago
Andy Stewart
299d025ba7
Don't need init buffer with emacs_width/emacs_height, eaf.py will do resize job in background.
8 years ago
Andy Stewart
992188b343
Add HACKING.md
8 years ago
Andy Stewart
ac245be1a1
Cleanup white
8 years ago
Fangrui Song
886accb8b2
Remove trailing whitespace
8 years ago