Commit Graph

32318 Commits

Author SHA1 Message Date
Axel Dörfler
86860a0c07 * debug_printf() from userland actually only worked if serial debug output was
turned on. That should explain Bruno's problems to get debug output from an
  accelerant. Thanks to Michael for the hint!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 08:32:38 +00:00
Scott McCreary
f1b1e2fc9a updated freetype to 2.3.11
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 07:03:46 +00:00
Scott McCreary
3221645ea1 fixed pathname in freetype-config
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 06:03:55 +00:00
Scott McCreary
1f57d0422c updated libxml2 2.7.6
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 05:48:20 +00:00
Axel Dörfler
39e3058e5b * Reverted r33643 - while it doubled the performance for my test case (with
high contention of the read lock (I experimented with the VM page mapping
  lock)), it actually hurt the compile performance pretty obviously.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 00:16:54 +00:00
Stephan Aßmus
7d05cf36fc Revert my additions to the patch from #4733, Core 2, Core 2 Duo and Core 2
Quad are all reported as "Core 2", because the CPU count is already reported
separately.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 00:07:59 +00:00
Jérôme Duval
095a7d8415 using chroot with a mount point wrongly exposed the mount point name: we now avoid resolving the volume root in case we hit the IO context root.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 22:58:29 +00:00
François Revol
58bcc3862a Fix the build (missing headers).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 20:16:38 +00:00
Axel Dörfler
22ea088498 * The rw_lock is now using a mutex to protect its reader/writer counts. This
makes the reader case a lot less expensive, and should relieve the thread
  spinlock contention a bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 19:52:09 +00:00
Axel Dörfler
b2a7fcb404 * Added an arch_debug_stack_trace() function that is called from the KDL loop
in case there aren't any KDL commands available yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 19:50:13 +00:00
Stephan Aßmus
16e2755608 I didn't realize the generated headers are re-used elsewhere and located like
that. But I didn't think of any better solution either... Hopefully these are
all, but I will find out once I built a complete image.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 19:20:10 +00:00
Stephan Aßmus
55b42c2b4d Patch by Pieter Panman:
* Rewrote Devices application. -> Thanks a bunch!! Nice work!
* Put Devices onto the image.

Changes by myself:
* Merge some code from the old "preflet" which the new app still relied on.
* Fixed some coding style issues. I didn't review all of the code yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 17:59:07 +00:00
Stephan Aßmus
cb42b864b9 Moved Devices from preferences into apps. (Trying to maintain history
on some files when applying the new Devices patch...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 15:40:39 +00:00
Michael Lotz
b501a0387d anevilyak+korli+mmlr:
* Check for overflows in memory allocation. If someone happened to (erroneously)
  try to allocate a negative amount of memory we could overflow and crash
  because of the sizes getting messed up.
* Review and update the alignment logic which was a bit broken for the huge
  allocation case (reaching the area threshold). Also assert the results so
  next time this will be easier to spot.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 12:35:49 +00:00
Adrien Destugues
599586baa6 Synced all the catalogs for locale with the current state of the preflet. Removal of the aboutbox text, and added 12-Hour and 24-Hour to swedish.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 12:33:59 +00:00
Adrien Destugues
afa09c2103 Added hungarian catalog made by miqlas for fonts and locale. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 12:21:23 +00:00
Clemens Zeidler
c0e2df641b Disable tap click when sensibility is 0. otherwise very hard taps could still cause a click. This should fix #4669.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 10:40:19 +00:00
Scott McCreary
978c92db2f Updated apr to 1.3.9
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 10:28:45 +00:00
Axel Dörfler
795bd7a697 * The save_lvds_mode() function did not correctly support the i965 chipset -
I've now removed that code, and factored out a retrieve_current_mode()
  function that can work on head A and B.
* This fixes Adrien's flickering problem on his laptop - I can't find the
  bug ticket, though. Hopefully it does not break other laptop chips. Testing
  would be welcome, as I don't have any other machine here.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 10:03:01 +00:00
Clemens Zeidler
4740a17020 Some small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-18 09:31:57 +00:00
Stephan Aßmus
b24366c6d8 Implemented focusing the Name property on pressing Command-E. (Ticket #2742)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 23:27:02 +00:00
Stephan Aßmus
df01744a4f Fixed missing return...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 23:25:32 +00:00
Stephan Aßmus
2a5ee87029 Implemented enhencement ticket #4799.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 22:46:27 +00:00
Rudolf Cornelissen
0ccd8732ac preventing DDC/EDID use if monitor reports native mode below VGA mode. This prevents the driver exporting a modelist with zero modes, resulting in black screen. Seen this at BG on Mark's old Neovo screen. Seems a DDC firmware bug inside the screen.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 21:31:55 +00:00
Adrien Destugues
67bcc8cb69 Removed accidental debug. Thanks Stephan !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 21:20:04 +00:00
Marcus Overhagen
2ca5f51b08 Fix for ticket #4543. This fixes the ATA
timeout waiting for interrupt / device busy / status 0x58


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 20:19:02 +00:00
Adrien Destugues
6886b5bf6a Language names are now written in their own language, making it easier to find your own even if you mistakenly set your preference to something very strange.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33625 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 19:28:00 +00:00
Adrien Destugues
e983ba85e9 Move the Locale Kit catalogs in a common place in data/catalogs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33624 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 19:04:55 +00:00
Michael Lotz
8da446a982 The fModel member wasn't initialized.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33623 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 17:25:47 +00:00
Michael Lotz
b7204bd774 Make the swap hash lock into a rw_lock to reduce lock contention a bit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33622 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 17:24:59 +00:00
Axel Dörfler
20a11271d0 * Added a (to be virtual) DefaultItemSpacing() method to control look. This is
what you should use in for example BGroupLayout as spacing/inset.
* Changed the label spacing to be dependent on the font size, too (and enlarged
  it a bit as well).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 17:01:22 +00:00
Axel Dörfler
1c9ae94636 * The panel display_mode::flags field was not correctly set, preventing direct
windows from working, for example.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33620 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 16:55:18 +00:00
François Revol
6c21b53416 This should fix m68k build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 16:01:10 +00:00
François Revol
c9f536d7b1 Fix ARM build, thx Axel :P
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 15:26:58 +00:00
Axel Dörfler
e0d8627a73 * When you pressed ctrl-alt-del during the boot process, interrupts are disabled
when you enter arch_cpu_shutdown(), so you must not try to load the ACPI
  module to reboot. DaaT, that should fix the problem you showed me.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 14:59:26 +00:00
Axel Dörfler
25295d1ede * Removed mail & inbox icons. Unless someone really objects; I would consider
them pretty much useless.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 14:39:35 +00:00
Axel Dörfler
07dbd4d523 * Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 13:08:58 +00:00
François Revol
8be612127e When debugging interrupt handlers is enabled, keep count of handled irq for each handler, to ease tracking which driver is unfriendly to others for shared irqs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 12:05:02 +00:00
François Revol
766c94da2a A simple driver to get to KDL from Terminal, since the hotkey is quite uneasy to generate from VNC...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 12:02:31 +00:00
Bruno G. Albuquerque
c93b59197b - Fix hdb build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 11:58:42 +00:00
Michael Lotz
cf723bc673 Make the nightlies a bit bigger. They were completely filled and probably missed
some files from optional packages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 11:41:25 +00:00
David McPaul
ff67bc43da Cleanup and preparation for h264/aac in mov
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-17 04:57:01 +00:00
Axel Dörfler
676ef01ba7 * Applied patch by Hong Yul Yang to update linprog.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-16 12:13:07 +00:00
Axel Dörfler
98b4079944 * When using localtime_r(), you might have to call tzset() yourself (the exact
behaviour is not specified in POSIX). This fixes Mail sometimes not having
  the correct timezone.
* Since it's not specified, we might want to do that always on libroot init?
  We could introduce a syscall that keeps the already parsed data, if there
  isn't already to make this cheap.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-16 09:16:17 +00:00
Axel Dörfler
ec2719329c * Fixed timezones directory path.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-16 08:26:56 +00:00
Axel Dörfler
7840f0faf5 * Always add a timezone field to the date message, before that was only done
if there was an actual shift.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-16 06:33:41 +00:00
Jonas Sundström
18ba9ea5c9 Make use of BWindow::CenterIn() for placing the error alert. Partial clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-15 22:09:37 +00:00
Stefano Ceccherini
51f2ac8647 Fix build with gcc4
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-15 21:01:57 +00:00
Siarzhuk Zharski
4d81a7b601 -add broadcast flag to Rx Control register during start of device.
This solves the "1200-seconds paradox" sorced by ignoring the 
 "arp who-has" requests send as broadcasts.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-15 19:11:38 +00:00
Axel Dörfler
3e236885ab * Replaced C with C++ files, should fix BOM's build problem, but will likely
introduce new ones I currently cannot check.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-15 15:10:01 +00:00