Commit Graph

61 Commits

Author SHA1 Message Date
Felix Angell
b82927c31f disabled window resize for now 2019-03-16 19:23:58 +00:00
Felix Angell
55bd38f041 really simple dpi scaling for mac 2019-03-16 19:15:26 +00:00
Felix Angell
4ef2b08405 package cleanups 2018-06-22 23:36:08 +01:00
Felix Angell
ec7e6902f5 major package cleanup 2018-06-22 11:36:52 +01:00
Felix Angell
c1b51df9dd remove dialog stuff for now; updated phi to support new strife changes 2018-06-22 09:40:01 +01:00
Felix Angell
05b92f949e move cursor render into cursor 2018-06-09 10:58:06 +01:00
Felix Angell
420937a402 added vsync option; these are now set in the strife configs too; vsync off by default 2018-05-18 18:17:01 +01:00
Felix Angell
56a68c6fae lock os thread 2018-05-07 12:04:25 +01:00
Felix Angell
4e03b841a8 remove pprof stuff; avoid seg fault 2018-05-06 20:17:10 +01:00
Felix Angell
7e4cdf11c5 added super/ctrl left/right to switch buffers; fixes #73 2018-05-06 19:59:28 +01:00
Felix Angell
b750eaf46b removed res folder; closes #32 2018-05-06 16:13:29 +01:00
Felix Angell
e585c6044a set windows default icon 2018-05-05 20:36:51 +01:00
Felix Angell
be01667137 added a wip command palette; removed weird complex gui system 2018-04-29 00:09:09 +01:00
Felix Angell
898092f5ce phi-editor > phi; fix toml config 2018-04-22 18:56:47 +01:00
Felix Angell
a669134873 remove use of currentTimeMillis for the go time.Time stuff 2018-04-21 19:37:53 +01:00
Felix Angell
73bbc2a150 force a render to get font metrics; fixes #43 2018-04-21 19:22:55 +01:00
Felix Angell
05f1e4fcd3 moved the font loading into the config file
the font is now checked if it exists or not and this is thrown as an
error to the user if it does not
2018-04-21 17:25:28 +01:00
Yasuhiro Matsumoto
88b798517d
pass empty string into ioutil.TempDir
TempDir uses the default directory for temporary files if dir is empty
2018-04-17 09:59:31 +09:00
Yasuhiro Matsumoto
374ea255ec
use path/filepath instead of path 2018-04-17 09:57:44 +09:00
Felix Angell
cececb945b start of command palette stuff; cleaned up _some_ of the gui component semantics...
still kind of messy though, need to hack away at it on my main pc before i continue
anything properly.
2018-04-16 20:10:23 +01:00
Felix Angell
7c4706356b added mouse wheel scrolling + font face/size settings in toml configs 2018-04-15 19:18:01 +01:00
Felix Angell
aa656e6b7a always render; swap line down/up; bug fixes; 2018-04-13 20:04:10 +01:00
Felix Angell
9b2dbebcd6 create and load an empty temp file if no files to open 2018-04-13 18:28:17 +01:00
Felix Angell
aa8bf6901f can now open multiple files from cmd line 2018-04-13 18:21:21 +01:00
Felix Angell
f4e6cb3d87 implemented delete key 2018-04-13 15:10:33 +01:00
Felix Angell
ade7bde768 readme changes 2018-02-28 13:28:44 +00:00
Felix Angell
ffa751e13c uploaded new screenshot 2018-02-28 13:23:07 +00:00
Felix Angell
fb342c8517 cleanups 2018-02-27 23:21:27 +00:00
Felix Angell
3ceb625ffb key insertion works for simple letters, etc. 2018-02-22 15:45:54 +00:00
Felix Angell
7137385da2 nate -> phi... old imports explains some problems!! 2018-02-18 23:25:45 +00:00
Felix Angell
ee415ccf07 cleanups 2018-02-18 23:15:21 +00:00
Felix Angell
3481ccbfb7 cleanups 2018-02-18 23:13:48 +00:00
Felix Angell
0756852058 make everything run!
fixed a few minor issues where i changed the library and there were some breaking changes. everything now compiles and the editor will now run and close properly, still no key input but events are somewhat properly handled.
2017-11-04 14:20:13 +00:00
Felix Angell
5ad1c514b4 Port over to use Strife, veandco/sdl2 dependency dropped! :-) 2016-12-03 05:38:33 +00:00
Felix Angell
7e95e73c29 Option to toggle hardware/software accelerated in config 2016-12-02 00:22:22 +00:00
Felix Angell
e9cddc66f8 Readme 2016-11-28 14:28:31 +00:00
Felix Angell
4fd7c32860 Configuration setting to highlight current line 2016-11-28 10:34:09 +00:00
Felix Angell
03aa461dd8 Cleaned up component abstractions... added command palette that does nothing 2016-11-27 18:43:01 +00:00
Felix Angell
990d4d1352 Backspace actually removes the line rather than popping it 2016-11-27 17:29:29 +00:00
Felix Angell
c015673c2b Removed TOML aliases -- it's case insensitive. Added simple theme config 2016-11-27 16:58:12 +00:00
Felix Angell
fc019c43db Invert the colour of the currently selected character. 2016-11-27 16:26:48 +00:00
Felix Angell
3244c0a5ae Cache the surfaces as well as the textures!!! 2016-11-27 15:46:27 +00:00
Felix Angell
2dfa88edf7 Moved cursor to its own file; refactored names. 2016-11-27 15:33:21 +00:00
Felix Angell
e16da88add Re-structure the GUI component hierarchy
This is mostly cleanups to make things less repetitive and make
everything easier to work with
2016-11-27 15:28:15 +00:00
Felix Angell
87f18894c2 Added default toml config; config settings now used; changed default
size
2016-11-27 14:07:05 +00:00
Felix Angell
2315acc5b6 Cache any textures we create rather than initializing/disposing them each frame 2016-11-26 20:32:42 +00:00
Felix Angell
15b6fd0f89 Make the .nate-editor configuration directory on start
Setup a configuration directory in $HOME if it doesn't exist as well as the TOML configuration file. This avoids the program from panicing when its first started.
2016-11-26 20:00:53 +00:00
Felix Angell
cce1aa11cb Simple column layout system for buffers 2016-11-24 10:14:43 +00:00
Felix Angell
2676becf66 Icon loading + bug fixes 2016-11-24 09:31:14 +00:00
Felix Angell
3f4769210b Bug fix 2016-11-19 16:19:01 +00:00