Commit Graph

31653 Commits

Author SHA1 Message Date
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
Michael Lotz
5332eb402b Style fix. I really tried hard, but still failed...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 02:11:40 +00:00
Michael Lotz
65b5e4d7ed Make use of the address range blocking to guarantee that accessing 0xdeadbeef
and 0xcccccccc (and 64 pages thereafter) in any way will always lead to a crash.
Before it could happen that these ranges were allocated for an area and then
accessing these would not be as evident anymore. Only enabled when the
corresponding paranoid setting is enabled (which it currently is).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 02:09:16 +00:00
Michael Lotz
9aff7f1593 Block the very last page of kernel address space. The problem here is that non
of the VM functions handling areas are overflow safe. If an area is created that
spans across the last page many places will run into an integer overflow. This
mostly concerns the area allocation path in find_and_insert_area_slot() and also
vm_create_anonymous_area() where the loop for mapping pages for B_FULL_LOCK
areas overflows and runs more times than it should leading to #2550.
This could be seen as a workaround. The real fix would be to make everything
overflow safe. The thing is that this does also concern the user of the area
which could easily have forgotten to check for overflows as well, so I am a bit
uneasy with handing out areas that could easily lead to such hard to debug
problems. Since this is really an edge case and this single step safes quite a
bit of extra checks I'd actually be OK with keeping it that way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 02:03:31 +00:00
Michael Lotz
3794518c2d Also check for read-protection of an area. Adjusted naming from read-only to
write-protected and read-protected.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 01:47:22 +00:00
Michael Lotz
0f4242de40 Implement a vm_block_address_range() function which creates an area with no
mapped pages and a non-read and non-write protection to block a certain address
range from being used by anything.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-10 01:40:46 +00:00
Oliver Tappe
425cb3d716 * revert r32999 and adjusted each filesystem to return B_NOT_A_DIRECTORY in
its open_dir() implementation instead (as suggested by Ingo).
-alphabranch (it's only a cleanup)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-09 13:45:12 +00:00
Oliver Tappe
30fd88d297 * reverted r33019-33021, as the patch was only meant for the alpha-branch,
sorry for all the noise!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-09 13:42:22 +00:00
Oliver Tappe
86e43ff70c sigh, fixing even more stuff of Matt's patch that I forgot
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-09 12:58:54 +00:00
Oliver Tappe
695424657d applied part from Matt's patch that I missed last time:
* removed gcc4 optional package for Firefox

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-09 12:56:55 +00:00
Oliver Tappe
844172ba63 applying patch by Matt:
* update Firefox optional package for r1a1
+alphabranch (will do that next)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-09 12:33:49 +00:00
Stephan Aßmus
9df7112c5f Appled patch by scottmc from #4450, fixed Pe package to not include stray .svn
folders. Thanks!

+alphabranch


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-09 10:03:03 +00:00
Jonas Sundström
72a7ad1137 Replace process_refs() with the same from TrackerAddOnAppLaunch.h, and adapt to it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-09 01:35:20 +00:00
Jonas Sundström
70dc439139 Check return value also for B_ALREADY_RUNNING, or else we launch the add-on twice.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-09 01:29:45 +00:00
Bruno G. Albuquerque
95ed6b3c0b Patch by ArCePi.
- Implements STARTTLS support to the SMTP add-on.
- Untested, but implementation matches RFC.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-09-08 23:00:36 +00:00