Commit Graph

31717 Commits

Author SHA1 Message Date
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
Jérôme Duval ea9f99f3fb try to align the offset to be more compliant
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 22:55:02 +00:00
Jérôme Duval 561c00c9c3 prints out stream status errors
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 22:03:37 +00:00
Marcus Overhagen 87b68ba08f cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 21:57:20 +00:00
Marcus Overhagen 2219c13eec cleanup, remove color codes
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 21:56:46 +00:00
Marcus Overhagen b5eb03683b cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 21:55:10 +00:00
Marcus Overhagen a479459113 Write device identification into syslog.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 21:11:36 +00:00
Jérôme Duval e9fab5adbc fixed es1370 build
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 20:27:10 +00:00
Marcus Overhagen 81f9115df0 added tracing of ATA DMA transfers
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 19:07:40 +00:00
Marcus Overhagen 3c13be106e Clear pending interrupts after reset and timeouts
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 19:03:55 +00:00
Michael Lotz e717a35b6f * Change the way we check for enough available space when searching for spots
to insert areas so we don't overflow.
* Consequently use the area end (base + size - 1) where appropriate which
  prevents overflows in a few places.
* Properly check for reaching the address space end.
* If we've already found a spot we don't need to recheck if we've found one.
* Simplify the B_EXACT_ADDRESS checks down to a simpler single if statement
  instead of the four seperate ones.
* Properly calculate the search end for B_EXACT_ADDRESS as well, it's also
  base + size - 1.
* Block the full last page now that this actually works without overflowing.
* Some style changes and added spacing.

This should now really fix #2550. Previously the overflow protection didn't
actually work because on allocation we overflowed and completely missed the
protecting area.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 17:58:19 +00:00
Michael Lotz cb4a951f4c Also return B_NOT_A_DIRECTORY in write_overlay when appropriate.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 03:29:04 +00:00