|
| 1 | +(******************************************************************************) |
| 2 | +(* CopyCommander2 15.02.2022 *) |
| 3 | +(* *) |
| 4 | +(* Version : 0.09 *) |
| 5 | +(* *) |
| 6 | +(* Author : Uwe Schächterle (Corpsman) *) |
| 7 | +(* *) |
| 8 | +(* Support : www.Corpsman.de *) |
| 9 | +(* *) |
| 10 | +(* Description : <Module_description> *) |
| 11 | +(* *) |
| 12 | +(* License : See the file license.md, located under: *) |
| 13 | +(* https://github.com/PascalCorpsman/Software_Licenses/blob/main/license.md *) |
| 14 | +(* for details about the license. *) |
| 15 | +(* *) |
| 16 | +(* It is not allowed to change or remove this text from any *) |
| 17 | +(* source file of the project. *) |
| 18 | +(* *) |
| 19 | +(* Warranty : There is no warranty, neither in correctness of the *) |
| 20 | +(* implementation, nor anything other that could happen *) |
| 21 | +(* or go wrong, use at your own risk. *) |
| 22 | +(* *) |
| 23 | +(* Known Issues: *) |
| 24 | +(* - die "ins" taste funktioniert unter Linux nicht (zumindest nicht wie *) |
| 25 | +(* erwartet), Shift Pfeil runter geht aber. *) |
| 26 | +(* - Wird ein Laufender Job Abgebrochen, dann werden die "fehlenden" Bytes *) |
| 27 | +(* nicht Korrekt von den Bytes to Copy abgezogen *) |
| 28 | +(* \-> Am Ende bleiben dann Bytes über, die Engine nullt das zwar ganz *) |
| 29 | +(* am Schluss wenn die JobFifo leer ist, aber sauber ist anders. *) |
| 30 | +(* -Ändert sich die Anzahl der Bytes in einem Job der noch in der *) |
| 31 | +(* Warteschlange ist, dann stimmt am ende die Statistik nicht mehr *) |
| 32 | +(* Da die Byteanzahl beim Adden gespeichert und dann nicht mehr *) |
| 33 | +(* aktualisiert wird *) |
| 34 | +(* *) |
| 35 | +(* History : 0.01 - Initial version *) |
| 36 | +(* (15.02.2022) 0.01 = Initialversion *) |
| 37 | +(* (17.02.2022) 0.02 = Auswerten Paramstr beim Start (besseres *) |
| 38 | +(* Fehlerhandling) *) |
| 39 | +(* Windows: show Drive Letters as top Level *) |
| 40 | +(* Fix: ListViewSelectItemIndex *) |
| 41 | +(* Fix: Linux: F7 dialog was doubled if entered via *) |
| 42 | +(* keyboard. *) |
| 43 | +(* (18.02.2022) 0.03 = Fix: Anchors of Progress Label *) |
| 44 | +(* Refactor file ext icons ( Pull request by H. Elsner) *) |
| 45 | +(* (21.02.2022) 0.04 = Shortcut buttons seperated for left and right panels *) |
| 46 | +(* (Pull request by H. Elsner) *) |
| 47 | +(* Added menu item to copy shortcut button to the other *) |
| 48 | +(* panel ( Pull request by H. Elsner) *) |
| 49 | +(* Added menu item to move shortcut button to the other *) |
| 50 | +(* panel ( Pull request by H. Elsner) *) |
| 51 | +(* Added double click to pathname-edits to create *) |
| 52 | +(* shortcuts ( Pull request by H. Elsner) *) |
| 53 | +(* Added menu Open in file manager ( Pull request by H. *) |
| 54 | +(* Elsner) *) |
| 55 | +(* Added app icon ( Pull request by H. Elsner) *) |
| 56 | +(* (22.02.2022) 0.05 = Fix: Roll back OnActivate procedure *) |
| 57 | +(* Fix: Open file manager was incorrectly called in LINUX*) |
| 58 | +(* environmat *) |
| 59 | +(* Fix showing bug for files with no "name" *) |
| 60 | +(* (12.03.2022) 0.06 = Fix: Diff Dialog did not find hidden files *) |
| 61 | +(* Fix: Filesize of Files larger than 2^32-Bit was wrong *) |
| 62 | +(* detected -> Error on file finish *) |
| 63 | +(* Feature Request - blue and green arrows in sync dialog*) |
| 64 | +(* (10.04.2022) 0.07 = Fix: Progress was not correct (filesize to copy did *) |
| 65 | +(* not decrease during progress) *) |
| 66 | +(* Fix: Crash, when GetHasQuestions was called before *) |
| 67 | +(* init *) |
| 68 | +(* Add Overall Progressbar *) |
| 69 | +(* (11.04.2022) 0.08 = Fix: Progress Calculation was complete garbage, *) |
| 70 | +(* rewrite calculations *) |
| 71 | +(* Enable Rename Feature in Submenu *) |
| 72 | +(* Add some video extensions to list *) |
| 73 | +(* (15.09.2022) 0.09 = Edit Eingabefelder gegen ComboBox getauscht, *) |
| 74 | +(* es werden die letzten 10 [maxDirs=10] gemerkt und in *) |
| 75 | +(* einer Drop-Down-Liste angeboten, *) |
| 76 | +(* Die Liste kann via contextmenü gelöscht werden *) |
| 77 | +(* 0.10 = *) |
| 78 | +(* *) |
| 79 | +(******************************************************************************) |
| 80 | +(* Silk icon set 1.3 used *) |
| 81 | +(* ---------------------- *) |
| 82 | +(* Mark James *) |
| 83 | +(* http://www.famfamfam.com/lab/icons/silk/ *) |
| 84 | +(******************************************************************************) |
| 85 | +(* This work is licensed under a *) |
| 86 | +(* Creative Commons Attribution 2.5 License. *) |
| 87 | +(* [ http://creativecommons.org/licenses/by/2.5/ ] *) |
| 88 | +(******************************************************************************) |
1 | 89 | Unit Unit1; |
2 | 90 |
|
3 | 91 | {$MODE objfpc}{$H+} |
|
440 | 528 |
|
441 | 529 | Procedure TForm1.FormCreate(Sender: TObject); |
442 | 530 | Begin |
443 | | - (* |
444 | | - * Historie: |
445 | | - * (15.02.2022) 0.01 = Initialversion |
446 | | - * (17.02.2022) 0.02 = Auswerten Paramstr beim Start (besseres Fehlerhandling) |
447 | | - * Windows: show Drive Letters as top Level |
448 | | - * Fix: ListViewSelectItemIndex |
449 | | - * Fix: Linux: F7 dialog was doubled if entered via keyboard. |
450 | | - * (18.02.2022) 0.03 = Fix: Anchors of Progress Label |
451 | | - * Refactor file ext icons ( Pull request by H. Elsner) |
452 | | - * (21.02.2022) 0.04 = Shortcut buttons seperated for left and right panels ( Pull request by H. Elsner) |
453 | | - * Added menu item to copy shortcut button to the other panel ( Pull request by H. Elsner) |
454 | | - * Added menu item to move shortcut button to the other panel ( Pull request by H. Elsner) |
455 | | - * Added double click to pathname-edits to create shortcuts ( Pull request by H. Elsner) |
456 | | - * Added menu Open in file manager ( Pull request by H. Elsner) |
457 | | - * Added app icon ( Pull request by H. Elsner) |
458 | | - * (22.02.2022) 0.05 = Fix: Roll back OnActivate procedure |
459 | | - * Fix: Open file manager was incorrectly called in LINUX environmat |
460 | | - * Fix showing bug for files with no "name" |
461 | | - * (12.03.2022) 0.06 = Fix: Diff Dialog did not find hidden files |
462 | | - * Fix: Filesize of Files larger than 2^32-Bit was wrong detected -> Error on file finish |
463 | | - * Feature Request - blue and green arrows in sync dialog |
464 | | - * (10.04.2022) 0.07 = Fix: Progress was not correct (filesize to copy did not decrease during progress) |
465 | | - * Fix: Crash, when GetHasQuestions was called before init |
466 | | - * Add Overall Progressbar |
467 | | - * (11.04.2022) 0.08 = Fix: Progress Calculation was complete garbage, rewrite calculations |
468 | | - * Enable Rename Feature in Submenu |
469 | | - * Add some video extensions to list |
470 | | - * (15.09.2022) 0.09 = Edit Eingabefelder gegen ComboBox getauscht, |
471 | | - * es werden die letzten 10 [maxDirs=10] gemerkt und in einer Drop-Down-Liste angeboten, |
472 | | - * Die Liste kann via contextmenü gelöscht werden |
473 | | - * 0.10 = |
474 | | - * |
475 | | - ******************************************************* |
476 | | - * Silk icon set 1.3 used |
477 | | - * ---------------------- |
478 | | - * Mark James |
479 | | - * http://www.famfamfam.com/lab/icons/silk/ |
480 | | - ******************************************************* |
481 | | - * This work is licensed under a |
482 | | - * Creative Commons Attribution 2.5 License. |
483 | | - * [ http://creativecommons.org/licenses/by/2.5/ ] |
484 | | - ******************************************************* |
485 | | -
|
486 | | - * |
487 | | - * Known Bugs: - die "ins" taste funktioniert unter Linux nicht (zumindest nicht wie erwartet), Shift Pfeil runter geht aber. |
488 | | - * - Wird ein Laufender Job Abgebrochen, dann werden die "fehlenden" Bytes nicht Korrekt von den Bytes to Copy abgezogen |
489 | | - * \-> Am Ende bleiben dann Bytes über, die Engine nullt das zwar ganz am Schluss wenn die JobFifo leer ist, aber sauber ist anders. |
490 | | - *) |
491 | 531 | Caption := 'Copycommander2 ver. 0.09'; |
492 | 532 | (* |
493 | 533 | * Mindest Anforderungen: |
494 | 534 | * - Alle "Todo's" erledigt |
495 | 535 | * Noch Offen: |
496 | 536 | * -del dir im Synchronize Dialog |
497 | 537 | * -Kontext menü "show Size" -> Für Verzeichnisse |
498 | | - * Bekannte Bugs: Ändert sich die Anzahl der Bytes in einem Job der noch in der Warteschlange ist, dann stimmt am ende die Statistik nicht mehr |
499 | | - * Da die Byteanzahl beim Adden gespeichert und dann nicht mehr aktualisiert wird |
500 | 538 | *) |
501 | 539 | finiFile := TIniFile.Create(GetAppConfigFileUTF8(false)); |
502 | 540 | Width := finiFile.ReadInteger(iniGeneral, iniAppWidth, Width); |
|
0 commit comments