Commit graph

29 commits

Author SHA1 Message Date
Denis Bisson
3c8068c942 ADD: New internal command "cm_AddNewSearch" to generate a new instance of the "Find files" dialog window. This way, more than one search may be done at the same time.
ADD: When closing any "Find files" dialog window, if at least one search has been done, that window will remain in memory. If no search has been done, it will be cleared from memory.
ADD: New internal command "cm_ViewSearches" to show a list of "Find files" dialog window and select one of them to activate it. This way, it possible to do a second search without losing the first one and to be able to reactive it.
ADD: New internal command "cm_DeleteSearches" to delete all the "Find files" dialog windows we may have in memory. If you want to delete just one, activate it via the "cm_ViewSearches" internal command and then clear it from memory from there.
ADD: New internal command "cm_ConfigSearches" to jump directly to the configuration of options related with searches.
ADD: New 32x32 icons for the new internal commands "cm_AddNewSearch", "cm_ViewSearches", "cm_DeleteSearches" and "cm_ConfigSearches". For the 16x16, the last three mentionned were added since for the "cm_AddNewSearch" it was already there, added by mistake too early but now it's used.
ADD: There is now a dedicated page for the option of the search instead of being inside the "File operations" page.
UPD: On new installation, in the "Find files" dialog window, the "ENTER" key is not a shortcut anymore to launch a search. Too many persons get used that pressing enter in the result page was making us to jump to the file location. Code were already in place to have pertinent action on default button so pressing "ENTER" do the pertinent expected job.
ADD: Possibility to have a menu bar in the "Find files" dialog window. This is mainly to help the user at first to see all the possibility. There is an option to hide it and probably experienced user after a while will hide it to gain some 20 extra pixels vertically.
ADD: Reserve, if not already used, the keyboard shortcut "Ctrl+Shift+F7" for the new internal command "cm_AddNewSearch".
UPD: Inside the "Find files" unit, re-arrange the code so the buttons will use TAction to do something instead of the opposite where the TAction were pressing button.
UPD: Language files have been updated.
2016-12-01 02:23:28 +00:00
Denis Bisson
6604bf1305 UPD: Modification in many of the option editors so if we change a setting in them and attempt to quit without saving what have been modified, we will be warned about that and will be either offered to save the modification, discard the modification or cancel the act of exiting. Previously, some option editors had that behaviour, but it was a case per case verification made from an option editor to another. Now it has been arranged is such way that it is at the ancestor level that is done the act of verifying if modification have been done when closing option editor. Maybe there are many forms affected, but overall it has simplified the code since it's done globally instead of having "CanWeClose" and "GenericSomethingChanged" functions duplicated in many option editor.
UPD: Since we were playing in many options editors, took the opportunity to update the copyright years, update the GNU license text for the "51 Franklin Street" address and few minor modifications do decrease the overall warning/hints at the end of a build.
2016-06-20 03:39:03 +00:00
Denis Bisson
92565d38a5 ADD: Tree View Menu implementation.
ADD: The possibility to use a concept of "Tree View Menu" where the possible actions offered to the user are placed into a tree view. There is above an edit box where user might enter a few letters to eliminate the non-matching choices from the visual field so only the matching ones are remaining visible. User might use arrows keys to move up and down through possible selectable items from the three. He might even use ALT+KEY shorcut to select item. This way, user might choose quicker when list are long without having to give much attention.
ADD: The "Tree View Menu" are not offered by default so it won't impact on user by default. User needs to activate the "Tree View Menu" presentation from "Tree View Menu" configuration page.
ADD: "Tree View Menu" may be activated for selection from hot directories configured independently if it was called from internal command "cm_DirHotList" or from a double click for the top of the panel.
ADD: "Tree View Menu" may be activated for selection from favorite tabs configured independently if it was called from internal command "cm_LoadFavoriteTabs" or from a double click on a tabs.
ADD: "Tree View Menu" may be activated for selection from directories in dir history.
ADD: "Tree View Menu" may be activated for selection from directories in fileview history, 
ADD: "Tree View Menu" may be activated for selection  of commands when looking at the command line history. 
UPD: The internal commands "cm_ShowMainMenu" may now supports the parameter "treeview" with boolean possible values to offer the possibility to choose item from main menu items through a "Tree View Menu" look.
UPD: Put back in action the internal command "cm_ShowButtonMenu" to make visible or not the toolbar with the parameter "toolbar" with boolean possible values.
UPD: The internal commands "cm_ShowButtonMenu" may now supports the parameter "treeview" with boolean possible values to offer the possibility to choose item from toolbar items through a "Tree View Menu" look.
ADD: In the TKASToolBar, add a "PublicExecuteToolItem" function so given a "TKASToolItem", we may call its execution directly from it.
ADD: Two new configuration pages related with the "Tree View Menus" which are a page for basic settings "fOptionsTreeViewMenu" and one for colors "fOptionsTreeViewMenuColor".
ADD: Add new 32x32 icon for the commands "cm_configtreeviewmenus" and "cm_configtreeviewmenuscolors".
UPD: Change 32x32 icon for the "cm_showbuttonmenu" so it looks like a little more to a DC toolbar.
UPD: New parameter "position=" for the internal command "cm_DirHotList" with possible values "panel" or "cursor" to determine where it will be shown. Previous one was not documented and use only internally so no need to respect legacy here.
2016-04-17 23:24:04 +00:00
Denis Bisson
f60b9b75dd UPD: Mainly an update for the Favorite Tabs.
ADD: Add a new item in the main menu called "Favorites" for the Favorite Tabs (validated with AK).
UPD: Favorite Tabs stored in a separate single config file called "favoritetabs.xml" in the %DC_CONFIG_PATH% directory and not trace in the "doublecmd.xml" (except maybe the ID of the last active Favorite Tabs).
UPD: "favoritetabs.xml" now holds both the tree structure of Favorite Tabs menu AND the actual bare data for what the tabs are.
ADD: New configuration form called "Folder tabs extra" for little more specific behaviors when we save/load Favorite Tabs.
ADD: New settings to enable or not options related with Favorite Tabs when they are loaded. So there is like a "simple" mode and a kind of extra" mode.
FIX: Favorite Tabs now saves directory history (before was not working). In the "simple" mode, it will be according to the general "Save dir history" setting. In the extra mode it could be set independently from a setup to another.
ADD: In the Favorite Tabs configuration, we may import legacy existing .tab files to have their contents in the Favorite Tabs. (We may export back to .tab file also).
UPD: Refactor the "LoadThisToThis" function that was in "umaincommands.pas" to now be "LoadTheseTabsWithThisConfig" in "fmain". It can now be called directly by functions in "ufavoritetabs.pas" since they load directly tabs from there.
ADD: Add six 16x16 icons for commands related with favorite tabs.
UPD: Change the 32x32 icons for the cm_configfoldertabs internal command as well of the 16x16 image in the options page related with that so it looks like the other blue tab related command (validated with AK).
ADD: Add the internal parametrable command "cm_copyalltabstoopposite" to copy tabs from a side to the opposite one. Parameter value of "side=" indicates which tab to use as source and it could be "left", "right", "active", "inactive" or even "both".
RMV: Remove two unused image that were related with Favorite Tabs (newadditionfavtabs.png & submenufavtabs.png).
RMV: Remove the "Group" related menus, actions and variables. (validated with meteu and AK).
2016-02-09 04:57:45 +00:00
Denis Bisson
1be586dfa5 ADD: Implementation of the "Favorite Tabs" to save and restore tabs configuration a little more friendly. (Before we could have set tool button with cm_LoadTabs/cm_SaveTabs with a specified filename to do the same but it was less automatic)
ADD: Because of the new "Favorite Tabs", addition of new internal commands: "cm_ConfigFavoriteTabs", "cm_LoadFavoriteTabs", "cm_SaveFavoriteTabs", "cm_ReloadFavoriteTabs", "cm_PreviousFavoriteTabs" and "cm_NextFavoriteTabs" .
ADD: "cm_CloseAllTabs" may now accept parameter "side=" to determine on which panel side it will apply (left, right, active, inactive and both).
ADD: "cm_CloseAllTabs" may now accept parameter "dolocked=" to indicate if it also close locked tabs (true-yes-on-1/false/no-off-0).
ADD: "cm_CloseAllTabs" may now accept parameter "confirmlocked=" to bypass global setting for closing locked tabs (true-yes-on-1/false/no-off-0).
ADD: "cm_CloseDuplicateTabs" also now accept the three above mentioned possible parameters. (So it can be set to close duplicate locked tab, but with keep the locked first if a normal one exists).
ADD: "cm_SaveTabs" and "cm_LoadTabs" may now accept more than a single parameter. For specifying the filename it may be "filename=".
ADD: "cm_SaveTabs" may now accept parameter "savedirhistory=" to indicate if we want to save history or not (default is yes respecting legacy).
ADD: "cm_LoadTabs" may now accept parameter "loadlefto=" and "loadrightto=" to indicate where to load the tabs that were saved in left and right panel. For each, the possible values are left, right, active, inactive, both and none.
ADD: "cm_LoadTabs" may now accept parameter "keep=" to make it not erase the existing tabs when in the notebook when loading the new tabs from file.
ADD: Tabs popup menu and the main menu tabs are now more similar. The term "more similar" stands for the fact that some popup action may apply on an inactive tab we right click on it. So for legacy, this is respected.
ADD: New internal command "cm_ConfigFolderTabs" to bring the configuration of the tabs. Was also matched with TC command "cm_DirTabsConfig" for import/export with TC.
ADD: New internal commands to affect all tabs locked state at once: "cm_SetAllTabsOptionNormal", "cm_SetAllTabsOptionPathLocked", "cm_SetAllTabsOptionPathResets" and "cm_SetAllTabsOptionDirsInNewTab".
ADD: Above mentioned four new commands "side=" to determine on which panel it will apply (left, right, active, inactive and both).
ADD: Regarding the folder tabs configuration, add the option "Keep renamed name when unlocking a tab" (default, for legacy, is false).
ADD: Still with this, add the "Confirm close locked tabs" option with default false for legacy.
ADD: Still with this, add the "Reuse existing tab when possible" option (it was written TODO in the source).
ADD: Still with this, add the "Always show drive letter in tab title" option to make it like TC for those who sometimes work with same folder names in many drives.
ADD: Still with this, add the "Close duplicate tabs when closing application" option. This way it may do a silent clean up when quiting and restarting a session.
ADD: Add an option to configure what it does when double click on a tab. It may now be "Close tab" (default, for legacy), but also "Access Favorite Tabs", "Tabs popup men" and "nothing" for those who hated the tab closed when they double-click on tab by accident.
ADD: Add confirmation dialog when quitting folder tabs configuration without having saved modified settings.
ADD: When closing multiple tabs and there are locked tabs, we may now click "ALL" once to close all at them at once without having to confirm each one.
APD: Update mention to year "2016" in affected source files.
2016-01-30 16:13:42 +00:00
Alexander Koblov
b685c9e97f ADD: Some options to internal editor 2016-01-22 21:46:44 +00:00
Alexander Koblov
cedad3c942 UPD: Many improvements (patch by Denis Bisson) 2015-05-31 17:36:59 +00:00
Alexander Koblov
d4bf2708ff ADD: Option to disable aligned file extension in brief view 2015-01-11 12:02:40 +00:00
Alexander Koblov
1c46b1723c UPD: Move file associations dialog to main configuration dialog 2015-01-05 09:24:54 +00:00
Alexander Koblov
e6c76c27e1 ADD: Option to choose position of panel after a compare (patch by Denis Bisson) 2015-01-04 21:48:23 +00:00
Alexander Koblov
51d3f2a2d3 UPD: Move directory hotlist configuration to options (patch by Denis Bisson) 2014-09-14 08:55:29 +00:00
cobines
6cf900a8f4 UPD: Move most of toolbar editor into an Options page. 2012-04-10 07:45:18 +00:00
cobines
60abbb7462 UPD: Set svn:eol-style property for all source files. 2012-04-09 01:13:34 +00:00
Alexander Koblov
de44bf79d7 ADD: Feature [0000354] "Redesign internal editor configuration dialog" 2012-03-10 08:23:04 +00:00
cobines
42da09b939 ADD: Ask for adding hotkey with Shift for cm_Delete for reversing "delete to trash" setting (issue [0000241]). 2012-01-05 21:44:02 +00:00
cobines
038d2aaedb ADD: Make drives list button options page. Add options to show/hide columns in the drives list. 2011-10-08 16:28:15 +00:00
cobines
94f979a6d0 UPD: Make Files Views, Columns View options pages. 2011-10-02 21:53:01 +00:00
cobines
0509f2c7a5 UPD: Make Drag&Drop options page. 2011-09-28 22:33:15 +00:00
cobines
a7f80785d2 UPD: Make Keyboard, Mouse options pages. 2011-09-25 16:43:38 +00:00
cobines
dc3b4fc255 UPD: Split tools page to separate editors. Create Terminal tool page. 2011-09-24 21:39:11 +00:00
cobines
011a446133 UPD: Reloading configuration after manually editing files. 2011-09-23 22:05:39 +00:00
cobines
390ecb12c7 UPD: Some optimizations to showing options editors to reduce visual flicker. 2011-09-23 19:53:08 +00:00
cobines
c601c11df8 UPD: Split colors options page. 2011-09-23 13:54:18 +00:00
cobines
cdb39d0426 ADD: Grouping editors in options. 2011-09-22 19:13:13 +00:00
cobines
508a425d6b UPD: Remove notebook with pages in Options, create and show options editor as needed. 2011-09-01 21:40:37 +00:00
cobines
92ebc8a69a UPD: Make language configuration page as TFrame.
UPD: Add Save result to report that options change needs restart.
2011-08-30 21:25:58 +00:00
cobines
3dadcdc476 UPD: Use identifiers instead of numbers in options frames so that reordering, adding, removing editors is easier. 2011-08-28 23:21:30 +00:00
Alexander Koblov
067a264df3 UPD: Forgotten unit 2011-04-12 14:18:39 +00:00
Alexander Koblov
b0f8315169 UPD: Register options frames like Lazarus IDE does 2011-04-12 14:01:01 +00:00
Renamed from src/foptionsframe.pas (Browse further)