summaryrefslogtreecommitdiff
path: root/noncore
AgeCommit message (Collapse)AuthorFilesLines
2007-01-29Change buttons from QLabel to QPushButton, which enables entering the PIN ↵paule2-476/+366
using directional buttons and space/enter (which is all that is available on some PDAs if the screen is uncalibrated). In addition, you can now enter numbers using number keys if your device has them.
2007-01-28Change to not use new for message boxes; rename sendIR parameter to a more ↵paule2-12/+12
appropriate name
2007-01-28More fixes for remote selectionpaule2-0/+25
2007-01-28Don't allow creating remote layouts with a blank name; remove old commented ↵paule1-13/+4
out code
2007-01-28Remove unused source filespaule2-53/+0
2007-01-28Correctly select first remote upon loading configuration; pass current ↵paule1-14/+34
button action to button dialog; show error if user clicks on New without first typing a new name; show error if user clicks New with Remotes as a name
2007-01-28Correctly select first remote upon loading configuration; show a warning ↵paule1-4/+15
message if user presses a button that has not been configured
2007-01-28Correctly select first remote upon loading configurationpaule3-2/+6
2007-01-28Load in current button action on openingpaule2-17/+34
2007-01-28Refactored out all communication with LIRC into new LircHandler classpaule13-755/+344
2007-01-26Both files in this commit exhibit the wrong way to use temporary files.erik1-3/+24
For TEHistory.cpp, it uses tmpfile() which produces a file which has a name that can be guessed. For vmemo.cpp, it uses tmpname() which only creates a predictable string. Both uses have been switched to using mkstemp() wrapped around umask(). This produces a much less predictable file that also has guaranteed restrictive permissions. I went a little farther in vmemo because it calls out to the shell using system to 'mv' the new file. That is kinda wasteful so I switched it to use rename instead.
2007-01-26The Expand call does not check for null termination of the URL stringserik1-2/+4
that it is expanding. Since strlen() is used with the URLs after Expand is used, it is good idea to make sure that Expand terminates the strings. This commit changes that so that the URL strings are guaranteed to be terminated after expansion.
2007-01-26A couple of places where a string is overrun. This fixes both of them.erik2-4/+5
2007-01-26Each file in this commit exhibit an example of what prevent callserik2-2/+2
'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-26Both files in this commit exhibit use after free errors.erik2-4/+4
One of them was introduced in my memory leak fixing (whoops). I was freeing a structure of stock data before one last call to it. So switching the free to after that call fixed it. The kcheckers.cpp fix is one where the game board could be deleted and then a new one is not created because someone attempted to request a game board type that is not supported. This is fixed by using the default directive for one of the game board types in the switch statement. Which means it could default to Russian boards. Score one for the Russians!
2007-01-24There was quite a bit of deadwood in this file. I am removing it to makeerik1-65/+0
the file more readable (and smaller overall).
2007-01-24Each file in this commit has the issue where it is possible for code toerik6-38/+51
overrun static buffers. This could lead to serious problems. Granted it is almost impossible to do that. But it isn't totally impossible. So this commit makes it impossible to overrun.
2007-01-24Each file in this commit has the issue where a function can return aerik2-50/+49
negative result but the result is used in a context that can only be positive.
2007-01-24Each file in this commit has an instance where a pointer is checked aterik6-68/+77
one point in the code and then not checked in another point in the code. If it needed to be checked once, it needs to be checked the other time. If not the application could segfault.
2007-01-24Eac one the files in this commit had an instance where a code path iserik3-16/+2
never traversed because of conditionals operating on values that never change.
2007-01-24Every file in this commit has a memory leak of some kind or another. I thinkerik9-157/+246
all of them are minor and should not effect properly running code. But if I were you I would give libstocks and the stockticker plugin in Today a wide berth. That library is atrocious.
2007-01-23A couple more return values that need to be checked.erik1-2/+9
2007-01-22Each file in this commit had a problem where a function might returnerik3-5/+10
a null value for a pointer and that null value was not checked.
2007-01-22Every file in this commit makes a call to a function which returns a value.erik12-89/+101
Each file also didn't check the return value. This commit changes it so that every single non-checked call in these files is checked.
2007-01-19core/opie-login/loginwindowimpl.cpp has a fix to properly free stringserik1-0/+1
that were dup'ed. noncore/apps/opie-reader/Bkmks.cpp deletes a temporary pointer that was not being properly disposed of.
2007-01-19Every file in this commit has a change to check the return value of a call.erik3-6/+13
2007-01-19Every single file in this commit had a memory leak where a resource iserik7-16/+38
allocated in the constructor but not de-allocated in the destructor. This commit fixes that.
2007-01-19BUG: There are only 4095 items in the buffer that is zero'd out using 4096.erik1-1/+1
FIX: Fix the number used in memset.
2007-01-14When selecting a time zone, warn the user if the time zone file in ↵paule1-26/+35
/usr/share/zoneinfo for the selected time zone is missing
2007-01-14Add setting to show date/time settings on every restart (useful on devices ↵paule2-3/+16
where the date/time slips or is reset when the device is reset)
2007-01-13Actually read the doctab enable/disable setting.paule1-0/+7
Partially fixes bug #1618.
2007-01-13* Increase font size (fixes bug #1597)paule3-16/+494
* Improve usability of snooze function (fixes bug #1598) * Fix stretched icon (fixes bug #1616)
2007-01-13Prompt user to save on closing a modified file; prompt user on Save As if ↵paule2-25/+116
specified file already exists; change tab to show filename when saving a new file
2007-01-13Improve layout of Highlight Modes tab so that it fits on QVGA screens, ↵paule1-29/+25
allowing the OK/Cancel buttons on the dialog to be shown. Fixes bug #1373.
2007-01-13Clear document modified flag on savepaule1-1/+6
2007-01-13Delete configuration dialog object on closingpaule1-1/+2
2007-01-13Add Edit menu with find, replace & go to line functions. Uses dialogs/code ↵paule2-8/+23
already provided by libkate. Fixes bug #1231.
2007-01-13Set sensible minimum width for Goto Line dialogpaule1-0/+3
2007-01-13Call qApp->processEvents() before deleting dialog objects to avoid crashes ↵paule1-0/+3
(Qt bug?)
2007-01-12This commit switches from using hardcoded ntp servers to using a pool ntperik1-3/+3
server.
2007-01-10opie-mediaplayer2: search for audio/x-ogg too - patch from OPIE #1530hrw1-1/+1
2007-01-10All of the files included have instances where an array is new'ed buterik8-12/+12
the corresponding delete does not have the corresponding [] argument.
2007-01-10BUG: The case statement was using err to figure out what to say abouterik1-1/+1
why sendfile didn't work. Since err is only the return value of sendfile this meant that it never reported the right thing because it can only be -1 at this point. What the author probably wanted to do was look at errno since that is what the man page says will have the real error info. FIX: Switch the case statement to use errno.
2007-01-08patch from paulllornkcor2-51/+67
2006-12-30Fix for bug# 0001553 Submited by Paul Eggletonkorovkin3-27/+506
avancedfm uses FileInfoDialog and QFileInfo to display the selected file information.
2006-11-10Files devicehandler.cpp and devicehandler.h moved from manager tokorovkin4-4/+4
library to be used by obex to load a list of saved receivers.
2006-07-14more htc universal stuffllornkcor1-0/+14
2006-07-09initial commit to add video4linux camera app from qtopia 2, needs more workllornkcor17-0/+3013
2006-07-07s/Resource/OResource/mickeyl1-1/+1
2006-07-07Fixed the typo in the Resource::loadImage function call.korovkin1-4/+4
Reformatted setBluezStatus function.