Re: Lost information converting decoded value to in32_t

2020-05-26 Thread Riccardo Mottola
Maybe with a paarenthesis or some other notation I'd like to be able to directly represent that number. The "trick" of (-2147483647 -1) is nasty but works :-) Riccardo

Re: Lost information converting decoded value to in32_t

2020-05-26 Thread Riccardo Mottola
is one happens on both 64bit and 32bit, so it is probably different, need to know where it comes from too. Riccardo

GWorkspace startup - Setting unknown econding

2020-05-26 Thread Riccardo Mottola
? (y or [n]) even after the executable has been run. Why that? Perhaps it is totally unrelated Input appreciated. Riccardo

GSMutableDictionary class cluster and isKindOfClass

2020-05-27 Thread Riccardo Mottola
: Unknown class of value: GSMutableDictionary soo for some reason GSMutableDictionary is not isKindOfClass NSDictionary? and not a NSMutableDictionary either? I bet this used to work... Riccardo

Re: GSMutableDictionary class cluster and isKindOfClass

2020-05-28 Thread Riccardo Mottola
was indeed puzzled, it loked impossible and I did this check many times. Riccardo

building libobjc2 fPIC issue and ccmake . effectiveness

2020-05-29 Thread Riccardo Mottola
Hi! I am trying to build libobjc2 on NetBSD Linking fails (standard system linker) [  0%] Linking C shared library libobjc.so /usr/bin/ld: /usr/lib/libsupc++.a(eh_globals.o): relocation R_X86_64_TPOFF32 against `_ZZN12_GLOBAL__N_110get_globalEvE6global' can not be used when making a shared objec

Re: GWorkspace startup - Setting unknown econding

2020-05-29 Thread Riccardo Mottola
issues. I wonder, those files were not touched since a long time Riccardo

Re: building libobjc2 fPIC issue and ccmake . effectiveness

2020-05-30 Thread Riccardo Mottola
failed out of 186 Total Test time (real) =  68.32 sec The following tests FAILED: 25 - BlockImpTest (SEGFAULT) 26 - BlockImpTest_optimised (SEGFAULT) 27 - BlockImpTest_legacy (SEGFAULT) 28 - BlockImpTest_legacy_optimised (SEGFAULT) are these expected? I suppose... not, but I wonder if they can cause the issue I am seeing. Riccardo

Re: building libobjc2 fPIC issue and ccmake . effectiveness

2020-06-01 Thread Riccardo Mottola
Hi, On 5/31/20 1:05 PM, David Chisnall wrote: On 30 May 2020, at 22:51, Riccardo Mottola wrote: I have libstdc++.so and libstdc++.a available, and libsupc++.a so I use ccmake. and set CXX_RUNTIME_LIB to /usr/lib/libstdc++.so then I run (c)onfigure and (g)enerate - at that point libobjc2

Re: building libobjc2 fPIC issue and ccmake . effectiveness

2020-06-02 Thread Riccardo Mottola
Hi David, On 6/1/20 12:31 PM, Riccardo Mottola wrote: I reconfigured base with: ./configure LD=/usr/pkg/gnu/bin/ld.gold Is that enough? ./configure CFLAGS=-fuse-ld=gold does not work with clang. I found the final solution. I configured make with:   $ ./configure --with-library-combo

libobjc2-clang

2020-06-10 Thread Riccardo Mottola
?? () Ideas? Riccardo

Re: libobjc2-clang

2020-06-12 Thread Riccardo Mottola
I tried compiling with no optimization, with debug... I can't get a better stacktrace. Perhaps libobjc? how can I compile libobic2 in debug? I think I need to activate  CMAKE_ASM_FLAGS_DEBUG    somehow Riccardo

Re: libobjc2-clang

2020-06-17 Thread Riccardo Mottola
ibrary/Libraries/libgnustep-base.so.1.27.0 #10 0x in ?? () how can I print out this? (gdb) p protocols $4 = (struct objc_protocol_list *) 0x753c816c91b0 just to know which "list" and what should be loaded, I suppose there is an error here. Riccardo

Re: libobjc2-clang

2020-06-18 Thread Riccardo Mottola
kefile issue somewhere? Thanks, Riccardo

Re: libobjc2-clang

2020-06-18 Thread Riccardo Mottola
Hi David, David Chisnall wrote: On 18 Jun 2020, at 12:52, Riccardo Mottola wrote: you guessed correctly and the protocol is also a very common one, NSCopying So, part of the question is whether this is the first time we’re seeing this or not. Can you stick a watchpoint on the isa pointer

Re: libobjc2-clang

2020-06-29 Thread Riccardo Mottola
Riccardo already noticed earlier). The CMAKE_BUILD_TYPE is only necessary to debug the runtime itself (but that was of course necessary in this case). 2. Configure gnustep-make with ./configure CC=clang CXX=clang --with-layout=gnustep --with-library-combo=ng The --with-library-combo option (yes, ng

Re: libobjc2-clang

2020-06-30 Thread Riccardo Mottola
Wolfgang Lux wrote: I haven't tried this for other apps, but for SWK+Vespucci the problem is one of initialization order (the same I've seen -- and fixed -- for StepTalk): The __objc_load function is called for libSimpleWebKit*before* libgnustep-base, which means that all protocol references

failure to build NSTextCheckingController.m

2020-08-28 Thread Riccardo Mottola
'NSAttributedStringKey'  - (void) removeAnnotation: (NSAttributedStringKey)annotationName ^ Riccardo

Re: failure to build NSTextCheckingController.m

2020-08-31 Thread Riccardo Mottola
on the wrong branch... I delted some merged branch on my side and would encourage other people to do the same, it reduces confusion. I am typing this email with GNUMail on my ThinkPad GNUstep rocks. Riccardo

windowmaker - application icon missing at first start

2020-10-16 Thread Riccardo Mottola
ted to at least this commit - merge: https://github.com/mozilla/newtab-dev/raw/6be44da368fb869a3d3e1975f515857352a7d9fc/browser/modules/ProcessHangMonitor.jsm Can you reproduce? How is it for you? Riccardo

FreeBSD 12.2 cannot build back

2020-10-30 Thread Riccardo Mottola
are -r and -rdynamic coming from? I found nothing therelike in gsc's subproject itself. Riccardo

Re: Building GNUstep for Windows using Clang

2020-11-05 Thread Riccardo Mottola
Hi, Frederik Seiffert wrote: > I did /not/ have to patch the MSYS2 headers as written in the > instructions, but maybe that’s only needed for Gui? patching was only needed for Gui not for Base. Now it is no longer needed, I was able to make the necessary workarounds in our code. Riccardo

Re: FreeBSD 12.2 cannot build back

2020-11-08 Thread Riccardo Mottola
Hi David, David Chisnall wrote: > On 30/10/2020 18:31, Riccardo Mottola wrote: >> I wonder if this is a gnustep-make issue or a project issue? > > My guess is a -make issue.  I suspect a newer LLD is more aggressive > about rejecting incompatible options than older linkers. >

Crash on Linux+Clang (NSTimer)

2020-11-08 Thread Riccardo Mottola
n older version of clang, but nothing improved since then. This is my "Linux/clang/libobjc2" setup test just to not always use gcc :) :) $ ./configure --prefix=/ --with-layout=gnustep --with-library-combo=ng-gnu-gnu Any ideas? I don't see I did anything "wrong" or special here. Riccardo

Re: Crash on Linux+Clang (NSTimer)

2020-11-10 Thread Riccardo Mottola
Hello David, thank you for the thorough analysis. when I wrote x86, I meant x86-32, to distinguish from x86-64! On 09/11/2020 10:58, David Chisnall wrote: Hi Riccardo, Nothing there looks obviously wrong, but the fact that you're getting a SEGV on an line that isn't explicitly

Re: Crash on Linux+Clang (NSTimer)

2020-11-11 Thread Riccardo Mottola
ke: ./configure --prefix=/ --with-layout=gnustep --with-library-combo=ng-gnu-gnu Thanks, Riccardo

Crashes in GUI when applying a theme (Thematic)

2020-11-22 Thread Riccardo Mottola
232 The issue appears happening when the new theme is loaded. Ideas? Riccardo

Re: Crash on Linux+Clang (NSTimer)

2020-11-22 Thread Riccardo Mottola
ight? I did not test much, since I have FreeBSD x86-32 only on a very small and compact laptop I do not develop usually on, only when I do travel, otherwise I just use it. I'll set-up a more powerful 32bit rig and test further clang+libobjc2 on it. Riccardo

Re: Crashes in GUI when applying a theme (Thematic)

2020-11-22 Thread Riccardo Mottola
Hi, Riccardo Mottola wrote: #0 0x772103ab in objc_msg_lookup () from /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libobjc.so.4 #1  0x77bf976c in -[NSMenuView sizeToFit] (self=0x55da3560, _cmd=)     at /System/Library/Headers/GNUstepBase/GSIArray.h:237 #2  0x77befa79 in

Re: Crashes in GUI when applying a theme (Thematic)

2020-11-22 Thread Riccardo Mottola
This is my valgrind output at the moment of crash (the crash is happening inside the NSLog statement I added, otherwise it would crash just the line after) ==4835== Invalid read of size 8 ==4835==    at 0x56A13A5: objc_msg_lookup (in /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/libobjc.so.4.0.0) =

Re: Crashes in GUI when applying a theme (Thematic)

2020-11-24 Thread Riccardo Mottola
to a solution. The best way to fix it would be to call [self setMenu: nil] at that place, but, as a very old changelog entry tells, I tried that before and it gave some issues in GNUMail. For now I will add your suggested changes and get Riccardo to test all his favourite applications t

Thematic Crash in ImagesElements

2020-11-27 Thread Riccardo Mottola
162>) at ImageElement.m:354 #2  0xb57a3a10 in ?? () I see nothing trivial there. Printing out ImageElement makes the debugger crash (but the stack is corrupted...) I'm a bit puzzled. Riccardo

Re: Thematic Crash in ImagesElements

2020-11-28 Thread Riccardo Mottola
Hi, On 2020-11-28 00:29:56 +0100 Riccardo Mottola wrote: > > Program received signal SIGSEGV, Segmentation fault. > 0xb98e1bde in objc_msg_lookup () from /usr/lib/libobjc.so.4 > (gdb) > (gdb) bt > #0  0xb98e1bde in objc_msg_lookup () from /usr/lib/libobjc.so.4 > #1  0x080

Thematic crash with horizontal menu

2020-11-28 Thread Riccardo Mottola
Hi all, during debugging of NSMenu last day with Fred and running Thematic, I noticed that a specific theme (WinClassic) makes consistently crash Thematic just as it loads it. Since I was playing with Valgrind anyway, I had a look at that and here we get some interesting output. ==1475== Con

Re: Thematic crash with horizontal menu

2020-11-28 Thread Riccardo Mottola
Hi, On 2020-11-29 00:34:05 +0100 Riccardo Mottola wrote: ==1475== ==1475== Conditional jump or move depends on uninitialised value(s) ==1475==at 0x52670E6: NSEqualPoints (NSGeometry.m:499) ==1475==by 0x4BA4C0E: _i_NSMenuView__mouseDown_ (NSMenuView.m:2012) ==1475==by

Re: Building GNUstep for Windows using Clang

2020-12-01 Thread Riccardo Mottola
ith gcc though, so my test shows... no regression and small fixes. Riccardo

Thematic Crash - hard to debug

2020-12-16 Thread Riccardo Mottola
8049d87 in _start () I set NSZombieEnabled=YES but I get a crash anyway! usually that should save from such situations? Riccardo

Re: Thematic Crash - hard to debug

2020-12-17 Thread Riccardo Mottola
6525456] img is invalid: Tab view (unselected to selected junction) >From what I understand/remember we should always have an image for every element - either it is from the theme (customzied) or it comes from the default. Here Anyway, a check makes it of course a little more robust. Riccardo

GUi stopped compiling

2020-12-21 Thread Riccardo Mottola
in this function)   106 |   return TRUE;   |  ^~~~ I don't see any significant change in the code though, so my fear is that it comes from a new version of libicu? I cheched and I have 68.1 installed. What version(s) do you have? does gui still correctly build? Riccardo

Re: GUi stopped compiling

2020-12-21 Thread Riccardo Mottola
ed to patch Gui in some way. For Base I simply defined > TRUE/FALSE in GSICUString.h: > https://github.com/gnustep/libs-base/pull/163 Oh I see, thank you... the same fix applies also in GUI, we use it in only one place. Riccardo

GNUstep base fails - libobjc2 on NetBSD x86

2021-01-02 Thread Riccardo Mottola
note: instance variable is declared here id isa; ^ 1 warning generated. configure:7892: $? = 0 configure:7892: ./conftest [1] Abort trap ./conftest${ac_exeext} configure:7892: $? = 134 any ideas? Riccardo

NSControls failing to set status/label on BigEndian/64bit

2021-01-03 Thread Riccardo Mottola
nd in Preferences, most items appear to look fine: RadioButtons, Checkboxen... So we can have a problem in RadioButtons, Checkboxes, PopupMenus, Labels, but they do not show "everywhere" I am unable currently to test on PPC-BE/32bit, but will do so about in a week. Riccardo

Re: Building GNUstep for Windows using Clang

2021-01-03 Thread Riccardo Mottola
Hi, On 12/2/20 5:07 PM, Gregory Casamento wrote: Just a suggestion.  Could you commit the binary resulting from the build?  While David might disagree, this is a very heavyweight and difficult build process.  I would prefer to spare others from having to go through it.  If someone else doesn't

Re: GNUstep base fails - libobjc2 on NetBSD x86

2021-01-03 Thread Riccardo Mottola
permissions of PaX ? I cannot set PaX on libraries though, only on executables. Or some address is bogus or other havoc is going on. Riccardo

Re: NSControls failing to set status/label on BigEndian/64bit

2021-01-04 Thread Riccardo Mottola
ckbox looks correct to me, only its state is not correctly displayed and it does not appear to be in those flags, or am I wrong? Riccardo

Re: NSControls failing to set status/label on BigEndian/64bit

2021-01-04 Thread Riccardo Mottola
uttonCell line 1094, after the mask is calculated, do you expect it to be always 0, both for on and off state? It is always 0 for me. Riccardo Riccardo

Re: NSControls failing to set status/label on BigEndian/64bit

2021-01-05 Thread Riccardo Mottola
nt: 1 state 1 2021-01-06 01:01:57.428 Ink[52733:52733] NSCell initWithCoder tmp_int: 0 state 0 2021-01-06 01:01:57.438 Ink[52733:52733] NSCell initWithCoder tmp_int: 0 state 0 Here it looks that sometimes the state is decoded to true!... so it looks it gets lost? Riccardo RIccardo

Re: NSControls failing to set status/label on BigEndian/64bit

2021-01-06 Thread Riccardo Mottola
sk 0 this is coherent to it being 0 later... (It is always after the output of the line saying "notkeycoding version 3)... how to delve deeper? Riccardo Riccardo

Re: NSControls failing to set status/label on BigEndian/64bit

2021-01-06 Thread Riccardo Mottola
howAltStateMask = (NSInteger)tmp2;    if (version >= 2) { what do you think? That way... things load and radio buttons and checkboxes work. I find it ugly. Also I want to be sure that Gorms are encoded correctly if created here Then,. also, we have some Labels and especially MenuItems not loading in PopUpButtons. Maybe someting does not decode, e.g. Tags ? Riccardo Riccardo

Re: GNUstep base fails - libobjc2 on NetBSD x86

2021-01-06 Thread Riccardo Mottola
;make test" has all tests fail, and I see: /home/multix/code/libobjc2/Build/libobjc.so.4.6: text relocations /home/multix/code/libobjc2/Build/libobjc.so.4.6: Cannot write-enable text segment: Permission denied So this has nothing with base, but libobjc2 is broken by itself. Riccardo

Re: NSControls failing to set status/label on BigEndian/64bit

2021-01-06 Thread Riccardo Mottola
stions? We replied almost together. The "cast" hack proves that we are investigating in the correct direction. Riccardo

Re: NSControls failing to set status/label on BigEndian/64bit

2021-01-07 Thread Riccardo Mottola
: what is the current version? I used 3 as versino.. just because I found that one when decoding Gorms and debugging. Where is it to be increased? Riccardo PS:any clues on why NSPopUpMenus don't show their items, but retain Item1 Item2, Item3? I had a look if there were similar type issues

Re: NSControls failing to set status/label on BigEndian/64bit

2021-01-07 Thread Riccardo Mottola
plicationKit/Classes/NSButtonCell.html So.. our Gorm format is "wrong" since ever. Apple in the meanwhile made types of state and hightlight with an enum type NSCellStyleMask Riccardo

Re: NSControls failing to set status/label on BigEndian/64bit

2021-01-07 Thread Riccardo Mottola
s to be of uint32_t to fit in memory, but is it?.. later is copied back with the struct size. Scary. Riccardo

Re: GNUstep base fails - libobjc2 on NetBSD x86

2021-01-08 Thread Riccardo Mottola
Hi David, thanks, please follow below for the dump. Riccardo David Chisnall wrote: This is very odd. I don’t suppose that, when you modify the CFLAGS you’re removing the -fPIC? Aside from that, I "hope" not - the CFLAGS were empty, I just added my entries. To be sure, I a

Re: GNUstep releases this month?

2021-01-19 Thread Riccardo Mottola
umber please remember to fix that file. my only "itch" which would be a regression is the bug of the icon, the stuff Sergeii did... perhaps I should plan a ProjectCenter release too then. maybe thematic too, Richard? Riccardo

Re: GNUstep releases this month?

2021-01-20 Thread Riccardo Mottola
ally knowing it is something done these last months. Riccardo

Base - color pparsing bug - Was: [Re: GNUstep releases this month?]

2021-01-20 Thread Riccardo Mottola
tests to see if some specific failed tests can be identified ... but apparently they run sequentially on only one CPU and it takes hours Anyway having an exact commit is also a good start. Riccardo

Re: GNUstep releases this month?

2021-01-21 Thread Riccardo Mottola
build Current: 9236 Passed tests  202 Failed tests   46 Dashed hopes   14 Skipped sets    1 Failed file    1 Failed build so actually we "fixed" some tests :) :) Riccardo

Re: Base - color pparsing bug - Was: [Re: GNUstep releases this month?]

2021-01-21 Thread Riccardo Mottola
erTest[5278:3930190648] parsed: 1.00, 1.00, 1.00 - isAtEnd? 1 but why not 0.0  the second time? Riccardo

Re: GNUstep releases this month?

2021-01-21 Thread Riccardo Mottola
Hi, Riccardo Mottola wrote: > 9236 Passed tests >  202 Failed tests >   46 Dashed hopes >   14 Skipped sets >    1 Failed file >    1 Failed build if the above is sparc32 on NetBSD 8.2, below we have amd64 on NetBSD 9.1 - always with GCC runtime. 7760 Passed tests   46 Failed

Re: Base - color pparsing bug - Was: [Re: GNUstep releases this month?]

2021-01-21 Thread Riccardo Mottola
rkspace and PRICE without spotting gross errors. Riccardo

strnstr errors in tests while on NetBSD

2021-01-21 Thread Riccardo Mottola
f 'strnstr' was here  char *strnstr(const char *, const char *, size_t); they don't even build. Riccardo

Re: strnstr errors in tests while on NetBSD

2021-01-26 Thread Riccardo Mottola
t bugs before digging into CPU issues. I think libobjc2 has issues with C++ exceptions Riccardo

Re: strnstr errors in tests while on NetBSD

2021-01-26 Thread Riccardo Mottola
Hi, Riccardo Mottola wrote: > The situation on NetBSD/amd64/libobj2 s now: > > 7767 Passed tests >   46 Failed files >   32 Dashed hopes >    8 Failed tests > > > The situation on NetBSD/sparc64/gcc is now: > > 9398 Passed tests >   54 Failed tests >  

libobjc2 on OpenBSD 6.8 build errors - C++ runtime not found

2021-02-02 Thread Riccardo Mottola
C++ standard library -- Using /usr/bin/cc -- No useable C++ runtime found why doesn't it like my runtime library? Riccardo

gnustep gui localization - UTF8 issues

2021-02-05 Thread Riccardo Mottola
byte-order-marker. However: $file Resources/Italian.lproj/Localizable.strings Resources/Italian.lproj/Localizable.strings: UTF-8 Unicode text and opening in gvim with utf8 encoding it looks perfect, the same with emacs. The BOM is there... so? Riccardo

gnustep-gui fails to link on OpenBSD / gcc runtime

2021-02-05 Thread Riccardo Mottola
ct2: error: ld returned 1 exit status gmake[4]: *** [/usr/GNUstep/System/Library/Makefiles/Instance/library.make:293: obj/libgnustep-gui.so.0.29.0] Error 1 any clue what this could be??? Riccardo

Windows mingw64 - loading of certain Gorms broken - NSSearchField ?

2021-02-12 Thread Riccardo Mottola
BJC_SELECTOR_TABLE+304>, type=0x674243a4 "@", address=0x22e648)     at NSUnarchiver.m:929 #18 0x6704f2d5 in -[GSDictionary initWithCoder:] (self=0x511dbe0, _cmd=0x673c8eb0 <_OBJC_SELECTOR_TABLE+464>, The issue appears to be here: 530   [aDecoder decodeValueOfObjCType: @encode(BOOL) at: &_sends_whole_search_string]; 531   decode_NSInteger(aDecoder, &max); a bool - a long long vs unsigned int? Riccardo

Re: gnustep gui localization - UTF8 issues

2021-02-12 Thread Riccardo Mottola
seems to ignore the old format. (I need to look into this behaviour). I re-added the BOM to both files. Could you please give it a try? thank you. It works now! Riccardo

Re: libobjc2 on OpenBSD 6.8 build errors - C++ runtime not found

2021-02-17 Thread Riccardo Mottola
uld fail with either libc++abi.so.3.0 or with your C++ standard library. Either should work and so I don’t know why this test would fail. I don't know, if I can give you the test results, is there a log, equivalent to configure's config.log ? Line 231 is for Android... I think it is test "test_cxx_stdlib" perhaps? I tried: rohan$ ./test_cxx_stdlib rohan$ echo $? 1 it runs but returns non-zero. Riccardo

all GUI apps crash on window

2021-02-19 Thread Riccardo Mottola
frame inner to this frame (corrupt stack?) it is _appIconInit which is perhaps supect... on windows? Then I tried Ink... it dies the same way. I fear this means "all apps crash" Riccardo

Re: all GUI apps crash on window

2021-02-22 Thread Riccardo Mottola
clean and then reinstall, this should have removed the old version. Do you install core libraries in System or Local ? I did rebuild twice, but on one install, I can't get it to work. Riccardo

Windows ming64- loading resources in a Framework fails - bundleForClass

2021-02-23 Thread Riccardo Mottola
1-02-23 23:22:15.664 ProjectCenter[5688:5276] Path for NIB file LogPanel.gorm does this anomaly ring a bell for somebody? very interesting is that on old msys-1 where I upgraded all core libraries, it works! so it is not a fully windows specific thing, but something for mingw64, I guess a hack going bad?? Riccardo

Re: Windows ming64- loading resources in a Framework fails - bundleForClass

2021-02-24 Thread Riccardo Mottola
onfig.site I tried, reconfigured make, rebuilt ProjectCenter and it works! I documented this on the wiki, just to remember! Riccardo

Re: Windows ming64- loading resources in a Framework fails - bundleForClass

2021-02-25 Thread Riccardo Mottola
Hi, Richard Frith-Macdonald wrote: It's a mistake/bug, or maybe they think people using mingw64 actually want to cross-compile for mingw32 (seems perverse). Anyway, it can be overridden by using --host=mingw64 when configuring gnustep-make, as a command line argument takes precedence over info

Re: Windows ming64- loading resources in a Framework fails - bundleForClass

2021-02-25 Thread Riccardo Mottola
would be called like "mingw2" but still be the same. The architecture is i686 or x86_64, can we match that to make the decisions in gnustep-make? Riccardo

Re: GNUstep releases this month?

2021-03-02 Thread Riccardo Mottola
Hi, On 2021-02-28 21:45:03 +0100 Johannes Brakensiek wrote: Great. Riccardo, may I ask you to do a release of PDFKit as well? The currently released makefile is not compatible with libobjc2. svn works. I apparently did no changes since the past 1.2.0 version bump. But apparenlty I did

Re: GNUstep releases this month?

2021-03-02 Thread Riccardo Mottola
ot available right now in time for this week. I'm quite satisfied for this last-minute work! Riccardo -- Proudly written on a ThinkPad R52 with GNUmail with GNUstep on Gentoo GNU/Linux

Re: GNUstep releases this month?

2021-03-02 Thread Riccardo Mottola
Just let's check and merge back for windows improvement... and then it will be a very good release I hope! Riccardo -- Sent with GNUmail on GNUstep on GNU/Linux from a faithful Thinkpard R52

Re: GNUstep releases this month?

2021-03-03 Thread Riccardo Mottola
PPC was only supported in NT4 if I am right :) And no mingw outside intel, AFAIK. Still, not elegant.. I think I just found the spot and addressed it in my last commit. I'll write some changelog and open a PR, just in time for the release! Riccardo

GNUMail hanging in a loop eating CPU

2021-03-26 Thread Riccardo Mottola
100%. Once I got a crash instead. One time I was able to attach via GDB while GNUMail was hang and was able to produce this stacktrace. What's your guess? Fred? Riccardo #0  0x7f4a2160c257 in -[GSLayoutManager(GlyphsHelpers) _generateGlyphsUpToCharacter:] (self=, _cmd=out>, last=)

Re: GNUstep releases this month?

2021-04-30 Thread Riccardo Mottola
Hi I did a build ot base/gui/back on linux/amd64 gcc and found no issues. Maybe this is enough to tell that the packages are complete. Didn't test for bugs on all platforms to know if you caught a good git version or not. Riccardo Ivan Vučica wrote: (This is not a release announcemen

OpenBSD crashes - GWorkspace coredumps - mismatched C++ libraries

2021-05-21 Thread Riccardo Mottola
c++.so.7.0     0ca18000 2ca1c000 rlib  0    3   0 /usr/lib/libc++abi.so.5.0 but why do base and FSNode link against this system library? Do we use C++ stuff? not that I know, explicitely. Only PDFKit has an explicit use of the C++ compiler. I wonder how I can mitigate this Riccardo

Re: OpenBSD crashes - GWorkspace coredumps - mismatched C++ libraries

2021-05-24 Thread Riccardo Mottola
Sebastian Reitenbach wrote: On 21. May 2021, at 16:14, Riccardo Mottola wrote: I think the issue comes from the fact that OpenBSD has a very basic system gcc 4.2 compiler (no Obj-C support, only C and C++) and then gcc8 or clang can be installed as packages. On this system I have gcc. It is

Re: OpenBSD crashes - GWorkspace coredumps - mismatched C++ libraries

2021-05-24 Thread Riccardo Mottola
Hi, David Chisnall wrote: Hi Riccardo, On 21/05/2021 15:14, Riccardo Mottola wrote: So indeed, once running, there is a mix of: 0f88c000 2f96f000 rlib  0    1   0 /usr/local/lib/libestdc++.so.19.0 vs: 08fb7000 28fbd000 rlib  0    2   0 /usr/lib/libc++.so.7.0

crashes with the initialization of rtf Help

2021-06-11 Thread Riccardo Mottola
;) at NSApplication.m:1585 #19 0xbab520cc in NSApplicationMain (argc=argc@entry=1, argv=argv@entry=0xbfbf8a58) at Functions.m:119 #20 0x0804f15b in gnustep_base_user_main (argc=1, argv=0xbfbf8a58) at main.m:30 #21 0xba844b36 in main (argc=1, argv=0xbfbf8a58, env=0xbfbf8a60) at NSProcessInfo.m:1008 #

Re: OpenBSD crashes - GWorkspace coredumps - mismatched C++ libraries

2021-07-20 Thread Riccardo Mottola
Hi David, David Chisnall wrote: Hi Riccardo, On 21/05/2021 15:14, Riccardo Mottola wrote: So indeed, once running, there is a mix of: 0f88c000 2f96f000 rlib  0    1   0 /usr/local/lib/libestdc++.so.19.0 vs: 08fb7000 28fbd000 rlib  0    2   0 /usr/lib/libc++.so.7.0

Re: Project-Center 0.6.2

2021-09-30 Thread Riccardo Mottola
r method is not in the instance? Riccardo

Re: ProjectCenter : GDB the framework

2021-10-03 Thread Riccardo Mottola
breakpoint or debugging a linked framework. It may happen that on startup GDB doesn't know about the classes so it will have a "pending breakpoint" that gets solved on load. Or you can run the program, interrupt it, set the breakpoint on the now loaded Framework, and continue. Riccardo

error with unwind header

2021-10-22 Thread Riccardo Mottola
detection of the header should automatically disable unwind? Riccardo

GWorkspace doesn't start - Can not determine type information

2021-10-27 Thread Riccardo Mottola
ectly fine to me! The code snippet is even trivial:   for (i = 0; i < [icons count]; i++)     {   TShelfIcon *icon;   icon = [icons objectAtIndex: i];   [icon setSingleClickLaunch: value];     } Riccardo

warning when compiling base and other programs

2021-11-23 Thread Riccardo Mottola
Hello, since recently I get many of these warnings: ../../Headers/Foundation/NSBundle.h:348:10: warning: 'format_arg' attribute directive ignored [-Wattributes]   table: (NSString*)tableName NS_FORMAT_ARGUMENT(1); In base itself (updated today) but also elsewhere. Riccardo

Re: warning when compiling base and other programs

2021-11-23 Thread Riccardo Mottola
sounds like it doesn’t support the > format_arg attribute, so we might have to adjust the check in > GSVersionMacros.h (currently enabled for Clang and GCC >= 4.2). in this case it is coming from gcc 7.5, but I have seen it in other gcc versions too. like gcc 11 Riccardo

scary warning about casts

2021-11-26 Thread Riccardo Mottola
a = (float)*num / 0xU; I think the warning is legit: alpha is float and is multiplied with an explicit unsigned constant 0xU. What is the code trying to achieve here? Riccardo

wayland PR

2021-11-28 Thread Riccardo Canalicchio
at do you think? best, Riccardo

Re: scary warning about casts

2021-12-02 Thread Riccardo Mottola
x27;t depend on undefined and/or compiler-specific behavior.  GC I did some analysis, I think an explicit cast to float is enough. I committed that Riccardo

guidance for wayland wayland cursor handling refactor

2021-12-15 Thread Riccardo Canalicchio
e that the base interface GSWindowDecorationView doesn't have knowledge of titleBar or resizeBar. How do you suggest to proceed? best, Riccardo

Re: guidance for wayland wayland cursor handling refactor

2021-12-17 Thread Riccardo Canalicchio
t; If you take a quick look at GSTheme.h in gui you'll see a lot of classes >>> to which we delegate the drawing. I believe what you should do is create >>> a similar class for GSStandardDecorationView that can be used to do the >>> drawing for that class. This way t

Wayland backend status update

2021-12-23 Thread Riccardo Canalicchio
andomly on the screen. Best, Riccardo

<    4   5   6   7   8   9   10   >