Commit Graph

31849 Commits

Author SHA1 Message Date
Axel Dörfler
db7e5d1960 * This fixes the coding style violations Michael recently introduced.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 16:32:26 +00:00
Axel Dörfler
931cd377aa * Added a new flag kAcceptKeyboardFocusFlag that allows B_AVOID_FOCUS windows
to still receive keyboard events. This is now used for menu windows (before,
  the menu feel alone would trigger that behaviour).
* This also fixes bug #4691, as tool tip windows use the menu feel as well.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 16:26:32 +00:00
Axel Dörfler
7f954bd566 * This makes event messages work again in the app_server test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 16:02:27 +00:00
Michael Lotz
0b4d87da22 Add missing word in comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 13:29:19 +00:00
Axel Dörfler
3c9dd7d78f * Build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 11:58:28 +00:00
Ingo Weinhold
71f75cdcde * WIP regarding non comilation unit local types:
- Introduced GlobalTypeLookup interface and GlobalTypeLookupContext to look
    up types by name and cache them.
  - TeamDebugInfo implementes GlobalTypeLookup iterating through all
    ImageDebugInfos, which in turn iterate through all SpecificImageDebugInfos.
  - DwarfImageDebugInfo iterates through all compilation units, using
    a temporary DwarfStackFrameDebugInfo to create the type.
  - DwarfStackFrameDebugInfo no longer caches the types itself, but uses
    GlobalTypeLookupContext. It uses GlobalTypeLookup to look up types not
    defined in the compilation unit.
  - DwarfFile: Made expression evaluation more robust, so that it also works,
    when no subroutine entry, frame pointer, and instruction pointer are
    available (and not used by the expression).
  Basically works already, although the wrong compilation unit might be used
  when resolving values for global types. It's also horribly slow, when there
  are many types in the stack frame.
* DwarfStackFrameDebugInfo::ResolveArrayElementLocation(): The element location
  piece size was set incorrectly (multiplied by 8, although bytes were
  expected).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 03:17:22 +00:00
Ingo Weinhold
d48ea308bf The type component path for the first array dimension was constructed
incorrectly. We must only replace the last component of the parent's path for
all following dimensions.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 03:16:43 +00:00
Alexandre Deckner
047eef826e * Sorry, that was supposed to be multiple launch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33475 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 00:24:19 +00:00
Alexandre Deckner
d12a4384f1 * Fixed closing via deskbar's close all. The problem was that i forgot to
define the app_flags in the rdef, case that isn't well handled apparently
when creating a BMessenger targeting the app.
Thanks to Michael and Rene for helping! Fixes #4712

* Removed unneeded and faulty App::MessageReceived and a strange (probably
 copy pasted then forgotten) MainWindow::QuitRequested.
* Minor changes. Made App destructor virtual, moved init into ReadyToRun,
 fixed a few style violations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-07 00:12:25 +00:00
Jonas Sundström
60cdc210a8 Changing license from public domain to MIT, to ease code sharing with other parts of Haiku and to avoid the gray area of public domain. I hope it's okay. I made the app, but a few others have a contribute fixes here and there.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 22:57:35 +00:00
Jonas Sundström
a138b6339f Remove bitmap icon.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 22:46:44 +00:00
Oliver Ruiz Dorantes
515209e338 Merge view class in the window object
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 20:03:36 +00:00
Stephan Aßmus
b0488dca68 Patch by "v" to fix ticket #4733, there are Core and Core 2 Celerons. I
enhanced it to also say Core 2 Quad and Core 2 Duo again, instead of just
Core 2. Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 17:08:24 +00:00
Axel Dörfler
34eb485aea * Refactored the former touchevent_to_movement() code to get rid of the gotos,
and some code duplication.
* Fixed the missing click count in the former "movement" label (now in the
  move_to_movement() function); the click count was always 0 in that case,
  this was most obvious with Firefox where you couldn't click anything as long
  as you had a finger on the touchpad.
* Made the functions static that aren't exported to the outside.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33469 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 16:19:34 +00:00
Axel Dörfler
fc548b41f3 * Removed the pretty useless "Multifinger scrolling" option - it's now always
the same as the two finger scrolling option (could be disabled, too, opinions
  welcome).
* Added a new settings to disable horizontal two finger scrolling, since it's
  not that easy to only scroll in one direction with this. Maybe a higher
  starting boundary would also be an option for this instead, Clemens what do
  you think?
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 14:30:57 +00:00
Axel Dörfler
a75c97c3ad * Allow the scrolling steps to have values lower than 1.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 14:26:11 +00:00
Stephan Aßmus
df78ef39ab Removed BeOS version of the code.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 13:51:49 +00:00
Axel Dörfler
ab7516c8f3 * Fixed a dead lock when drivers were scanned: we must not hold the devfs lock
when scanning for drivers, as that reverts the standard locking order with
  locks like the device manager lock. There is now a dedicated scan_lock for
  each directory.
* get_device_name() now locks itself which also adds a missing lock in the
  B_GET_PATH_FOR_DEVICE ioctl().
* Minor refactoring; the directory init code was duplicated over several places
  in the source file.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 12:56:21 +00:00
Stephan Aßmus
852e81f6cb Come to think of it, this is actually a multi-line if...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 12:27:19 +00:00
Stephan Aßmus
8ee28a00be Fixed a style violation that I missed, thanks Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 12:26:06 +00:00
Stephan Aßmus
b2e0606edc Patch by "v" to distinguish between different processors with the same CPU-ID.
Slightly enhanced coding style by myself. Should fix ticket #3541. Thanks a
bunch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 11:54:28 +00:00
Stephan Aßmus
ffc86bf32c * Fixed pixel-alignment of shapes at 32x32 and 16x16.
* Fixed shadow shape and improved opacity.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 11:44:34 +00:00
Stephan Aßmus
9d7bfc3a65 More icons from zuMi. Thanks a bunch!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 11:25:54 +00:00
Stephan Aßmus
5a41c9fb17 Sorry, should have tested the patch first. Now it actually works as intended.
I.e. you need to hold down exactly Ctrl+Alt for the server side window
modifiers.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 10:13:33 +00:00
Stephan Aßmus
a1d5d23476 Applied part of a patch from Caitlin Shaw (coding style cleaned up!):
* Trigger server side window modifiers only if exactly those modifiers are
  pressed.
* Add the new window flags defined in Window.h to what the server considers
  valid flags. Otherwise the new flags important to the server (only
  B_NO_SERVER_SIDE_WINDOW_MODIFIERS) get filtered out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 09:29:26 +00:00
Stephan Aßmus
a1a5c7b1d1 If this flag would already work on the real app_server, one could test it in
the libbe_test environment... the classical chicken & egg problem.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 09:25:58 +00:00
Axel Dörfler
c0f44af061 * Fixed PXE boot loader build again (hey mmu_man!).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 09:25:35 +00:00
Stephan Aßmus
936c6d6c7d Sorry, missed this from the GCC4 fixes for libbe_test.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 09:22:10 +00:00
Stephan Aßmus
b7b32111a0 Leave out the cool new remote screen feature from the libbe_test app_server.
Otherwise libnetwork.so needs to be dragged in, which has some issues.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 09:21:16 +00:00
Stephan Aßmus
50de4a5e00 GCC4 fixes when compiling the test environment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 09:19:57 +00:00
Stephan Aßmus
1fc35b4f46 * Small cleanups
* Declaring the structs doesn't work so well for the libbe_test target.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 09:18:47 +00:00
Axel Dörfler
3bf4730590 * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 08:56:18 +00:00
Stephan Aßmus
902738e735 * Fonts is definitely not BeOS compatible anymore.
* Remove Fonts from the app_server test environment build, since liblocal.so
  is not yet part of that target platform.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 08:54:27 +00:00
Axel Dörfler
a8e3e8b563 * Added missing license headers.
* Coding style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 08:19:49 +00:00
Axel Dörfler
ede7c33d8c * Removed some superfluous parenthesis.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33448 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 07:52:09 +00:00
Axel Dörfler
f229f56702 * Made the ps2_synactics.h header stand-alone.
* Coding style cleanup.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33447 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-06 07:47:53 +00:00
Axel Dörfler
9bc8c04496 * Improved spacing between the check boxen and the "Edit menu..." button.
* Simplified BBox labels (yes, there is a SetLabel(const char*) version :-))
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 18:22:43 +00:00
Axel Dörfler
b4a7d0bcc6 * Do not forward the Command-~ to the apps, like with the other workspace
switching keys.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33445 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 16:16:36 +00:00
Joachim Seemer
5f696e92b2 Added Jorge's alpha stamp PNG
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33444 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 15:13:06 +00:00
Axel Dörfler
32ebacf299 * Build fix... sorry, I could have sworn I compiled it before committing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33443 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 14:18:32 +00:00
Michael Lotz
81c431d23d Include the terminating 0 byte when adding as string type. Otherwise someone
reading the message as an actual string will run into problems.
Should fix #4697.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33442 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 13:38:27 +00:00
Axel Dörfler
821b62c231 * Fixed app signature.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 13:27:39 +00:00
Axel Dörfler
cc592ed1fa * Fixed coding style.
* Fixed bug introduced with the last change: since the mbox is dumped to
  stdout, it's not a good idea to print status messages there as well.
* In the long run, I think we should replace the two conversion tools with a
  (better usable) single one.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 13:27:21 +00:00
Stephan Aßmus
7a842ef77c Check negative out-of-bounds index in BTextView::OffsetAt(). According to
#4707, this is the BeOS behavior. I have not checked myself and the BeBook is
very brief on this, but similar methods do trim indices to be in range.
Another alternative would be returning an index indicating an error (-1).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 12:46:26 +00:00
Axel Dörfler
08c63a2d6b * Print the actual command name, not a hardcoded obsolete one. Fixes ticket
#4719.
* Added license header.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33438 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 12:32:07 +00:00
Bruno G. Albuquerque
b69dfc85c8 BnetEndPoint::Send() should use BytesRemaining() as the amount of data to be sent, not
Size(). This fixes #4724.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33437 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 10:31:47 +00:00
Ingo Weinhold
8a71915a9d Made the {debug,user}_{mem,strl}cpy() and user_memset() functions deal with
address overflows. Apparently at least the x86 string instructions generate
a general protection fault instead of a page fault, and we only use the fault
handler in the latter case (maybe we should change that, too). Fixes #4714.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33436 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 09:54:40 +00:00
Ingo Weinhold
4401e83384 Use correct tracing macros.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 03:13:20 +00:00
Ingo Weinhold
e10cb2838b * ArrayIndexPath::SetTo(): Changed return type from bool to status_t.
* Finished support for retrieving and displaying array element values.
* Added work-around for pointer types, if the base type isn't specified in the
  debug info (as it should per specification).
* Added support for unspecified types, function types, and pointer to member
  types. All types relevant for C++ should be supported now. There are still
  quite a few TODOs, though.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33434 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 03:12:16 +00:00
Ingo Weinhold
bdfb434cba * Introduced common base class DIEArrayIndexType for enumeration and subrange
types.
* Added/fixed some accessors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-05 03:11:41 +00:00