Commit Graph

17268 Commits

Author SHA1 Message Date
Jérôme Duval 89b35356db revert 17726, my change wasn't good
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-14 11:57:52 +00:00
Jérôme Duval 39207b00f8 BMessage::GetCurrentSpecifier() set index even if it is a negative one and returns
This would explain why BLooper::resolve_specifier() was misbehaving before I fixed it


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-14 11:32:51 +00:00
Axel Dörfler c29875897d Reduced the upper limit of ellipsis divisions as suggested by Stephan.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-14 10:49:27 +00:00
Axel Dörfler 1b0c0ad7e9 * InstalledTypes did not preserve the case of the MIME types, and thus, Tracker queries
for some types (like "application/x-vnd.Be-elfexecutable") would fail. This fixes
  bug #666 (no, I'm not the exorcist :-)).
* Renamed private methods to have the '_' prefix.
* Cleanup, added license.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-14 09:30:55 +00:00
Jérôme Duval 7675c75fa1 avoid adding _previous_ on forwarded synchronous messages
tested with ForwardMessageTest.cpp
well I hope it doesn't break anything :)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17831 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 22:23:19 +00:00
Axel Dörfler a3fef6d1fc * added --notmovable option.
* the flags are no longer mutually exclusive.
* nicer about window.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 21:37:07 +00:00
Axel Dörfler 9195c27083 Imported ContainerWindow.cpp 1.33 from OpenTracker CVS. This removes
an extra menu separator in the window context menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 18:30:35 +00:00
Axel Dörfler 8eff00736e * Did not initialize the version info, so if they were only partially changed,
it would leave some junk in there.
* No more usage info on file errors.
* Simplified and improved error handling quite a bit (better and more correct
  error messages in case of file errors).
* Cleaned up a lot, it now fits our coding style guide.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 17:21:44 +00:00
Axel Dörfler 85376415a4 Imported InfoWindow.cpp 1.15 from OpenTracker CVS.
This fixes bug #649.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 16:28:31 +00:00
Axel Dörfler cce6f8d05f * Changed the kernel build rules, so that the executables can have resources
files, too.
* Added a temporary icon for the kernel until Stephan comes up with a better
  one (hint hint!) :-))
* This even fixes bug #648.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17825 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 16:08:55 +00:00
Axel Dörfler c5bbddb66c The BEOS:APP_VERSION field is now also decompiled to nice plain text.
However, an eventual existing system version info is dropped - support for this
(also on the compilation side) should be implemented as well some day.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 15:24:11 +00:00
Axel Dörfler 0e50eab75e Improved decompilation to support the built-in types: app_flags, app_signature,
file_types, mini_icon, large_icon.
Only app_version is desperately missing :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 15:03:07 +00:00
Stephan Aßmus 128277c969 the first steps towards Icon-O-Matic
* added a framework with many classes that I think will be useful
* currently, the StateView and Manipulator interface are used to
  allow editing a single VectorPath object, nothing more... the
  CommandStack framework is also used to support Undo/Redo


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17822 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 13:43:13 +00:00
Jérôme Duval ddcab3b57d also check for GetCurrentSpecifier status instead of just the index
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 13:40:30 +00:00
Jérôme Duval 4b770c6e78 reverted to 17808, BLooper::resolve_specifier should be fixed instead
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17820 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 13:34:55 +00:00
Axel Dörfler c0b1668798 Now makes sure the window is frontmost when entering full screen mode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17819 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 13:29:42 +00:00
Jérôme Duval bcd6702900 don't forget to pass to BHandler
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17818 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 13:06:18 +00:00
Axel Dörfler de0ca38e5a Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17817 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 12:54:57 +00:00
Axel Dörfler f7a09629e5 I don't know why this didn't happen under R5, but now the slider background
is no longer just white...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17816 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 12:53:35 +00:00
Axel Dörfler 100e579871 * Fixed missing resources for the mimeset build.
* Fixed wrong resources in unzip (missing app flags made it a normal app).
* There is no need to run the application in unzip's main().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 11:36:53 +00:00
Jérôme Duval bb2242b422 added a test for message forward
on R5 it seems a reply to a asynchronously-forwarded synchronous BMessage is the same as when no forward happens
I didn't test on Haiku, but I suspect the behavior is different, especially a _previous_ is added as for asynchronous BMessages


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 11:28:36 +00:00
Axel Dörfler 32553c9788 If the supertype has the same label as the subtype, they are no longer considered
equal in the _MakeTypesUnique() method.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17813 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 10:14:13 +00:00
Axel Dörfler b66c623116 * AddItem() versions did not work correctly at all: maximum insertion index
was limited by the visible list count, it did not care if the insertion
  failed, it didn't maintain the BListItem::fHasSubitems field, neither
  fVisible, and it didn't invalidate the latch of the parent, if needed.
* The "add item at end" also did not care if the item should be added to the
  visible list, too, it always did.
* AddUnder() would have crashed with a NULL superitem.
* _RemoveItem() now updates the fHasSubitems field as well.
* _SuperitemForIndex() can now return the index of the superitem as well.
* SortItemsUnder() did not check if the "underItem" if the items should be
  added to the visible list or not, it also just did.
* SortItemsUnder() now invalidates the part of the visible list that may
  have been changed.
* This fixed bug #662, and possibly #663, too (at least I could never
  reproduce it).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 10:11:11 +00:00
Jérôme Duval 0e8c81c72c hey is in bin/ , kept the user guide in docs/bin/hey.html
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17811 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-13 08:54:19 +00:00
Jérôme Duval da08acb8bf fix some more bugs in scripting handling, this seems to never end
Having canna input method installed shouldn't crash Haiku anymore


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17810 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 23:45:55 +00:00
Jérôme Duval 4b25c48853 BMessage::GetCurrentSpecifier returns B_OK if current specifier is negative
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17809 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 23:40:16 +00:00
Axel Dörfler 139655dd9a * New super types that are added while FileTypes is running are now displayed
correctly (without an icon).
* Fixed the incorrect __HAIKU__ only section #ifdef.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17808 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 23:36:35 +00:00
Axel Dörfler 5b741ecbfd Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17807 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 23:18:29 +00:00
Axel Dörfler d51ce54011 * Added the opportunity to add temporary debug interrupt handlers for
arch dependent code (they will be removed as soon as someone else
  asks for these interrupt lines).
* Added an interrupt driven keyboard handler to the kernel that uses
  this technique. As a result, you can now press F12 to enter the kernel
  debugger before the input_server has been started, and Control-Alt-Delete
  should reboot the system (actually I did not test the latter yet).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17806 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 22:24:53 +00:00
Axel Dörfler 099e443467 Minor cleanup and array orientation helper.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 22:16:33 +00:00
Axel Dörfler 675010ad61 Don't invalidate the listview when the focus changes - the listview does not
have any focus markers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17804 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 21:57:11 +00:00
Axel Dörfler 16b4861f05 No reason to return B_ERROR when the method doesn't have to do anything.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17803 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 21:56:06 +00:00
Axel Dörfler 66e114c429 BView::SetEventMask() had no effect when called before AttachedToWindow().
This also fixes bug #620.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17802 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 21:54:24 +00:00
Axel Dörfler d367028c04 Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17801 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 21:53:00 +00:00
Jérôme Duval 2e52b7bfac we now check the index instead of PopSpecifier() for GET_SUPPORTED_SUITES
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 17:38:55 +00:00
Jérôme Duval 2814f73c87 imported a stripped down fluidsynth 1.0.7
* a shared library is built, no audio driver is included
* implemented some platform specific functions (fluid_sys.*)
* a test app is provided in fluidsynth.c
* on target Haiku, posix mutex are used, else mutexes are implemented with simple semaphores (I could be wrong here)
well I hope it can provide a good enough backend for a softsynth
Note that needed SF2 banks would probably not be included.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17799 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 15:55:38 +00:00
Philippe Houdoin 5522045320 As reported by Fredrik Ekdahli, the GL viewport should be set by default as soon as the view is attached to a window.
But the default size is the view one, not the view's window size, which doesn't make much sense.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17798 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-12 15:50:27 +00:00
Jérôme Duval e91315aa2d scripting in BApplication is mostly fixed
BLooper had a be-handler named suite
BWindow is now exposing Active
scripting to BViews isn't working yet


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17797 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-11 23:01:33 +00:00
Axel Dörfler 269d3bd5bc Imported PoseView.cpp 1.61, OpenWithWindow.cpp 1.8, and OpenWithWindow.h 1.3
from OpenTracker CVS.
This fixes bug #354.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17796 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-11 10:19:44 +00:00
Axel Dörfler fe49a8a379 Imported DeskWindow.cpp 1.8 and ContainerWindow.cpp 1.32 from OpenTracker CVS.
This fixes bug #298.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17795 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-11 09:38:18 +00:00
DarkWyrm c310520d82 Added some tweaks as suggested by Stephan
Roughed in quite a lot of chapter 5


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17794 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-11 01:46:27 +00:00
Axel Dörfler f025617d21 Forgot to commit this header - should have been part of r17785.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17786 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-10 09:25:30 +00:00
Axel Dörfler 82584ab9c2 * Implemented AS_DIRECT_WINDOW_SET_FULLSCREEN so that it sets kWindowScreenFeel
when enabled, and B_NORMAL_WINDOW_FEEL when disabled. IOW when enabled, no
  other windows can interfere.
* Therefore, it's no longer necessary to have the screen_blanker window
  use kWindowScreenFeel - it will set its window to full screen as long
  as the blanker runs.
* Added a AS_APP_CRASHED notification in the app_server that will remove
  all kWindowScreenFeels from the windows of the crashed app.
* This is now used by the debugger to ensure that the debugger alert will
  be visible.
* Factored out a DesktopLink class out of the BRoster::_ActivateApp()
  method. This class is now also used in the new BRoster::_ApplicationCrashed()
  method as used in the debug_server (via BRoster::Private).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17785 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-09 21:46:40 +00:00
Ingo Weinhold e4f35acf7c * Added new (currently private) API class BMimeSnifferAddon,
representing the interface for, well, MIME sniffer add-ons.
* Implemented the respective add-on manager and make use of it in
  the MIME database code. Unfortunately the MIME DB code completely
  lives in libbe.so and hence I had to put my code there too.
  IMHO we should (one day) remove the direct (read-only) MIME DB
  access from libbe and move everything into the registrar.
  Currently the add-on manager supports built-in add-ons only; it
  doesn't really load anything from disk ATM.
* Added a built-in text sniffer add-on to the registrar. It's based
  upon the BSD file tool code.

This closes bug #250 (plain text files are identified as such, now).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-09 20:48:50 +00:00
Axel Dörfler 642090fdc6 * ScreenCornerSelector is now a BControl and fully keyboard navigable.
* simplified drawing a bit, and got rid of those scary scale*() stuff (which also
  results in better looks). The monitor now looks like the one in Screen; I think
  it should either be a very reduced form or a very detailed form, but anything
  in between often looks just odd.
* It now also listens to B_MOUSE_DOWN incl. mouse tracking, not only to B_MOUSE_UP.
* Less flickering on state changes (and focus change).
* Loading settings no longer overwrites defaults missing from the settings.
* Renamed ScreenSaverSettings::GetBlankCorner() to BlankCorner(),
  LoadSettings() to Load(), GetState() to GetModuleState(), ....
* Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-09 16:03:16 +00:00
Ingo Weinhold 78f3c7e6f5 Fixed the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-08 19:27:57 +00:00
Jérôme Duval 99e2816c13 begin of implementation for ScriptReceived
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-08 16:25:18 +00:00
Jérôme Duval 1f8172a474 implemented ResolveSpecifier()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-08 15:14:03 +00:00
Jérôme Duval 75509db03a finally implemented correctly MessageReceived() and ResolveSpecifier()
fixed unique ID generation


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-08 14:14:15 +00:00
Jérôme Duval f16aff25e3 fix the build (sorry for this)
better output for NAME and ID


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-06-08 07:48:11 +00:00