Commit Graph

17016 Commits

Author SHA1 Message Date
Stephan Aßmus
25f03a7bd8 * avoid endless loop in some cases concerning scrolling with fractional coords
* detect invalid params to SetRange()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 19:21:16 +00:00
Stephan Aßmus
95f766fa3e cleanup of archiving code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 19:18:25 +00:00
Stephan Aßmus
693f381e83 Fixed a weird Tracker bug, fOkToMapIcons was initialized to "true", but
I have no idea what sense this makes. When switching from list mode to
icon mode, some poses had their locations set to location "infinity",
because MapToNewIconMode did a division by zero. This resulted in feeding
the scrollbars a totally insane range.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 19:16:10 +00:00
Stephan Aßmus
5dadd750c0 very small cleanup
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 19:09:24 +00:00
Axel Dörfler
f998d2977d BMimeType::GetInstalledTypes() will no longer try to add a NULL string to a
message - and even return the error message it got from BMessage::AddString()
for trying so.
This fixes bug #585.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 17:16:17 +00:00
Axel Dörfler
194b7064ee Changed the recognition rule for applications: it doesn't matter if the application
has a signature or not, what matters is that has the correct B_APP_MIME_TYPE MIME type.
This fixes bug #606.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 16:47:39 +00:00
Axel Dörfler
3728e62e88 Unlike the ELF specs, BeOS ignores the path of shared objects specified by the DT_NEEDED
element. We now soften the rule that the absolute path should be used, and give libraries
another chance and search them in the standard search paths. This fixes bug #601 and lets
Becasso run on Haiku.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 15:59:42 +00:00
Axel Dörfler
3b5cc3b1f3 MIME types are case insensitive, so Tracker should not be so picky.
The app queries still are case sensitive, though (shouldn't hurt, as the MIME
type database preserves the case).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 13:45:12 +00:00
Axel Dörfler
66d3076d17 Cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 13:43:17 +00:00
Axel Dörfler
8aebe2c4b8 Tracker compared B_APP_MIME_TYPE case sensitively - we now export the same case as
is used at other places, and all of a sudden, the "Open With..." menu in Tracker is
working now :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 13:27:34 +00:00
François Revol
e108c13902 Ditto, doesn't build yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 13:27:14 +00:00
François Revol
e61dfc9edb Start of a cirrus gfx driver (for qemu), mostly a copy of skel for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 13:23:52 +00:00
François Revol
0e6b0daca9 display errors
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 00:04:24 +00:00
François Revol
84aae13f6d Fix null deref; include \0 when copying paths
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-31 00:01:01 +00:00
Axel Dörfler
373d946f22 * create_app_meta_mime() now preserves the case when installing the
MIME type.
* We now write the META:TYPE attribute that contains the type with
  preserved case (as in BeOS). We even currently check this whenever
  a type is opened, but that can be removed later, again.
* BMimeType::GetSupportingApps() was broken for applications that
  only support the super type.
* Also BMimeType::GetSupportingApps() preserves the case of the
  signatures.
* Why on earth would we want to preserve the case of case insensitive
  MIME types? Simple, this let's you query for those apps using case
  sensitive queries, as Tracker uses for its "open with" functionality.
  Strangely enough, that one still doesn't work, even though the query
  predicate is now correct.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 21:20:32 +00:00
Jérôme Duval
09d102ccb3 fixed quicktime rule
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 21:10:24 +00:00
François Revol
aa908102ba dump driver name and device path to test some ioctls
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 20:47:57 +00:00
François Revol
7e6e175b9e the source code for the best KDL game ever (yet), hangman.
WIP, doesn't compile atm, must be changed to a module


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17658 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 20:09:07 +00:00
François Revol
8be1739f45 - change the check_pending_repeats from a thread to a kernel_daemon, one less.
- add loading of kernel debugger/ modules
- add a kgets() exported func for use by nasty modules =)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17657 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 19:54:37 +00:00
François Revol
b3baad129f - reordered ioctls cases to match Driver.h
- implemented B_GET_PATH_FOR_DEVICE
- reject 3 legacy ioctls from R5 (*FIXED_DRIVER, NEXT_OPEN)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 19:52:32 +00:00
François Revol
6210a1dd4c Add an ioctl B_GET_PATH_FOR_DEVICE,
this should simplify big times implementing ttyname() for ex, and could be handy anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17655 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 19:52:19 +00:00
Stefano Ceccherini
b9af5bfa5c - Fixed the recently introduced bug where menus would open again once closed. -Now hitting ESC will close the menu. - Reverted to the other variation of GetMouse() as Axel's advice
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17654 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 19:14:54 +00:00
François Revol
f428e7ad4a Don't use a tab size that we might just later enlarge when calculating maxTabPos...
Fixes bug #643


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17653 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 15:03:02 +00:00
Axel Dörfler
974533ab5a * Fixed a big race condition that could leave threads waiting infinitely and
let them eat death stack entries: after setting the next thread state to
  THREAD_STATE_FREE_ON_RESCHED, interrupts were enabled again, which could
  cause the thread to be rescheduled before having called put_death_stack().
  This fixes bug #434.
* Note that the above change pretty much reverts revision 7865 that was supposed
  to fix interrupt problem on thread exit (patch by Jack Burton almost 2 years
  ago, that's how long this problem existed!).
* Made get_death_stack() and put_death_stack() symmetrical in that they don't
  change interrupts. Also pulled out rescheduling from put_death_stack[_and_reschedule]()
  and put it back into thread_exit2().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17652 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 14:17:09 +00:00
François Revol
3860abe353 (unitialized) make sure Terminal doesn't start fullscreen (what, you didn't like it ?)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17651 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 12:14:48 +00:00
Axel Dörfler
bc201ef914 This fixes a possible broken placement of the tab - always happened with Magnify, for example.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17650 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 11:51:27 +00:00
Axel Dörfler
2815b65b04 This should allow you to switch into workspaces that are occupied with a BWindowScreen
by clicking into the workspace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17649 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 11:50:11 +00:00
Axel Dörfler
16466e8a73 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17648 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 11:42:52 +00:00
Axel Dörfler
a12827f24d * Moved "install to Deskbar" alert into the application.
* If you install ProcessController to the Deskbar after startup, its window
  is not opened anymore.
* When you install ProcessController, the Deskbar is only restarted if needed;
  this can probably be removed completely under Haiku.
* Renamed some menu items.
* Removed "Use Pulse's settings" menu item.
* Fixed remaining issues from bug #633 as far as ProcessController was concerned.
* Removed unused source files.
* Big cleanup, even though there could be done much much more.
* Compacted the source files a bit, merged PCView.cpp and PCView2.cpp to
  ProcessController.cpp to match the name of the class.
* Renamed PCUtils.{cpp|h} to Utilities.{cpp|h}


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17647 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 01:32:41 +00:00
Axel Dörfler
c8882988b7 The kernel's struct team now has a field to remember where the arguments of a
running team to be able to fill in the team_info::args field. Currently, only
the path is stored, there, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17646 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 00:21:22 +00:00
Axel Dörfler
b2c5594fd2 B_SYSTEM_TEAM is now 1 under Haiku which refers to the real kernel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17645 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-30 00:18:50 +00:00
Axel Dörfler
1cffe232de Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17644 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 23:58:45 +00:00
Michael Lotz
d30ac125dd Respect the transfer direction. Control transfers with buffers work in both directions now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17643 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 23:36:37 +00:00
Jérôme Duval
7f20062d97 BAppFileInfo::SetSupportedTypes now works even when there is no signature
A consequence is the FileType tracker addon (which hasn't a signature) has now its attributes set on Linux builds


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17642 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 23:04:25 +00:00
Axel Dörfler
7a04ba9b1d Fixed B_MENU_SELECTED_BACKGROUND_COLOR to fit to our B_MENU_BACKGROUND_COLOR,
and changed BMenuItem to actually use it.
This fixes bug #640.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17641 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 23:04:18 +00:00
Michael Lotz
61119116a2 Fixed the debug output of the short descriptor and replaced remaining deviceNum with deviceAddress as that's what it is.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17640 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 22:24:29 +00:00
Michael Lotz
b7a062b5ad * Calmed down debug output a bit
* Removed all friends in the USB stack classes (as they are not needed)
* Added max packet size to the pipe and respect it on transfers
* Use pipes with the same speed as the device

Device descriptors can now also be retrieved from full speed devices and devices with a packet size of more than 8 bytes. The devices are also correctly initialized to their default configuration.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 22:09:21 +00:00
Axel Dörfler
f4ccbdaa3a * Made memory menu font sensitive (fixes part of bug #633).
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17638 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 19:43:45 +00:00
Axel Dörfler
0480cf1a60 * The (right-most moved) tab no longer goes away when resizing the window to a size
smaller than the tab size. This fixes bug #642.
* There are remaining issues while resizing the window, though.
* Fixed warning.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17637 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 19:00:20 +00:00
Axel Dörfler
fa3c08f073 The workspaces window is now updated when a tab is moved - this fixes bug #641.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17636 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 18:41:16 +00:00
Axel Dörfler
c4da198b30 Not pretty, but fixes the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17635 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 18:20:16 +00:00
Axel Dörfler
0dcf122e37 Removed now incorrect comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17634 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 15:41:09 +00:00
Stephan Aßmus
b9535d8e52 * add two of the logos to /boot/beos/etc/artwork, suitable
for putting on your Desktop as background (manual placement!)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17633 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 14:45:45 +00:00
Stephan Aßmus
292027a476 use the new logo from the artwork folder
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17632 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 14:30:40 +00:00
Stephan Aßmus
3b2aa67bf2 * added "artwork" folder with variations of the Haiku logo (white on
blue and black on white in different sizes), all of which are pixel
  aligned for the crispest possible look. Both a PNG version and the
  original WonderBrush file are included.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 14:22:57 +00:00
Axel Dörfler
e4e5ff6eae Make sure the overlay commands are executed as soon as possible.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17630 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 14:14:46 +00:00
Axel Dörfler
478cef7735 Added some more debug output; the ports might be better suited to recognize
which display outputs to use.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17629 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 12:29:07 +00:00
Axel Dörfler
68cdc8a1fa * Somehow it occurs to me that I shouldn't delete the area of additional
graphics memory even before use (this fixes the sudden but visually appealing
  crash you got when you needed to use that memory ;-)).
* Made the additional graphics memory contiguous which shouldn't be strictly
  necessary, but shouldn't harm either: when an overlay is spread over the
  BIOS allocated memory and the additional memory, there were some visual
  problems when the overlay was shown on screen. Might need to investigate
  that a bit more.
* Added a boolean option "ignore_bios_allocated_memory" to the settings.
* Reverted stippi's accidental changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 12:21:04 +00:00
Jérôme Duval
b084f230d8 patch courtesy of Greg Crain
* fix and enable midi support
* clean up of useless commented code

Greg added: "I even tested the driver, module and midi_server on Haiku ! It was
working, both input and output. Some midi programs don't run, and I
don't know if it is the midi_server or something else, but several apps
run fine.". Good work!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17627 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 12:12:49 +00:00
Stephan Aßmus
ef64b24102 added Siarzhuk Zharski to the list of contributors
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17626 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-05-29 10:01:46 +00:00