Commit Graph

43532 Commits

Author SHA1 Message Date
François Revol
defa25e38f Merge branch 'master' into sam460ex 2012-08-28 18:53:03 +02:00
Jérôme Duval
61cb4d8c6d libpng and jpeg: build against optional packages.
* added optional feature package for libpng 1.5.12 gcc4/gcc2 x86 and ppc
* drop libpng sources and headers from the tree.
* added optional feature package for jpeg 8d gcc4/gcc2 x86 and ppc
* drop jpeg sources and headers from the tree.
2012-08-27 22:03:18 +02:00
Axel Dörfler
713945cecb The original_data could be freed late.
* In cache_abort_sub_transaction(), the original_data can already be freed
  when the block is being removed from the transaction.
* block_cache::_GetUnusedBlock() no longer frees original/parent data - it
  now requires them to be freed already (it makes no sense to have them still
  around at this point).
* AFAICT the previous version did not have any negative consequences besides
  freeing the original data late.
2012-08-27 20:00:06 +02:00
Axel Dörfler
242e01d245 Improved member variable naming as suggested by Stippi. 2012-08-27 20:00:06 +02:00
Fredrik Modéen
7a74a5df45 WIP... Updating Bluetooth.
* Some bugfixes.
* added scan mode read.
* inactivated some printout for now. Was a lot of noice in terminal
2012-08-27 19:23:22 +00:00
Axel Dörfler
9089ab06bd Minor block cache refactoring.
* Extracted a write_blocks_in_previous_transaction() function out of
  cache_end_transaction(), and cache_detach_sub_transaction().
2012-08-27 12:46:22 +02:00
Axel Dörfler
dd9d610500 Fixed broken block list introduced in hrev44357.
* cache_abort_sub_transaction() was setting the transaction_next pointer to
  NULL in order to remove a block from a transaction -- however, it forgot to
  actually remove it from the transaction's block list.
* Minor restructuring.
2012-08-27 12:42:48 +02:00
Axel Dörfler
153d895337 Fixed broken discard handling in cache_start_sub_transaction().
* This actually resolves a TODO.
2012-08-27 12:38:35 +02:00
Axel Dörfler
8f9dac699d Cleanup, no functional change intended. 2012-08-27 11:21:42 +02:00
Philippe Saint-Pierre
53312de5e5 MediaPlayer: Toggling Fullscreen wrongly reset control status
All controls were enabled when toggling fullscreen on and off;
now it recalls the argument last used in SetEnabled() and reuse it
when called in AttachedInWindow() (which occurs in such toggling)

Fixes #8804.
2012-08-25 21:28:10 -04:00
Philippe Saint-Pierre
a70b623a51 FileTypes : IconView for non-applications fixes
IconView is now only setting the icon with BAppFileInfo when the file is an application,
otherwise relies on BNodeInfo. This avoids adding ressources within data files.

The IconView also wasn't populated correctly when used on data files (by opposition to
application binaries).  It now loads the same icon that is shown in Tracker.
2012-08-25 15:06:58 -04:00
Jessica Hamilton
66ddd2d6e9 Move SetMouseEventMask() into MouseDown, where it should be. 2012-08-25 14:12:54 -04:00
Axel Dörfler
c95601d728 Fixed hiding the mouse cursor after going full screen.
* This fixes a regression I introduced in hrev43648; the mouse cursor
  was only being hidden in case the controls were visible (ie. only
  after an extra mouse move in full screen).
2012-08-25 13:57:50 +02:00
François Revol
80dfcc7311 U-Boot: check for /chosen in the FDT for an initrd holding our tgz
* since the FDT linux boot method doesn't pass the uimage, we can't
use it to pass the kernel+driver tgz in a multi-file uimage.
* instead we check for the linux initrd properties in the /chosen node.
2012-08-25 00:33:24 +02:00
Edward Robbins
6912e7dc03 getrlimit with RLIMIT_STACK now returns USER_MAIN_THREAD_STACK_SIZE
Signed-off-by: Rene Gollent <anevilyak@gmail.com>
2012-08-24 18:29:59 -04:00
François Revol
60a40e4ff0 U-Boot: fix hex dump in fdt support 2012-08-24 23:04:16 +02:00
François Revol
74eeabe4a6 U-Boot: initialize the debug UART using FDT hints when possible
* we first try to find 'serial', 'serial0' or 'serial1' in /aliases
* extract the required properties from the found node and use them
* fallback to the hardcoded UART from the board definition header
2012-08-24 21:20:09 +02:00
François Revol
513f67f193 U-Boot: don't dump the FDT nodes by default
* only dump some header infos from the FDT by default, as dumping
the complete tree can get quite verbose.
2012-08-24 21:15:50 +02:00
François Revol
aec8bf1b72 Merge branch 'master' into sam460ex 2012-08-24 18:03:32 +02:00
François Revol
696526b2b8 U-Boot: dump the passed FDT
* add some helpers for Flattened Device Trees, for now a dump call
* dump the passed FDT on startup for now
2012-08-24 17:56:45 +02:00
François Revol
78ea39c7d2 U-Boot: compile and link to libfdt
* For the sam460ex and likely some ARM boards we will try to boot
using the passed FDT, as it's the recommended method now.
2012-08-24 15:48:02 +02:00
François Revol
6955cba65b haiku_loader: add memchr to the list of imported libroot objects
* libfdt uses memchr, so add this function from the libroot objects
2012-08-24 15:32:44 +02:00
czeidler
8e80f8cc35 Fix MinSize and PreferredSize. 2012-08-24 15:44:13 +12:00
czeidler
0457e3073e Add another working card id. 2012-08-24 15:42:47 +12:00
Fredrik Modéen
0d7b06c318 Updating Firewire.
* Some update from FreeBSD.
2012-08-23 22:37:06 +00:00
Axel Dörfler
c95f35ce9d Fixed 64 bit issue for the buffer descriptor base. 2012-08-23 22:01:19 +02:00
François Revol
48c009eb87 libfdt: Move headers to headers/libs/libfdt 2012-08-22 20:18:47 +02:00
Matt Madia
a441887328 Added 'diskimage' to image.
Allows one to register a file as disk, which  can then be mounted.
To note, one application of this is to allow mounting of anyboot images.
Fixes #5578.
2012-08-22 17:51:13 +00:00
Jessica Hamilton
d3668a5473 SoundConsumer.cpp: fix debug macros compiling in release mode
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
2012-08-22 23:49:12 +02:00
François Revol
53efe6a185 Add libfdt from dtc v1.3.0
* U-Boot based loader code will need to manipulate the passed
Flattened Device Tree, no need to reinvent the wheel.
* libfdt itself is dual-licensed GPL/BSD, the later suiting us.
* This comes from <git://git.jdl.com/software/dtc.git> tag v1.3.0
2012-08-22 19:14:06 +02:00
John Scipione
91c78f092f Create and use new list view item colors
* B_LIST_BACKGROUND_COLOR
* B_LIST_SELECTED_BACKGROUND_COLOR
* B_LIST_ITEM_TEXT_COLOR
* B_LIST_SELECTED_ITEM_TEXT_COLOR
2012-08-22 00:28:24 -04:00
Joseph R. Prostko
f49d27c7ed Allow Puri to be added to GCC2 hybrid builds 2012-08-21 22:20:13 -04:00
François Revol
70449c90d9 dev-perso: Add current branch name in window title for git
* when the project uses git, include the current branch name
in the terminal window title
2012-08-22 01:16:15 +02:00
François Revol
7f99a36bc7 Merge branch 'master' into sam460ex 2012-08-21 22:02:56 +02:00
Scott McCreary
b9398be907 Added chess game Puri as an OptionalPackage 2012-08-17 05:33:02 -07:00
John Scipione
2c1f6c10ce Update ListItem's to use menu item colors.
* Selected bg uses B_MENU_SELECTED_BACKGROUND_COLOR
* Selected text uses B_MENU_SELECTED_ITEM_TEXT_COLOR
* Unselected text uses B_MENU_ITEM_TEXT_COLOR

Update BStringItem, but also the custom Listitem code in the
Appearance and Locale preflets.
2012-08-20 02:20:59 -04:00
Ryan Leavengood
403bd97afc Update the copyright year too. 2012-08-20 01:13:19 -04:00
Ryan Leavengood
f1b593e7b5 Rename Pre Beta 1 version to Pre Alpha 4, introduce Alpha 4 version.
Make Pre Beta 1 fall after Alpha 4. Hopefully we won't need an Alpha 5.
2012-08-20 01:09:53 -04:00
Ryan Leavengood
eb89cc6b0b Deskbar: You know, we should actually use the translated name.
If this ever worked before, I don't know how.
2012-08-19 21:29:28 -04:00
Ryan Leavengood
d6c852ec49 Actually cache something when CacheLocalizedName is called.
Before its name was a lie, since nothing was cached.

Another boolean was added because getting the localized name could fail, and we
don't want to pointlessly try again, so relying on fHasLocalizedName won't work
for that.

Since in my tests this was getting called up to 4 times per application when
opening the Deskbar Application menu, this caching should speed that up a bit,
at least when this file name translation feature is turned on.
2012-08-19 21:25:43 -04:00
Ryan Leavengood
379dcaa1f6 Look up the entry_ref for a signature for localized file names.
Fixes #8124.
2012-08-19 21:21:30 -04:00
Ryan Leavengood
d7f6b4c18c ControlLook: Don't tint the selected menu item color.
Now that we use the actual selected menu item ui_color, this tinting is not
needed. In fact it makes the selected item too dark.

Thanks diver for noticing.
2012-08-19 18:17:07 -04:00
Siarzhuk Zharski
fa2fa02613 Insert Addressing::LeaveGroup call on dropping multicast group membership.
Omitting this call left invalid reference to deleted group in the
multicast groups hash-map and any upcoming attempt to join the group will
crash the system. Fixes #6736.
2012-08-19 22:38:21 +02:00
Rene Gollent
1e068aea46 Slight improvement to tracing output.
- If a trace entry has a stack trace, attempt to demangle the associated symbols.
  Could be enhanced further to also demangle the arguments but doesn't yet.
  Interestingly there are some mangled symbols that our demangler appears to
  not handle correctly (gcc4).
2012-08-19 16:04:36 -04:00
Rene Gollent
ad4d57f14b Fix multicast double free issue in IPv4.
- IPv4 had the same problem as v6. Most likely this was an oversight
  when converting from a C to a C++ module. Might help with #6736 and
  #8894.
2012-08-19 11:09:06 -04:00
Rene Gollent
9db38fdf34 Fix ticket #8870.
- multicast_address was being freed twice in ipv6_uninit_protocol(),
  causing a panic on exit in apps that made use of it.
2012-08-19 08:57:21 -04:00
Fredrik Holmqvist
ac827a2baa Make strcmp do four byte comparisons on aligned strings.
Used libMicro's strcmp test to evaluate performance:
OPTS="-E -C 200 -S -W"
bin/strcmp	$OPTS -N "strcmp_10"	-s 10	-I 10
bin/strcmp	$OPTS -N "strcmp_100"	-s 100	-I 20
bin/strcmp	$OPTS -N "strcmp_1k"	-s 1k	-I 50
bin/strcmp	$OPTS -N "strcmp_10k"	-s 10k	-I 800
bin/strcmp	$OPTS -N "strcmp_1m"	-s 1m   -I 500000
bin/strcmp	$OPTS -N "strcmp_10m"	-s 10m  -I 5000000

Before:
             prc thr   usecs/call      samples   errors cnt/samp     size
strcmp_10      1   1      0.02510          201        0    10000       10
strcmp_100     1   1      0.17520          169        0     5000      100
strcmp_1k      1   1      1.67700          177        0     2000     1024
strcmp_10k     1   1     17.24800          194        0      125    10240
strcmp_1m      1   1  17892.00000          160        0        1  1048576
strcmp_10m     1   1 183136.00000          201        0        1 10485760

After:
strcmp_10      1   1      0.01800          194        0    10000       10
strcmp_100     1   1      0.13540          190        0     5000      100
strcmp_1k      1   1      1.24950          188        0     2000     1024
strcmp_10k     1   1     12.85600          190        0      125    10240
strcmp_1m      1   1  12930.00000          170        0        1  1048576
strcmp_10m     1   1 134382.00000          195        0        1 10485760
2012-08-19 11:39:16 +02:00
Ryan Leavengood
a1efcf2c7f Set the Terminal window flags correctly when going fullscreen.
Fixes #8862.
2012-08-19 00:16:02 -04:00
Philippe Saint-Pierre
ed63a5d20c Tracker: Double-Click simplification
Double-click check was redoing what is essentially already done in input_server.

The way we were doing it, right clicking (or pressing a different button for the second click,
for that matter) wasn't clearing the fields remembered and thus not breaking the sequence.
So a third click returning to the correct sequence (in a short time) would get recognized
as a valid second click.  So a quick left-right-left would be seen by that method as left-left.

Also, clean up a previous fix I committed.  Removed the introduced Origin() method as it
is the LeftTop() method I was interested in and it is already existing.

Fix #8714
2012-08-18 22:13:09 -04:00
Matt Madia
efb1039348 Increase the size of the nightly images. 2012-08-18 10:36:41 -04:00