Ingo Weinhold
b0da468aeb
call_apm_bios(): Moved otherwise unreachable code into "#if __GNUC__ < 4"
...
block (CID 10315).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 23:30:28 +00:00
Ingo Weinhold
b51ec9de58
sprintf() -> snprintf() (CID 7985).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 23:16:01 +00:00
Ingo Weinhold
3872a2d2fc
Fixed suspicious implicit sign extension computing the frame buffer size
...
(CIDs 8056, 8057, 8058).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 23:14:10 +00:00
Ingo Weinhold
447e61909f
Always initialize fSize in the BIOSDrive constructor -- InitCheck() uses it
...
(CID 10272).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 23:03:01 +00:00
Ingo Weinhold
b2330bb319
strcpy() -> strlcpy() (CID 7984).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 22:37:31 +00:00
Ingo Weinhold
80b5decbec
Init MenuItem::fShortcut in constructor (CID 10273).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 22:35:09 +00:00
Ingo Weinhold
61aa1456a5
Check get_node_from() return value (CID 647).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 22:27:10 +00:00
Ingo Weinhold
70fc82404f
sprintf() -> snprintf() (CID 7983).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 22:22:32 +00:00
Ingo Weinhold
3e9f742d23
Check fstat() return value (CID 2514).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 22:20:18 +00:00
Oliver Tappe
db03311342
Closing #7056 :
...
* inherit umask of calling process to images loaded via exec...()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 19:12:19 +00:00
Rene Gollent
5c9b247667
The cmd+` shortcut wasn't taking into account if the user was currently holding a
...
window with the mouse, and as such didn't take it along to the new workspace
as the cmd+F# shortcuts do. Fixes #7057 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 16:04:15 +00:00
Ingo Weinhold
be4b43e03f
At least theoretically kernelSettings and safemodeSettings can be NULL
...
(CID 4230).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 14:44:33 +00:00
Ingo Weinhold
8018cd7f61
Also initialize fCachedBlock, as it is used in the destructor. Related to
...
CID 10271, though that's actually the only member it doesn't mention.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 14:36:25 +00:00
Ingo Weinhold
10a50e7cd5
Broken if condition (CID 2600).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 14:28:55 +00:00
Ingo Weinhold
9a3d05d795
Check return value of fstat() (CID 2513). Cannot really fail in the boot
...
loader, but the check doesn't harm either.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 14:22:32 +00:00
Ingo Weinhold
a037e9b3d0
Init fNode (CID 10264).
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 14:16:19 +00:00
Ingo Weinhold
f746d7fb49
* Removed my copyright. I had nothing to do with this file.
...
* FileMapDisk::RegisterFileMapBootItem(): Commented out unreachable code
(CID 10367).
* Automatic whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 14:13:21 +00:00
Ryan Leavengood
3a0ecaabad
Add Hamish Morrison to the Contributors list.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 05:53:32 +00:00
Ryan Leavengood
a89161d34b
More changes for #1746 from hamish with a few small changes by me.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 05:44:43 +00:00
Ingo Weinhold
097b4917d3
Use the unnamed namespace instead of an unofficial one.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 00:44:41 +00:00
Ingo Weinhold
7e36984164
Removed Humdinger's resize mode.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 00:29:17 +00:00
Ingo Weinhold
74c7ad20f4
Set B_NOT_RESIZABLE for the deskbar and the desktop window. Fixes #6999 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 00:23:03 +00:00
Clemens Zeidler
1cbfd712a3
Fix #7017 and hopefully #7001 . WindowArea is not valid any more when splitting a group. Fix debug assert.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 00:19:36 +00:00
Stephan Aßmus
b03f6b7126
Fix coding style and improve readability and correctness.
...
(value != 0 != value == 1).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-01 21:31:07 +00:00
Ryan Leavengood
a1712b28a6
Fix #1746 : Apply patch by hamish which sets the virtual memory size to the
...
default minimum instead of zero when the user turns on virtual memory. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-01 21:15:07 +00:00
Oliver Tappe
bd2a7a1a44
Closing #3145 :
...
* apply a patch by hamish (as part of GCI) that lets fseek() discard
characters pushed onto the stream via ungetc()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-01 19:04:32 +00:00
Oliver Tappe
cda7f65b32
* add fseek_test, which exposes a problem described in #3145
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-01 18:56:06 +00:00
Stefano Ceccherini
27573dedcc
Fix build
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-01 16:53:23 +00:00
Stefano Ceccherini
c4b9b7dbe5
(pointers) style.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-01 16:46:58 +00:00
Stefano Ceccherini
903625ee29
Extract the code to copy the bacbuffer to the direct window.
...
When in nondirect mode, SwapBuffers() wasn't respecting the vsync parameter.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-01 16:37:21 +00:00
Joachim Seemer
0c58e90caa
Apparently I have to relearn the alphabet... hi before hu... Sorry.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-01 16:09:11 +00:00
Joachim Seemer
c621662845
Added GCI students/mentor Abhishek Arora, Jayneil Dalal, Atharva Lath for Hindi localization.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-01 15:54:09 +00:00
Stephan Aßmus
d1b6305cd9
Forward important properties and setters of the private BSplitLayout
...
in the BSplitView class, related to getting and setting item weights
programatically.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-01 12:08:49 +00:00
Matt Madia
76e9533e9e
Add a trailing whitespace to the sed filtering of package names. Fixes #7409 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-31 20:02:48 +00:00
Rene Gollent
6997467eea
Fix an instance where an allocation wasn't checked for success.
...
Wrap call to SymbolLookup::Init() in a try/catch block since it could
potentially throw an exception. This was causing the debugger to terminate
in some instances.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-31 17:17:19 +00:00
Scott McCreary
357eb4e314
Added build of vorbis-tools for gcc4, previous one was missing.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-31 02:22:43 +00:00
Joachim Seemer
9639885450
Update to user guide. A few new pages and many translations by Google Code-In students. ShowImage, MediaPlayer and WebPositive are not yet ready for translation. Thanks everyone.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-30 19:10:45 +00:00
Bruno G. Albuquerque
2eb5e77d9b
- Fix reference to GCC4 lib FLAC.
...
Note that the reference to GCC4 Vorbis Tools is also broken but I did not fix
it as there is no GCC4 vorbis Tools package available where all the other
optional packages are.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-30 18:22:20 +00:00
Scott McCreary
209727818f
Updated build of curl, with openssl-1.0.0c in place, should fix #7045
...
Fixed the filename of smpeg gcc4 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-30 04:36:47 +00:00
François Revol
2fd3b8b9c5
Style. Very odd as I despise space-before-( anyway, I should got to sleep.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-30 00:02:11 +00:00
Adrien Destugues
87ff4c051b
Early work on a package manager GUI.
...
There is nothing functional yet, I just wanted to try some ideas from the GCI results.
Code is mostly based on Web+ download window, which hapenned to match the mockups pretty well.
Icon is derived from Zumi's work (mix of two different icons)
Icon handling for apps themselves and categories is not done yet, because it depends on how they will be handled by the backend we chose
The install/remove/info buttons don't do anything yet.
Things I'm not sure about :
* What to put in the menu ? Should it replicate the icons at the bottom ?
* How to browse categories ? Is a "go up" button enough ? Should we have a BPopupMenu with all categories in a tree (I don't like menutrees in BPopupMenus...) ? A BOutlineListView would be wasting space... any other idea ?
* Should we keep textual buttons like this, or graphical ones like in the mockup ? Or maybe both ?
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 22:01:16 +00:00
François Revol
d074928c03
Avoid leaking a file descriptor on error. Thanks PovAddict for running cppcheck.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 20:05:24 +00:00
Ryan Leavengood
4517bee6c0
Use strlcpy not strncopy.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 20:04:58 +00:00
Ryan Leavengood
9c34e0e302
Revert most of r40007. I also will mark CID 2393 as ignored.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 20:01:49 +00:00
François Revol
49ad9afbbe
Need array delete operator here.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 19:56:33 +00:00
Adrien Destugues
267479782d
Various build fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 17:02:32 +00:00
Adrien Destugues
58a25e2114
Missing part of MediaConverter patch. Was a problem with svn getting lost.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 15:57:26 +00:00
Adrien Destugues
a27a534c3b
Fix build. Waiting for a proper solution to translate these strings from GCI student.
...
Sorry for the problems.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 14:54:34 +00:00
Adrien Destugues
10e2c9e012
Patch by Mike Roll:localize DataTranslations. Thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:45:14 +00:00
Adrien Destugues
f2758b750b
Patch by Mike Roll: localize Mail preferences.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-12-29 10:44:39 +00:00