Commit Graph

30388 Commits

Author SHA1 Message Date
Ingo Weinhold
aaa7c62f4d Added -Werror.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-29 00:11:16 +00:00
Jérôme Duval
778f56175e * uses the full view for the ScopeView
* adjust the VUView range for the INT format
* cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 22:51:58 +00:00
Jérôme Duval
d936f5e31f * now uses only one buffer_ready semaphore, this way the buffer exchange is done asap, useful when rates/formats are different between playback and record.
* checked what offsets my hardware my hardware really had: it affected only playback, and was 192 for 16 bits and 256 for 20/24 bits. With these values, playback and record are crystal clear. 
As I can't find any references for such offset values anywhere, sorry it's not supposed to work out of the box on all hardware. Maybe we could adjust the offset at runtime.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 22:36:13 +00:00
Stefano Ceccherini
c212b8f649 Applied patch by richy_rich which removes BAlerts from jpeg
and jpeg2000 translators.
Fixes bug #3044


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 22:00:09 +00:00
Axel Dörfler
121805b410 * We need to update the status change time as well with each write, as required
by POSIX semantics.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 21:55:11 +00:00
Stefano Ceccherini
b20d13f4a6 The JPEG translator config view was using its own layouting code,
and its own version of a BTabView. This worked correctly on beos, but since it
hardcoded some things, didn't look correct on haiku (due to the new look).
I just removed the layouting code, and adapted the rest to fit well.
This fixed the weird white line which was
showing up. Note that the jpeg2000 translator needs to be fixed in the same way.
 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31871 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 21:51:02 +00:00
Axel Dörfler
0a5bfde225 * Added stack traced to the Abort tracing output.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31870 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 21:50:42 +00:00
Axel Dörfler
61efcc328d * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31869 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 21:49:28 +00:00
Axel Dörfler
71d2034366 * Enhanced cache_blocks_in_main_transaction() to also return the correct number
of blocks in case there is no sub-transaction at all.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31868 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 21:47:06 +00:00
Jérôme Duval
4489296bf4 * dumps format and rates supported by audio group, input and output widgets.
Damn my hardware only supports 20bits input, though this explains why it doesn't work with 24bits input..


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 21:39:11 +00:00
Michael Lotz
ebc89d1766 Remove extra newline in debug command description which caused empty lines in
the KDL help to be printed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 21:35:16 +00:00
Michael Lotz
ab5421283b Accommodate for the two lines of clearing ahead when in KDL. This avoids over-
writing lines that are printed below the previously cleared lines when paging.
Fixes bug #4145.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 21:31:27 +00:00
Stephan Aßmus
55feb44e82 BScreen uses ~0 to denote the current workspace *index*. This should fix
ticket #4144. Untested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31864 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 21:24:02 +00:00
Stephan Aßmus
390b0f9486 Added TODO about why the implementation of StoreConfiguratoin() is broken
if it were ever called for an inactive workspace, as our BScreen API in theory
allows you to do (not the BeOS API).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31863 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 21:22:54 +00:00
Axel Dörfler
b77d5a6cbf * Almost all Transaction::Done() return values are now honoured.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31862 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 21:08:04 +00:00
Michael Lotz
49f0ed06ee * A more scalable way of initializing the LED items to NULL.
* Tiny coding style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31861 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 21:04:01 +00:00
Axel Dörfler
4e64310788 * Some preparations to be able to split transactions if they become too large
for the log.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31860 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 20:55:26 +00:00
Axel Dörfler
0bad839702 * When aborting a transaction, we also need to revert any changes made to the
cached bfs_inode of all changes inodes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31859 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 20:33:39 +00:00
Rene Gollent
c9d9b2da7e Remove old BeOS-era hack to prevent NavMenus from containing > 500 items. This fixes missing items when right click browsing large directories.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31858 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 20:31:49 +00:00
Axel Dörfler
85c5c0b4d0 * We need to reset fUnwrittenTransactions when we abort a transaction without
a sub transaction, or else we would try to continue using it.
* It doesn't make any sense to increase fUnwrittenTransactions when
  _WriteTransactionToLog() failed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31857 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 19:58:44 +00:00
Ingo Weinhold
d4d63490af * Moved ThreadInfo from ModelLoader to Model. And renamed it to
ThreadSchedulingState. Also moved the management of the thread scheduling
  states into a new model class SchedulingState, which is now used by
  ModelLoader.
* Added scheduling state snapshots to Model. The ModelLoader adds a complete
  snapshot every 1024 events, so that seeking to scheduling state at a time
  can be done quickly.
* [Featuring stippi] Added actual functionality to the scheduling page. It
  shows the scheduling activity of all threads and one can zoom in and out.
  Looks somewhat ugly and is work in progress.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 18:57:57 +00:00
Ingo Weinhold
86e89f1207 Added BDebugEventInputStream::Seek() to seek in the stream. Works for data
buffer based stream only ATM.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31855 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 18:51:38 +00:00
Stephan Aßmus
5c7514c317 Patch by idefix: Make the source items behave exactly like the target items
with regards to the label & style cleanup. Thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 17:35:51 +00:00
Stefano Ceccherini
8752f52d71 Added an (empty) destructor. Use a const BRegion (since we can now), honour
the 80 column limit. Some comment clarification.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31853 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 16:56:29 +00:00
Alexandre Deckner
0ed66b2314 * added the inverse [-e] option that waits until all such named threads ended.
I use this to cleanly switch between my dev Tracker and the trunk one. I need
  to wait until it has really quit before overwriting and running another
  version. 



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 16:16:37 +00:00
François Revol
f4c56abadc Patch by Pieter Panman: add wget to the documented dependencies on Linux.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 16:07:34 +00:00
Axel Dörfler
2a3a8bfa9a * Journal::_WriteTransactionToLog()'s return value was ignored previously,
leading BFS to report success on actually failed transactions. Those
  transactions were even kept open, leading to a panic when starting the next
  transaction.
* Transaction::Done() now returns a status - currently, this is only handled
  correctly where this is likely to happen without a disk fault, ie. if the
  transaction was too large to be written back safely.
* Improved "bfs_journal" command output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31850 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 15:55:48 +00:00
Stephan Aßmus
c4bd44f3a9 The custom separator view is no longer needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 15:49:22 +00:00
Stephan Aßmus
20f7be247e Actually, make B_PLAIN_BORDER look the default for simple separator lines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31848 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 15:48:51 +00:00
Stephan Aßmus
82ad5f999d Doh... added the BSeparatorView to libbe.so.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 15:06:03 +00:00
Stephan Aßmus
79f2db07a8 Implemented a BSeparatorView. It can be a horizontal or vertical line/border,
or also a label, optionally with a BView for the label. Some aspects of it have
not been exposed to throughrough testing, yet (archiving, label view),
the BAlignment support is also not well tested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 14:15:55 +00:00
Axel Dörfler
483acc4382 * has_sub_transaction was never initialized, no clue why this didn't come up
earlier.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 14:09:28 +00:00
Stephan Aßmus
9b4593e3a0 * Fixed some problems of the dynamic layout, basically, the upper part of the
window will now stay fixed when you expand the optional packages and collapse
  them again.
* Updated the text about having prepared a partition, since we can now indeed
  create and delete partitions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 13:37:42 +00:00
Axel Dörfler
639f60b9b2 * vcache is now using an rw_lock instead of a semaphore.
* Got rid of the lock typedef.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31843 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 13:06:27 +00:00
Stefano Ceccherini
2e6adc56e4 Added a _BPictureExtent_::Flatten(), moved some code from BPicture::Flatten()
into it. Renamed ImportData() to Unflatten(). Some code shuffling.
No functional change.
Some style cleanup needed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31842 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 12:33:47 +00:00
Stephan Aßmus
97fd0558de * Fixed bug introduced with recent commits that didn't keep the relative
offset of the mouse when resizing/moving windows when other constraints
  restricted the resizing or moving.
* Applied patch by Stephen Deken with changes by myself:
  - Windows now snap to the screen edges.
  - There is a snapping time window of 1.5 secs during which the window still
    snaps to the screen edge after it first snapped. Then there is a pause
    during which there is no snapping.
Thanks a lot, Stephen, and sorry it took so long, nice patch!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 10:59:21 +00:00
François Revol
c2bf32c770 Some links about a card I'm interested in...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31840 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 08:21:23 +00:00
Michael Lotz
92781ad394 Actually the index values cannot be larger than 16 bits as otherwise they would
cross usage page boundaries.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31839 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 01:14:55 +00:00
Michael Lotz
ab1a1f9423 * Allow key-like items from the consumer page to be recognized as well.
* Make the key arrays take the full range of possible index values (32-bits).
* Forward all unmapped keys with their HID usage as keycode.
* Remove some superflous debug output.

With this many of the extra keys on keyboards should be forwarded as unmapped
keys. An application could now watch for them (B_UNMAPPED_KEY{UP|DOWN} messages)
and interpret them based on their keycode which matches the HID usage.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 01:05:15 +00:00
Ryan Leavengood
8a05db2d0e Icon-O-Matic: Snap to Grid, 64 x 64 is now set by default.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31837 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 01:02:17 +00:00
Axel Dörfler
152d6bdcca * Replaced diri_mark_dirty() with a diri_make_writable(), and fixed its usage
throughout the code.
* Got rid of the transactions - they weren't really used, and thus only created
  unnecessary overhead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31836 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-28 00:58:26 +00:00
Stephan Aßmus
6e4ad06302 Improved the anti-accidental-window-nudge feature: Use the activation delay
also in the MouseMoved() hook for a timeout. So window moving begins after
either a timeout of half a second, or after having moved the mouse at least
4 pixels.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31834 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 22:37:07 +00:00
Michael Lotz
8ce0e36827 Remove a huge chunk of unused GDB sources. This removes about 3000 files and
should bring down checkout times quite a bit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 21:53:06 +00:00
Axel Dörfler
5070e11706 * Removed bind 9.6.1 again. I'm pretty stupid actually: the DNS resolver has
been removed since 9.5.0, and is available as libbind now. This indeed still
  looks very similar to what we already have in our repository, and is much
  smaller, too. Sorry for the noise... I just could not find libbind on the
  ISC site before.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 21:22:26 +00:00
Axel Dörfler
7e1f710f27 * Removed the superfluous Ctrl-Alt-Up shortcut from Tracker that clashed with
the new workspace navigation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31829 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 20:58:11 +00:00
Axel Dörfler
1d6720dc2d * Don't use B_ZOOM; this does not respect the B_NOT_ZOOMABLE flag, same problem
as with B_MINIMIZE. This fixes bug #4134.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 20:50:01 +00:00
Stephan Aßmus
0f8d2b68cf Be a good boy and follow through with the new feature of server side window
shortcuts so that the second mouse button sends windows to the back... :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 19:12:17 +00:00
Axel Dörfler
5d224e740d * Fixed build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 18:21:20 +00:00
Axel Dörfler
47d9ed62d3 * Added AS_GET_WORKSPACE_LAYOUT to get the number of columns/rows of the
workspaces.
* Added shortcuts Ctrl-Alt-{Left|Right|Up|Down} to switch to adjacent
  workspaces.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31824 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 17:22:11 +00:00
François Revol
f2a3f51996 jam target to build a flash image. Requires passing UBOOT_IMAGE to jam.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31823 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-07-27 17:11:40 +00:00