Commit Graph

32293 Commits

Author SHA1 Message Date
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
Axel Dörfler
66570f5d3b * Replaced "Mark As New" with a "Mark As…" Tracker add-on that let you choose
among all defined status.
* Note, until bug #4851 is solved, the list Mail shows might differ from the
  one "Mark As…" shows.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 13:17:47 +00:00
Axel Dörfler
0a9f301a59 * Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 11:40:02 +00:00
Axel Dörfler
a256ee64d9 * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 11:38:47 +00:00
Axel Dörfler
c73ea8216d * Removed superfluous wcstoul() version pointed out by Scott.
* Removed superfluous "int" before wcstol().
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-09 08:43:32 +00:00
Jérôme Duval
35e2c7ab62 updated libpng to 1.2.40
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-08 23:30:28 +00:00
Axel Dörfler
6242fd5977 * Added the possibility to debug latency issues with spinlocks.
* When DEBUG_SPINLOCK_LATENCIES is 1, the system will panic if any spinlock is
  held longer than DEBUG_LATENCY micro seconds (currently 200). If your system
  doesn't boot anymore, a new safemode setting can disable the panic.
* Besides some problems during boot when the MTRRs are set up, 200 usecs work
  fine here if all debug output is turned off (the output stuff is definitely
  problematic, though I don't have a good idea on how to improve upon it a lot).
* Renamed the formerly BeOS compatible safemode settings to look better; there
  is no need to be compatible there.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-08 20:26:48 +00:00
Axel Dörfler
bec53b590f * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-08 20:20:27 +00:00
Axel Dörfler
01ce3f26d2 * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-08 17:31:39 +00:00
Stefano Ceccherini
9a72152e73 When colors are changed, also invalidate the container view.
Fixes bug #2855


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-08 15:48:05 +00:00
Axel Dörfler
2b1296e8c4 * Expander now searches its rules file in the data directory, no longer in /etc.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-08 13:57:04 +00:00
Stefano Ceccherini
b6c92a3779 If no item is selected, select the first item.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-08 12:33:50 +00:00
Stefano Ceccherini
fba4e002b1 Also set a default style in the preferences. Mark the menuitem with the
default family/style.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-08 12:30:01 +00:00
Stefano Ceccherini
e3b9a828db When building the font menu, also include font styles.
Now it's possible to select bold or oblique font styles.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-08 12:22:57 +00:00
Stefano Ceccherini
57bd46cca2 Fix for bug #4489. Terminal wasn't using the saved font style, only the
font family. Moreover, it defaulted to be_plain_font, instead of be_fixed_font.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-08 11:47:04 +00:00
François Revol
a0f0ed1b94 Add missing argument to usage string.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-08 08:06:03 +00:00
Rene Gollent
763bb42897 Fix build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-08 00:41:47 +00:00
Jonas Sundström
529ff59fed Activate already showing, possibly unfocused window if Backgrounds gets launched while already running. Small clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-08 00:25:48 +00:00
Ingo Weinhold
9669d0859b GCC 2 .eh_frame: The CIE offset in an FDE isn't always relative to the
beginning of the section, but probably relative to the beginning of the data
for the respective compilation unit (which might even make it useful again,
since it could be used as negative offset to the CIE). Relaxed the check even
more, so we always override the CIE offset when parsing .eh_frame sections.
This makes the variables appear in another test app Axel kindly provided.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-07 20:55:21 +00:00
Michael Lotz
8665c30ace That was not such a good destruction order in the error case. As the scheduler
accesses the scheduler data inside the thread structure, freeing it first lead
to a crash when a thread couldn't be created.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-07 16:33:29 +00:00
Axel Dörfler
c42474cb03 * Set B_AVOID_FRONT on status windows, this should fix bug #4914.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-07 11:53:34 +00:00
Axel Dörfler
1a29279301 * Disabled overlay for the G4x series. This works around bug #4898.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-07 11:29:54 +00:00
Axel Dörfler
bde1f75946 * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-07 10:58:18 +00:00
Axel Dörfler
93e60b1a4f * Hide() was called too early, and wasn't reverted in case the mail couldn't
be encoded, either. This fixes bug #4613.
* Ideally, the mail would automatically be changed to an encoding that can
  express all characters silently. Added a TODO comment for this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-07 10:53:19 +00:00
Axel Dörfler
ea0ba618c5 * "bitmap" can actually be NULL at that point, so calling ReleaseReference()
on it unconditionally is not a good idea. This fixes bug #4904.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-07 10:44:11 +00:00
Axel Dörfler
ebcdd1fc61 * r33436 broke user_strlcpy() semantics: with a size of 0, "to" can be ignored,
and it's still a valid call.
* This fixes ktrace_printf() from userland.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-07 10:42:39 +00:00
Axel Dörfler
fec0112f9a * Dunno what triggered this now, but we do have <stdint.h>, and declaring
otherwise let the build fail.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-11-07 10:00:34 +00:00