-
Content Count
2650 -
Joined
-
Last visited
-
Days Won
92
Posts posted by dummzeuch
-
-
I must have screwed something lately, because nearly every time I close the IDE (any version of it) I get an access violation. The only reason I can think of is that I made a change to GExperts that causes it.
Does anybody else, who recently compiled GExperts from sources, experience the same problem?
-
QuoteFound on Stack Overflow:
QuoteAnother option is install Gexperts, and use the expert IDE menu shortcuts, This expert enables you to configure any of the IDE menu shortcuts.
That won't work, because these actions don't have an associated menu item.
Nice idea with the expert that calls IOTAEditView .NavigateToModification. I thought about adding something like it to GExperts, but I'm not sure that I want to add yet another shortcut to the IDE (and thereby making it unavailable for other plugins) is worth it.
I could add it the GExperts Editor Popup menu though, so it would not need a keyboard shortcut.
-
2 hours ago, Schokohase said:Well, if you pass a pointer to memory from your own process you should not be surprised that you can modify the memory you are pointing at. I would be surprised if I could not.
But that's what const is all about: A parameter (possibly passed by reference) where the compiler prevents changes.
Turns out that it is easy to change it by mistake. (Of course it's also not simple for the compiler to catch this case.)
-
1 hour ago, Rollo62 said:I try to test the most common devices in the market, the rare devices I do ignore (not much complaints yet from customers).
Does that mean you own all these devices? How many are we talking about?
-
2 hours ago, ByteJuggler said:Passing login credentials in the clear is IMHO simply not acceptable, especially given the ease of procuring even free SSL certificates (https://letsencrypt.org/) these days. I mean, even little me runs my own mail server that has (LetsEncrypt) SSL both for the mail server and the web interface.
It's also a requirement under the European General Data Protection Regulation .
- 1
-
If the window is not "wide enough", you can finde it in the menu under "Account".
(Where I would not have expected it even though it makes kind of sense.)
There are several steps in the layout, mobile uses the narrowest.
-
1 hour ago, edwinyzh said:@dummzeuch Can I take this chance to make a suggestion? - In the 'Memo' view of 'Library Path' and the porject options 'Search Path', as shown in @Primož Gabrijelčič
's posted screenshot, two things would increase the productivity:
- Allow pressing [Ctrl + A] to select all text in the Memo.
- Even better - to have a 'Edit with external text editor' button, which when being clicked, will open the system's default text editor to edit the search paths.
I guess this can be done with something like:
- save the paths to a temp file with a unique name.
- use the CreateProcess API to launch the text editor (the system's default one or can be specified by the user in GExperts), open the temp file.
- After the text editor's closed (IIRC you can can notified with the CreateProcess win32 API), load the modified content from the temp file and put it into the 'Memo' view of the path editor.
Sorry for being off topic, I saw PG's screenshot and this idea came up 😛
Could you please take the time and put this into a ticket at sourceforge?
-
39 minutes ago, Primož Gabrijelčič said:Looks good to me.
If you want me to test something specific, let me know.
No, that's fine, exactly what I wanted to know. After needing ages to actually reproduce the problem I was no longer sure whether it had actually disappeared of if I was just seeing ghosts.
That one was tricky to solve or rather work around, but I wish the next one was something similar. Something about Unicode / UTF-8 issues makes them difficult to solve for me. At least I think I have tracked it down to a conversion issue where TStringStream is being used where it shouldn't.
-
Hi,
I just added workarounds for both issues described in bug #86.
I need some testers. It works for me but might not work for others.
Requirements:
- Has Delphi 10.2
- Uses the Dark Theme (or any custom theme)
- Must compile GExperts from the current sources.
twm
-
9 hours ago, KodeZwerg said:i just watched Screenshots on given link and read text, i bet i missed it, so heres my question:
does your fake got property "flat" to play with?
No.
-
My fake TSpeedButton based on TBitBtn has been updated again. It now supports any combination of Glyph and single/multi line Text. It also supports setting Margin and Spacing.
https://blog.dummzeuch.de/2018/11/10/fake-tspeedbutton-based-on-tbitbtn-updated-again/
Note that it still requires the Glyph to be on the left.- 1
-
We generate a res file from an INI file which contains the version information and is maintained outside the IDE.
I think I blogged about this a while ago.
-
2 hours ago, Stefan Glienke said:Get into the beta - I guess being a maintainer of one of the most noticeable IDE plugins might help even if you are not on subscription personally.
No, neither will I become an MVP. I don't like the strings attached.
(My personal choice, so I'll have to live with it.)
-
1 hour ago, Zacherl said:Isn't the optimizer smart enough to remove empty function calls? Well ... I know ... it's Delphi ... and Delphi is not really known for perfectly optimized code, but detecting empty functions is a really easy task. Using `IFDEF`s inside the logging function itself would be a better solution in this case.
Edit;
Well tested it, and ... ofc it does not eliminate calls to empty functions Generates a `CALL` that points to a single `RET` instruction instead. This should not happen in 2018.
Have you tried to declare the function inline ?
-
2 hours ago, Zacherl said:Assert is fine, but sometimes you want to have logging code in your productive version. Asserting is not a good idea here as it will raise an exception. Besides that only one event can be logged at a time (as the application crashes after the first assertion / or executes the exception handler what will them prevent execution of successive assertions).
But you could use assert to mask out the logging:
function MyLogging(const _Text: string): boolean; begin doLogging(_Text); Result := true; end;
Assert(MyLogging('My very important log message'));
This would remove all calls to the logging function when you disable assertions.
- 1
- 1
-
Building on Lars Fosdal's answer: Let your external program generate the file under a different name (or in a different location on the same drive) and when it is done, rename/move it to where your program expects it.
- 1
-
There is an article by Peter Laman on the topic Making “Stay-on-top-forms” do want you want on the Embarcadero blog. It’s from 2004 and of course the link to the component he talks about no longer works, because it points to cc.borland.com which no longer exists.
https://blog.dummzeuch.de/2018/11/05/making-stay-on-top-forms-do-want-you-want-in-delphi/
-
-
The theming stuff in the IDE is really a pain in the lower back. It not only broke the menus in the dockable GExperts windows (e.g. Grep Result), it also breaks the extensions to the Search Path dialog. 😞
https://sourceforge.net/p/gexperts/bugs/86/
Apart from that there are several dialogs that were apparently overlooked for theming, e.g. the Build Events dialog.
I wonder whether the same problem exist in Delphi 10.3.
It's probably pointless asking anybody in the beta program to test it because they would not be allowed to tell me...
-
22 minutes ago, Johan Bontes said:Nice, when was this feature added? I'd not noticed it.
Not sure when it was added. Delphi 6 already has it, but it might be even older.
-
I just got confused because CnWizard uses "vertical first" vs. "horizontal first" differently than I though was correct:
Is "vertical first" really this ?
And is "horizontal first" really this ?
I would have thought it the opposite.
-
One nice feature of the Delphi IDE that I keep forgetting are Component Templates. That means you drop and customize one or multiple components on a form and then give them a new name so you can easily create them again on a different form in a different program.
https://blog.dummzeuch.de/2018/11/03/creating-component-templates-in-delphi/
- 3
-
Apparently this only works if the expert is called via a keyboard shortcut or the GExperts menu. If it's called via the designer popup menu, the sort order ist reversed. Really odd.
-
This is why we need a forum that is not StackOverflow:
Is there a plugin for delphi IDE for doing the following: Jumping from interface to implementing classes.
for example in JIdea Java IDE you can easily point to an interface and see all implementing classes and select to which class you want to jump. It is currently very annoying that Ctrl+Click on a method goes to the interface where the method is declared and there is no easy way to find classes implementing this method. The only option I know is search.
Voted down and probably will be closed shortly because:
"Recommendation requests are off topic here"
Maybe somebody here can help?
(Note: It's not my question, I just copied it here.)
- 2
Access violations when closing the IDE
in GExperts
Posted · Edited by dummzeuch
Thanks, I hope that will help me find the problem. I already suspected the Favorites-Menu, but your unformation confirms that. (I'm busy otherwise right now, this won't happen before the weekend.)