-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Questions about future plans #16
Comments
Hi,
I actually tried to build your repo this morning before work, but fell over a bit trying to get the submodules installed. On a fresh repo, a git submodule update fails on the 'lolengine' bit; I tried it on Linux and Windows. I also tried manually installing the repo, but had other issues with windows SDK versions, etc. I will figure it out later and have a look! |
Thanks for the detailed answer! About the zepto8 repo, you probably want |
Also, you can test an HTML build of zepto8 with Zep support (compiled with emscripten). The editor isn’t linked with the emulator yet, so changing the code won’t do anything, but all the Zep features should be here (the only thing that has an effect right now is using the RAM editor at addresses |
Regarding building it; I figured out it is because I don't have any SSH keys on my machine. It's been a long time since I've used SSH to connect to git; I always clone with HTTPS. But your submodule requires SSH and that's why it fails. That's another reason I don't use submodules I guess :) To answer your question, I use the subtree merge strategy for git. Before I did that, I used to always be fighting with submodules. Here's a good article which I often refer to when I can't remember the commands! https://www.atlassian.com/blog/git/alternatives-to-git-submodule-git-subtree I tried your HTML build; impressive :) I will have to play with emscripten. |
Ah, thanks for investigating that! It was an error on my side, the submodule URI was using the SSH protocol explicitly rather than a relative path… It’s now fixed. |
The last thing seems to be that there is nothing in src\z8lua: |
Ah, sorry, I made the above fix in a hurry and I think I broke several submodules… also, I hadn’t tested the Visual Studio build and some files were missing. It’s all fixed now. |
e7687d4 Fixes the Thread one I believe? |
Yes! I’ll strike it out. |
#21 covers tooltips :) |
Issue #16, #23 The usb_hid header file contains the USB standard scancodes, and I was already using some of them, so just switched the 3 occurances of SDL_SCANCODES out in the same way. This assumes that whatever front end you are using (glfw, for example), is sending the same USB keycodes. SDL is no longer required to build the imgui version of the library (but it is needed for the demo, obviously).
I looked at the FileWatcher, and I agree that it probably doesn't work outside win/mac/linux. But I don't think it uses "filesystem". You may have that confused with what zep does:
It's probably possible to set the necessary define in file.h and correctly fallback to mfilesystem on your platform? That said, I would like to get to the point where file load/save and directory queries are done via a user-supplied interface or a default. That way clients of zep could supply their own fake file system to map to their database, etc. or use a standard one that talks to the native file system. |
Actually, the threading issue is still not fixed. I would argue it’s a bug in
I think Right now if |
Yeah, I’m actually working on removing it - it isn’t necessary at all.
|
I realized that the threadpool was useful for the syntax highlighter because it saves the thread create cost every time you modify the text. So I've hopefully fixed it to make it immediately run anything that is added on a system that doesn't have threads; making the rest of the code look the same. I check hardware concurrency for 0 or 1 in that case. Otherwise, it gets scheduled. |
Zep now has an abstract file system, and the file watcher is not part of the code; clients have to pass the changes to the IFileSystem when necessary. |
Next on my list for Zep is cleaner/more robust markers for highlights, etc. I want to integrate the markers with the syntax highlighting, so they work alongside the theming. This is mainly because I have another unpublished project for a live shader editing tool, and I need better error marks, etc. |
Real tabs are now supported. |
Hi, I plan to work on a few features / changes and I’d like to know your opinion about which ones would have a chance to land in your project, and which ones I should keep in my fork because they go beyond the scope you have in mind.
tooltips: I would like to let my users hover on a function name (maybe recognised by the syntax driver) and see a popup with its documentation or other notesoption to compile without the file watcher mechanism (it pulls quite a lot of system-specific dependencies, as well as the experimental libstdc++fs) or without file support altogether (the host application should be able to decide whether loading/saving is allowed, and what to do with the editor buffer)option to compile on platforms without threads (right now theThreadPool
constructor just throws on these platforms)option to compile without SDL (editor_imgui.cpp
still uses it for some scancodes macros)real tab support (or at least an option to not replace them with spaces)The text was updated successfully, but these errors were encountered: