kevinkofler
|
da09872b22
Update/add copyright notices.
|
18 years ago |
joeyadams
|
964eb33c00
Added and implemented function newSettings so that when you create a new project, the project options for the previous project won't linger.
|
18 years ago |
kevinkofler
|
c200d88691
Stop abusing Kate's document/view interface and create one document/view pair for each file.
|
18 years ago |
kevinkofler
|
0b912721f6
loadFileText: Don't abuse stack to hold entire files. Don't silently ignore failed fread calls. Convert line endings.
|
18 years ago |
kevinkofler
|
846ba33e9a
Bring getPathType back (without the redundant fopen check) and error on attempts to open/add folders or special files.
|
18 years ago |
kevinkofler
|
fcf8a0f15a
Remove redundant file existence checks (move file reading code up where needed) and delete unneeded getPathType function.
|
18 years ago |
joeyadams
|
795cf45502
Added 'Add Files...' support.
|
18 years ago |
kevinkofler
|
c24e685163
Add missing MLink reloc type (was already in tprbuilder 1.0.15, Joey ported an old version).
|
18 years ago |
kevinkofler
|
6e17dfa7df
New function copyFile. Use it in fileSave_saveAs to copy binary files.
|
18 years ago |
kevinkofler
|
a714392eec
Check the return values of all file write operations.
|
18 years ago |
kevinkofler
|
2ea0e31afc
Remove obsolete Todo comments.
|
18 years ago |
kevinkofler
|
a10699e113
Don't mix tabs and spaces (use spaces consistently). Fix missing \r\n after "AMS". Use string concatenation rather than %s for token.
|
18 years ago |
joeyadams
|
59fad2c1c2
Cleaned up the reloc type mess. Now there's RT_NONE, RT_DIRECT, and RT_AMS, along with their corresponding handlers in parse_file and save_tpr.
|
18 years ago |
kevinkofler
|
94bdc36afd
Update loadTPR comment. Cleanups in saveTPR.
|
18 years ago |
joeyadams
|
9e5bc17fec
Added qll suffix to checkFileName.
|
18 years ago |
joeyadams
|
e6c6de0aa7
Got rid of a dialog box I was just using for testing.
|
18 years ago |
joeyadams
|
b0a41f43f4
Broke up extractFileTreeInfo by creating a separate routine that lists all the file paths in every category of the project. The routine is extractAllFileNames.
|
18 years ago |
joeyadams
|
f4e87a5b10
Fixed issues with absolute paths and relative paths: made it so in the TPR, relative paths are used only if the file is within the project directory.
|
18 years ago |
joeyadams
|
ff79838614
Files get path names automatically now, and when you save the project, all the path names are updated to the new project location.
|
18 years ago |
joeyadams
|
56cf975fca
Save As now supports creating new directories when you save again.
|
18 years ago |
joeyadams
|
248e61ad26
Added Save As support. However, it still needs to make new files when you do save as.
|
18 years ago |
joeyadams
|
b39855d17c
Fixed file saving. Looks like it works now.
|
18 years ago |
joeyadams
|
fee9e71139
Added functions save_tpr and saveTPR.
|
18 years ago |
kevinkofler
|
9dbd3a4611
Add support for "Open File=" (sadly, this uses an absolute path so it will only work for KTIGCC-created projects).
|
18 years ago |
joeyadams
|
b5afcc2659
Added folder support on the tpr.cxx side.
|
18 years ago |
kevinkofler
|
7d06d8d0f8
Set proper default options. Fix handling of line number (count starts at 0 because read_line immediately increments it, consistently return l, not 1).
|
18 years ago |
kevinkofler
|
36530f7da4
Remove unused settings. Move prj_name to the top level. Add constructor for the settings and libopts.
|
18 years ago |
kevinkofler
|
a2d7c06b47
Display error messages if something goes wrong during TPR loading.
|
18 years ago |
kevinkofler
|
79af88063d
Check if Quill and A68k are available when loading a project needing them.
|
18 years ago |
kevinkofler
|
7e745d5165
Simplify file loading. Rename encapsulate_long_filename to convert_path_separators. Add copyright notice.
|
18 years ago |