kevinkofler
|
678f1aa05e
Reset the dirty flag if the user decides to discard changes.
|
18 éve |
kevinkofler
|
0d3a9bc7a9
Switching from one file to another was causing the file to be marked dirty. Fix that.
|
18 éve |
kevinkofler
|
4906a09d6b
Prompt for saving before opening a project.
|
18 éve |
kevinkofler
|
846ba33e9a
Bring getPathType back (without the redundant fopen check) and error on attempts to open/add folders or special files.
|
18 éve |
kevinkofler
|
fcf8a0f15a
Remove redundant file existence checks (move file reading code up where needed) and delete unneeded getPathType function.
|
18 éve |
joeyadams
|
795cf45502
Added 'Add Files...' support.
|
18 éve |
joeyadams
|
7b7741c08e
Assigned slots to menu items that didn't have them yet.
|
18 éve |
joeyadams
|
1ae6dd4c03
Added fileSave_save.
|
18 éve |
joeyadams
|
5e5060fe32
Attached savePrompt to New Project and exiting (but it doesn't work correctly at all).
|
18 éve |
joeyadams
|
e505a42c98
Prompts for file names when a file has not been saved and the project is new.
|
18 éve |
joeyadams
|
38300639e5
Added functions MainForm::fileSavePrompt and MainForm::savePrompt. Didn't use them for anything yet.
|
18 éve |
kevinkofler
|
6e015f5037
Fix status bar display glitch.
|
18 éve |
kevinkofler
|
0ae27b7e88
Add support for opening a project from the command line.
|
18 éve |
kevinkofler
|
6c5d829821
Keep track of current project separately from recent projects and reset the current project in fileNewProject. Also enter projects into the recent project list when saving.
|
18 éve |
kevinkofler
|
768ff60c0d
Implement recent project list.
|
18 éve |
kevinkofler
|
998f24dc38
In fileSave_fromto, only update textBuffer for editable files.
|
18 éve |
joeyadams
|
2fd80fa60d
Added a condition in MainForm::newFile where it says tmp+='/'; Changed to:
|
18 éve |
kevinkofler
|
70bf657cc7
Compute tmpPath in fileSave_loadList before using it (bugfix).
|
18 éve |
kevinkofler
|
8b85b171f9
Set projectIsDirty where appropriate.
|
18 éve |
kevinkofler
|
4bd6e18dcd
Update right status label in fileSave_saveAs and fileSave_fromto.
|
18 éve |
kevinkofler
|
b9ed97bc2d
Set isDirty flag in m_view_textChanged.
|
18 éve |
kevinkofler
|
527de82a33
Copy unchanged and binary files correctly in fileSave_loadList.
|
18 éve |
kevinkofler
|
6e17dfa7df
New function copyFile. Use it in fileSave_saveAs to copy binary files.
|
18 éve |
kevinkofler
|
d163fbed0f
Restore handling of old project folder when saving a project, files should be copied over.
|
18 éve |
kevinkofler
|
3e1488963c
Reset projectIsDirty in fileSave_to if saving succeeded.
|
18 éve |
joeyadams
|
80aa2f5c50
Fixed file renaming self-conflict issue.
|
18 éve |
joeyadams
|
3d9aa09632
Added MainForm::fileSave_saveAs, but didn't use it for anything
|
18 éve |
kevinkofler
|
a71539a657
Split openProject out of fileOpen. Split clearProject out of fileNewProject and use it in openProject. Reset projectIsDirty flag in clearProject.
|
18 éve |
kevinkofler
|
0e6f00d74d
Handle isNew and isDirty flags in fileSave_loadList.
|
18 éve |
kevinkofler
|
ac25781cfe
Initialize isNew and isDirty in the ListViewFile constructor. Don't initialize them in newFile. Reset isNew in openFile.
|
18 éve |