I want to add Delphi-4 code to VSS via the IDE. Is that possible?
How to do so?
I am working on enhancements for a code written in Delphi 4. The name of the folder is "testCheck".
I tried saving the code directly into VSS by clicking
workgroups\Add "testCheck" to version control
then i checked the VSS to see the latest versions.... I am unable to find the latest version.
Now when I go back to the IDE the "workgroups\Add "testCheck" to version control"
cannot be clicked.it has become unclickable.
Any idea of what the method is to save/ copy code from Delphi IDE to VSS?
Thanks and Regards
Vas
I've used VssConneXion to interface to VSS from Delphi 7. Not certain of their support for version 4. Although I'm running as fast as I can towards SVN currently.
Related
I can change the release version from 0.9 to 1.0 in Delphi VCL, but it won't stick, and reverts back to 0.9 when I re-enter the Options / Version Info. How do I fix this?
I would recommend to create your own version resource and include it.
This makes you completely independant of the delphi version information settings and makes sure that it is always consistant also when compiling from the command line without using the .dproj file and you can use it for multiple exes if your project contains more than one.
Here please find detailed information on how to do it. It is easy.
How can i connect a folder in Delphi Library path to a folder in Subversion?
Background
In another Delphi source-control IDE plugin, you can configure what they call "Global Mappings". This means that an arbitrary folder on your hard-drive can be mapped to a folder in source control:
This means that any amount of arbitrary folder in my Library path, i can automatically get the benefits of source control:
get latest
merge changes
history
right from the IDE. The folders just contain arbitrary amounts of source-code files.
That's fine for Delphi 5
That works fine for Delphi 5, but what about Delphi XE6, and their built-in subversion client?
How do i specify a arbitrary mapping between a folder on my hard-drive, and a corresponding repository and folder on the network/internet/cloud?
Update: 3/6/2015
Epocalipse just released their updated VssConneXion for XE6! (and XE7, and their SourceConneXion for the same). Finally, i get to use source control in Delphi again!
It really would be super if Bo...Imp...Co...Embarcadero included some documentation on how to use SVN from Delphi. In the meantime, this question goes unsolvable.
From the image you've provide that other version control is SourceSafe and that probably means Delphi is talking to SourceSafe using the MSSCCI interface.
That would suggest that since Delphi supports MSSCCI, it should also work with any Subversion plug-in that implements the MSSCCI interface.
So one option would be to use Google and search for such a plug-in, of which there are a few to choose from.
I know of at least one such plug-in which is Agent SVN since I'm the author of that plug-in. But unfortunately I can't tell you if it works with Delphi as I've never tested it with that IDE.
But as the plug-in works with several other MSSCCI IDEs I suspect there is a good chance that it will.
I have encountered a problem in which setting AutoRefresh to True in TShellListView leads to memory leaks. This is a known problem, I found a fix for it here: http://www.delphigroups.info/2/bf/292629.html.
My problem is that my application is currently compiled with Delphi 2010 (Rad Studio 7), and that version does not include source for ShellCtrls.pas, which must be modified to implement the fix described above.
I also have a copy of Rad Studio 9 (Delphi XE) on my development machine. This version does include a copy of ShellCtrls.pas. Hoping against hope, is it possible to use the source from XE in 2010? If not, is there any way to get a hold of the of the source for ShellCtrls for Delphi 2010?
Source code is included for all Professional and higher SKUs (although the VCL source included varies based on SKU, the demos usually don't because they want you to want the functionality and therefore upgrade your SKU). If you don't have the source in D2010, you're either looking in the wrong place (it's in the Samples or Demo folder, not the VCL source folder) or you've not installed the demos.
The demos are installed by default in the Users\Public\Documents\ tree; you can find them using the Start Menu for the version of Delphi/RAD Studio you're using.
For example, for Delphi 2007 they're located in C:\Users\Public\Documents\RAD Studio\5.0\Demos on Win7, and the ShellControls folder is specifically in C:\Users\Public\Documents\RAD Studio\5.0\Demos\DelphiWin32\VCLWin32\ShellControls.
In XE2, that changes very little; they're in C:\Users\Public\Documents\RAD Studio\9.0\Samples\Delphi\VCL\ShellControls.
(Just as an FYI thing: On Delphi 7 under WinXP, they're in C:\Program Files\Borland\Delphi7\Demos\ShellControls, so the ShellControls stuff has been around at least that long with source.)
where can I find a version of LockBox for Delphi-XE
There's a Delphi 2010 version available on Songbeamer.com. Based on my experience porting Abbrevia to Delphi XE, it should work as-is. You may want to rename the project files, but that should be about it.
You can make it work. It is not that hard.
Download from SVN. I'll refer to the base directory as tplockbox.
Go to the tplockbox/trunc/packages directory. Copy the d2010 directory contents to a new directory named XE.
Rename TP_LockBox_d2010.grouproj to TP_LockBox_XE.groupproj
Open it, right click TP_LockBox3_d2010.bpl, go to Options, change "LIB suffix" from the Description section to _XE.
Do the same for the dclTP_LockBox3_d2010.bpl project
Adjust output paths and directories for all projects. I don't remember if I just went ahead and changed this globally.
Build and install TP_LockBox3_XE.bpl and dclTP_LockBox3_XE.bpl packages.
If you want the test cases to work, you'll have to modify the tplockbox/trunc/test/uLockBox_TestCases.pas file. There are some hard coded checks for an older version of DUnit than the one that comes with Delphi XE. You can just comment out these checks.
I believe that the Songbeamer version is not the "official" sourceforge version.
Sean is managing both LockBox 2 and 3 code here: link
Also see this post on his forums.
You should try the soureforge.net version, the TurboPower tools were updated by Nick Hodges and many others (IIRC it's even based on the songbeamer.com version):
http://sourceforge.net/projects/tplockbox/
Just a quick question for those of you that know. Is it possible to have both Delphi (ver 7) and Lazarus installed at the same time. I want to make sure the Lazarus install will not interfere with my current Delphi install in ANY WAY. I would have asked this on the Lazarus fourms but thought I would get quicker reply here.
Anyway if you have both Delphi & Lazarus installed please tell me any problems you have encountered (if any) thanks.
Chris
Lazarus does not interfere with any version of Delphi, they can live along very happily.
The only interference is for commandline building, both projects have a make.exe file which are not the same.
This is easily solvable by not adding FPC to the path (removing it via control-panel system), and do a
set PATH=c:\fpc\2.5.1\bin\i386-win32;%PATH%
or wherever you installed as first line in your batch files.
I generally don't bother, but a previous employer we did a lot of cmdline building with dcc, and then it matters.
File associations are another, but already named. (but not such a big problem since the project extensions vary (.dpr vs .lpr, .dproj vs .lpi) )
Btw: Other development products (cygwin,mingw, and maybe even VS) have their own respective make.exe files and the same kind of problems.
I currently have Delphi 5 and Lazarus both installed on my Windows 7 laptop. As near as I can tell they don't interfere with each other.
I don't really use Lazarus though, as I prefer Delphi 5 which is what I've used forever.
I have Delphi 2006, Delphi 2010 and Lazarus installed. No problems at all. I am sure Delphi 7 will be the same. The only problem I can see could be the use of .pas extension in Lazarus. I mean because of association problems. But you can use a different extension for Lazarus (free pascal) source files. I think the installer asks you that.
I have Lazarus "installed" on a USB drive. It interferes with nothing whatsoever. It is actually a checkout of the Git repository that mirrors the SVN repository. I installed the latest stable FPC to C:\FPC, and then copied that folder to inside my lazarus source folder, e.g. \lazarus\FPC\ (and then uninstalled the C:\FPC installation), and then whenever I like I build the latest lazarus like this:
X:\lazarus\> git fetch
[...fetch messages...]
X:\lazarus\> FPC\2.4.0\bin\i386-win32\make.exe clean all
[...compiler output messages...]
X:\lazarus\> startlazarus
[...IDE starts up...]
The main advantage of this is that if you find an IDE bug, the source is immediately available and you can make and submit a patch instantly.