Commit Graph

34005 Commits

Author SHA1 Message Date
Matt Madia
7eb9b5f4af Use "set -o errexit" to error out when a command failed. Make sure parent
directories are created as needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35784 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-08 02:28:23 +00:00
Matt Madia
b745c2a919 Explicitly tell tar to use the ustar format when creating the tgz archive. This
resolves the issue of FreeBSD 8.0 of creating ISOs that will not boot. ISO
creation was also tested with FreeBSD 7.2 and Haiku r35767 gcc2hybrid.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-08 02:16:05 +00:00
Stephan Aßmus
e59dc33e21 * Added BCursorID enumeration in App Kit's Cursor.h and new constructor which
takes such an id.
 * Reused the existing mechanism to to have hardcoded tokens for the system
   cursors, i.e. removed cursor_which enumeration from ServerProtocol.h and
   used BCursorID where cursor_which was previously used.
 * Reworked CursorManager.h and CursorSet.h accordingly and removed some methods
   that where intended to replace system cursors with client cursors, since
   those would break the reference counting and forget to maintain the cursor
   list.
 * Replaced the cursors in CursorData.h/cpp with the new ones I just designed.
 * Removed HaikuSystemCursor.h and HaikuLogo.h from the source, as those are/were
   no longer used.

I hope I will not get too much beating for this one... :-) I know the new
default cursor is slightly larger, but I believe the old one was just too small.
Also I noticed that the cursor may be slightly too dark, at least the old one
seems noticeably brighter when compared side by side (the new one has a slight
gradient). That is something I may correct at least. Otherwise I hope nothing
is broken, I've tested in QEMU and so far everything works as intended.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 23:12:34 +00:00
Stephan Aßmus
7d0b880b3c * Tweaked angle of index finger.
* Removed the outline at the hand wrist.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35781 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 23:00:08 +00:00
Michael Lotz
2cf04ca728 Don't take ownership by writing the OS-owned semaphore when the BIOS-owned flag
isn't set. I'd tend to say that's a rather odd interpretation of the specified
protocol if a BIOS goes mad if the sem is written to while it doesn't actually
own the controller (it should just be a no-op in that case and directly set the
sem state). But it seems this is what others do as well (FreeBSD, Linux) so we
follow. Thanks to vegardw in #2083 for researching into this and proposing this
fix. Minor other cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35780 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 22:46:11 +00:00
Philippe Saint-Pierre
98d5d91cbf DiskUsage: Usability enhancement
* When clicking in a outer sector, the middle circle now takes the color the outer sector had, helping to keep some consistency.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35779 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 21:07:24 +00:00
Stephan Aßmus
478d0ad5d9 Fixed file name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35778 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 18:50:40 +00:00
Stephan Aßmus
964d480b2d Fixed file name
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35777 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 18:50:06 +00:00
Stephan Aßmus
ec13439d80 Designed a whole bunch of cursors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35776 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 18:48:31 +00:00
Michael Pfeiffer
6b862e027c Simplified translation text handling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 12:48:44 +00:00
Michael Pfeiffer
a9611382fa Added comment where 'Unknown' text is used.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35774 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 12:47:05 +00:00
Michael Pfeiffer
6449e3ee5c Corrected copy&paster error. The "Uninstall" option contained the same
text as the "Install" option. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 12:46:03 +00:00
Stephan Aßmus
a070cf5306 * Indentation update in DateTime.h
* Extended BTime, BDate and BDateTime with archiving functionality.
 * Adjusted code which uses these classes, since including DateTime.h
   already imports the classes from the BPrivate namespace.
 * Moved DateTime.h into Support Kit. It is still in the BPrivate namespace,
   as I am uncertain what to do with time_type and diff_type. I'd favor
   moving the constants into the classes itself. Possibly removing the B_
   prefix from them. Feedback welcome.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35772 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 12:08:47 +00:00
Michael Pfeiffer
09ccc66ea0 * Localized.
* Text of boot menu items is encoded using code page 437 (for example
  umlaute can now be used). 
* On the last wizard page before writing the boot menu a preview is 
  shown of the boot menu items. 
* Enforce menu item size limit of 70 bytes. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35771 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-07 11:28:24 +00:00
Axel Dörfler
5edde94cab * checkfs is now working again; I couldn't test my earlier changes because I had
no time left, but I didn't want to lose them either.
* This fixes bug #5536, sorry for the inconvenience.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35770 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-06 13:47:50 +00:00
Ryan Leavengood
a76f629efa Apply patch from Maxime Simon to make several translators use the Layout API.
There are a few small changes from myself, such as adding a copyright for
Maxime in files with bigger changes. Also because this patch was so old I had
to do some manual patching, and added back the title and description on the TGA
and TIFF translators.

I think this improves things a lot, though there is still some work to do to
improve the consistency of the translator settings views.

I think this mostly fixes #2117, though I may leave the ticket open until a few
more things are resolved.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35769 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-06 04:45:43 +00:00
Ryan Leavengood
5737a67d71 Apply an old patch from Maxime Simon to make Data Translations use the
ALM Layout so that it is font sensitive and that translator config
views can also use the Layout API.

Fixes #3789.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35768 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-06 04:18:34 +00:00
Jonas Sundström
fbc75a5372 Partial clean-up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35767 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-05 20:50:58 +00:00
Matt Madia
80b2e0594f As pointed out by Humdinger, Haiku-doc.css no longer needs to explicitly added.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35766 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-05 13:09:45 +00:00
Matt Madia
b230338896 Updates the Welcome optional package, to copy Haiku-doc.css from
docs/userguide/. Fixes build that add that package.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35765 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-05 12:17:03 +00:00
Joachim Seemer
05ece81569 Updated the translations of the user guide. Haiku-doc.css was moved into the userguide|welcome folder, the html-dtd folder was removed. Thanks to all contributers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35764 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-05 07:01:38 +00:00
Jonas Sundström
6ecc7269ab Settings class. See TODO comment in MailApp.h
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35763 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-04 22:32:29 +00:00
Jonas Sundström
4ae492ebc9 Partial clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-04 22:12:52 +00:00
Stephan Aßmus
841fd96939 Fixed indentation issue in my previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-04 12:36:24 +00:00
Stephan Aßmus
5fc7ecc0d8 BView::Draw() is a no-op.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-04 12:35:56 +00:00
Stephan Aßmus
e3255ac4e5 Fixed error spotted by Axel, which I introduced in r35756. The bus value didn't
get assigned anymore. Sorry about that!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-04 12:33:00 +00:00
Ingo Weinhold
8485307948 Reverted unnecessary part of r35433.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-04 10:38:04 +00:00
Stephan Aßmus
5e144a360c I don't know what recent change may have caused this, but I had to introduce the
check to avoid a division by zero when scanning my partition map in order to be
able to boot. I cannot spot any regressions, I can still access all my partitions
just fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-04 09:53:32 +00:00
Stephan Aßmus
809c5798b1 Check for division by zero.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-04 09:51:50 +00:00
Ingo Weinhold
a915c50a60 panic() when running out of MTRRs. I know I'm gonna regret this...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-04 09:49:53 +00:00
Stephan Aßmus
8a17198258 Fixed regression introduced in r35706. The decorator would not include the
inner row/column of pixels of the resize knob anymore. (18 - 5 - 1 != 13)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-04 09:46:07 +00:00
Ingo Weinhold
affb47166b add_mtrrs_for_range(): Fixed computation of the register ranges. Per power of
2 size we might need to use two registers (for the start and the end of the
range).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-04 09:43:04 +00:00
Ingo Weinhold
2a196c6349 exchange_with_empty() did not set the freeMagazine return value to NULL when
the maximum magazine count wasn't reached yet. With object_depot_store() not
resetting its local variable, a magazine could thus be emptied and freed
twice. Fixes #5489 and #5497.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-04 01:55:37 +00:00
Jonas Sundström
7197f1a67e Partial clean-up.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 23:45:41 +00:00
Ingo Weinhold
1aed263998 TracingMetaData::_InitPreviousTracingData():
* More output.
* Actually increment errorCount when encountering an error. The loop
  condition would never be false this way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 23:23:09 +00:00
Stephan Aßmus
8c3d172b46 Fixed hovering over a sub-menu to let it open automatically, which I broke
with my previous commit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 22:46:25 +00:00
Ingo Weinhold
7263efe581 Override Fault() method for VM{Device,Null}Cache to prevent vm_soft_fault()
from inserting a clean page, if a fault happens. VMNullCaches are used by the
slab's memory manager -- all page faults in slab areas are serious bugs and
we want to panic() immediately.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 22:08:47 +00:00
Colin Günther
e4a0a9c2b4 Updating the atheroswifi driver to the FreeBSD HEAD svn rev 204100. This enables
support for some of the newer 9k chipsets. For example my Eee PC 1005 HA can
now be used with WiFi.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 21:55:51 +00:00
Oliver Tappe
eb9907fc9e Fixing #5518:
* applied Matt's patch (somewhat changed) that corrects the links for gcc4's
  libstdc++.so and libsupc++.so in case of a gcc2 hybrid (they must point
  to /system/lib/gcc4/... instead of /system/lib/...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 21:44:12 +00:00
Ingo Weinhold
5cf6995685 The usual cleanup after Axel. ;-) Define vm_page_num_pages() which is now
used by the block cache.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 21:02:34 +00:00
Matt Madia
929c602701 Exit immediately if wget fails to download any one of its files. This will
allow future runs to be successful. Fixes #5528


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 20:58:49 +00:00
Axel Dörfler
d501707d8a * Removed the cookie field of the check_control structure; that really was
a stupid idea. Instead, the already existing fCheckCookie member is used.
* bfs_ioctl() now accesses all userland buffers safely, this should help with
  #3264, and move the crash where it belongs.
* Changes not yet tested; they only affect checkfs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 19:38:56 +00:00
Axel Dörfler
625ab0dea1 * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 19:20:51 +00:00
Stefano Ceccherini
08876f2b96 Move the code which checks for disabled apic earlier (in the boot loader).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 19:14:42 +00:00
Stephan Aßmus
8a076abfc1 Patch by "yourpalal": The previous hack to embed the menufield is no
longer necessary. Resolves #3637 - thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 17:47:29 +00:00
Stephan Aßmus
2bcccf5a74 Patch in part by "yourpalal":
* Set the MENU_STATE_CLOSED state upon BMenu initialization.
 * When drawing the label, use the parent bounds, including
   item margins to truncate the label, when the parent menu is
   closed.

Thanks a lot for the patch!

Changes by myself:
 * Cache the MenuPrivate instance in BMenuItem::DrawContent().
 * Use Window()->UpdateIfNeeded() to animate the flashing invoked menu item,
   which makes a lot more sense, the comment about it working in BeOS is
   probably due to item->Select() probably drawing outside of an update cycle.
 * The trigger invokation in keyboard handling didn't break out of the loop
   after invoking an item. Probably didn't matter since triggers are hopefully
   not assigned to more than one menu item. :-)
 * Use the same trick as BMenuBar to avoid interfering with keyboard navigation
   in the BMenu::_Track() hook.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 17:43:31 +00:00
Matt Madia
b353282928 Extended AddWifiFirmwareToHaikuImage to support a boolean, which determines
whether to extract the firmware archive onto Haiku Image or to simply copy
it intact. This allows the ipw2100 and iprowifi2200 firmware archives to be
copied onto the default images. Fixes #5523


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 17:23:06 +00:00
Axel Dörfler
88f1263865 * The slab_cache command now also dumps the actual slab lists.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 15:15:49 +00:00
Ingo Weinhold
6dacf0502d Ignore physical memory below 1 MB. This is a work-around for buggy BIOSes
providing incorrect memory types. It doesn't cost us anything, since the
kernel reserves all but the unusable range later anyway. Should fix #1925.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 14:54:46 +00:00
Axel Dörfler
6a7f219c8d * block_notifier_and_writer() will now flush 1000 blocks when reaching the soft
memory limit.
* Improved debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-03-03 14:39:26 +00:00