Search found 108 matches

by seasoned_geek
Sat Apr 10 2021 10:31 am
Forum: Issues
Topic: QTextStream
Replies: 1
Views: 238

QTextStream

Given this bug first appeared in Qt 4.5 https://bugreports.qt.io/browse/QTBUG-12055 Did CopperSpice fix it? Hopefully, in their "spare" time, the CopperSpice developers are removing/fixing the "single threadedness" of Qt. Only being able to paint in the main event loop is a severe flaw. The lack of ...
by seasoned_geek
Fri Apr 09 2021 7:55 pm
Forum: Installation
Topic: Support for RHEL?
Replies: 18
Views: 11932

Re: Support for RHEL?

I hear what you say, but it appears they have since provided a compiler upgrade path. I'm not a subscriber https://access.redhat.com/solutions/1144903 https://access.redhat.com/documentation/en-us/red_hat_developer_toolset/6/html/user_guide/sect-gcc-cpp ==== The mixing of objects, binaries and libra...
by seasoned_geek
Fri Apr 09 2021 5:54 pm
Forum: Issues
Topic: fromUnicode() documentation bug
Replies: 3
Views: 508

Re: fromUnicode() documentation bug

The intent of the QTextCodec class is to convert between a QString and some specified text encoding. For Qt, the QString is in UCS-2, whereas for CopperSpice the QString is in UTF-8. In either case, the QByteArray that is returned by QTextCodec::fromUnicode will be in whatever encoding was requeste...
by seasoned_geek
Fri Apr 09 2021 1:51 pm
Forum: Installation
Topic: Support for RHEL?
Replies: 18
Views: 11932

Re: Support for RHEL?

I'm curious to find out about RHEL 6. The version of Qt 5 on RHEL 6 has, shall we say, "not good" HiDPI support. One customer has now standardized on $300 4K monitors as their new "desktop standard." Many of the screens now look like doo-doo all because a better monitor was installed. Video card, dr...
by seasoned_geek
Thu Apr 01 2021 1:50 pm
Forum: Issues
Topic: fromUnicode() documentation bug
Replies: 3
Views: 508

fromUnicode() documentation bug

All, As part of trying to track down a real answer to this issue: https://forum.copperspice.com/viewtopic.php?f=11&t=1755 Unraveling this for (unsigned int i = 0; i < commitStrLen;) { const unsigned int ucWidth = commitStr.at(i).isHighSurrogate() ? 2 : 1; const QString oneCharUTF16 = commitStr.mid(i...
by seasoned_geek
Wed Mar 31 2021 12:17 pm
Forum: User Support
Topic: std::string_view
Replies: 2
Views: 441

Re: std::string_view

Please provide the error messages you are seeing, hopefully just a few lines. If this is a long error message please email and we will review and then post something here. I did not include the error because I didn't want to go down that rabbit hole. Here it is, per request. /home/roland/sf_project...
by seasoned_geek
Tue Mar 30 2021 9:16 pm
Forum: User Support
Topic: std::string_view
Replies: 2
Views: 441

std::string_view

All, I'm porting Scintilla to CopperSpice for use in RedDiamond. Scintilla is really robust and many editors like Notepadqq and Juffed use it. I'm down to the last source file and two compilation errors in the input method, both with code like this. if ( !event->commitString().isEmpty() ) { const QS...
by seasoned_geek
Tue Mar 30 2021 7:01 pm
Forum: Enhancements
Topic: QString enhancement request
Replies: 1
Views: 449

QString enhancement request

Can this get fixed? /home/roland/sf_projects/roland_hughes-scintilla/copperspice/ScintillaEditBase/PlatCS.cpp: In member function ‘virtual void* Scintilla::DynamicLibraryImpl::FindFunction(const char*)’: /home/roland/sf_projects/roland_hughes-scintilla/copperspice/ScintillaEditBase/PlatCS.cpp:1365:4...
by seasoned_geek
Mon Mar 29 2021 1:54 pm
Forum: Developers
Topic: Copperspice and python
Replies: 6
Views: 7536

Re: Copperspice and python

You could ask Phil Thompson

https://pypi.org/user/PhilThompson/

It looks like he did both PyQt and QScintilla
by seasoned_geek
Sat Mar 27 2021 4:03 pm
Forum: Developers
Topic: QScintilla
Replies: 0
Views: 304

QScintilla

Has anyone successfully used the QScintilla from the Ubuntu 20.04 LTS repos with CopperSpice?

Has anyone used QScintilla in any form with CopperSpice?

I'm guessing the methods returning/accepting QString will have a bit of an issue.