Search found 152 matches

by ansel
Sun Aug 14 2022 11:55 pm
Forum: Developers
Topic: XCB crash when left doing nothing
Replies: 6
Views: 3763

Re: XCB crash when left doing nothing

The vulkan-dev branch is currently under development and has not been merged yet. If you are building from source you should be building from the master branch.
by ansel
Mon Jun 13 2022 3:53 am
Forum: Issues
Topic: Ubuntu 18.04 cmake 3.22 build issues
Replies: 1
Views: 4648

Re: Ubuntu 18.04 cmake 3.22 build issues

Ubuntu 18.04 ships with CMake 3.10, and CopperSpice requires 3.16 or newer which you can download directly from KitWare. The same situation exists for Debian 9 and 10. Our CMake scripts are tested on various platforms from 3.16 through 3.21 as per our overview documentation. As we test other platfor...
by ansel
Mon Apr 25 2022 6:43 am
Forum: Developers
Topic: QStringParser::formatArg bug
Replies: 3
Views: 3372

Re: QStringParser::formatArg bug

You are correct that you can have placeholders with numbers between 1 and 99. However, our documentation does not say anything about supporting duplicate or repeated usage of placeholder numbers. When we implemented QStringParser this was not a feature we considered implementing. We are happy to fil...
by ansel
Mon Apr 25 2022 2:36 am
Forum: Developers
Topic: QStringView compare bug
Replies: 1
Views: 2738

Re: QStringView compare bug

The QStringView::compare() method was added in January of 2022 which was just after the release of CopperSpice 1.7.3. This method will be present in CopperSpice 1.7.4, which is scheduled to be released by the end of April 2022.
by ansel
Fri Apr 22 2022 3:15 am
Forum: Developers
Topic: QString QSqlQuery bug 2
Replies: 1
Views: 2867

Re: QString QSqlQuery bug 2

This is an interesting issue and is not related to the QSqlQuery problem you reported nor is it a QStringParser bug. The problem has to do with lexName, which you declared as an array of characters. Here is the line of code to look at: "QStringParser::formatArg(cmd, lexName)". The second p...
by ansel
Mon Apr 04 2022 7:12 pm
Forum: Issues
Topic: QtConcurrent documentation bug
Replies: 4
Views: 6041

Re: QtConcurrent documentation bug

Where did QtConcurrent::run() go? That was a very good tool. Let you thread off a class method that needed to do a bunch of database I/O without clogging up the main event loop or having to create your own QThread just for that. run() is actually a function in the QtConcurrent namespace. It is decl...
by ansel
Tue Mar 15 2022 9:26 pm
Forum: Developers
Topic: Segmentation fault QCoreApplication::cs_isRealGuiApp()
Replies: 1
Views: 5450

Re: Segmentation fault QCoreApplication::cs_isRealGuiApp()

My guess is it is QFont and I'm guessing whoever did it meant well, but now you can't have a static const outside of a class so it is only visible within a single .cpp file. It gets initialized before the QApplication in main.cpp. There is no way to construct a QFont object before the QApplication ...
by ansel
Sun Mar 13 2022 3:34 am
Forum: Issues
Topic: QTabWidget documenttion issue
Replies: 2
Views: 4941

Re: QTabWidget documenttion issue

Do indexes start at zero or one? Every place that documents an index needs to specify the starting value. Assuming zero can really burn a person. In general, all indexes in C++ programs start from zero. The QTabWidget class conforms to this convention. We are not aware right now of any class in Cop...
by ansel
Wed Feb 23 2022 2:48 am
Forum: Issues
Topic: QSplitter indexOf() documentation bug
Replies: 1
Views: 4544

Re: QSplitter indexOf() documentation bug

Returns the index in the splitter's layout of the specified widget. This also works for handles. Handles are numbered starting from 0. There are as many handles as there are child widgets, but the handle at position 0 is always hidden. So what does it return when it fails? I would assume -1 but tha...
by ansel
Mon Feb 07 2022 5:35 pm
Forum: User Support
Topic: Multiple character encodings support in CsString
Replies: 1
Views: 4463

Re: Multiple character encodings support in CsString

I am considering Copperspice for a project. I haven't used it yet. Right now I am only looking around. I know that CsString can support multiple character encodings besides the 2 default ones UTF-8 and UTF-16. I wonder if there are other character encodings already supported, maybe in a CONTRIB rep...