Git Product home page Git Product logo

fairybow / fernanda Goto Github PK

View Code? Open in Web Editor NEW
11.0 4.0 0.0 524.12 MB

Fernanda is a plain text editor for drafting long-form fiction. (At least, that's the plan.)

License: GNU General Public License v3.0

CMake 0.57% C++ 94.01% NSIS 2.25% HTML 0.89% C 0.28% Batchfile 1.54% CSS 0.44%
novels text-editor writing-application writing-software writing-tool windows editor arch-linux plain-text fiction

fernanda's Introduction

Hi there ๐Ÿ‘‹

fernanda's People

Contributors

fairybow avatar philipplenk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fernanda's Issues

OS2

Hi

Uodated to latest source i get again a error.

[100%] Linking CXX executable fernanda.exe
weakld: error: Unresolved symbol (UNDEF) '__ZN2Ud3dllB5cxx11Ev'.
weakld: info: The symbol is referenced by:
K:\temp\ldconv_archiver_cpp_o_e4763c3ff2516b6c0.obj
Ignoring unresolved externals reported from weak prelinker.
Error! E2028: __ZN2Ud3dllB5cxx11Ev is an undefined reference
file K:/temp\ldconv_archiver_cpp_o_e4763c3ff2516b6c0.obj(G:\fernanda\fernanda\src\archiver.cpp): undefined symbol __ZN2Ud3dllB5cxx11Ev
make[2]: *** [fernanda.exe] Error 1
make[1]: *** [CMakeFiles/fernanda.dir/all] Error 2
make: *** [all] Error 2

Error when building OS2

Hi
I use gcc 12.2.0 and QT 6
When building i get this errors...

G:/fernanda/fernanda/src/archiver.cpp: In member function 'void Archiver::create(FsPath, QVectorIo::ArcWRPaths)':
G:/fernanda/fernanda/src/archiver.cpp:19:36: error: no matching function for call to 'QFile::copy(std::filesystem::__cxx11::path&, std::filesystem::__cxx11::path&)'
19 | QFile::copy(entry.readFullPath.value(), temp_w_path);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from h:/usr/local1220/include/QtCore/qdir.h:44,
from h:/usr/local1220/include/QtCore/QDir:1,
from G:/fernanda/fernanda/src/path.h:11,
from G:/fernanda/fernanda/src/io.h:5,
from G:/fernanda/fernanda/src/archiver.h:8,
from G:/fernanda/fernanda/src/archiver.cpp:3:
h:\usr\local1220/include/QtCore/qfile.h:214:10: note: candidate: 'template<class T, typename std::enable_if<is_same_v<std::filesystem::__cxx11::path, T>, int>::type > bool QFile::copy(const T&)'
214 | bool copy(const T &newName)
| ^~~~
h:\usr\local1220/include/QtCore/qfile.h:214:10: note: template argument deduction/substitution failed:
G:/fernanda/fernanda/src/archiver.cpp:19:36: note: candidate expects 1 argument, 2 provided
19 | QFile::copy(entry.readFullPath.value(), temp_w_path);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
h:\usr\local1220/include/QtCore/qfile.h:209:10: note: candidate: 'bool QFile::copy(const QString&)'
209 | bool copy(const QString &newName);
| ^~~~
h:\usr\local1220/include/QtCore/qfile.h:209:10: note: candidate expects 1 argument, 2 provided
h:\usr\local1220/include/QtCore/qfile.h:219:17: note: candidate: 'static bool QFile::copy(const QString&, const QString&)'
219 | static bool copy(const QString &fileName, const QString &newName);
| ^~~~
h:\usr\local1220/include/QtCore/qfile.h:219:37: note: no known conversion for argument 1 from 'std::filesystem::__cxx11::path' to 'const QString&'
219 | static bool copy(const QString &fileName, const QString &newName);
| ~~~~~~~~~~~~~~~^~~~~~~~
make[2]: *** [CMakeFiles/fernanda.dir/fernanda/src/archiver.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from G:/fernanda/fernanda/src/story.h:7,
from G:/fernanda/fernanda/src/fernanda.h:12,
from G:/fernanda/cmake-1220/fernanda_autogen/MJIP5XB4Z4/moc_fernanda.cpp:10,
from G:/fernanda/cmake-1220/fernanda_autogen/mocs_compilation.cpp:5:
G:/fernanda/fernanda/src/sample.h: In function 'void Sample::makeRc(std::filesystem::__cxx11::path)':
G:/fernanda/fernanda/src/sample.h:51:36: error: no matching function for call to 'QFile::copy(std::filesystem::__cxx11::path&, std::filesystem::__cxx11::path&)'
51 | QFile::copy(source, target);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from h:/usr/local1220/include/QtCore/qdir.h:44,
from h:/usr/local1220/include/QtCore/QDir:1,
from G:/fernanda/fernanda/src/path.h:11,
from G:/fernanda/fernanda/src/io.h:5,
from G:/fernanda/fernanda/src/colorbar.h:5,
from G:/fernanda/cmake-1220/fernanda_autogen/MJIP5XB4Z4/moc_colorbar.cpp:10,
from G:/fernanda/cmake-1220/fernanda_autogen/mocs_compilation.cpp:2:
h:\usr\local1220/include/QtCore/qfile.h:214:10: note: candidate: 'template<class T, typename std::enable_if<is_same_v<std::filesystem::__cxx11::path, T>, int>::type > bool QFile::copy(const T&)'
214 | bool copy(const T &newName)
| ^~~~
h:\usr\local1220/include/QtCore/qfile.h:214:10: note: template argument deduction/substitution failed:
G:/fernanda/fernanda/src/sample.h:51:36: note: candidate expects 1 argument, 2 provided
51 | QFile::copy(source, target);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~
h:\usr\local1220/include/QtCore/qfile.h:209:10: note: candidate: 'bool QFile::copy(const QString&)'
209 | bool copy(const QString &newName);
| ^~~~
h:\usr\local1220/include/QtCore/qfile.h:209:10: note: candidate expects 1 argument, 2 provided
h:\usr\local1220/include/QtCore/qfile.h:219:17: note: candidate: 'static bool QFile::copy(const QString&, const QString&)'
219 | static bool copy(const QString &fileName, const QString &newName);
| ^~~~
h:\usr\local1220/include/QtCore/qfile.h:219:37: note: no known conversion for argument 1 from 'std::filesystem::__cxx11::path' to 'const QString&'
219 | static bool copy(const QString &fileName, const QString &newName);
| ~~~~~~~~~~~~~~~^~~~~~~~
make[2]: *** [CMakeFiles/fernanda.dir/fernanda_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/fernanda.dir/all] Error 2
make: *** [all] Error 2

Any idea??

`KeyFilter::autoClose()` at end-of-line

KeyFilter::autoClose() at end-of-line CTD (access violation reading location, probably nullptr / QChar())


It's an interaction between the above and QPlainTextEdit::centerCursor() (used for typewriter positioning)


Tentatively, this has been fixed by blocking signals here:

void PlainTextEdit::keyPresses(QVector<QKeyEvent*> events)
{
    blockSignals(true);
    for (auto& event : events)
        QPlainTextEdit::keyPressEvent(event);
    blockSignals(false);
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.