Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. Ian Branch

    Saving a large project takes soooo Loooonnnnggg..

    Hi Tomas, Yes, one core is being maxed out for a good % of its time. Delphi itself is sitting at around 10% of CPU usage. As far as I can tell, I have disabled almost all IDE extensions with the exception of GExperts, of course. Same 13 minutes to save/close. The project itself uses no 3rd Party libraries/components with the exception of DBISAM for the Database. The .dfm files are all text not binary. Regards, Ian
  3. edwinyzh

    Saving a large project takes soooo Loooonnnnggg..

    I'd like to add that, GExperts has an 'Expert Manager' for that task.
  4. Today
  5. dummzeuch

    Saving a large project takes soooo Loooonnnnggg..

    The CPU sitting at 13% probably means that something is using one core at 100%. So I would not subscribe to this view: Have you tried to disable all IDE extensions to check whether it is caused by one of these?
  6. Ian Branch

    Saving a large project takes soooo Loooonnnnggg..

    Interesting - The same project, making the same changes across the entire project, takes less than 30 seconds to save/close in D2007.
  7. Ian Branch

    Saving a large project takes soooo Loooonnnnggg..

    Hi Darian, Thank you for your suggestions. I have IDE Fix Pack installed. I uninstalled my AV totally to test. Still took 13 minutes or so to save & close the project. Added info: All drives are SSDs. Regards, Ian
  8. Darian Miller

    Saving a large project takes soooo Loooonnnnggg..

    Could be external in nature. If you have anti-virus running exclude the directories containing the .pas files (or enter a system-wide exclusion for *.pas, *.dpr, *.dproj) Otherwise check out IDE Fix Pack
  9. Hi Team, D10.3.1, 32Bit, Win 10 64Bit PC. I am running a pretty good Dev PC. I am working on a pretty large project, approx 305 .pas files/forms. If I make some changes and tell Delphi to Close All, it can take more than 10 minutes before Delphi finishes and I can continue. There doesn't seem to be a lot happening as far as the PC itself is concerned, the CPU usage sits at around 12-13%. See attached. Is there anything I can tweak to improve the save/close time? Regards & TIA, Ian
  10. Yesterday
  11. PeterPanettone

    Tool Palette Item properties?

    1. Showing this in a hint which is visible only for a short time (1-2 seconds) is (as I said) a very poor and annoying user interface! (Makes me think of a video game for retarded people). 2. Showing the component palette list in a dual-use list is a leftover from the Delphi stone-age when computer monitors had the size of a postage stamp and therefore dual-use controls were widespread. Today such dual-use lists are a sign of a poor user-interface. 3. Obviously, Nr. 3 was a rhetorical question, as this SMARTER filter-mode currently does not exist in the component-palette list which is also a sign of a poor user interface.
  12. pcplayer99

    TMediaPlayer and TMediaPlayerControlFMX

    Dspack is a set of VCL control, so, you can use it to write a mediaplayer you self in VCL mode. And then, you can embed a VCL form into your FMX project. Dspack wrapped DirectShow9 as pascal code and you can use it in Delphi. The MediaPlayer in FMX under Windows is Windows mediaplayer that using DirectShow9 and wrapped by pascal. So, essentially these two is wrapped the same Windows component. By using Dspack, you have more degree of freedom, using TMediaPlayer by FMX, you have extremely few public method and property to use.
  13. Dmitry Arefiev

    Tool Palette Item properties?

    1. You can see this info in hint for component. 2. Because it serves not only as "Component Palette". 3. Not sure, for example me, need it ...
  14. This is mine http://limelect.com/downloads/add-characters-to-text-lines-on-large-scale/
  15. Last week
  16. Just in case anybody is still interested: I have changed the GExperts Convert Strings Editor Expert to allow for prefixes and suffixes for all lines. Example: I want to create a string containing this code: function FindClassForm(const AClassName: string): TForm; var i: Integer; s: string; begin Result := nil; s := 'Some String'; for i := 0 to Screen.FormCount - 1 do if Screen.Forms[i].ClassNameIs(AClassName) then begin Result := Screen.Forms[i]; Break; end; end; Which means: Quote the lines and escape any existing quotes Add a variable assignment as prefix to the first line Add a " " prefix to all lines to indent the whole thing add a " + #13#10" suffix to each line but the last add a ";" suffix to the last line. The result looks like this: s := 'function FindClassForm(const AClassName: string): TForm; ' + #13#10 'var ' + #13#10 ' i: Integer; ' + #13#10 ' s: string; ' + #13#10 'begin ' + #13#10 ' Result := nil; ' + #13#10 ' s := ''Some String''; ' + #13#10 ' for i := 0 to Screen.FormCount - 1 do ' + #13#10 ' if Screen.Forms[i].ClassNameIs(AClassName) then begin ' + #13#10 ' Result := Screen.Forms[i]; ' + #13#10 ' Break; ' + #13#10 ' end; ' + #13#10 'end; '; There is no release for this yet, but you can always get the sources and compile your own dll: https://blog.dummzeuch.de/gexperts-documentation/compiling-gexperts/
  17. PeterPanettone

    Tool Palette Item properties?

    Delphi 10.3.1 RIO: The so-called ToolPalette IMO has a very annoying User Interface: 1. In the Tool Palette list, for a selected Tool Palette component item, how can I find out: The package name, the unit name (if source existing), platform compatibility, etc. etc. 2. Why the "Tool Palette" is not named "Component Palette"? (Which IMO would be more appropriate). 3. In the "Tool Palette" list, is there a filter mode where "file name" (note the space between "file" and "name") would find BOTH "TFileNameEdit" and "My File Name Edit"?
  18. azrael_11

    TMediaPlayer and TMediaPlayerControlFMX

    Is DsPack support fmx native o have a popup window when play a video file?
  19. Dany Marmur

    Delphi for HUAWEI OS?

    When i worked with embedded for industry, the company had it pinned down, what countries the product could not be exported to, because of this or that chip or functionality. Also, when you subscribe to any advanced library (like StreamSec) you have to sign not to develop in Iran and other countries. This is nothing new. But for a president to affect millions of end-user devices out of political "signalling politics", this can only end in woes and disasters. This is historical, actually. And quite serious. The next step is that all the security-assist-IT functionality in your modern Volvo car just stops working when you cross from Calais to Dover. The list will go on and on. Really stupid politics.
  20. pcplayer99

    TMediaPlayer and TMediaPlayerControlFMX

    In Windows,I play video by using Dspack to write my own mediaplayer.
  21. Georgge Bakh

    RadStudio Roadmap 2019

    No. With LSP tools like VS Code and many other editors will offer error insight, code completion and some other services for Pascal language. But this: When (if?) these plans become reality other IDEs will be able to offer debugging for Pascal language. IDEA with I-Pascal already supports LLDB. I hope the language support in LLDB will be better than in GDB otherwise debugging experience will resemble one from Lazarus.
  22. Bill Meyer

    RadStudio Roadmap 2019

    Worth watching for insights into the value of a language server:
  23. Joseph MItzen

    RadStudio Roadmap 2019

    "...a single Language Server can be re-used in multiple development tools, which in turn can support multiple languages with minimal effort." In theory it would divorce the Delphi language from the Delphi IDE. This would allow for Delphi code completion and other features to be accessed from tools such as VS Code, Eclipse, Sublime Text and anything else implementing the protocol and enable supporting additional languages in the Delphi IDE. In theory. I can't shake the feeling that Embarcadero will find some way to lock things down. But the idea is really great and I've been advocating for this since the concept was first revealed by Microsoft and Red Hat.
  24. PeterPanettone

    Delphi for HUAWEI OS?

    Microsoft has removed Huawei laptops from its stores. Microsoft Cuts Ties With Huawei: https://www.zerohedge.com/news/2019-05-24/microsoft-cuts-ties-huawei https://www.rt.com/news/460187-icymi-china-huawei-5g-spy/: https://www.rt.com/news/460187-icymi-china-huawei-5g-spy/
  25. Hi David, I just stumbled across this thread and saw your video, I remember seeing it sometime ago, at the end there is this link: http://goo.gl/8GRLDk but isn't available anymore, would you mind to share again the code of this sample or any other similar you have available? I would like to play around with it if you don't mind. Thank you.
  26. FredS

    RadStudio Roadmap 2019

    The coveted Enterprise sector will just love this..
  27. Mike Torrettinni

    Do you design each form for separate case, or use common forms for similar design?

    Yes, that's how I use it. Works good.
  28. Rollo62

    RadStudio Roadmap 2019

    Right, but you can never be sure about some unexpected sidekicks ... We have to hope that the choice might be wise and long-lasting.
  29. Rollo62

    RadStudio Roadmap 2019

    Surely there will be a Beta phase before, which should allow to produce productive code as well.
  1. Load more activity
×