Commit Graph

42236 Commits

Author SHA1 Message Date
John Scipione
488d2c7231 Some more layout tweaks for 3drendering.
* Move the gears image to 18px from top matching alert window.
* Set the insets of the views inside the tabview to 5.0 since the
  tabView's bevel was drawing over the views and it didn't look
  right.
* Convert the InfoView fields to a GridView because the GroupView's
  didn't always line up.
* Make the inside tabView columns a little narrower to compensate
  for the insets.
* Make the tabView shorter.
2012-04-13 22:22:22 -04:00
Alexander von Gluck IV
2813a3e157 icons: Add some GL renderer icons
* Just some examples
* Trying to identify drivers without using
  trademarks, etc.
* Feel free to improve if your icon-o-matic
  skills are better then mine :P
2012-04-13 16:06:49 -05:00
John Scipione
a32d58a545 Update the layout of 3drendering a bit.
Butt the capabilities and extensions views right up against
the edges of the tab view. This gives a bit more room for the
columns inside.
2012-04-13 04:48:08 -04:00
John Scipione
7e76e3c760 Nip this M thing in the bud.
Multiply StringWidth("M") * the number of M's needed and then
tweak to get it to fit well at different font sizes. Turns out
it fits the same most of the time. Tested at font size 12pt, 8pt,
and 18pt.There are issues with BStringColumn at 18pt not
adjusting to the font size correctly but this is a different bug.

Add myself to the authors list on InfoView.cpp since I have
updated the file heavily at this point.
2012-04-13 03:45:55 -04:00
John Scipione
766c2899e6 Put the InfoView in the main OpenGLView.
Take the InfoView out of the tabView and put it above the tabView
in the OpenGLView. Change the format to a slightly altered version
from what kallisti5 recommended. The width and height of the tabView
are controlled by M's so if you change your font size it will fit
accordingly. Therefore the window dimensions are sane defaults yet
don't really affect the dimensions of the child views. The views
know how to size themselves sanely.

* Change the 3d Rendering Engine from a BMenu to a BPopUpMenu.
2012-04-12 22:48:45 -04:00
John Scipione
2ddd0a7965 Make the capabilities view and extensions view font aware. the capabilities column is 21 M's wide and can be adjusted, the value column is 6 M's wide, the available extensions column is 28 M's wide. I do mean M's 2012-04-12 21:17:17 -04:00
François Revol
3f551e5c43 Expose the connected status
* Since we won't always have a client, expose the connected status from the HWInterface to other classes.
Currently only used to simulate DPMS state.
* Cleanup.
2012-04-13 01:26:46 +02:00
François Revol
599f30f93d Fix building the m68k kernel
* Restructured the vm support code to align with the changes done to other archs.
* Not completely finished, but the kernel loads and panics. I had this sitting on the disk anyway.
* Only support 040 for now, 030 will need to be added back.
* This commit is dedicated to Jack Tramiel who passed away away last sunday:
http://www.forbes.com/sites/davidthier/2012/04/09/computer-legend-and-gaming-pioneer-jack-tramiel-dies-at-age-83/
2012-04-13 00:53:09 +02:00
John Scipione
abbd8f3516 Update default Charts window width
* Set the window width default to 845px which is just enough
  to fit the controls along the top in the default font size and locale.
* Fix an obvious type in a comment in ChartWindow.cpp
2012-04-12 17:04:38 -04:00
John Scipione
37da7b7dce Some Layout fixed to 3dRendering for different font sizes.
Add glue between the gears view and the rest to make sure that
the rest butts up against GearsView. Update the Preferred
and Max size so that the spacing is appropriate. Make the window
width smaller and allow the views to expand it.

The ColumnListViews are still not set to respect different font
sizes but overall it works better at smaller font sizes.
2012-04-12 04:58:42 -04:00
John Scipione
6cd1a63b84 Update the Jamfile a bit adding OpenGLView.cpp to the DoCatalogs list. 2012-04-12 03:40:08 -04:00
John Scipione
fc85b72f84 Fix build 2012-04-12 03:11:09 -04:00
John Scipione
a73b93fb03 Transform Capabilites into a ColumnListView. Make window shorter.
* Transform Capabilities to show a ColumnListView like Extensions.
* Make the window 250px tall, much shorter than before.
* Refactor both capabilities and extensions views.
* This eliminated the need for ExtensionsList which has been deleted.
* Move the gears image up.
* Take GearsView.cpp out of the Catalog since there are no strings
  there and there most likely never will be.
* Add OpenGLWindow.cpp to Catalog the window title counts.
* Update the Jamfile.
* Update copyright adding my name to several files.
* Rename Available column to Available extensions
2012-04-12 02:54:23 -04:00
John Scipione
e5c6459e60 Refactor the FetchAppIcon() method.
Once we've found the icon bail out with return. This is functionally
equivalent but is cleaner, decreases the indent level, and doesn't
require an extra variable.
2012-04-12 00:20:08 -04:00
John Scipione
a4d1d8cc8c Another tiny style fix, sorry guys. 2012-04-11 23:58:46 -04:00
John Scipione
20f438f9de Tiny style fix 2012-04-11 23:56:01 -04:00
John Scipione
1a9e959932 If can't find generic 3 boxes icon, fill with transparent.
If we can't find the generic 3 boxes icon we are really in trouble.
But, showing garbage is not the right answer. Instead, fill the
icon with transparent pixels. Tested all code paths. Hopefully this
code will never need to be executed.

* Rename kIconFormat to kIconColorSpace
2012-04-11 23:48:54 -04:00
John Scipione
b97545d7ab If you can't find an app's icon, get the generic 3 boxes icon.
Well this is embarrasing. If the app icon could not be found I wasn't
filling out anything so the bitmap was displaying random garbage.
Instead, if I can't find the icon, fill with the generic 3 boxes icon.
No reason to call GetTrackerIcon because I know that it is an
application and not some other MIME type.
2012-04-11 22:06:18 -04:00
Rene Gollent
3c5763274a Implement DW_LNE_set_discriminator from DWARF 4. 2012-04-11 19:28:59 -04:00
Rene Gollent
56981da008 Fix slight oversight in previous commit.
Only trigger autoconfiguration if the link status changed from down
to up.
2012-04-11 18:31:44 -04:00
Rene Gollent
9cac658a9f Keep more accurate track of media status changes.
AutoConfigLooper now remembers the last media state it received from the device,
and compares both to see if the active state actually changed. Should help with
quality changes where the link didn't actually drop. May also help on ethernet
if the chipset sends spurious link status change notifications.
2012-04-11 18:27:20 -04:00
Jérôme Duval
b95fa2488a ffmpeg: don't use deprecated API in AVCodecDecoder. 2012-04-11 23:49:30 +02:00
John Scipione
e6cafb1a48 Fix a few more style issues. 2012-04-11 15:49:56 -04:00
John Scipione
25dba9f11a Fix another instance of < B_OK vs != B_OK 2012-04-11 15:37:08 -04:00
Alexander von Gluck IV
5af067fba4 radeon_hd: Style fix in new ring code
* Thanks Axel for catching this.
2012-04-11 14:23:45 -05:00
Alexander von Gluck IV
745450ade8 radeon_hd: More initial ring queue work
* Rename RenderQueue to RingQueue to be more generic
* We will need two Ring Buffer types, one for
  host -> gpu (render/cp data) and one gpu -> host (irq)
* Add header guard to ringqueue.h
* Things still may change as I work up to a bigger picture.
2012-04-11 14:23:44 -05:00
John Scipione
f454574fca Fix style issues Axel brought up. 2012-04-11 15:16:25 -04:00
François Revol
c7b10ca658 Fix shadows for the boxes
Not sure how to do the L shadow.
2012-04-11 13:22:01 +02:00
François Revol
9fd2efd72d Add the L glyph to the Links2 icon
Added a 3D-ish L glyph. This almost looks like the Links 2 icon but in 3D. I'm afraid I'll have to rely on stippi to fix the shadows.
2012-04-11 12:43:39 +02:00
John Scipione
9748fb4be7 Small tweak to time menu options in Deskbar
Change "Change time..." menu item in Deskbar clock contextual
menu to "Open time preferences..." because you can do a lot more
than just change the current time there.
2012-04-11 03:39:57 -04:00
John Scipione
d187a1ef55 Put 'Hide application names' checkbox before Icon Size slider in Desbkar Preferences. 2012-04-11 03:06:10 -04:00
John Scipione
e92a0e8e2c Style fixes only 2012-04-11 02:48:28 -04:00
John Scipione
58c352015a Complete the implemention of Gears in GLRendering
* Add the gears_64.png resource to GLRendering.rdef
* Add GearsView.cpp and header
* Add to Jamfile
* Add a GearsView to the OpenGLView
* Make the default window width wider to fit the gears
2012-04-11 02:36:25 -04:00
John Scipione
b5adb259c3 WIP: Add a GearsView class that contains a nice grey border and gears icon. 2012-04-11 02:36:25 -04:00
François Revol
830c6e8d3c Add an unfinished icon for Links2 2012-04-11 04:10:12 +02:00
Jérôme Duval
663a698165 ffmpeg: switch to 0.10 API
* let ffmpeg handle probing buffer sizes.
* definitely helps with #8458. Noticed less drops for #8393.
2012-04-10 23:40:44 +02:00
Jérôme Duval
932ed21aea marvell_yukon: status is actually a uint32. 2012-04-10 22:06:00 +02:00
Alexander von Gluck IV
138f826121 radeon_hd: Add simple ring buffer
* Does radeon specific buffer alignment.
* Still very early (and not used yet).
2012-04-10 13:53:14 -05:00
François Revol
cffda6bf03 Add PPC to U-Boot bootloader support.
This should be useful for SAM440 and SAM460 boards for example.
The generic U-Boot code still has some ARM-specific parts that must be moved out though.
2012-04-10 18:41:41 +02:00
François Revol
75cc1dbd2e Typo. 2012-04-10 18:28:31 +02:00
John Scipione
95e02d4972 Remove superfluous colons 2012-04-10 01:36:42 -04:00
John Scipione
2a2dc95aa1 Update timeView popup menu 2012-04-10 01:28:22 -04:00
John Scipione
573f748c5f Add 12/24 hour and time formatting options to Deskbar.
* 12/24 hour settings come from and alter BLocale
* Time formats are short, medium, long. Short is default. Come from
  Locale kit.
* Don't delete fClock (now fTime) when hiding, just hide and show
  the view.
* BarView now has nothing to do with setting or keeping track of
  time settings. This is all handled in TTimeView. TReplicantTray
  is responsible for updating the replicant tray and doing showing
  and hiding. TTimeView is responsible for drawing according to the
  clock settings.
* Remove fShowInterval and fShowSeconds from BarView
* Remove ampmMode setting and replace it with timeFormat.
* Reset targets in DeskbarMenu.

Originally I was trying to solve a bug where the TTimeView
was relying on the Deskbar settings too much. The settings
should only by set on quit and accessed on startup or a crash can
cause Deskbar to be in an unusual state.

I realize that the timezone is not very helpful. I'd like to provide
the day of week in a short format instead, i.e. Wed for Wednesday or
similar based on your locale. Blame the Locale Kit for now allowing
me to be able to use a custom TimeFormat. Once a custom TimeFormats
becomes possible from the Locale Kit Deskbar can be updated to use
them.
2012-04-10 01:28:22 -04:00
John Scipione
40b6c14db7 If full time format, don't abbreviate the time zone. 2012-04-10 01:05:54 -04:00
Alexander von Gluck IV
44fcb75e77 GLife: Add new screensaver into image. 2012-04-09 22:00:19 -05:00
Alexander von Gluck IV
893c33e1be radeon_hd: Fix silly scope bug in connector_read_mode_lvds
* Local malloc isn't guaranteed outside function
2012-04-09 21:42:39 -05:00
Alexander von Gluck IV
d387f54a23 x86: Change cpu feature flags to shifts
* No functional change
* Added missing ia64 emulation flag
* More closely matches AMD_EXT defines
* Easier to read compared to CPU documentation
2012-04-09 08:19:10 -05:00
Matt Madia
925dd7cd99 Ensure that bash's mkbuiltins won't pollute HAIKU_TOP.
Introduces a commandline option to specify the filename of the
temp_struct_filename, allowing the buildsystem to place it on the same volume
as HAIKU_OUTPUT_DIR. Fixes #6746.
2012-04-08 20:41:14 +00:00
Matt Madia
09af439301 Automatic whitespace cleanup. No functional change. 2012-04-08 20:31:14 +00:00
Jérôme Duval
05326911fc ntfs: fixed coverity resource leaks.
* CID 5723, 5724, 5725, 5726, 5728, 5736, 5737
2012-04-08 23:37:19 +02:00