Search found 218 matches

by seasoned_geek
Wed Sep 21 2022 9:15 pm
Forum: Developers
Topic: qnamespace.h enum Key needs Key_None
Replies: 2
Views: 805

Re: qnamespace.h enum Key needs Key_None

The value Key::Key_unknown is normally used as the initial value to represent an invalid key. Is there any reason this will not work for you? Barbara The short answer is yes. Most everything else one interfaces with needs an enum value of 0 for "unknown". I understand the concept of wanti...
by seasoned_geek
Wed Sep 14 2022 10:18 pm
Forum: Developers
Topic: CopperSpice port of Scintilla now available
Replies: 2
Views: 1351

Re: CopperSpice port of Scintilla now available

For those who want to see/user a CopperSpice port of Scintilla, you can pull down version 3.2.0 of RedDiamond.

RPM, Debian, and AppImage are available here

https://sourceforge.net/projects/reddiamond/files/
by seasoned_geek
Sat Sep 10 2022 10:34 pm
Forum: Developers
Topic: Ubuntu 22.04 compiler warnings
Replies: 8
Views: 1844

Re: Ubuntu 22.04 compiler warnings

In case this wasn't included in the last batch, this seems to come up a lot today. In destructor ‘WebCore::TreeShared<T>::~TreeShared() [with T = WebCore::ContainerNode]’, inlined from ‘void WebCore::TreeShared<T>::removedLastRef() [with T = WebCore::ContainerNode]’ at /home/developer/Projects/coppe...
by seasoned_geek
Sat Sep 10 2022 8:10 pm
Forum: Developers
Topic: Documentation issue - supported platforms
Replies: 1
Views: 681

Documentation issue - supported platforms

All, This page doesn't have the requirements for Ubuntu 22.04 though it is supported now. https://www.copperspice.com/docs/cs_overview/requirements-unix.html#ubuntu20-cs-dev The items listed for Ubuntu 20.04 aren't including enough to actually build Diamond. Here's a 22.04 list. # sudo apt-get insta...
by seasoned_geek
Sat Sep 10 2022 8:06 pm
Forum: Developers
Topic: QMap::findValue
Replies: 4
Views: 989

Re: QMap::findValue

No, that is close. Btw, that seems like a really bad name for such a method, but that is my opinion. iterator find (const Key &key) iterator findValue ((const Val &value) I apologize if my request was unclear. I was tired. Now that I go back and look at it, the code snippet I stole from the ...
by seasoned_geek
Sat Sep 10 2022 4:02 pm
Forum: Developers
Topic: Ubuntu 22.04 compiler warnings
Replies: 8
Views: 1844

Re: Ubuntu 22.04 compiler warnings

Thanks for the reminder, we pushed the changes which are in our control the other day. The team will continue to investigate if others can be resolved. Barbara Building in 22.04 this morning from fresh pull. Just pasting here so we don't forget to clean up CMake issues as well. -- Could NOT find Cu...
by seasoned_geek
Fri Sep 09 2022 3:59 pm
Forum: Developers
Topic: QMap::findValue
Replies: 4
Views: 989

QMap::findValue

This is something that has been needed since QMap was originally conceived. There must literally be tens of thousands of programs that have code much like the following: QString retVal; bool foundFlg = false; QMapIterator<QString, int> iter(map); while (iter.hasNext() && !foundFlg) { iter.ne...
by seasoned_geek
Fri Sep 09 2022 1:43 pm
Forum: Developers
Topic: Ubuntu 22.04 compiler warnings
Replies: 8
Views: 1844

Re: Ubuntu 22.04 compiler warnings

Thought it would be a good idea to add a bit more information. The situation with some of the warnings are actually known false positives in GCC 11. These warnings can not be resolved in a user application. (1) We found a "-Wformat-overflow" in a call to qWarning() in the XCB plugin. This...
by seasoned_geek
Tue Sep 06 2022 9:44 pm
Forum: Developers
Topic: qnamespace.h enum Key needs Key_None
Replies: 2
Views: 805

qnamespace.h enum Key needs Key_None

All, The Key enum in qnamespace.h needs either a Key_None or Key_NULL with value 0x00000000. It's an initialization thing. These things are all getting thumped into integers and C/C++ developers long ago made peace with no negative enums (well, some did) but without a Key_None or Key_NULL there is n...
by seasoned_geek
Mon Sep 05 2022 5:23 pm
Forum: Developers
Topic: Ubuntu 22.04 compiler warnings
Replies: 8
Views: 1844

Re: Ubuntu 22.04 compiler warnings

Building from the tip of tip today on Ubuntu 22.04 LTS with all updates applied. inlined from ‘static QTextCodec* QTextCodec::codecForMib(int)’ at /home/developer/Projects/copperspice/src/core/codecs/qtextcodec.cpp:692:24: /usr/include/c++/11/bits/stl_algobase.h:105:32: warning: ‘int __builtin_memcm...