Commit Graph

32713 Commits

Author SHA1 Message Date
Axel Dörfler
5155f7ac75 * Enlarged the cascading offset a bit, so that you can still read the title.
* Cascading should really be solved in a shared source, so that all apps behave
  in the same way (I don't consider Mail's cascading to be how it should be
  either, btw).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 10:06:10 +00:00
Axel Dörfler
19df6e10bd * Made the cascading work a bit nicer and more consistent.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 09:50:10 +00:00
Ingo Weinhold
6236ae8570 Also include HaikuBuildCompatibility.h on a Haiku host platform and
conditionally define some of the new stuff there. That fixes the build under
a r34172 Haiku, though it also causes some problems that needed working around.
Haven't tested under newer Haiku revisions yet. Will do tomorrow.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 23:48:45 +00:00
Ingo Weinhold
6cb744fecb Fixed debug build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 23:44:43 +00:00
Ingo Weinhold
fff4c66437 Also define a B_HAIKU_32_BIT.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 23:44:23 +00:00
Stephan Aßmus
13b863f8b2 Added icon from #1828 and improved it (better silhouette, arrow color and
shadow). Thanks a bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 22:02:58 +00:00
Stephan Aßmus
9ddbcfd383 Small test app for testing the shutdown process. I didn't search long if
something like this already exists...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 21:58:20 +00:00
Ingo Weinhold
41975f20f0 Fixed gcc 4 32 and 64 bit warnings in the libbe_build code. This time ported
them back to the Haiku versions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 21:52:43 +00:00
Stephan Aßmus
e48f3e5b7e Reverted part of r34253 and fixed the ticket for real plus another bug:
* When the user presses Cancel or Kill in the Shutdown progress window, in no
  event will the "Application X aborted the shutdown process" be displayed.
* When the shutdown process already entered the waiting for a possibly blocked
  app, and the app aborts the shutdown then, the "Application X aborted..."
  alert will be displayed (issue not mentioned in ticket).
Fixes #3863 for real.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 21:51:29 +00:00
Ingo Weinhold
eb3cef886e Accidentally removed with the previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 21:35:43 +00:00
Ingo Weinhold
7870a9ffc7 Updated the messaging related build platform code with the current Haiku
version.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 21:34:59 +00:00
Ingo Weinhold
e6604f4804 Don't use ssize_t in structs describing persistent structures.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 21:26:12 +00:00
Ingo Weinhold
3818aa7dac On 64 bit machines the bfs_inode::pad field is too small for a
DoublyLinkedListLink. That actually seems to get the bfs_shell working
properly.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 21:24:45 +00:00
Ingo Weinhold
d1456cc2de Added new [FSSH]_B_HAIKU_{32,64}_BIT macros.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 21:21:58 +00:00
Ingo Weinhold
2f59a69a9a Fixed gcc2 build and warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 21:17:19 +00:00
Ingo Weinhold
7c90c5fc9f Fixed gcc2 build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34254 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 21:13:57 +00:00
Stephan Aßmus
a612f3c2ae Applied patch by idefix:
Canceling the shutdown process will not blame the application that happened
to be asked to quit at the time.
Thanks a lot! (Fixes #3863)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34253 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 20:36:24 +00:00
Ingo Weinhold
abb72bec4b Fixed __HAIKU_ARCH for m68k.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 19:38:09 +00:00
Ingo Weinhold
4d8a54be0d Updated the resources support with the unmodified Haiku version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34251 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 17:19:14 +00:00
Ingo Weinhold
d3ed58a7c9 Added ELF64 support to BResources.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 17:14:29 +00:00
Axel Dörfler
47f5a0f86b * Build fix under Haiku (the two max() arguments had different types).
* Improved error reporting in WriteToFile().
* UpdateAttributes() was called twice in WriteToFile().
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 17:12:06 +00:00
Axel Dörfler
2f1e464a8c * We need to define __STDC_FORMAT_MACROS, and __STDC_LIMIT_MACROS under BeOS
compatible platforms as well, Ingo. This fixes building Haiku under Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34248 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 16:33:10 +00:00
Axel Dörfler
1ba04177d3 * load_image() now has exec() semantics wrt file descriptors; before each team
would always inherit them all, causing quite a number of open files.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34247 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 16:16:22 +00:00
Axel Dörfler
3a6fc6d0aa * Improved debug output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34246 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 16:14:52 +00:00
Rene Gollent
c48f055b45 Fix ChunkCache build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34245 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 15:56:09 +00:00
Ingo Weinhold
ff4d0f1c92 * Style cleanup.
* Removed AutoDeleter class and use the shared one instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 15:00:40 +00:00
Axel Dörfler
4d89dfc712 * Completely rewrote the ChunkCache - the previous version had some issues with
regards to locking and seeking.
* Furthermore, we now not only cache 4 chunks, but chunk up to a certain
  memory size (MediaExtractor uses 1 MB for now).
* Since I still have occasional hickups, it looks like this wasn't the main
  cause for our audio problems. Still, this will reduce drive access
  considerably during play.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 14:24:52 +00:00
Stefano Ceccherini
f03034d7c9 Fixed ticket #5032. The PrefWindow reverts the settings if, on exit,
the user chooses not to save.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 12:40:27 +00:00
Ingo Weinhold
cf844822db * Added B_PRIdTIME and B_PRIiTIME macros (for time_t).
* Added FSSH_[S]SIZE_MAX to headers/private/fs_shell/fssh_types.h.
* Fixed various 64 bit compiler warnings. Nothing too serious, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 12:02:20 +00:00
Ingo Weinhold
a79e0ef1ad Also add __STDC_LIMIT_MACROS to the host defines. It gives us macros like
INT32_MAX.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 11:58:09 +00:00
Axel Dörfler
608d959d73 * ChunkCache::fLocker is now aggregated.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34239 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 11:51:24 +00:00
Axel Dörfler
40fddd06d6 * Introduced a flag to decide whether it's still okay to call a certain
syscall.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 11:50:45 +00:00
Axel Dörfler
23f179da55 * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 11:48:39 +00:00
Axel Dörfler
b3be7a4135 * Replaced benaphore use with a mutex.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 11:07:49 +00:00
Ingo Weinhold
b20286c41c For the time being go with BeOS compatible types for all but 64 bit
architectures. Fixes the PPC build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 09:44:38 +00:00
Ingo Weinhold
d91159f6b2 Build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 09:43:33 +00:00
Axel Dörfler
24ce75c3d8 * Added a use counter for the syscalls, so that they are no longer removed
while a hook is called.
* This closes ticket #5027.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 09:37:31 +00:00
Philippe Houdoin
1cf43f239c Applied patch by mmadia to truncate FPS to an integer.
Fixed #4870.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 06:03:44 +00:00
Philippe Houdoin
259b620cc6 Renamed vector icon message data name to to simply "icon".
It's typed as B_VECTOR_ICON_TYPE, which is only known under Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 05:46:14 +00:00
Philippe Houdoin
e899cf2aa0 Added missing vector icon support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 05:27:56 +00:00
Philippe Houdoin
e1d5f30e87 Import Be sample-code licensed MIDI PatchBay.
Single change from original: "using namespace std" was missing in PatchView.h.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 03:52:11 +00:00
Rene Gollent
bf0f20ea81 Fix build error on 32-bit host platform (no function max(int, long int)). I unfortunately can't verify if this works or fails on a 64-bit host though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-25 00:42:58 +00:00
Ingo Weinhold
a8a03488b1 * Don't even try to use the BeOS compatible types on the build platform.
That's just leading to problems.
* Fixed various 64 bit warnings when building libbe_build.so. One of the more
  serious issues, that might bite us, is that 64 bit Linux defines dev_t to
  unsigned long, while Haiku code assumes that it is signed and 32 bit. We'll
  see...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-24 23:36:10 +00:00
Ingo Weinhold
045852f952 Forgot the search and replace step after the copy and paste.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-24 23:01:22 +00:00
Ingo Weinhold
b23206b6e4 * Fixed operator<<() versions clashing with 64 bit compilers.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-24 22:55:52 +00:00
Ingo Weinhold
a1f8d8a11c Updated the build versions of <BeBuild.h> and <SupportDefs.h>. Copied
modified versions of the new config headers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-24 22:50:55 +00:00
Ingo Weinhold
d1b0d5a4af Removed unused files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-24 22:29:48 +00:00
Stephan Aßmus
9fd6a5448d German translations for Backgrounds and Zip-O-Matic.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-24 21:46:01 +00:00
Stephan Aßmus
239ee9562d Fixed language name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-24 21:45:24 +00:00
Ingo Weinhold
8074eba663 Removed empty dir.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-24 20:35:05 +00:00