Commit Graph

2410 Commits

Author SHA1 Message Date
mattias
fde0e0f965 set main version to 3.99 2023-06-25 17:47:14 +02:00
mattias
2039791c14 IDE: uninstall package: check what install pacakges are using it and option to uninstall them too, #40348 2023-06-25 13:53:58 +02:00
Juha
8c18c23fc3 IDE: Support Hi-DPI in registered plugin list in PackageEditor. Issue #40345, patch by Bruno K. 2023-06-23 09:17:00 +03:00
Juha
b5fb939257 LazBuild: Fix Access Violation when processing --add-package. Issue #40343, patch by Dean Mustakinov. 2023-06-22 12:19:21 +03:00
Juha
6da992966d IDE: Remove "Note: passing compiler option -M twice with different values" message, many -M options are allowed. 2023-06-22 01:47:59 +03:00
mattias
28eccc250c IDE: when compiling a package in a readonly, check parent directories 2023-06-21 17:59:59 +02:00
Juha
e045ba01d2 Remove units from uses sections, especially LCLProc which now contains many wrappers to other non-LCL units. 2023-06-18 14:57:06 +03:00
mattias
033c256b3a ide: less hints 2023-06-12 06:49:22 +02:00
Maxim Ganetsky
67cac82323 IDE: migrated to using GetLanguageID function from Translations unit 2023-06-12 04:11:44 +03:00
mattias
67c1c58793 codetools: moved DateToCfgStr to LazConfigStorage 2023-06-11 21:34:37 +02:00
Juha
751e89bca4 Reduce "deprecated" warnings for LazUtils.UITypes. 2023-06-11 20:34:36 +03:00
Juha
eac9c6e5c6 IdeConfig: Remove LCL dependency from IdeConfig package. Add comments in uses sections, helps locate dependencies. 2023-06-11 20:34:36 +03:00
Juha
1475336c8c Remove LCLProc.OffsetRect(). Move some functions from LCLProc to GraphMath (LazUtils). 2023-06-05 15:48:01 +03:00
mattias
7bc5b63fbb updated makefiles 2023-05-27 02:07:12 +02:00
mattias
52e08f25be updated lpl 2023-05-25 10:51:47 +02:00
mattias
f18e10ec0e IDE: InstallPackages: add all src base packages 2023-05-21 20:48:30 +02:00
mattias
2d059ffef4 updated lpl 2023-05-09 09:05:24 +02:00
Juha
f99bd70b72 Improve scaling of DateTimePicker. Leave GetDetailSize in places which are not fully tested yet. 2023-04-29 19:44:23 +03:00
Juha
c14934764c LCL: Call TThemeServices.GetDetailSizeForPPI with proper arguments. Revert 1138d26280. 2023-04-27 17:23:33 +03:00
mattias
c3f0c4009a ide: QuickCheckLFMBuffer: support unitnames in lfm 2023-04-13 15:38:12 +02:00
Juha
abb5f2b097 LazUtils: Harmonize the CamelCase names of some units. Add a license header for LazTracer. 2023-04-10 09:15:24 +03:00
mattias
568a771d86 IDE: component icons: search first with unitname 2023-04-09 13:54:58 +02:00
mattias
5c18e8fb9e IDE: better error msg 2023-04-09 13:14:03 +02:00
mattias
3fc5b44f44 IDE: component list: popup menuitems open unit and open package 2023-04-09 11:42:17 +02:00
mattias
785fdec71b IDE: fixed regression #40181, add designtime package 2023-03-27 12:43:39 +02:00
Juha
fe7287f709 IDE: Formatting. 2023-03-26 12:55:18 +03:00
mattias
08ed783579 IDE: checking base packages and on mismatch building IDE using lazbuild 2023-03-19 23:43:17 +01:00
mattias
575dbd75de IDE: started checking base packages and on mismatch building IDE using lazbuild 2023-03-19 13:16:07 +01:00
mattias
9f5e0647a6 IDE: staticpackages.inc: skip base packages of packager/pkgsysbasepkgs.pas 2023-03-19 01:31:04 +01:00
mattias
2996d6a7e5 IDE: added note to staticpackages.inc 2023-03-19 01:31:04 +01:00
mattias
58c07c66a0 IDE: ParseBasePackages 2023-03-19 01:31:04 +01:00
mattias
3c5f804e9d IDE: moved LazarusIDEBasePkgNames to unit of its own for easy parsing 2023-03-19 00:36:06 +01:00
Juha
c8419bca6d IDE: Remember selection after moving an item in package editor. Issue #40135. 2023-03-05 10:34:00 +02:00
mattias
0df4fef8fe fcllaz: removed sqldb 2023-02-12 22:55:56 +01:00
Marcus Sackrow
88cffcb74e Amiga: restore compilation of FCL package for Amiga likes
after removal of sqldb from FPC compilation
2023-02-05 08:40:40 +01:00
Martin
2a67f6ec76 Renamed LazarusCommonStrConst to IdeIntfStrConsts 2023-01-25 16:51:48 +01:00
mattias
ef81cb0af3 bigide: updated makefiles 2023-01-15 13:54:10 +01:00
wp_xyz
205450cc44 IDE/CharacterMap: Add packages to globallinks 2023-01-15 00:27:53 +01:00
Martin
739b542449 IDEIntf: rename some ResourceString to match the common naming scheme 2023-01-10 17:00:42 +01:00
Martin
2d2e5431aa IDE: moved some of the most common ResourceString to IdeIntf, so other IDE packages can use them (instead of duplicating them) 2023-01-10 17:00:41 +01:00
mattias
44235e7124 ide: updated list of base packages 2023-01-09 20:41:48 +01:00
mattias
f09a59cb1c updated lpl files 2023-01-08 18:46:33 +01:00
Ondrej Pokorny
71ac105bc7 Fix AV 2023-01-01 10:49:58 +01:00
Ondrej Pokorny
ba918c5eb2 TLazIDEInterface: add OnPackageBuilding handler 2022-12-30 22:43:17 +01:00
Juha
5f4aa96422 LazControls, FilterEdits: Improve setting the filter programmatically. Invalidate after properties change. 2022-12-22 20:50:05 +02:00
Martin
bf4114c8ca EnvironmentOpts: remove dependency on IdeProcs 2022-12-08 16:05:03 +01:00
Martin
369e4e47a7 IDE: Add base-package "IdeConfig" 2022-12-08 01:38:41 +01:00
Juha
2c216480d1 Packager: Add a frame's unit to uses section when the frame is part of project. Issue #40003. 2022-11-21 09:59:01 +02:00
mattias
6671244b72 updated makefiles, fixed compile fpdebug with fpc 3.2.2 2022-11-13 13:23:46 +01:00
wp_xyz
9572e1ac64 IDE/PackageDependencyDlg: Fix package listbox truncating bottom pixel. 2022-10-27 00:17:47 +02:00
mattias
a49f2cdde9 updated lpl 2022-08-30 07:56:57 +02:00
Juha
f5321043f4 Packager: Use pure package name of a dependency when searching online packages. 2022-06-12 18:07:51 +03:00
mattias
e18119823a IDE: packageeditor: fixed idleconnected on destroy 2022-06-10 17:29:28 +02:00
mattias
008fbd9283 IDE: drop component: add the registering package only if designtime 2022-06-09 13:14:21 +02:00
mattias
9e762cde89 udpated makefiles 2022-05-29 19:34:19 +02:00
mattias
80da9bee92 IDE: what needs building: check project files in source editor 2022-05-12 10:39:11 +02:00
mattias
86f3a50476 IDE: what needs building: check package files in source editor 2022-05-12 10:08:55 +02:00
Martin
2465e62bab IDE: add option to skip checks (config, dir, fpc, fppkg, single-instance) at startup 2022-04-22 14:07:26 +02:00
mattias
5c4f4fda3b ideintf: TComponentRequirement: use first unit as source unitname for codetools 2022-04-16 09:05:50 +02:00
mattias
cc2965e11f updated lpl 2022-04-11 10:09:29 +02:00
mattias
4d07f650b5 weblaz: using fpweb_images.res instead of inc 2022-04-01 18:42:34 +02:00
mattias
5a70b13cb6 updated lpl 2022-03-31 17:10:13 +02:00
mattias
15b1ffffa1 updated lpl 2022-03-31 17:09:39 +02:00
Michaël Van Canneyt
b983ea45d0 * Added TJSONDataset to component palette (distributed with FPC since long time) 2022-03-29 19:08:14 +02:00
Juha
42a974a0c8 ExampleProjects: Add a global link file. 2022-03-11 00:43:05 +02:00
mattias
26c9421318 updated Makefiles 2022-02-24 12:55:45 +01:00
mattias
3f43baff8f ide: FileNameToPkgFileType: added fallback when include file is missing 2022-02-01 21:59:42 +01:00
Juha
3ecdcf0320 IDE: Allow multi-selection with Shift in Project Inspector and Package Editor. Issue #39595. 2022-01-25 11:20:56 +02:00
mattias
f97a493801 updated makefiles 2022-01-16 21:42:24 +01:00
Juha
6d5520794e Sparta: Remove SParta_Generics. Compiler now includes the Generics collection. Issue #39539. 2022-01-12 17:21:12 +02:00
Martin
9cba2f5f48 Fixed package link for IdeDebugger 2022-01-12 16:06:57 +01:00
Martin
d1ac568e96 Debugger: New package LazDebuggerIntf / Replace TWatchValue with TWatchValueIntf 2022-01-10 14:08:37 +01:00
Martin
aa45837b87 IdeDebugger: New Package IdeDebugger. Move some classes from DebuggerIntf 2022-01-10 14:08:36 +01:00
mattias
8f868ae0e9 IDE: less hints 2022-01-06 13:08:50 +01:00
mattias
2b5f37730f IDE: fixed adding designtime package requirement when dropping component onto form 2022-01-06 13:04:38 +01:00
Maxim Ganetsky
0c9041f474 IDE: it is no longer needed to manually call translation callbacks for 'static base' packages 2021-12-07 17:08:47 +03:00
mattias
6f8cfba2f9 IDE: translate required packages before calling Register 2021-12-06 17:37:15 +01:00
Juha
0a679e84b2 Packager: Add a check for DefineTemplates. Crashed when an old package with the same name was replaced. 2021-11-28 00:22:27 +02:00
Juha
097a96f950 Packager: Respect a user's choice to abort loading packages when an error happened. 2021-11-20 16:35:01 +02:00
Juha
da7c149b25 Packager: Remove useless PackageGraph indirection. 2021-11-10 20:16:45 +02:00
ccrause
50987e044c Renamed remote debugger to FpRspRemoteDebugger 2021-11-06 18:26:58 +02:00
mattias
0354b47bc4 updated makefiles 2021-10-18 14:32:30 +02:00
Juha
7cb38d7bc6 IDE: Check Filename<>UnitName mismatch only when Codetools was able to parse the source. Issue #22921. 2021-09-28 12:03:07 +03:00
Juha
824e696005 IDE: Remove Assert() that prevented adding source files with errors in them. Issue #22921. 2021-09-28 01:46:02 +03:00
wp_xyz
c44d729ba2 IDE/Packager: Avoid too-large line height in listbox of "New Requirement" dialog at high DPI. 2021-09-11 12:07:53 +02:00
wp_xyz
6e6db287f3 IDE: Make "package links" dialog more mouse-wheel friendly (PkgStringGrid.MouseWheelOption = mwGrid). 2021-09-11 10:40:46 +02:00
Sławek Załęcki
5a9d725dfe Update packagesystem.pas - fix curly brackets to square brackets 2021-08-13 00:30:00 +03:00
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
juha
06c65a532a Packager: Get online package list while in PackageLinksDialog.
git-svn-id: trunk@64000 -
2020-10-13 11:27:33 +00:00
juha
faa505ae98 Move unit ide/PublishModule to buildIntf/PublishModuleIntf.
git-svn-id: trunk@63999 -
2020-10-13 11:27:32 +00:00
juha
3c3d45e467 Clean uses sections.
git-svn-id: trunk@63998 -
2020-10-13 11:27:30 +00:00
juha
823660192e Packager: Tweak AddPkgDependencyDialog.
git-svn-id: trunk@63986 -
2020-10-09 18:39:05 +00:00
juha
7a95787973 Packager: Get online package list while in AddPkgDependencyDialog.
git-svn-id: trunk@63982 -
2020-10-09 14:08:24 +00:00
juha
3376030a0e IDE: Improve updating Project Inspector on idle.
git-svn-id: trunk@63981 -
2020-10-09 14:08:18 +00:00
wp
a37794f09f IDE: Fix misplaced "Use max version" checkbox in TProjPackFilePropGui
git-svn-id: trunk@63977 -
2020-10-08 19:36:41 +00:00
juha
500015b04a IDE: Adjust dependent package "Open" popup menuitem in ProjectInspector and PackageEditor according to state.
git-svn-id: trunk@63973 -
2020-10-08 17:56:48 +00:00
juha
4687ce2bf6 Packager: Formatting.
git-svn-id: trunk@63972 -
2020-10-08 17:56:46 +00:00
juha
41552a49c8 IDE: Support installing online package dependencies also from Package Editor.
git-svn-id: trunk@63962 -
2020-10-06 08:30:41 +00:00
juha
ab4eeb5ffc Packager: Reuse TPkgDependency.AsString.
git-svn-id: trunk@63956 -
2020-10-04 17:34:14 +00:00
juha
5382b08b6e Packager: Rename types and vars.
git-svn-id: trunk@63955 -
2020-10-04 17:34:12 +00:00
juha
5286e8b775 IDE: Reuse more code between Package Editor and Project Inspector.
git-svn-id: trunk@63954 -
2020-10-04 17:34:10 +00:00