Commit Graph

38029 Commits

Author SHA1 Message Date
Ryan Leavengood
aa252ae103 Add NetworkTime as an application, based on Axel's original. This is mostly
based on Hamish Morrison's work on a GCI task. The changes I made from his
patch were to move this from preferences to apps (I think it is more of an app
than a preflet) and to change the name back to NetworkTime (he had made it
NTP, but most people probably won't know what that stands for.)

This also fixes #2412.

I noticed some changes this could use but wanted to add it before making any
changes so there is an SVN history of those changes. I'll probably also make an
icon in the next few days.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-03 05:47:33 +00:00
Ryan Leavengood
9530027447 Apply patch from augiedoggie for #6258 which adds Athlon Phenom II's to the CPU
identification list.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-03 04:10:56 +00:00
Ryan Leavengood
494c97f7f9 Apply patch from Karvjorm for #6126 to add console messages from FontDemo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-03 03:51:25 +00:00
Ryan Leavengood
e62cadc374 Apply the patch from #6069 which makes the Vulcan Death Grip Ctrl+Shift+Cmd.
I assume if this wasn't wanted the ticket would have been closed, and I think
this is fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-03 03:30:00 +00:00
Ingo Weinhold
a0d93d1416 * VMCache::Unlock(): Renamed local variable consumerLocked to avoid shadowing
the parameter (CID 5329).
* _MergeWithOnlyConsumer(): Removed the somewhat weird consumerLocked
  parameter. The caller can unlock itself, if desired. Improves Unlock()
  readability.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-03 00:44:40 +00:00
Ingo Weinhold
b734adba63 find_thread(): thread::name is an array, so the NULL check is useless
(CID 4073).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-03 00:09:27 +00:00
Ingo Weinhold
66e8557230 common_rename(): Fixed incorrect check (array address instead of first
element, CID 4077).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 23:46:17 +00:00
Ingo Weinhold
e85a4793d2 strcpy() -> strlcpy() (CID 7986).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2011-01-02 23:32:47 +00:00
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