summaryrefslogtreecommitdiff
path: root/core/apps/textedit/textedit.cpp
AgeCommit message (Collapse)AuthorFilesLines
2007-01-26Both packageslave.cpp and textedit.cpp have instances of possibly exploitableerik1-24/+21
race conditions associated to files. The big deal is that it is quite typical to use strings of pathnames to track files. But because that does not leverage the filesystem would be attackers may be able to exploit time lags in uses of filesystem functions (like stat and chmod or open) to get files with suspect data into the files that the applications are working with. This commit closes that potential hole even though there are no known exploits. Better safe then sorry. There is no change in the behavior of the apps.
2007-01-26Each file in this commit exhibit an example of what prevent callserik1-61/+39
'reverse inull'. All that means is that a pointer gets dereferenced. Then a pointer gets checked for validity before being dereferenced again. This almost always points to shenanigans. For example, the konsole.cpp file has this konsoleInit() call which passes in a const char** shell variable. Since it is a double pointer the programmer who wrote the code made the mistake of mixing the checking of the pointer and the pointer that points to the pointer. This commit attempts to correct that. Of course there are other instances of the same thing. But they all boil down to a small mistake which might have produced strange side effects.
2007-01-19Every file in this commit has a change to check the return value of a call.erik1-16/+17
2005-08-11add opie-smbllornkcor1-29/+29
2005-04-15Resource -> OResourcedrw1-15/+16
2005-02-24Speed up application start by more than 30%zecke1-1/+1
2005-02-06fix #1472 - no prompt on esc exitllornkcor1-23/+26
2005-01-21- make opie compilable against qte 2.3.10 snapshotar1-1/+1
check QT_VERSION against 0x030000 instead of 300
2004-10-18change doclnk handlingllornkcor1-3/+4
2004-10-16- BugFix: clear currentFileName in SaveAs when the user abort.ar1-0/+1
otherwise it crashs when user try to save after aborted saveas action
2004-09-18fix #1399llornkcor1-15/+21
2004-09-10Move the using namespace expression below all includeszecke1-2/+4
2004-04-05convert helpbrowser, taboapp and textedit to Opie debugging frameworkmickeyl1-40/+43
qcop and embeddedkonsole needs more work. the diagnostics part uses printf
2004-03-14ODP and only ODPzecke1-3/+1
2004-03-02run the optimize_connect scriptalwin1-5/+5
the whole cvs is tagged with "before_optimize_connect" if there are problems you can check the diff (but it had compiled and run here)
2004-03-01fix includeschicken1-18/+0
2004-03-01add error dialogsllornkcor1-5/+6
2004-02-23Text Editor: libopie->libopie2drw1-3/+7
2004-02-07QPEApplication::showDialog() and QPEAPplication::execDialog() for better big ↵ar1-4/+2
screen handling
2003-12-07s/QPEToolBar/QToolBar:mickeyl1-4/+4
- remove usage of deprecated classses - makes it easier to migrate to OToolBar in the future
2003-12-07s/QPEMenuBar/QMenuBar:mickeyl1-2/+2
- remove usage of deprecated classses - makes it easier to migrate to OMenuBar in the future
2003-12-06quirk for opening renamed desktop files...zecke1-2/+9
2003-08-09Merge from BRANCH_1_0kergoth1-5/+3
2003-04-14Linebreak prevented translation - fixedgroucho1-4/+1
2003-04-12hide about gizmollornkcor1-2/+2
2003-03-21change filesave icon to inlinedllornkcor1-46/+44
2003-03-16fix open .desktop filellornkcor1-71/+78
2003-02-28no goto for 0 length textsllornkcor1-2/+4
2003-02-28move goto menu entryllornkcor1-7/+6
2003-02-28allow open file to remember last directoryllornkcor1-2/+8
2003-02-28fix bad mannersllornkcor1-1/+5
2003-02-28moved xmp to resource, and added goto line numberllornkcor1-99/+31
2003-02-185 minutes, not 30 secondsllornkcor1-20/+17
2003-02-18autosave feature. will save to ~/textedit.tmp is no filename has been set. ↵llornkcor1-11/+134
moved stuff from public methods
2003-02-16fix for bug 616- hitting ok when no file is selected hangsllornkcor1-1/+1
2003-02-11do not allow to open directories...zecke1-1/+1
2002-12-25fix dotfiles - againllornkcor1-1/+1
2002-12-20sic workaround hack for now. fixes bug #569llornkcor1-61/+102
2002-12-20save fix when no name bug #577llornkcor1-1/+6
2002-12-16work around for changing wrap changing edited state. also fixed opening ↵llornkcor1-1/+8
dotFiles line endings
2002-12-16open dotfiles from setDocument differentlyllornkcor1-2/+3
2002-12-15fix bug in open when cancellingllornkcor1-1/+1
2002-11-29removed open with fileselector, cause I hate it. Fixes opening through docs ↵llornkcor1-26/+41
tab, and other annoyances
2002-11-09caption fixllornkcor1-2/+2
2002-11-09various fixes.. saveAs and quit stuffllornkcor1-145/+136
2002-11-09fixes and options. commandline now works a bit more sane, and makes new file ↵llornkcor1-67/+147
if not found
2002-11-09fix for #435llornkcor1-6/+13
2002-10-20remember user configurationsllornkcor1-3/+12
2002-10-19default fileopen to docs dirllornkcor1-2/+2
2002-10-17added hold stylus default menullornkcor1-0/+1