Commit Graph

2223 Commits

Author SHA1 Message Date
ondrej
b6a0c5b23d IDE: add unit DB to uses when TBufDataset or TCSVDataset are added. Issue #29733, patch from Sven Barth
git-svn-id: trunk@65432 -
2021-07-09 15:51:04 +00:00
mattias
91763f2247 set trunk version to 2.3.0
git-svn-id: trunk@65242 -
2021-06-15 14:00:39 +00:00
mattias
cc8d74684e updated lpl
git-svn-id: trunk@65241 -
2021-06-15 13:54:41 +00:00
maxim
900a9fda8b Packager: renamed 'NewPackage' constant, so its name better reflects that it is not a resource string anymore
git-svn-id: trunk@65049 -
2021-04-21 22:31:50 +00:00
maxim
77b2cb1973 Packager: now that after r65047 new package name is guaranteed to be valid Pascal identifier, simplify package creation logic (also reverted r65043 #77035b28a4)
git-svn-id: trunk@65048 -
2021-04-21 22:15:40 +00:00
maxim
7d79872679 Packager: Do not allow to translate lisPkgMangNewPackage ('NewPackage') string anymore. Unbreaks "Package -> New Package" and "Package -> New Component" for most translations into languages with non-latin alphabets, as new package name should be a valid Pascal identifier. Regenerated translations.
Before this change some translations of lisPkgMangNewPackage were discarded (in "Package -> New Package") or caused crashes (in "Package -> New Component") and other translations could be changed in "unexpected" ways (basically all symbols except 'a'..'z','A'..'Z','_','0'..'9' removed) in order to get a valid Pascal identifier. This is really not desired.

git-svn-id: trunk@65047 -
2021-04-21 22:05:35 +00:00
balazs
77035b28a4 Packager: Fix ide crash when a new package is created.
git-svn-id: trunk@65043 -
2021-04-21 14:34:07 +00:00
balazs
4f0c4c7dea Packager: Colors for Local/Online packages are not visible in dark theme.
git-svn-id: trunk@64867 -
2021-03-24 20:10:27 +00:00
juha
f4cb483f2d IDE: Fix reading ancestor type TFrame for object in LFM when it is not a direct ancestor. Issue #38585, patch from Martok.
git-svn-id: trunk@64800 -
2021-03-14 07:41:46 +00:00
juha
41c2e02039 IDE: Guess ancestor type TFrame using heuristics. Issue #38585.
git-svn-id: trunk@64769 -
2021-03-09 09:11:14 +00:00
mattias
66352de6ae IDE: fixed loading project dependencies with min/maxversion, issue #38587
git-svn-id: trunk@64759 -
2021-03-06 20:58:19 +00:00
mattias
8981264152 IDE: fixed project inspector/package editor requirement Apply Changes
git-svn-id: trunk@64758 -
2021-03-06 20:45:38 +00:00
juha
d374ec2bf1 Packager: Show PackageEditor as modified after changing "Register Unit" or "Use Unit". Issue #37208.
git-svn-id: trunk@64729 -
2021-03-03 10:21:50 +00:00
juha
38c765c42c Packager: Rename event handlers. Reserve "On..." names to events.
git-svn-id: trunk@64720 -
2021-03-02 09:42:10 +00:00
juha
c780b377f8 IDE: Update project's DefineTemplates after adding or deleting package dependency. Improve building many modes.
git-svn-id: trunk@64719 -
2021-03-02 09:42:08 +00:00
juha
8ddb160a15 Packager: Use new FilenameExtIn(). Fix an error with extensions not having a dot.
git-svn-id: trunk@64584 -
2021-02-15 08:43:52 +00:00
juha
3f78f0d62d New optimized functions in LazUtils: FilenameExtIs and FilenameExtIn. Used instead of CompareFileExt and similar.
git-svn-id: trunk@64583 -
2021-02-15 08:43:50 +00:00
mattias
73dacac189 updated lpl
git-svn-id: trunk@64568 -
2021-02-13 13:01:48 +00:00
mattias
62c37ad72a updated Makefiles
git-svn-id: trunk@64567 -
2021-02-13 13:01:14 +00:00
mattias
f0061abfac IDE: less hints
git-svn-id: trunk@64564 -
2021-02-13 12:39:19 +00:00
juha
044e4b23d4 Packager: Update DefineTemplates after opening a package.
git-svn-id: trunk@64526 -
2021-02-11 14:06:53 +00:00
michl
7111498e87 GlobalLink for DockedFormEditor added
git-svn-id: trunk@64523 -
2021-02-11 07:38:08 +00:00
juha
20c5ac47c0 IDE: Use a faster compare method for case-insensitive strings and StringLists.
git-svn-id: trunk@64440 -
2021-01-29 19:59:04 +00:00
juha
aeb086e9c0 IDE, Codetools: Restore CodeToolBoss.DefineTree.ClearCache calls that were removed in optimization.
git-svn-id: trunk@64417 -
2021-01-24 12:42:50 +00:00
juha
f852f4d56a Packager: Make code more readable.
git-svn-id: trunk@64412 -
2021-01-20 22:00:01 +00:00
juha
672f80c137 IDE: Remove CodeToolBossPrepareTree and CompilerParseStampIncHandler. Update DefineTemplates elsewhere.
git-svn-id: trunk@64411 -
2021-01-20 21:59:59 +00:00
juha
c4fd1e8484 LazBuild: Prevent crash when checking LazarusIDE.IDEStarted. Issue #38377.
git-svn-id: trunk@64409 -
2021-01-20 13:08:04 +00:00
juha
b092cee8be IDE: Optimize DefineTemplates updates for packages and project.
git-svn-id: trunk@64405 -
2021-01-19 09:20:34 +00:00
juha
c9fea2b260 Packager: Fix naming a new unit.
git-svn-id: trunk@64395 -
2021-01-16 06:44:18 +00:00
juha
751852a44a LazUtils: New function UTF8CompareLatinTextFast. Use in IDE instead of UTF8CompareText.
git-svn-id: trunk@64385 -
2021-01-14 13:52:23 +00:00
juha
42850cfe4d LazUtils: Deprecate now obsolete unit LazUtf8Classes and remove its references from Lazarus code.
git-svn-id: trunk@64384 -
2021-01-14 12:41:32 +00:00
juha
36968885dd LazUtils: Rename function FilenameIsPascalUnit -> FilenameHasPascalExt. Clashed with a function in Codetools. Update references.
git-svn-id: trunk@64376 -
2021-01-11 16:16:58 +00:00
juha
3ea7788cbf Optimize CompareFileExt in different ways. Comparison of FPC/Lazarus generated files can be case-sensitive.
git-svn-id: trunk@64374 -
2021-01-10 19:07:52 +00:00
juha
1acc3f5c74 PackageGraph: Make FileList comparison obey the case sensitivity of filesystem.
git-svn-id: trunk@64373 -
2021-01-10 19:07:48 +00:00
juha
a9aa51a93d Tweak / optimization.
git-svn-id: trunk@64372 -
2021-01-10 19:07:46 +00:00
michl
2300a04013 IDE: Fix not handled AV on startup when broken fppkg.cfg is selected
git-svn-id: trunk@64293 -
2020-12-28 19:21:20 +00:00
juha
283b70dbac Cleanup, comments.
git-svn-id: trunk@64228 -
2020-12-18 21:02:19 +00:00
juha
6813e28eef LazUtils: Move math helper functions from LCLProc to LazUtilities. Deprecate LCLProc versions.
git-svn-id: trunk@64197 -
2020-12-12 11:41:07 +00:00
juha
f34f7f4c56 Cleanup.
git-svn-id: trunk@64189 -
2020-12-09 11:48:28 +00:00
juha
1c047add57 IDE: Use class type instead of name when searching for components in various places.
git-svn-id: trunk@64184 -
2020-12-08 19:34:44 +00:00
juha
96027c20c3 IDE: Optimize Component Palette's update logic a little.
git-svn-id: trunk@64183 -
2020-12-08 19:34:42 +00:00
juha
ce1d8c1014 IDE: Optimize ComponentPalette caches. Index by registered class instead of class name.
git-svn-id: trunk@64182 -
2020-12-08 19:34:40 +00:00
juha
3c05bc138b Packager: Remove event PackageEditors.OnGetUnitRegisterInfo.
git-svn-id: trunk@64157 -
2020-11-23 17:21:54 +00:00
juha
edc2cc5dbb Fix StandardCodeTool.HasInterfaceRegisterProc. Simplify code for checking added unit files.
git-svn-id: trunk@64156 -
2020-11-23 10:26:46 +00:00
michael
ebcdb9825b * Comment out todo which scares compiler
git-svn-id: trunk@64152 -
2020-11-20 10:56:06 +00:00
juha
6a388f1fb5 IDE: Improve checks for validity of files and dependencies added to package/project. Issue #27421.
git-svn-id: trunk@64094 -
2020-10-31 14:49:30 +00:00
mattias
8e75d658b4 lazreport: updated lpl
git-svn-id: trunk@64075 -
2020-10-25 16:37:48 +00:00
juha
81e359af9f Packager: Update global link for LazReport to match its current version.
git-svn-id: trunk@64055 -
2020-10-22 20:22:31 +00:00
juha
2a8ddb66b5 IDE, LazUtils: Move unit FileReferenceList to LazUtils package. Order uses sections.
git-svn-id: trunk@64025 -
2020-10-16 12:01:15 +00:00
maxim
e0d7c66bd6 Packager: correctly load BuildIntf (just like all other base packages), also load its translation separately (like for CodeTools), otherwise it does not get translated
git-svn-id: trunk@64001 -
2020-10-13 12:07:34 +00:00