Commit Graph

42262 Commits

Author SHA1 Message Date
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
Alexander von Gluck IV
3e0b63a489 glteapot: Fix missing Mesa dependency 2012-04-08 21:13:53 +00:00
Alexander von Gluck IV
dc68ff8627 haiku3d: Fix missing Mesa dependency 2012-04-08 21:12:01 +00:00
Alexander von Gluck IV
05779cd9e3 glife: Enhance controls
* Re-organize controls to fit small ScreenSaver window
* Add life delay factor slider
* Make control labels more dynamic
* Style cleanup
2012-04-08 00:38:58 -05:00
Alexander von Gluck IV
c81caff900 glife: Redesign control layout
* Use BGroupLayoutBuilder vs static BRect's
2012-04-08 00:38:55 -05:00
Alexander von Gluck IV
09e2df87ba glife: Style cleanup
* BScreenSaver control view cleanup
* Style cleanup some variable names
2012-04-08 00:38:53 -05:00
Alexander von Gluck IV
4b66f476de glife: Style cleanup. Spaces. No functional change. 2012-04-08 00:38:50 -05:00
Alexander von Gluck IV
f6dff25576 glife: Style cleanup. Class var names. No functional change. 2012-04-08 00:38:48 -05:00
Alexander von Gluck IV
cfe5c09adf glife: Ensure viewport isn't null.
* Ensure we don't dereference a null pointer.
* Fixes GLife crash
2012-04-08 00:38:46 -05:00
John Scipione
d0a4932863 Fix a few more bugs in Deskbar, find a new one too.
Hiding in horizontal mode was leaving behind a white bar because the
window was getting hidden but the view not resized. Now fixed.

Moved simple state and member access function implementations from
BarView.cpp to BarView.h. Always use the local variable in BarView.cpp
to avoid a function call.

Rename Expando() to ExpandoState() and add FullState() and MiniState()
methods to BarView.h.

Call just PlaceApplicationBar() in vertical expando mode when resizing
icons. Call the full UpdatePlacement() in horizontal mode because I need
to update the height of the status tray when icons resize. Do not call
any method in MiniState because the icons will get resized when the
menu gets opened later.

The new bug I found is a little subtle. If you hide the clock by right
clicking on the clock and selecting Hide clock then quit deskbar with
'hey Deskbar QUIT' and restart Deskbar with 'Deskbar' the Show seconds
checkbox in the preference is disabled correctly, however, right clicking
Show Clock doesn't undisable the checkbox so you can no longer hide
seconds anymore. I'll fix this in a bit.
2012-04-07 23:37:33 -04:00
John Scipione
8ff49ae316 Use != B_OK, not < B_OK to indicate an error.
Apparently error codes are allowed to be positive.
2012-04-07 21:32:44 -04:00
John Scipione
c7bb0d08da Fix the rest of the settings 2012-04-07 21:23:39 -04:00
John Scipione
e73a037077 Fixes a bug in Deskbar not using default icon size
My recent changes to Deskbar to support different icon sizes
checks your settings file for an icon size setting and resizes
to that. Unfortunately if your existing settings file doesn't
have that setting it sets the icon size to 0. I followed the example
of other integer settings when I wrote the code, unfortunately
they were broken too so I copied an error. I have fixed that setting
and a couple others to use the reset back to default if the setting
is not found in your settings file.
2012-04-07 21:01:57 -04:00
John Scipione
363a49a64e Fix memory leak and an optimization in Deskbar
When resizing Deskbar icons, delete the icon bitmap before rebuilding
it with a new icon, was leaking the bitmap.

For several actions including:
 - Sorting running apps
 - Setting Tracker first
 - Showing/hiding application expander
 - Expanding new applications
 - Resizing icons
 - Hiding and showing application names

It is not necessary to rebuild all of Deskbar, just rebuild the
application bar. Should also help but not complete fix Ticket #532.
2012-04-07 20:37:38 -04:00
Rene Gollent
3da13b8038 Fix typeahead cancellation in file panels.
- Add accessor to PoseView that reports whether the view is currently
  typeahead filtering.
- Use said accessor in the file panel's filter in order to detect whether
  to tell the latter to cancel filtering vs closing the panel.

Fixes #8140.
2012-04-07 20:20:39 -04:00
Oliver Tappe
eb78be9b27 Fix 8172: Time preflet being too slow to start.
* looking at the profile info kindly supplied by diver hinted at
  getting the timezones for each country individually being part of the
  problem, using BLocaleRoster::GetAvailableTimeZonesWithRegionInfo()
  helps considerably
* further improve the situation by only requesting the localized display
  name of a timezone when it is actually needed (i.e. when there are
  more than a single timezone in the current country)
Testing with VMware on my slowest machine, this brings down the start
time of the Time preflet from 5 seconds to 1.5 seconds.
2012-04-07 20:51:43 +02:00
Oliver Tappe
635df64352 Add BLocaleRoster::GetAvailableTimeZonesWithRegionInfo()
* allow locale kit clients to get all timezones with their corresponding
  country/region ID piecemeal
2012-04-07 20:51:43 +02:00
Pawel Dziepak
3c1afd351d Fix #8420: NetFS does not compile with DEBUG
Debug macros like PRINT, ERROR, etc. are defined differently in NetFS
and UserlandFS. In NetFS they use single parentheses while in UserlandFS
double parentheses are required. Somehow this got mixed up in NetFS and
there were both styles of calling these macros what caused the incorrect
one to produce compilation errors.

Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
2012-04-07 19:10:52 +02:00
Niels Sascha Reedijk
0c38373fff Update translations from Pootle 2012-04-07 16:39:25 +02:00
Pawel Dziepak
96944cbb3c Fix #4125: NULL device is translated to '//'
The problem appeared to be on the request creating side (i.e. in the
kernel add-on) which did not support NULL pointers properly.

Relocation of addresses in request when it is received translates
offset = 0, size = 0 to pointer NULL so that no change in that part
of code was required.

Signed-off-by: Ingo Weinhold <ingo_weinhold@gmx.de>
2012-04-07 15:57:53 +02:00
John Scipione
7c369a4b3f Fix gcc2 build on Mac OS X Lion.
The gcc2 cross-compiler built on Mac OS X Lion has a bug in it
where it is erroring with 'cast specifies signature type' when
assigning 0 or NULL to a pointer to a member fuction. NULL in this
instance is correctly converted to 0 since it is illegal to assign
((void*)0) to a pointer to a member function. However, it should
be legal to assign 0 to a pointer to a member function. Thus, there
is a bug.  Since I can't fix the gcc2 compiler I am working around
this bug by assigning the pointer to a do nothing function instead.

My host compiler version is
i686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)

The same error occurs using the default gcc-llvm compiler and
a standard gcc 4.61 built from source. This bug does not occur on
Mac OS X 10.6 gcc2 or gcc4, nor does it occur on Mac OS X 10.7 with
the gcc4 cross-compiler.

If and when we decide to finally leave gcc2 behind we can revert this
change.
2012-04-07 06:21:26 -04:00
Alexander von Gluck IV
7d0f6bd08c Merge branch 'glife' 2012-04-06 20:11:27 -05:00
Alexander von Gluck IV
8bc51bee4c glife: Initial style cleanup 2012-04-06 20:04:26 -05:00
Alexander von Gluck IV
3c94b5cb05 glife: Rename *.hpp to *.h 2012-04-06 19:43:48 -05:00
Alexander von Gluck IV
9339eb2063 glife: Enable in Jamfiles / build system 2012-04-06 19:31:58 -05:00