Commit Graph

30981 Commits

Author SHA1 Message Date
Ryan Leavengood
b90371088c Fix some app signatures in MIME types. Given that these worked already I
suppose the mapping of MIME types to app signatures is case insensitive. So
I guess this is mainly cosmetic.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32506 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-19 03:35:40 +00:00
Ryan Leavengood
f3f9e93a0c Some application MIME signature fixing.
We really should come up with a way to avoid the duplication between the rdef
and source code...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32505 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-19 03:33:37 +00:00
Ryan Leavengood
97c9909772 Fixing MIME signatures, though these are probably somewhat pointless. Some
still had obos though...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32504 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-19 03:22:57 +00:00
Michael Lotz
152132f08a mmlr+anevilyak:
* Keep track of the currently running threads.
* Make use of that info to decide if a thread that becomes ready should preempt
  the running thread.
* If we should preempt we send the target CPU a reschedule message.
* This preemption strategy makes keeping track of idle CPUs by means of a bitmap
  superflous and it is therefore removed.
* Right now only other CPUs are preempted though, not the current one.
* Add missing initialization of the quantum tracking code.
* Do not extend the quantum of the idle thread based quantum tracking as we want
  it to not run longer than necessary. Once the preemption works completely
  adding a quantum timer for the idle thread will become unnecessary though.
* Fix thread stealing code, it did missed the last thread in the run queue.
* When stealing, try to steal the highest priority thread that is currently
  waiting by taking priorities into account when finding the target run queue.
* Simplify stealing code a bit as well.
* Minor cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-19 03:19:17 +00:00
Philippe Saint-Pierre
29c4d5a983 ShowImage: Using the up and down arrow to change images from a tracker folder,
and loading an image bigger than the current window size didn't get the window enlarged.

exceptions: the window doesn't get resized by this mean if you check the Shrink to window or Zoom to window settings.

Fixes ticket #4273.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32502 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-19 02:20:10 +00:00
Philippe Saint-Pierre
bc6272feed Registrar Shutdown window: Make Font Size sensitive
* Removed the WordWrap from the text view, until we computed the TextHeight(), then put it again, once the textview got resized.

I think it might be hiding an other bug in the way we compute TextHeight(), but it seems to be a workaround.

(Fixing?) Ticket #169


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32501 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-19 01:30:56 +00:00
Philippe Saint-Pierre
b4c89c3b30 Shutdown submenu in BeMenu: Make it font sensitive.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32500 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 23:22:11 +00:00
Michael Pfeiffer
b0678ed3e2 Removed PrintTransportAddOn.cpp from libprintutils.a.
Use kits/print/PrintTransportAddOn.cpp in transport add-ons.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 18:56:21 +00:00
Axel Dörfler
39fff75391 * Fixed broken sort order of all attributes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32498 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 16:43:56 +00:00
Jonas Sundström
fe3763173c Add jamfile to build generic memcpy and memset for arch mipsel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32497 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 15:34:23 +00:00
Rene Gollent
01b36e3fcd Yasm is unnecessary here as it's already a Development dep.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32496 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 15:07:18 +00:00
Axel Dörfler
adc5ba48dc * Reverted the smaller boot image - it doesn't seem to work for Stefano (gcc4?)
anymore with the small size, and it didn't fix the problem I originally hoped
  it would.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32495 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 14:56:59 +00:00
Michael Lotz
100487755f We explicitly remove the thread from the (priority sorted) run queue to
re-insert it at a new place, but by only setting the priority and not the
next_priority field, the thread would actually be enqueued at the same priority
level as before. Didn't cause any real damage, guess it was just an oversight.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32494 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 13:19:12 +00:00
Axel Dörfler
f24f525737 * Made the enter key dark, as it's differently colored from the rest.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 13:02:09 +00:00
Axel Dörfler
a0205e0a07 * Don't forward the drop messages to the next handler if we already handled
them.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32492 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 13:01:08 +00:00
Axel Dörfler
b01bdb48ea * The Keymap preferences app will now memorize its window frame and chosen
layout.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32491 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 12:50:57 +00:00
Axel Dörfler
c5bf61690a * When switching modifiers, the source key was not invalidated, making it appear
as if a copy happened. This closes bug #4242.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32490 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 12:03:12 +00:00
Michael Pfeiffer
85e4dd94e6 Using libprintutils.a init|exit_tranport symbols were not part of the add-on.
For now copied PrintTransportAddOn.cpp from kits/print into each tranport add-on folder and use that instead.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32489 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 07:24:34 +00:00
Michael Pfeiffer
58fe1b1eb0 Added missing include statements to fix build in case DBG is defined.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32488 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 07:19:54 +00:00
Rene Gollent
5a4b86f025 Don't include Locale preflet in the image until locale branch is merged.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32487 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 02:58:10 +00:00
Philippe Saint-Pierre
d939e03d05 PoorMan: Close the application when you choose Cancel on first launch.
* If you choose cancel on that first dialog, also don't save a config file
* Also fixes the button labelling in the preference panel (several were clipped)
* Allow the user to cancel the selection of the web folder and return to the initial dialog (to choose Default, for example)
* Make the preference panel closable with escape key
* Multiple coding style changes

(Ref: Ticket #4255)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32486 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-18 00:32:57 +00:00
Rene Gollent
f940f1e99c Initialize variable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 23:28:58 +00:00
Rene Gollent
494fe97976 Cleanups and some changes to avoid looping to compute the quantum average as suggested by Axel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32484 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 23:26:22 +00:00
Michael Lotz
65411f56b7 We can return directly as we use handy locker objects. Adjusted and added
comments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32483 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 22:51:01 +00:00
Jonas Sundström
a245e6b444 Removing Axel's copyright. Permission given here: https://lists.berlios.de/pipermail/haiku-commits/2009-August/019513.html
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32482 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 22:26:09 +00:00
Ingo Weinhold
8bc24c13ab * Moved termcap.h to headers/libs/termcap/, where it belongs.
* Removed the headers/gnu from the default headers (the Jamfiles needing it
  use it explicitly, now) and moved it under headers/compatibility/.
* Added libgnu.so to the image. Still untested, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32481 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 21:13:51 +00:00
Jonas Sundström
c175f2a63e Adding placeholder machine dependent kernel code for arch mipsel. Copied from src/system/kernel/arch/arm and gutted.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32480 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 20:01:11 +00:00
Oliver Tappe
5c31e9b97f * added new optional package for gcc4 and flex, both of which no
longer require libiconv
* removed libiconv from dependencies of DevelopmentMin, as this is
  no longer true


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32479 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 19:27:30 +00:00
Rudolf Cornelissen
203116954e added small delay between outputting clock and data signals on I2C buses to prevent possible read-modify-write errors. hopefully fixes ticket #4084.. bumped driverversion to 0.95.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32478 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 19:24:54 +00:00
François Revol
541dd9330e I'm obviously not that old. Not officially at least.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32477 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 19:22:44 +00:00
Michael Lotz
40b708f776 Do not base the device number on the device count. Fixes bug #4267.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32474 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 17:51:26 +00:00
Michael Lotz
73c035dc11 * Set freed memory to 0xdeadbeef before returning it to page. This allows us to
not hold the bin lock while setting and only protect the actual freeing. May
  reduce bin lock contention a little bit.
* Tiny optimization for force-clearing 0xdeadbeef. Do it after setting to 0xcc,
  so that it's less likely we have to do it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32473 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 17:25:24 +00:00
Axel Dörfler
dacf06e665 * The cached button bitmaps were not invalidated on font or look change, causing
incorrect buttons to be shown.
* Fixed coding style violations.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32472 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 17:09:38 +00:00
Axel Dörfler
b53a9cf25c * When a window changed its look/title/... we need to make sure the dirty region
we got in _RebuildAndRedrawAfterWindowChange() does not contain hidden parts.
* This eliminates the updates as seen in the WindowInvalidation test app, as
  well as it fixes bug #4257.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32471 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 16:54:57 +00:00
Axel Dörfler
572d609ff0 * Added changing the looks, too, which shows some more problems.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32470 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 16:44:56 +00:00
Axel Dörfler
e527d80934 * Wrote application to test the invalidation area on window changes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32468 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 16:16:25 +00:00
Axel Dörfler
f4300c3072 Missing newline.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32467 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 15:55:07 +00:00
Axel Dörfler
ca86af7aa3 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32466 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 15:37:50 +00:00
Jonas Sundström
08cd7c0c06 Defining architecture dependent endian constants for arch mipsel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 15:12:13 +00:00
Jonas Sundström
ac5f5cdf01 Define IEEE-endianness for arch mipsel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 14:59:19 +00:00
Michael Lotz
699bf40942 Add scheduling notifications to scheduler_affine.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32463 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 14:51:07 +00:00
Jonas Sundström
31a36e3021 mipsel wip
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32462 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 14:49:04 +00:00
Jonas Sundström
97d5f9fa3d mipsel wip
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32461 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 14:30:36 +00:00
François Revol
e5b9797ec1 Fix signedness warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 13:39:03 +00:00
François Revol
d74f1e1ecb Fix DEBUG build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32459 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 13:36:37 +00:00
Axel Dörfler
19ae8a5aff * Removed the preferred app - the super type already has one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32458 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 13:00:01 +00:00
Axel Dörfler
bebab154d9 * Added a fake overlay support, allowing you to test overlay support in the
app_server without having a card that actually supports this.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32457 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 12:47:58 +00:00
Jonas Sundström
c49f6ad7af Cleanup. Make window also look non-resizable, as in practice it's not, for now. This fixes part 2 of ticket #4265.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 12:28:52 +00:00
Stefano Ceccherini
a1bcb09b45 Added a ServerWindow::ScreenChanged() hook, which takes care of resizing
an eventual offscreen directwindow and sends the direct window notifications 
(not yet, though, since a BDirectWindow on a non-visible workspace would
get the B_DIRECT_START notification and start drawing on a different workspace).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 11:53:50 +00:00
Axel Dörfler
219bd33f29 * Deleted overlays were never removed from the fOverlays list, instead they were
added another time (copy&paste bug). This caused #3282.
* Added optional tracing output to Overlay.cpp.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32454 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 10:16:23 +00:00