Commit Graph

225 Commits

Author SHA1 Message Date
mattias
36d42e0d9c IDE: clean up deprecated
git-svn-id: trunk@53140 -
2016-10-17 13:35:07 +00:00
mattias
3771df1c24 IDE: open project: when file does not exist, remove from recent list, bug #30555
git-svn-id: trunk@53116 -
2016-10-14 18:22:46 +00:00
juha
0b5d88346b IDE: Support canceling "Close All Other Pages" in Source Editor. Issue #30727, patch from Michl.
git-svn-id: trunk@53096 -
2016-10-12 08:18:42 +00:00
bart
8e4b07024d IDE: Don't close a modified file in sourceeditor when user cancels the "File ... has changed. Save?" dialog by pressing Escape key. Issue #0030582. Patch by Michl, modified by me.
git-svn-id: trunk@52940 -
2016-09-09 09:05:30 +00:00
juha
4bbf24e69f Formatting.
git-svn-id: trunk@52834 -
2016-08-18 20:51:04 +00:00
juha
4cf61a07a3 IDE: Set top position of Form Designer below MainIDEBar. Depends also on Object Inspector. Issue #27638, patch from Michl.
git-svn-id: trunk@52829 -
2016-08-18 14:32:57 +00:00
bart
2812b0c289 IDE: use rsmbNo instead of lisNo in IDEQuestionDialog.
git-svn-id: trunk@52817 -
2016-08-17 12:10:40 +00:00
juha
9367da0ae5 Remove extra checks for empty strings together with IsValidIdent. It already handles an empty string.
git-svn-id: trunk@52812 -
2016-08-17 10:40:29 +00:00
maxim
fb60fef065 IDE: do not emit translatable strings for divider menuitems (with caption='-'), patch by Nur Cholif Murtadho, bug #26553
git-svn-id: trunk@52695 -
2016-07-15 21:51:21 +00:00
juha
297e19a349 IDE: Add methods for merging paths to CompilerOptions and replace common code patterns with them.
git-svn-id: trunk@52693 -
2016-07-15 17:47:18 +00:00
maxim
3f249dd4c1 IDE: write UTF-16 values to "value" chunk of LRJ file
git-svn-id: trunk@52688 -
2016-07-14 21:02:45 +00:00
maxim
a341cc7358 IDE: removed broken .lrt file format support, we generate LRJ files instead now (in format identical to FPC emitted .rsj), based on patch by riderkick, bug #26553
git-svn-id: trunk@52679 -
2016-07-13 23:23:45 +00:00
juha
299995c6b9 IDE: Use flag crCompile instead of crBuild when compiling many modes. Behavior changed when build code was fixed in r51874 #7b55f8c8e6. Issue #29953.
git-svn-id: trunk@52102 -
2016-04-04 11:10:29 +00:00
ondrej
fd66de43d7 ide: show object inspector at IDE start only if no config is available. Issue #29829
git-svn-id: trunk@51928 -
2016-03-13 20:41:42 +00:00
ondrej
3dd60b3899 ide: reload changed files dialog:
1) use TCheckListBox
2) allow to reload changed files too (unchecked by default, prefixed with *).

git-svn-id: trunk@51852 -
2016-03-07 20:36:45 +00:00
juha
42e68fd86d IDE: Save Application Bundle and resource XPManifest to default project configuration. Issue #22286.
git-svn-id: trunk@51059 -
2015-12-27 22:36:55 +00:00
mattias
51db04d913 IDE: load lfm: when class not found, show ignore only when possible
git-svn-id: trunk@50644 -
2015-12-05 14:07:46 +00:00
mattias
f372eb44cc IDE: load lfm: hide abort button when opening a single form
git-svn-id: trunk@50642 -
2015-12-05 12:33:40 +00:00
mattias
5da9a99e13 IDE: update caption on close project, bug #29049
git-svn-id: trunk@50561 -
2015-12-02 10:58:32 +00:00
ondrej
f1f1c7225c IDE, IDEIntf: changes needed for new packagetabs package.
git-svn-id: trunk@50493 -
2015-11-24 10:44:35 +00:00
ondrej
b1ae15362f IDE: IDECommands refactoring; deleted menu item Project -> Change Build Mode
git-svn-id: trunk@50441 -
2015-11-20 14:04:24 +00:00
mattias
91ffe3b269 IDE: fixed update project menu items when project closed
git-svn-id: trunk@50353 -
2015-11-17 00:16:34 +00:00
mattias
b6f1aa064c IDE: keep encoding when saving project lpr under another name, bug #28936
git-svn-id: trunk@50208 -
2015-11-02 22:26:58 +00:00
mattias
cd3c16aea2 IDE: keep encoding when save file as another name
git-svn-id: trunk@50206 -
2015-11-02 22:16:32 +00:00
ondrej
e33078e98f IDE: fixed AVs when no source editor is shown. Issue #28924
git-svn-id: trunk@50194 -
2015-10-28 20:15:22 +00:00
juha
83f4f4791e IDE: Refactor. Move the timestamp classes to unit SourceFileManager.
git-svn-id: trunk@50193 -
2015-10-28 18:04:09 +00:00
mattias
c6391b6a34 IDE: fixed Disable/EnableAutosizing debug designer form
git-svn-id: trunk@50180 -
2015-10-26 22:21:14 +00:00
mattias
9b0d4c01b6 IDE+LCL: debugging Disable/EnableAutoSizing
git-svn-id: trunk@50176 -
2015-10-26 21:34:11 +00:00
mattias
5469545ffc IDE: fixed view forms
git-svn-id: trunk@50169 -
2015-10-26 09:00:03 +00:00
mattias
db83bb87bc IDE: adding editor unit to project: check component type and ask if to add CreateForm statement to project, bug #26248
git-svn-id: trunk@50123 -
2015-10-19 19:21:11 +00:00
juha
57d6ea482c IDE: Share 'Ignore' resource string, reorder.
git-svn-id: trunk@49605 -
2015-08-06 12:50:41 +00:00
juha
0e282700b4 IDE: New class TIDETabMaster in LazIdeIntf for managing tabs for sourceeditor and related changes for docked and undocked IDE. r49390 from free-sparta branch by Maciej Izak.
git-svn-id: trunk@49537 -
2015-07-12 23:05:25 +00:00
juha
2ca8f21e64 IdeIntf: Improve identification of designer forms. r49352,r49367,r49371,r49510 from free-sparta branch by Maciej Izak.
git-svn-id: trunk@49528 -
2015-07-12 23:05:08 +00:00
juha
06ac76f560 LazUtils, unit FileUtil: Disable conditionally LazUtf8 and LazFileUtils wrapper functions. For testing define NoLazUTF8Wrappers and build Lazarus.
git-svn-id: trunk@49494 -
2015-07-04 23:08:00 +00:00
maxim
6f4c8353e5 IDE: renamed/regrouped/cleaned up resource strings for file filter names, bug #28219, patch from Alexey Torgashin
git-svn-id: trunk@49245 -
2015-06-02 23:56:03 +00:00
mattias
8b4e761edc IDE: renamed TUnitInfo.Unit_Name to SrcUnitName and fixed updating it
git-svn-id: trunk@48911 -
2015-05-01 10:32:13 +00:00
juha
fec09258e7 IDE: Update project inspector after renaming a unit. Issue #27909.
git-svn-id: trunk@48809 -
2015-04-21 17:30:08 +00:00
juha
ec2f4559ce IDE: optimize a little + format.
git-svn-id: trunk@48808 -
2015-04-21 17:30:07 +00:00
juha
5341fd0bed IDE: Increment build number only once when building many modes at one go. Patch from Sandro Cumerlato.
git-svn-id: trunk@48687 -
2015-04-09 16:37:04 +00:00
mattias
46d3e09630 IDE: fixed unitializeed variable
git-svn-id: trunk@48453 -
2015-03-22 11:14:09 +00:00
juha
7003a55fb6 ToDo items for some uninitialized variables and other problems found by the compiler.
git-svn-id: trunk@48452 -
2015-03-22 10:17:59 +00:00
juha
708afdf966 Fix uninitialized variables and other problems found by the compiler.
git-svn-id: trunk@48451 -
2015-03-22 10:17:35 +00:00
mattias
4502988873 IDE: checked compiler warnings, clean up
git-svn-id: trunk@48223 -
2015-03-10 15:09:39 +00:00
mattias
575e80296a IDE: clean up
git-svn-id: trunk@48202 -
2015-03-10 12:17:56 +00:00
mattias
43b50cc556 IDE: clean up
git-svn-id: trunk@48201 -
2015-03-10 12:16:05 +00:00
mattias
3ec3dc8842 IDE: clean up
git-svn-id: trunk@48200 -
2015-03-10 12:15:00 +00:00
juha
34fa9b2929 IDE: Improve harmonizing the style of spaces. Issue #27441, patch from Anton.
git-svn-id: trunk@48164 -
2015-03-07 16:38:24 +00:00
mattias
e899e3e4df IDE: fixed TLazSourceFileManager.FindUnitFile for IDE units
git-svn-id: trunk@47278 -
2015-01-01 23:48:51 +00:00
juha
2aec6cd83e IDE: cleanup
git-svn-id: trunk@47197 -
2014-12-14 23:14:06 +00:00
juha
f73d960c2c IDE: Save project after "Build many modes", restores the original mode. Issue #26797
git-svn-id: trunk@47189 -
2014-12-13 10:14:21 +00:00
mattias
1021bbb19a IDE: docking: restore: keep autosizing disabled during restore
git-svn-id: trunk@46859 -
2014-11-15 12:39:26 +00:00
mattias
fc489d47da IDE: open windows .lnk files open the target, issue #26808
git-svn-id: trunk@46438 -
2014-10-05 16:44:46 +00:00
mattias
04b76a0df1 IDE: less file stat calls
git-svn-id: trunk@46437 -
2014-10-05 16:12:14 +00:00
juha
f3121878a3 IDE: Make "Build many modes" to always return to original mode. Issue #26797
git-svn-id: trunk@46347 -
2014-09-29 18:22:22 +00:00
mattias
4fa796d65d IDE: view messages, view search results: do not show source editor
git-svn-id: trunk@46335 -
2014-09-26 08:41:27 +00:00
mattias
d95954ac0b IDE: clean up old external tools
git-svn-id: trunk@45943 -
2014-07-20 19:50:17 +00:00
juha
2f1bc3998e Remove Designer dependency from SourceFileManager.
git-svn-id: trunk@45783 -
2014-07-05 10:49:22 +00:00
juha
48a6a75f6c IDE: A new command and entry in Run menu for building many modes at one go.
git-svn-id: trunk@45772 -
2014-07-04 14:31:31 +00:00
juha
7814246bbd IDE: Update "Target file name" for all build modes when saving a project with new name. Issue #24054
git-svn-id: trunk@45759 -
2014-07-03 11:50:49 +00:00
juha
83a1cb22c1 IDE: Project save functions, formatting and renaming variables.
git-svn-id: trunk@45758 -
2014-07-03 11:50:45 +00:00
juha
f077b490ad IDE: change class name -> TFileOpener. Cleanup.
git-svn-id: trunk@45707 -
2014-06-27 08:36:58 +00:00
juha
5ac2862006 IDE: get rid of PageIndex and WindowIndex params in TFileOpenClose methods.
git-svn-id: trunk@45706 -
2014-06-27 08:36:54 +00:00
juha
9b627e08b7 IDE: get rid of Flags parameter in TFileOpenClose methods.
git-svn-id: trunk@45705 -
2014-06-27 08:36:50 +00:00
juha
e9b671104b IDE: get rid of UseWindowID parameter in TFileOpenClose methods.
git-svn-id: trunk@45704 -
2014-06-27 08:36:47 +00:00
juha
1ee6bb71b6 IDE: move method AvailSrcWindowIndex out of GetAvailableUnitEditorInfo.
git-svn-id: trunk@45703 -
2014-06-27 08:36:43 +00:00
juha
e1034b74cc IDE: make wrappers or TFileOpenClose methods global functions. Refer to SourceFileMgr singleton when needed.
git-svn-id: trunk@45702 -
2014-06-27 08:36:39 +00:00
juha
1b53356f3f IDE: move method OpenFileInSourceEditor to class TFileOpenClose.
git-svn-id: trunk@45701 -
2014-06-27 08:36:35 +00:00
juha
5a3d5f3dd2 IDE: move method GetAvailableUnitEditorInfo to class TFileOpenClose.
git-svn-id: trunk@45700 -
2014-06-27 08:36:31 +00:00
juha
6421533afc IDE: move OpenMainUnit and RevertMainUnit to class TFileOpenClose.
git-svn-id: trunk@45699 -
2014-06-27 08:36:28 +00:00
juha
1d653dc9e3 IDE: move common code to a local function in TFileOpenClose.FindFile.
git-svn-id: trunk@45698 -
2014-06-27 08:36:24 +00:00
juha
581bc575ac IDE: remove AFileName param from TFileOpenClose.OpenEditorFile, use FFileName directly.
git-svn-id: trunk@45697 -
2014-06-27 08:36:20 +00:00
juha
1d006720b1 IDE: remove CurFileName param in TFileOpenClose.FindFile, use FFileName directly.
git-svn-id: trunk@45696 -
2014-06-27 08:36:16 +00:00
juha
112d4ba761 IDE: get rid of IsIncludeDirective param in GetFilenameAtRowCol.
git-svn-id: trunk@45695 -
2014-06-27 08:36:12 +00:00
juha
3639381e46 IDE: get rid of parameters in TFileOpenClose.OpenFileAtCursor.
git-svn-id: trunk@45694 -
2014-06-27 08:36:09 +00:00
juha
7f58002af2 IDE: get rid of parameters in OpenNotExistingFile.
git-svn-id: trunk@45693 -
2014-06-27 08:36:05 +00:00
juha
02379a1236 IDE: get rid of rest of the parameters in OpenUnknownFile.
git-svn-id: trunk@45692 -
2014-06-27 08:36:01 +00:00
juha
aa3c4d5732 IDE: get rid of Handled param in OpenUnknownFile.
git-svn-id: trunk@45691 -
2014-06-27 08:35:57 +00:00
juha
537b4962cd IDE: move method OpenUnknownFile to class TFileOpenClose.
git-svn-id: trunk@45690 -
2014-06-27 08:35:53 +00:00
juha
48701434d2 IDE: Move OpenNotExistingFile to new TFileOpenClose class.
git-svn-id: trunk@45689 -
2014-06-27 08:35:49 +00:00
juha
0bb3949faa IDE: move a piece of common code to TSourceEditorManager.
git-svn-id: trunk@45688 -
2014-06-27 08:35:44 +00:00
juha
20b51931f7 IDE: tweak and remove some variables in OpenEditorFile. Remove useless return value.
git-svn-id: trunk@45687 -
2014-06-27 08:35:39 +00:00
juha
a1950a42d2 IDE: refactor methods OpenKnownFile and OpenUnknownFile out of OpenEditorFile.
git-svn-id: trunk@45686 -
2014-06-27 08:35:36 +00:00
juha
042d8fed63 IDE: refactor methods PrepareFile and ChangeEditorPage out of OpenEditorFile.
git-svn-id: trunk@45685 -
2014-06-27 08:35:31 +00:00
juha
253b7b7eb2 IDE: rename private method in TFileOpenClose: PrepareInternalFile -> CheckInternalFile.
git-svn-id: trunk@45684 -
2014-06-27 08:35:27 +00:00
juha
e9c6ac3119 IDE: refactor PrepareRevert out of OpenEditorFile.
git-svn-id: trunk@45683 -
2014-06-27 08:35:24 +00:00
juha
f355ed2554 IDE: rename private method in TFileOpenClose: PrepareRevert -> CheckRevert.
git-svn-id: trunk@45682 -
2014-06-27 08:35:20 +00:00
juha
f1c0a955c8 IDE: use private variables in OpenEditorFile, harmonize parameter names.
git-svn-id: trunk@45681 -
2014-06-27 08:35:15 +00:00
juha
96e8c1781b IDE: refactor PrepareInternalFile out of OpenEditorFile.
git-svn-id: trunk@45680 -
2014-06-27 08:35:10 +00:00
juha
ddc6848616 IDE: refactor PrepareRevert out of OpenEditorFile.
git-svn-id: trunk@45679 -
2014-06-27 08:35:06 +00:00
juha
272ec933be IDE: refactor local functions from OpenFileAtCursor to private methods.
git-svn-id: trunk@45678 -
2014-06-27 08:35:01 +00:00
juha
c866e34ef7 IDE: refactor OpenEditorFile() and OpenFileAtCursor() into a new TFileOpenClose. The diff is misleading, identical blocks were found around the code.
git-svn-id: trunk@45677 -
2014-06-27 08:34:56 +00:00
mattias
8913df7a49 IDE: started checking component classes depending on resource format
git-svn-id: trunk@45659 -
2014-06-25 10:11:30 +00:00
juha
669a093a53 IDE: Tweak some resource strings with newlines. Pass consecutive newlines from caller but use one %s param.
git-svn-id: trunk@45555 -
2014-06-16 19:48:52 +00:00
juha
45a06804fd IDE: adjust lineendings of some resource strings.
git-svn-id: trunk@45551 -
2014-06-16 17:59:56 +00:00
juha
baf0ce059f IDE: fix a crash when opening a file with flag [ofRevert] but no editor yet opened for that file.
git-svn-id: trunk@45550 -
2014-06-16 15:56:06 +00:00
juha
75b7c1bd1e IDE: Use hard-coded quotation in some resourcestrings instead of %s parameters.
Makes Format() calls and translations easier although initially creates fuzzy lines in PO files.

git-svn-id: trunk@45519 -
2014-06-15 11:52:01 +00:00
juha
8197d8ec37 IDE: Refactor, join and reuse common code in methods CloseAll and InvertedFileClose. Also fixes a bug.
git-svn-id: trunk@45462 -
2014-06-10 16:10:56 +00:00
juha
e4079b2d24 IDE: Hard-code '"' in some SourceFileManager resourcestrings.
git-svn-id: trunk@45461 -
2014-06-10 16:10:51 +00:00
juha
7138d69f4a Designer: Simplify code.
git-svn-id: trunk@45460 -
2014-06-10 16:10:47 +00:00
juha
89f98718d1 IDE: fix DebugLn texts in SourceFileManager methods.
git-svn-id: trunk@45459 -
2014-06-10 16:10:43 +00:00