Uh oh!
There was an error while loading. Please reload this page.
Python implementation using pybind11 and gobject introspection - #181
Python implementation using pybind11 and gobject introspection#181zalox wants to merge 5 commits into
Conversation
zalox
commented
Apr 4, 2016
Replaces #99 |
d82ae2b to
9bdc0c9Compare| std::cerr << std::string(err) << std::endl; | ||
| } | ||
| PythonError::PythonError(){ |
There was a problem hiding this comment.
@zalox Have not studied the changes in detail, just saw that you repeated Python in for instance PythonInterpreter and PythonError. I think its better to use namespaces such that it becomes: Python::Interpreter and Python::Error.
94c68fd to
3513d4fCompare97504ef to
989501fComparezalox
commented
Apr 19, 2016
Working plugins here for now: https://github.com/zalox/jucipp-plugins |
zalox
commented
Apr 19, 2016
@milleniumbug Did you manage to test the plugins? |
milleniumbug
commented
Apr 19, 2016
Not yet, I'm trying to. The missing Py_DecodeLocale was the immediate issue that prevented me from compiling this branch. |
| ```sh | ||
| pacman -S git mingw-w64-x86_64-cmake make mingw-w64-x86_64-toolchain mingw-w64-x86_64-clang mingw-w64-x86_64-gtkmm3 mingw-w64-x86_64-gtksourceviewmm3 mingw-w64-x86_64-boost mingw-w64-x86_64-aspell mingw-w64-x86_64-aspell-en | ||
| pacman -S git mingw-w64-x86_64-cmake make mingw-w64-x86_64-toolchain mingw-w64-x86_64-clang mingw-w64-x86_64-gtkmm3 mingw-w64-x86_64-gtksourceviewmm3 mingw-w64-x86_64-boost mingw-w64-x86_64-aspell mingw-w64-x86_64-aspell-en mingw-w64-x86_64-gobject-introspection mingw-w64-x86_64-pygobject-devel mingw-w64-x86_64-python3-gobject | ||
| ``` |
There was a problem hiding this comment.
@milleniumbug You will probably need some variant of these packages as well. I needed to point to my site-packages on windows and debian. Arch was fine.
Ok, after installing necessary dependencies, setting Dependencies for Fedora 23: |
zalox
commented
Apr 19, 2016
Are there no errors in the terminal? |
milleniumbug
commented
Apr 19, 2016
None at all. I've verified that it doesn't load by putting some logging statements in |
milleniumbug
commented
Apr 19, 2016
Okay, nevermind. Moving |
@milleniumbug See if this fixes it
zalox
commented
Apr 19, 2016
@eidheim I'm having trouble persisting my config.json file. Is there any mechanism that overwrites the file or anything in it? I had the issues in msys2. |
As long as you have the same version number in the config file, as in the files.h, juCi++ will not touch the config file. However, if the versions are different, changes will be done to the old config file so that it corresponds to the new file specified in files.h. |
I had some very strange behaviour then. I'll try to reproduce when I get back to windows. |
eidheim
commented
Apr 19, 2016
Windows does some file lock if a file is opened by another process? That might have been the case, denying the write to you your config file. Although, I'm not very experienced with Windows. |
I've debugged the program, and it seems it stops searching for plugins on first hidden file. Changing from to fixed the problem. |
| if(module_name.empty()) | ||
| break; | ||
| continue; | ||
| auto is_directory=boost::filesystem::is_directory(it->path()); |
There was a problem hiding this comment.
@milleniumbug I fixed it this morning. You probably pulled before.
zalox
commented
Apr 19, 2016
It might be possible to do it in This approach isn't very generic and re-factoring might be needed for a reasonable solution. |
@zalox I've been thinking about simpler ways to reuse the autocompletion dialog. I'll prioritize this in the coming weeks. |
e10188b to
6dac0b7Comparezalox
commented
May 26, 2016
I updated the docker images with python now. I only updated the packages, so it shouldn't break other builds. https://hub.docker.com/r/cppit/jucipp/builds/ |
eidheim
commented
May 26, 2016
Coincidently, I'll test it on master now:) |
zalox
commented
May 26, 2016
15b91fd to
b019550Compare73502bd to
b285d3dCompare1e57586 to
bb6b4aaCompare
No description provided.