Commit Graph

31026 Commits

Author SHA1 Message Date
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
Joachim Seemer abc73d0a65 * Added a hint on using 3-letter file extensions to filetypes.html.
* Added links to maintaining website of bundled apps.
* Bigger space between heading and contents of apps pages.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32453 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 09:22:12 +00:00
Michael Pfeiffer 43337f64e4 Fixed some font size issues:
* Use layout manager in "Add printer dialog".
* Made preferences window resizable.

TODO printers and job list view should truncate text if it does not fit into a row.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32452 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 08:51:41 +00:00
Philippe Saint-Pierre 37dd4be139 Code style violation (80 char limit);
No functional changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32451 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 02:19:13 +00:00
Philippe Saint-Pierre 4973feeaa0 When testing a screensaver..
1. Stop the preview
2. Start it again after the test is done

This prevents the case where the screen is filled with a color during the first frame of the screensaver. 
When you return to the preview (after the Test), that first frame is long gone and the preview is then invalid.

Reference : DebugNow screen saver.

Ticket #4252


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32450 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-08-17 02:10:43 +00:00
Philippe Saint-Pierre 16424a2470 Removed unnecessary error messages on first launch :
* When you select Cancel, it did display an alert saying it couldn't start the server, and then displays the main window. That error message was unnecessary since the text box (in the main window) already says so.
* When you click on Select, it displays the same error message, and then display the file panel. That error message didn't exactly made sense in that context.

minor style violation (2 lines spacing between methods)
Fixing ticket #4255


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