Commit Graph

31728 Commits

Author SHA1 Message Date
Stefano Ceccherini
1d5026909d Basically reverted previous commit, since at that point we haven't yet
checked the existence of the apics.
Moved the code to disable the local apic from arch_timer.c to arch_int.cpp, so
we also avoid installing the interrupt handler for it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-15 20:22:04 +00:00
Stefano Ceccherini
44f6eb85bd removed the 'smp' part from apic_smp_init_timer(), since it's used also without smp (I guess this was a leftover)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-15 20:00:57 +00:00
Stefano Ceccherini
24ca62447c Only show the "Disable APIC" option if an APIC is found.
Same for the IOAPIC, but commented out the code, since we're not using the
IOAPIC yet.
Also renamed the option to "Disable LOCAL APIC", since it's more correct.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-15 17:43:30 +00:00
Michael Lotz
9142bf3404 * Just use memset instead of a custom loop to clear the code area.
* Also rename it from pad1 to code_area as that's what it is.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33146 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-15 16:45:26 +00:00
Jérôme Duval
80377d9af5 merging acpica-20090903 into trunk
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 22:18:58 +00:00
Philippe Houdoin
1c7f3645ac Fixed typo, spotted by korli.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 19:57:14 +00:00
Jérôme Duval
9b06eddbe8 missing newline
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 17:40:07 +00:00
Jérôme Duval
40d6120c3b Patch from Vincent Duvert (edited by myself): Implement reboot via ACPI (#4459)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 17:37:53 +00:00
Stefano Ceccherini
da11bb8dcb Use TRACE() instead of dprintf()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 11:54:48 +00:00
Stefano Ceccherini
4f5ca99156 Added dprintf() to be able to see which driver hangs on load
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 11:47:16 +00:00
Stefano Ceccherini
f0bf38026a Add safemode option to disable the use of APIC timers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 09:02:15 +00:00
Rudolf Cornelissen
4e6ce30b8f added modeline for 1920x1080p, fullHD TV mode, based on GSM W2353 screen's native line (bug #4479).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 08:42:47 +00:00
Michael Lotz
57301f6e20 We do not yet support frame sizes this large. This makes the ipw2100 driver
usable under Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 08:07:00 +00:00
Michael Lotz
1dd6c50cb3 When submitting transfers there is a race condition between adding the pending
transfer to the transfer list and scheduling the transfer descriptors on the
controller by switching the endpoint tail. Since we only check that the endpoint
head is equal to the endpoint tail to conclude that there are no active
transfers, we need to ensure that we don't accidently do that check before the
transfer descriptors are scheduled. Otherwise we could happen to processed a not
yet started transfer and finishing it before an actual transfer has taken place.
This would then lead to 0 byte transfers and toggle mismatches. To fix this we
now protect the transfer addition and tail switching as well as the check in the
finisher with a per-endpoint mutex. Note that we allocate the lock on the heap
and only store the pointer in the endpoint structure as this one is allocated
from the precious physical memory pool. Could fix #4067.
Also switched the Jamfile to UsePrivateKernelHeaders (for the MutexLocker) and
removed BeOS compatibility.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 06:26:54 +00:00
Philippe Houdoin
96270089ee Fix MIDI System Exclusive parsing:
* F0 start bytes is not part of the content sprayed anymore
 * Realtime byte are now supported during a SysEx, as it's the only 
   event that could be interleaved between a SySEx F0 .... F7 sequence.
 * Orphelin SysEx F7 end byte is passed on *AS IS*.
 
Please test (no support midi port to do it myself).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 04:34:21 +00:00
Philippe Houdoin
bfa9be00c4 Apply Pete Goodeve patch, provided in #4463:
* add output support
 * fix variable lenght input: all usb_midi_event_packet bytes were 
   always returned before.
Missing features are:
 * multiport support (input from any ports are read and merged currently, 
 so beware to connect only one port!)
 * non-standard USB midi adapters, like my Roland UM-2 which don't advertize 
   themselves as Audio / Midi stream class/subclass.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 03:56:49 +00:00
Michael Lotz
9b0a2ab24c No need to crash if we are deleted after not getting far enough to allocate the
configuration buffers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-14 01:22:58 +00:00
Jérôme Duval
8c393635e2 * prints the stream fifo size
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-13 22:07:48 +00:00
Jérôme Duval
ba4d7ed20d * added input selector controls
* increased responses count
* only unmute active inputs on mixer widgets


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-13 21:58:22 +00:00
Philippe Saint-Pierre
afdc051482 Network preflet : Wrongly forces to input a gateway and a DNS server
* While adding IPv4 basic validation, I overseen the possibility to leave those fields blank. Now, those fields can be left blank if you wish.

Fixing ticket #4487.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-13 17:29:19 +00:00
Philippe Houdoin
5b2d7337d7 Rework midi_server device watching to support dynamic detection, not just
at startup. WIP, as the removing case is not yet handled.
Plus vector icon support should be added to Midi kit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-13 15:36:33 +00:00
Joachim Seemer
5e3ec2fd69 * Clarified that the shortcuts and Favorites menu actually refer to the "Open
and save panels" subchapter in gui.html
* Corrected link to DriveSetup in installer.html


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-13 13:31:33 +00:00
Stefano Ceccherini
296c53ea2b Removed glinfo test from the Jamfile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-13 10:39:10 +00:00
Jérôme Duval
dcb2c6fa97 updated DejaVu fonts to to 2.30
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-13 10:26:34 +00:00
Philippe Houdoin
a86d1498c7 Remove obsolete GLInfo, since Artur "aljen" Wyszynski add a far better looking
one in src/preferences/opengl.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-13 10:05:18 +00:00
Philippe Houdoin
78a79f339e Add GLU extentions too.
Fix a gcc4 warning in BGLView construction.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-13 10:03:12 +00:00
Gerasim Troeglazov
615e223aae Added support for updating the access and change time to the file/directory. +alphabranch (forgot to add to the previous commit)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-13 04:41:59 +00:00
Rene Gollent
b48e7fc842 Fix Device Kit build in debug mode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-13 01:30:38 +00:00
Stefano Ceccherini
9aace520df Rewrote scsi.h. This should be the last missing header.
+alphabranch, if possible


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 17:21:56 +00:00
Gerasim Troeglazov
9d034e38f1 Fixed a bug from ticket 4462. (fs_rstat returns an incorrect value).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 11:43:55 +00:00
Michael Pfeiffer
cc8605dc75 Fixed typo.
+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 07:15:29 +00:00
Philippe Saint-Pierre
4c58935dca MidiPlayer : CenterOnScreen
* Remove the local version (not really working) of CenterOnScreen and use the shared one.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 06:20:51 +00:00
Michael Lotz
40157e3fed Add ideinfo and idestatus only when building with the IDE stack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 06:11:11 +00:00
Michael Lotz
09d5a191c2 Remove copyrighted icons from app and print server. They don't yet have a
replacement.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 05:59:16 +00:00
Michael Lotz
5e8b8e5c9e Remove copyrighted bitmaps. Adjusted the code to simply ignore them if they
can't be loaded.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 05:55:19 +00:00
Michael Lotz
b4415503b6 * Removed copyrighted bitmaps.
* Draw a pseudo mouse instead of using the bitmap. It's ugly and should be done
  properly by someone with more of an artistic talent than me. But it should do
  for now.
* Downright removed the little icons. The code is still there, but since the
  icons aren't there anymore it will simply fail to load them and not use them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 05:53:09 +00:00
Philippe Saint-Pierre
8e32a27e6f SoundRecorder : Several style "fixup". No functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 05:19:52 +00:00
Philippe Saint-Pierre
0da53e3dd0 Installer : truncated string in menu fields
* Delay the display of the alert just a little bit, to let the menu fields enough time to adjust.

Fixes ticket #3893.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 03:44:10 +00:00
Philippe Saint-Pierre
8b93f21c22 Expander: Smarter window resize
* Rather than enlarging the window on (potentially) every line, simply keep the largest delta and use it only once at the end of the listing.

Ref: r33073 and ticket #3797.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 03:09:52 +00:00
Artur Wyszynski
c0a72ca298 merged r33072 from gallium3d branch (OpenGL preferences)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 03:08:40 +00:00
Philippe Saint-Pierre
80c5515366 Expander: Smarter window sizing
* When using the "Show Content" feature, enlarge the window horizontally rather than wrapping.

Ref: enhancement request #3797.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 02:59:50 +00:00
Philippe Saint-Pierre
8a0ea31a5a Fonts Preflet : The centering didn't work.
* Make use of CenterOnScreen(); to center the window rather than the dirty trick I tried months ago.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 01:39:18 +00:00
Philippe Saint-Pierre
608aa1d9db ScreenSaver : Clean up the sanitize routine to use the isalnum(..) function.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 01:16:15 +00:00
Philippe Saint-Pierre
f639adf33e ScreenSaver: Didn't accept a one char password
* Sanitize (and pad) the salt passed to the crypt function
* Made the password and confirm password control the same size.

Fixes ticket #4466.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-12 00:57:55 +00:00
Michael Lotz
5be3cdb679 Force uid and gid to 0 when building the CD. This avoids taking over foreign
user and group ids on build platforms that support them. Fixes #4458.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-11 18:12:16 +00:00
Michael Lotz
1bcca32a9e * Also take into account that the alignment due to B_ANY_KERNEL_BLOCK_ADDRESS
can cause overflows.
* Added a generic IS_VALID_SPOT() macro that checks for overflows and checks if
  the area will fit with the given constraints.
* Use the macro to simplify the places where these checks are necessary.
* Use the provided "end" limit instead of the address space end. It currently
  doesn't matter but makes more sense.
* Rename newBase variables to alignedBase as that's what they are.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-11 07:29:36 +00:00
Michael Pfeiffer
c89ef3848e Start of implementation of USB printer port based on USB_disk.
-alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-11 06:17:13 +00:00
Philippe Houdoin
78defe1776 Fix gcc4 build while DEBUG is set.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-11 04:18:33 +00:00
Oliver Tappe
e0b7c61c46 Closing ticket #4465:
Net_server starts services by invoking fork() followed by exec(). If the latter
fails (for instance because the service isn't installed), the forked child is
invoking exit(). This in turn unloads libbe, triggering static cleanup code in 
BMessage, which deletes a couple of message ports that were inherited from the
parent during the fork. After that, net_server was desparately missing those
ports and no longer worked reliably.
* in InitTerminateLibBe, we now register an atfork-(child-)handler, which
  takes care to re-initialize the static reply ports used by BMessage code
* added BMessage::Private::StaticReInitForkedChild wrapper and 
  BMessage::_StaticReInitForkedChild() implementation which overwrites the
  inherited port IDs with a set of own ports


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 23:10:51 +00:00
Oliver Tappe
d23fdd96cb * DHCPClient now passes communication problems with NetServer on to caller,
as a result failed DHPC-requests will no longer result in bogus static
  configurations (but an auto-config IP-address will be picked instead)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 22:59:27 +00:00