Commit Graph

32419 Commits

Author SHA1 Message Date
Ingo Weinhold
6c00aabc9e Implemented POSIX.1-2008 functions unlinkat(), symlinkat(), mkdirat(),
utimensat(), and futimens().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-12 19:14:42 +00:00
Jonas Sundström
3f98707eb3 Translation to Swedish.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-12 14:36:42 +00:00
Jonas Sundström
dab230b2e6 Reverting addition of ellipsis for New Mail Message menu item. It wasn't in line with the intent of the interface guidelines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-12 13:16:51 +00:00
Axel Dörfler
b6670723e1 * Only remove the inode from the Volume::RemovedNodes() list when it has gone
through the VFS.
* This fixes bug #4942.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-12 12:52:51 +00:00
Rene Gollent
70d385fb2f VL-Gothic's copyright was missing the NULL terminator on the argument list. This caused a crash on gcc2. Fixes ticket #4939.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-12 04:28:27 +00:00
Jérôme Duval
79cc4374cf clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 20:06:28 +00:00
Axel Dörfler
e629da4a47 * Changed parameter back to socklen_t (which follows POSIX, but not RFC 2553;
obviously POSIX got it wrong, as socklen_t hardly makes sense here).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 17:03:34 +00:00
Axel Dörfler
119371a51e * Rewrote arpa/inet.h header, also dropping the __inet* defines.
* Resurrected the __inet* prefix for binary compatibility with older Haiku
  versions - this could be a temporary solution in case we want to export the
  inet_* functions not just as weak symbols. In that case, the __inet* versions
  would be dropped.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 14:28:18 +00:00
Axel Dörfler
338cf53758 * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 14:26:11 +00:00
Stefano Ceccherini
9fd52b6e73 Removed crept-in tab (thanks Ingo!)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 11:16:22 +00:00
Stefano Ceccherini
5c5976298b The family flags did not report if a font was "full and half fixed". But
this flag isn't even set, yet, anyway, so nothing changed for real.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 11:02:47 +00:00
Stefano Ceccherini
b69c3af236 Make use of Freetype macros where applicable (no functional change)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 10:33:58 +00:00
Axel Dörfler
9ae0991a0c * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 09:38:01 +00:00
Axel Dörfler
8e4966ebca * Applied patch by Adrian to fix the command structures used for the media
server with GCC4 in a GCC2 system (and vice versa). See #4920 which this
  patch closes, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 09:16:32 +00:00
Axel Dörfler
5042148821 * Renamed settings.{cpp|h} to Settings.*.
* Got rid of some superfluous Get*() in method names.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 09:06:59 +00:00
Axel Dörfler
136e443291 * Some cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 09:03:28 +00:00
Stefano Ceccherini
b258fd9105 Replaced license/copyrights for Konatu with the ones for VL-Gothic fonts.
This and r33992 fix ticket #4933.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 08:53:15 +00:00
Axel Dörfler
1e8709cb52 * EthernetSettingsView now stores resolv.conf to the correct location.
* Settings::ReadConfiguration() now uses functions of resolv.h to retrieve the
  list of name servers instead of parsing resolv.conf itself.
* Thanks for the note, Siarzhuk - this closes ticket #2603.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 08:45:36 +00:00
Stefano Ceccherini
f03b7f8915 Replace Konatu and Konatu Tohaba with VL-PGothic and VL-Gothic respectively,
like requested in ticket #4933.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 07:05:08 +00:00
Jonas Sundström
fcbd30cadb Adding missing ellipsis in menu item, as suggested by Luroh in #4935. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-11 00:21:33 +00:00
Ingo Weinhold
db2b554fa3 Moved the POSIX *at() functions and AT_* macros out of the default namespace
as long as the full set hasn't been implemented. They are guarded by the
B_ENABLE_INCOMPLETE_POSIX_AT_SUPPORT macro until then. Fixes the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 17:12:03 +00:00
Axel Dörfler
b299a6e9d3 * Moved resolv.conf to /boot/common/settings/network/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 16:42:03 +00:00
Axel Dörfler
d0f7736d3a * Moved spell check files to /system/data/spell_check.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 16:29:47 +00:00
Ingo Weinhold
a6147679a3 Added AT_SYMLINK_[NO]FOLLOW constants and fstatat(). Fixes the findutils
gnulib build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 14:51:25 +00:00
Axel Dörfler
492dd892ce * Removed /system/etc directory.
* /etc now points to /boot/common/etc/, and the remaining contents of the former
  "etc" are put there now, as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 14:26:42 +00:00
Axel Dörfler
3734adc5b3 * Build fix of the timezone/keymap move. Sorry!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 14:21:27 +00:00
Axel Dörfler
3578c56a15 * Moved timezone and keymap source files to the correct place in the repository.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 13:48:56 +00:00
Axel Dörfler
f9a80fec95 * LocaleRoster.h was not self-containing.
* Moved the locale stuff to the data directory as well (some parts were in /etc).
* The DefaultCatalog will now also scan the user directory for catalogs.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 13:44:22 +00:00
Axel Dörfler
c6106a595d * Fixed bug in "fortune" that would let it crash if you'd point it to an empty
directory.
* Moved fortune files to "data/system/data" in the repository, and /system/data/
  in the file system.
* Got teapot.data location wrong in the repository.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 13:09:32 +00:00
Axel Dörfler
0491552bc3 * Moved the "fonts" directory into the "data" directory.
* Moved fonts to where they belong.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 12:30:06 +00:00
Ingo Weinhold
9c71b326c9 Fixed build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 12:20:26 +00:00
Axel Dörfler
9c258e291d * Added group pointers to the "bfs_allocator" command.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 11:36:50 +00:00
Ingo Weinhold
b189a2014e Added readlinkat().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 11:24:46 +00:00
Ingo Weinhold
fdec1a3f87 Should have been part of r33976: fcntl.c and open.c have been joined to
fcntl.cpp.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 11:16:44 +00:00
Ingo Weinhold
098906f1d4 * src/system/libroot/posix: Moved open.c and fcntl.c out of the unistd
directory, where they were misplaced, and joined them to fcntl.cpp.
* Added openat().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 11:15:35 +00:00
Axel Dörfler
126fd25b7a * Moved teapod.data from /etc to B_SYSTEM_DATA_DIRECTORY.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 11:08:14 +00:00
Ingo Weinhold
9e81ddee87 * Fixed fdopendir(): We have to explicitly (re-)open the directory, because FDs
returned by open() aren't suitable for directory iteration and because checks
  have to be performed (like whether this is a directory at all and whether the
  user has read permission).
* Added __create_dir_struct() for the attribute, index, and query open
  functions to use instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 10:55:43 +00:00
Ingo Weinhold
c3dbe62619 _user_open_dir(): Allow a NULL path to be passed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 10:51:08 +00:00
Axel Dörfler
d6ac23c010 * Moved the location of the "hosts" file to
B_COMMON_SETTINGS_DIRECTORY/network/hosts.
* Moved the location of the "services" file to
  B_COMMON_DATA_DIRECTORY/network/services.
* Removed headers I forgot to remove.
* Made getnameinfo() use socklen_t internally as well.
* Removed _PATH_* constants from netdb.h that we don't deliver anymore.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 10:13:19 +00:00
Jonas Sundström
306bee96be Call be_locale->GetAppCatalog() after creation of the application and before creation of the window. Should not crash anymore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-10 01:19:00 +00:00
Jonas Sundström
c93e2c436d Localization. I believe it to be correct but for some reason Backgrounds crashes on startup. Enjoy\!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 23:11:10 +00:00
Axel Dörfler
48cfade40f * Fixed warnings.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 22:19:56 +00:00
Axel Dörfler
4bd3cce627 * Ported libbind-6.0 to Haiku, and into our libnetwork.so.
* Got rid of the TLS/multi-thread hacks of the previous port.
* Took over irs/lcl_sv.cpp, and irs/lcl_ho.c, and irs/lcl_pr.c from the previous
  version as they contain customizations.
* Removed unused files from libbind.
* Only barely tested, so beware.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 22:18:34 +00:00
Axel Dörfler
ecf6b86c92 * The pthread_thread structure is now allocated for all threads.
* Therefore, all pthread functions should now work fine on all threads.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 21:33:35 +00:00
Rudolf Cornelissen
f982813b1e hopefully fixed NV44 (geforce 6100, 6150 and 6200) displaying trouble on analog VGA connected screens on one output by using a workaround for a new unknown register bit. Verified OK on a geforce 6200LE. Bumped version to 1.07.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 21:26:24 +00:00
Axel Dörfler
7249de5e61 * Changed the affine scheduler to have more or less the same characteristics
as the BeOS scheduler. This makes MediaPlayer playback much better, as high
  priority threads could lose their quantum to a worker thread twice in a row
  with 4% probability before.
* I did not yet change the simple scheduler as well yet; maybe this isn't the
  final one either.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 19:00:42 +00:00
Axel Dörfler
7843ca4c64 * GCC4 build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 17:41:10 +00:00
Rene Gollent
6f061b8a3d Fix build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 16:47:29 +00:00
Scott McCreary
dd346d1228 Updated openssl to 0.9.8l.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 16:45:00 +00:00
Axel Dörfler
a0439d88df * Adjusted thread priorities of several system services based on a mail from
Mikhail Panasyuk: since worker threads often end up with B_NORMAL_PRIORITY,
  it might be a good idea to give system threads a higher priority.
* Minor cleanup (mostly automatic whitespace).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 15:25:48 +00:00