Commit Graph

32755 Commits

Author SHA1 Message Date
Ingo Weinhold
dc28a50219 Hacked up mesa/x86/gen_matypes.c so it no longer generates a header file, but
a file suitable for the CreateAsmStructOffsetsHeader rule. The file is then
used to generate the actual matypes.h header. This fixes issues when
cross-compiling from a 64 bit platform.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34312 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 14:12:32 +00:00
Ingo Weinhold
a492466dad Created new private system header computed_asm_macros.h defining the macro we
use for the asm_offsets.cpp file, so it can be reused elsewhere.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 14:07:05 +00:00
Axel Dörfler
1db31d4dbd * The slab and the block cache now both also react on address space shortages.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34310 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 13:04:30 +00:00
Axel Dörfler
b8a73945cf * The kernel's address space is now also a resource that is known to the low
resource manager.
* Could be drastically improved, though, by taking the fragmentation into
  account.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 13:03:28 +00:00
Axel Dörfler
95235380f1 * Minor clarification.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 12:26:37 +00:00
Colin Günther
da0be4bf3f Remove the wlan specific headers to allow a clearer distinction between
ethernet and wlan drivers when compiling them. Also this removes the burden to
recompile every ethernet driver just because of changes in the wlan part.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 12:13:10 +00:00
Axel Dörfler
ae4d11e97f * Turned off unconditional debug output in the RosterSettingsCharStream class.
* Replaced some DBG(OUT) debug output with the registrar's global one.
* Cleanup, mostly whitespace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 11:52:18 +00:00
Axel Dörfler
b9d85c1270 * Increased reply timeout considerably: with the amount of debug output the
registrar currently spits out, the net_server, and the debug_server sometimes
  didn't receive a reply in time, causing them not to start.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 11:48:27 +00:00
Axel Dörfler
4fb9da18e0 * Minor cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 11:11:38 +00:00
Axel Dörfler
ea151a7f6a * Initialize your members!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 08:24:00 +00:00
Axel Dörfler
1b416268da * Added MIME type for PCX images based on humdinger's patch for ticket #5045.
* Improved sniffer rule is not tested, but might work :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 07:56:41 +00:00
Jonas Sundström
65c97143c7 Translation catalogs by Johan Holmberg, somewhat edited by me. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-27 00:33:57 +00:00
Stephan Aßmus
50897e5fcf When we wait for one team, but then another aborts the shutdown process,
we should make that team accountable, not the one we waited for. This should
not have been a real problem, but this is more correct anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 21:23:28 +00:00
Axel Dörfler
dbba3d21f1 * Fixed wrong preprocessor statement, thanks Jeroen!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 21:00:48 +00:00
Axel Dörfler
c668114b36 * Fixed broken FormatMonetary() versions which also fixes a warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 19:48:15 +00:00
Axel Dörfler
0d70a99f23 * Patch by Matt to replace the leaf disk overlay with a bug for non-release
versions. This closes ticket #5036.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 18:54:30 +00:00
Jérôme Duval
4bdc20f08a avoid redefinitions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 18:44:41 +00:00
Axel Dörfler
f4ab5d73ce * This fixes the remaining warnings in exit.c
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 17:00:09 +00:00
Axel Dörfler
3f67d04bc4 * This fixes the "'noreturn' function returns" warning in exit().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 16:59:46 +00:00
Axel Dörfler
52d6f78a9a * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 16:58:36 +00:00
Axel Dörfler
f31ffa6b8a * Use O_CLOEXEC when open directories, attribute directories, indexes, and
queries.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 16:38:54 +00:00
Axel Dörfler
d82802841c * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 16:33:03 +00:00
Axel Dörfler
486fffdaaf * Forgot to add linkat(), this really closes #4928 now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 16:30:16 +00:00
Axel Dörfler
fb2500da15 * Added missing AT_EACCESS.
* Implemented renameat(), faccessat(), fchownat(), fchmodat(), and mkfifoat().
* Added stub for mknodat().
* The kernel backend for faccessat() does not yet differentiate between
  effective and real user/group IDs, though.
* Removed B_ENABLE_INCOMPLETE_POSIX_AT_SUPPORT, as we now support everything
  (more or less). This also closes ticket #4928.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 16:17:17 +00:00
Axel Dörfler
880de4501c * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 16:04:23 +00:00
Axel Dörfler
64266621a2 * Map O_NOTRAVERSE to rarely used or non portable O_ modes if possible.
* Fixed indentation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 16:02:07 +00:00
Ingo Weinhold
4dafc3b298 Fixed 64 bit warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 15:47:08 +00:00
Ingo Weinhold
1409c878f8 The attr_info structure has a different size on x86_64, so we need to
copy the fields individually. This fixes optional package installation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 15:46:24 +00:00
Ingo Weinhold
bf5b4ce27a Replaced hardcoded printf()/scanf() format modifiers by the B_{PRI,SCN}*
macros. This fixes the broken keymaps when building on a 64 bit host.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 15:42:54 +00:00
Axel Dörfler
7ce581d7eb * Eliminated the extra buffer in dir_vnode_to_path(); we write directly to the
specified buffer now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 14:28:55 +00:00
Axel Dörfler
648aeae3bc * Properly fixed libutil; we should not use O_TRUNC before having exclusive
access to the file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 14:22:35 +00:00
Axel Dörfler
f2505b1583 * Implemented O_DIRECTORY in BFS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 14:19:01 +00:00
Axel Dörfler
00362625b9 * Added support for O_NOFOLLOW.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 14:18:23 +00:00
Axel Dörfler
aec945c959 * Removed the O_* modes that we currently don't and probably won't support
(O_MOUNT, O_EXLOCK, and O_SHLOCK). I only left the non-standard O_TEMPORARY
  for the time being (as it shouldn't fool anyone).
* Fixed libutil that already used O_EXLOCK, even though it did not do anything.
* Moved O_NOCACHE, and O_NOFOLLOW to the section with implemented modes.
* Added O_DIRECTORY.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 14:17:46 +00:00
Scott McCreary
e49733cf63 Updated python build to use newer patch which was updated by Chris Roberts. Added Bzip2 and made it a dependency for python. This now allows python to extraxt .bz2 files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 12:53:30 +00:00
Axel Dörfler
432bb91f34 * dir_vnode_to_path() now uses B_* error codes instead of POSIX ones, and also
returns the correct error code if the buffer was too small (should be ERANGE
  instead of ENOBUF).
* Also, it is now independent of B_PATH_NAME_LENGTH, and therefore should
  fulfill POSIX getcwd() requirements. This should also close ticket #3352.
* Is there any reason to allocate another buffer instead of using memmove()
  at the end instead of memcpy()?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 12:46:51 +00:00
Ingo Weinhold
d52f7d5214 Added potential HAIKU_OFFICIAL_RELEASE macro definition to be defined in the
release branch. This completes the build system part of #5036.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 11:34:55 +00:00
Axel Dörfler
0913b742ca * Moved the double click check after the expander bounds check, fixing
bug #5037.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 11:29:26 +00:00
Axel Dörfler
1467a878b1 * bonefish: Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 11:11:17 +00:00
Ingo Weinhold
318cb33fbf Undefine B_HAIKU_{32,64}_BIT macros before defining them. Fixes warning when
building on Haiku, since those will be defined already -- by way of the host
platform's <BeBuild.h>, which currently is included by the POSIX headers..


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 10:20:42 +00:00
Ingo Weinhold
a1fb0cb3ed Renamed headers/build/config to headers/build/config_build, so it doesn't
shadow the host platform's <config/...> headers anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34271 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 10:18:13 +00:00
Ingo Weinhold
0bab2e8af4 Don't include HaikuBuildCompatibility.h in the [b]fs_shell build. It's not
needed -- the code has its own complete platform abstraction layer -- and
only causes problems.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-26 10:14:21 +00:00
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