1457 Commits

Author SHA1 Message Date
Ingo Weinhold
b0944c78b0 More work towards hybrid support
* All packaging architecture dependent variables do now have a
  respective suffix and are set up for each configured packaging
  architecture, save for the kernel and boot loader variables, which
  are still only set up for the primary architecture.
  For convenience TARGET_PACKAGING_ARCH, TARGET_ARCH, TARGET_LIBSUPC++,
  and TARGET_LIBSTDC++ are set to the respective values for the primary
  packaging architecture by default.
* Introduce a set of MultiArch* rules to help with building targets for
  multiple packaging architectures. Generally the respective targets are
  (additionally) gristed with the packaging architecture. For libraries
  the additional grist is usually omitted for the primary architecture
  (e.g. libroot.so and <x86>libroot.so for x86_gcc2/x86 hybrid), so that
  Jamfiles for targets built only for the primary architecture don't
  need to be changed.
* Add multi-arch build support for all targets needed for the stage 1
  cross devel package as well as for libbe (untested).
2013-08-01 08:54:06 +02:00
Ingo Weinhold
7e78b434f4 Merge remote-tracking branch 'haiku/master' into package-management
Conflicts:
	build/jam/HaikuImage
	build/jam/OptionalPackageDependencies
	build/jam/OptionalPackages
	build/scripts/build_cross_tools_gcc4
	src/add-ons/translators/icns/Jamfile
	src/add-ons/translators/jpeg/Jamfile
2013-07-08 14:01:00 +02:00
Rene Gollent
0635bcc98f Media prefs: layout fixes. 2013-07-04 13:46:29 -04:00
Rene Gollent
a97ff1bb60 Adjust apps to conform to previous layout changes.
The Deskbar and Time preferences were both relying on BCheckBox's
previous unlimited max width to get their containing BBoxes to be the
right size. Adjust the box constraints to make this happen at the level
of the box instead.
2013-07-01 19:08:57 -04:00
Ingo Weinhold
ff2e520912 Remove the old "CVS" package rules
... and all their invocations.
2013-06-30 18:59:11 +02:00
Ingo Weinhold
29f8805f6c Update freetype package
Also use the new build feature rules
2013-06-14 00:48:10 +02:00
Ingo Weinhold
178da21ad1 Update icu package
Also use the new build feature rules.
2013-06-13 18:42:44 +02:00
John Scipione
51e2dbe7f2 Backgrounds: AddGlue() before color control
... so that it is attached to bottom of the box.
2013-06-07 15:53:13 -04:00
John Scipione
d0ddd796b2 Backgrounds: Update spacing around preview.
So that there isn't extra space at the bottom, only between the monitor
and the X and Y text controls, and the insets.
2013-06-07 15:36:57 -04:00
Ingo Weinhold
a532c57308 Remove /boot/{apps,preferences} symlinks
And adjust all remained occurrence in the tree accordingly (->
/boot/common/{apps,preferences}).
2013-06-04 23:36:46 +02:00
John Scipione
38a0042248 Backgrounds: Line up BBox top borders refactor
Found an AddStrut() method that eliminates the need for the ugly
CreateVerticalStut() call. This approximately matches what I did
in Screen Preferences to line up the BBox's there.

I've reverted my previous commit and redid the code to make
the history as nice as possible but my main concern is to make the
code as nice as possible.
2013-06-02 17:56:49 -04:00
John Scipione
67a0c8e7ac Revert "Backgrounds: Line up BBox top borders"
This reverts commit 4fe4dcf947abde59b084345697c723fb82053bc1.

Want to do a different way.
2013-06-02 17:33:04 -04:00
John Scipione
4fe4dcf947 Backgrounds: Line up BBox top borders 2013-06-02 17:16:23 -04:00
John Scipione
6aea66ee0d Backgrounds: Refactor view layout code
* Eliminate an uneeded group level, top level is B_VERTICAL
* Remove B_USE_DEFAULT_SPACING calls, use default param instead
2013-06-02 17:12:42 -04:00
John Scipione
c33dfc270f Background: Increase the cell size of the color control
... to 8.0 matching the value used in the Appearance preflet.
This cell sizes makes the ramps fit nicely with the Red Green
and Blue text boxes at the default 12pt font size.
2013-05-31 20:53:29 -04:00
John Scipione
1839b2e699 Backgrounds: Eliminate uneeded view variable 2013-05-31 19:20:28 -04:00
John Scipione
821d2bfcb0 Backgrounds: Don't resize image menu field to preferred 2013-05-31 19:00:03 -04:00
John Scipione
94e6903259 Backgrounds: View layout updates
* Replace the stringViews with CreateLabelLayoutItem()s and menus
   with CreateMenuBarLayoutItem().
* Remove extra group levels
* Use font aware spacing units in layout constructor.
* Align the fIconLabelOutline check box with the menu fields
  instead of the menu field labels.
2013-05-31 18:33:56 -04:00
John Scipione
56cf4a96bc Backgrounds: message fall through 2013-05-31 15:28:56 -04:00
John Scipione
fc584d8a7d Backgrounds: Update header, copyright year, add my name 2013-05-31 15:27:58 -04:00
John Scipione
2f5349a40a Revert "Backgrounds: Resize menu fields to preferred width."
This reverts commit 19d9ad49ae52b561d8600ee27c73e9352d2f37b9.
2013-05-31 15:22:26 -04:00
John Scipione
83cc66b38f Revert to manually offsetting the BBox in BScreen.
Take this opportunity to reapply this hack in a much nicer way.

Before the hack included the default margins, now it doesn't.

Should be back to normal, sorry for the noise.
2013-05-30 22:10:40 -04:00
John Scipione
e473d011dd Return the insets to be equal on all sides 2013-05-30 22:07:43 -04:00
John Scipione
7b03c0ce31 Backgrounds: Use font relative spacing and adjust insets
BBox's now line up.

Once again set the top inset of the BBox that forms the main
backgrounds view to 0. This should probably be converted to
a BView...
2013-05-30 20:43:34 -04:00
John Scipione
80e5b062fe Appearance: Use font relative spacing insets for the preview boxes
Set the top inset to 0 since BBox's now have a natural top offset.
2013-05-30 20:40:45 -04:00
John Scipione
4666484ff2 Screen: Undo hack to line up the top borders of the BBox's
Also, use font relative spacing units
2013-05-30 20:39:23 -04:00
John Scipione
19d9ad49ae Backgrounds: Resize menu fields to preferred width.
Also a few other related changes:
* Update the copyright year in header and add my name.
* Use font aware spacing units in layout constructor.
* Align the fIconLabelOutline check box with the menu fields
  instead of the menu field labels.
2013-05-30 17:47:26 -04:00
John Scipione
0a04b14f8c Backgrounds: Use layout workspaces menu field 2013-05-30 00:05:18 -04:00
Ingo Weinhold
c663ca2171 Merge branch 'master' into package-management
Conflicts:
	build/jam/HaikuImage
	src/system/kernel/arch/x86/64/arch.S
2013-05-12 00:18:19 +02:00
Jérôme Duval
0bbc331f6b ShorcutsPreferences: fixes 64 bit warnings 2013-05-10 19:59:05 +02:00
Jérôme Duval
4c1efaad9c MailPreferences: fixes 64 bit warnings 2013-05-10 19:56:07 +02:00
John Scipione
6ba46ced85 Reinit offscreen bitmap when set keyboard layout
Fixes #9345
2013-05-06 21:16:24 -04:00
Ingo Weinhold
25a7b01d15 Merge branch 'master' into package-management
Additional changes:
* Add src/system/kernel/lib/zlib, which builds a kernel version of zlib,
  needed by packagefs.
* BuildFeatures: Add a build feature "gcc2" to allow for easier checks.
* Referenceable.cpp: Include <OS.h> instead of <debugger.h>. The latter
  is not needed and prevents building for the build platform.
* zlib/zutil.h: Fix gcc 2 build. We really should use the external
  package instead.

Conflicts:
	.gitignore
	build/jam/BuildSetup
	build/jam/FileRules
	build/jam/FloppyBootImage
	build/jam/HaikuImage
	build/jam/ImageRules
	build/jam/KernelRules
	build/jam/NetBootArchive
	build/jam/OptionalBuildFeatures
	build/jam/OptionalLibPackages
	build/jam/OptionalPackageDependencies
	build/jam/OptionalPackages
	build/scripts/build_haiku_image
	configure
	data/bin/installoptionalpackage
	data/system/boot/Bootscript
	headers/os/app/Message.h
	headers/os/package/PackageInfo.h
	headers/os/package/PackageInfoAttributes.h
	headers/os/package/PackageInfoSet.h
	headers/os/package/PackageRoster.h
	headers/os/package/PackageVersion.h
	headers/os/package/hpkg/PackageInfoAttributeValue.h
	headers/os/storage/FindDirectory.h
	headers/os/storage/Node.h
	headers/os/support/StringList.h
	headers/private/system/directories.h
	src/add-ons/kernel/drivers/audio/ac97/es1370/Jamfile
	src/add-ons/kernel/file_systems/packagefs/AttributeIndex.cpp
	src/add-ons/kernel/file_systems/packagefs/Jamfile
	src/add-ons/kernel/file_systems/packagefs/Package.cpp
	src/add-ons/kernel/file_systems/packagefs/Package.h
	src/add-ons/kernel/file_systems/packagefs/PackageDomain.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageDomain.h
	src/add-ons/kernel/file_systems/packagefs/PackageFSRoot.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageLinkDirectory.h
	src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageLinkSymlink.h
	src/add-ons/kernel/file_systems/packagefs/PackageLinksDirectory.cpp
	src/add-ons/kernel/file_systems/packagefs/PackageNode.h
	src/add-ons/kernel/file_systems/packagefs/ResolvableFamily.cpp
	src/add-ons/kernel/file_systems/packagefs/Version.cpp
	src/add-ons/kernel/file_systems/packagefs/Version.h
	src/add-ons/kernel/file_systems/packagefs/Volume.cpp
	src/add-ons/kernel/file_systems/packagefs/Volume.h
	src/add-ons/kernel/file_systems/packagefs/kernel_interface.cpp
	src/add-ons/kernel/file_systems/userlandfs/shared/driver_settings.c
	src/apps/deskbar/BarApp.cpp
	src/apps/deskbar/BarMenuBar.cpp
	src/apps/deskbar/BarMenuBar.h
	src/apps/deskbar/BarView.cpp
	src/apps/deskbar/BarView.h
	src/apps/deskbar/BarWindow.cpp
	src/apps/deskbar/BarWindow.h
	src/apps/deskbar/DeskbarMenu.cpp
	src/apps/deskbar/DeskbarMenu.h
	src/apps/deskbar/DeskbarUtils.cpp
	src/apps/deskbar/DeskbarUtils.h
	src/apps/deskbar/ExpandoMenuBar.cpp
	src/apps/deskbar/ExpandoMenuBar.h
	src/apps/deskbar/TeamMenu.cpp
	src/apps/processcontroller/ProcessController.cpp
	src/apps/remotedesktop/RemoteDesktop.cpp
	src/bin/bash/config-top.h
	src/bin/finddir.c
	src/bin/package/Jamfile
	src/bin/package/command_add.cpp
	src/bin/package/command_create.cpp
	src/bin/package/command_list.cpp
	src/bin/package_repo/command_list.cpp
	src/bin/pkgman/command_refresh.cpp
	src/build/libbe/support/Jamfile
	src/build/libpackage/Jamfile
	src/build/libroot/Jamfile
	src/build/libroot/fs.cpp
	src/build/libroot/remapped_functions.h
	src/kits/locale/MutableLocaleRoster.cpp
	src/kits/opengl/GLRendererRoster.cpp
	src/kits/package/PackageInfo.cpp
	src/kits/package/PackageInfoSet.cpp
	src/kits/package/PackageRoster.cpp
	src/kits/package/PackageVersion.cpp
	src/kits/package/RepositoryCache.cpp
	src/kits/package/hpkg/PackageWriterImpl.cpp
	src/kits/package/hpkg/ReaderImplBase.cpp
	src/kits/package/hpkg/WriterImplBase.cpp
	src/kits/print/PrintTransport.cpp
	src/kits/print/Printer.cpp
	src/kits/screensaver/ScreenSaverRunner.cpp
	src/kits/support/StringList.cpp
	src/kits/tracker/ContainerWindow.cpp
	src/kits/tracker/DeskWindow.cpp
	src/kits/tracker/PoseView.cpp
	src/libs/print/libprint/Transport.cpp
	src/preferences/printers/AddPrinterDialog.cpp
	src/preferences/screensaver/ScreenSaverWindow.cpp
	src/servers/debug/DebugServer.cpp
	src/servers/input/AddOnManager.cpp
	src/servers/media_addon/MediaAddonServer.cpp
	src/system/boot/Jamfile
	src/system/boot/loader/Jamfile
	src/system/boot/loader/loader.cpp
	src/system/boot/loader/vfs.cpp
	src/system/kernel/fs/vfs.cpp
	src/system/kernel/fs/vfs_boot.cpp
	src/system/libroot/os/find_directory.cpp
	src/system/runtime_loader/runtime_loader.cpp
	src/tools/package/Jamfile
2013-05-05 15:03:26 +02:00
Adrien Destugues
31535ac63b Make BAboutWindow modal
Ã* Set its type to B_MODAL_WINDO, and also set B_NOT_MOVABLE
 * Since this removes the window tab, add an "Ok" button to close the window
 * Remove the GetWindow mess and just use it as any regular window
 * Adjust all callers again

The AlertPosition method doesn't seem to work right, the window pops up
offset to the right. I also noticed that some of our calls to BAboutWindow
are actually not reacable because we removed Abutrequested from the apps.
Maybe we should clean them up (locale preflet and activity monitor are examples)

More annoying is the fact that opening a modal window from a deskbar replicant
is modal against the whole deskbar. Not sure what to do about that.
2013-05-01 10:10:37 +02:00
Adrien Destugues
fd19c7366d Fix BAboutWindow lifecycle
BAboutWindow returned false in QuitRequested in order to hide instead of closing.
Not only this keeps a BLooper running for a rarely used window, but it also
prevents quitting an application in the window was not destroyed first.

 * Remove aforementioned QuitRequested method,
 * Add a static GetWindow method that returns the existing about window, if there
is one, or creates one if there is not. A boolean can be set to tell the caller
what happened,
 * Adjust all callers to use that new method, instead of managing the window themselves.
2013-04-30 21:50:24 +02:00
John Scipione
ed08c5287a Update CPUFrequency layout a bit
* Use font relative insets and spacing for window.
* Make the input box for Integration Time more reasonably sized and right
  align the label.
* Make the Install replicant into Deskbar button flush right.
* Use the standard amount of space between the Defaults and Revert buttons.
2013-04-29 01:20:52 -04:00
Stefano Ceccherini
875b9f66d1 Use BNetworkDevice to get the current associated wireless network.
Use BNetworkDevice instead of using the driver settings api to get the
associated wireless network.
Also got rid of Settings::_PrepareRequest(), since it's no longer needed.
2013-04-21 18:26:14 +02:00
Stefano Ceccherini
be1038406b Use the network kit api instead of talking to the netstack directly.
Use BNetworkInterface and BNetworkInterfaceAddress in the Settings class
instead of using ioctls. This works for everything except the default
route, for which there is no API yet.
2013-04-21 15:45:38 +02:00
John Scipione
429ae1b151 A few more style fixes to ListView and ColorSet, thanks Axel 2013-04-09 19:24:51 -04:00
John Scipione
1af184248a Pass the B_FILTER_BITMAP_BILINEAR for scaling backgrounds
Fixes #6536
2013-04-09 03:38:01 -04:00
John Scipione
135f35e5c7 SetColor and redraw listitems on revert. Fixes #9640
Finally the point of these commits, to fix this bug.
2013-04-08 23:13:34 -04:00
John Scipione
0112415f3b Reverse loop variable avoidance 2013-04-08 23:13:33 -04:00
John Scipione
eba68f6124 Update header and other style fixes 2013-04-08 23:13:32 -04:00
John Scipione
034643d4ca Reorder Revert to order of tabs, same as Defaults action 2013-04-08 23:12:48 -04:00
John Scipione
7ef12e5cad Eliminated _UpdateControls(), some style fixes 2013-04-08 23:11:42 -04:00
John Scipione
4600a90cd0 Pointer style fixes 2013-04-08 23:11:41 -04:00
John Scipione
aff2fb8750 Loop count premature optimization 2013-04-08 23:11:39 -04:00
John Scipione
3e30da293d Stylish style fixes for ColorSet 2013-04-08 23:11:39 -04:00
Stefano Ceccherini
cb5f68f44c Don't open a socket, since we don't use it.
Also removed fSocket from the class.
2013-04-06 19:36:52 +02:00
John Scipione
9f24981a56 Add B_SCROLL_BAR_THUMB_COLOR constant.
This allows you to change the scrollbar thumb color in Appearance preferences.
The default color is 216, 216, 216 so the scroll bar thumb looks the same by
default. Perhaps someday this can be updated to something a bit more colorful.
2013-04-05 19:26:41 -04:00