Commit Graph

32025 Commits

Author SHA1 Message Date
Axel Dörfler
1192454dfc * Enabled and simplified the "double click team to front" feature, as it
actually works under Haiku (with a caveat, as there is apparently an
  app_server bug that prevents that most of the time).
* Simplified ExpandoMenuBar::MouseDown().
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 15:51:59 +00:00
Michael Lotz
6c4570c807 Also name these BLockers.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 15:29:31 +00:00
Michael Lotz
1d984896da Name the lockers to be able to identify them when debugging/analyzing.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 15:27:22 +00:00
Michael Lotz
6fb91db708 We didn't acquire/release a BSound reference when playing using a BSoundPlayer
which lead to #4825.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 15:20:37 +00:00
Axel Dörfler
1c7348a787 * Moved the window item sort logic as static method into the TWindowMenuItem
class.
* Changed ExpandoMenuBar to use that logic as well, so that your entries will
  always keep the same sort order.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 13:59:55 +00:00
Oliver Tappe
b18f133db3 generally overhauled non-wrapping mode of BTextView, as it was considerably broken:
* switching from wrapping to non-wrapping mode triggers a recomputation of
  the text rect
* non-wrapping mode now triggers updating of the data rect for the horizontal 
  scrollbar as needed, fixing #4705
* corrected a couple of width computations that confused bounds and text
  rect width, leading to drawing artefacts at the end of a line
* unified computation of text rect width to always take all lines into
  account (not just the first one)
* some cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 13:42:25 +00:00
Oliver Tappe
3ee51068f7 * added helper method MaxWidth() to BTextView::LineBuffer
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 13:06:06 +00:00
Axel Dörfler
5441423d49 * Obviously, CalendarMenuItem.cpp was still part of the build, even though it
wasn't in use for quite some time anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 13:05:02 +00:00
Axel Dörfler
dd8bedc1a9 * Removed the CalendarMenuItem class as it's not used anymore.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 12:03:09 +00:00
Axel Dörfler
c5c6248e3d * Got rid of the _SHOW_CALENDAR_MENU_ITEM, and _SHOW_CALENDAR_MENU_WINDOW
defines - it's always in, and I don't think it makes any sense to make this
  an option (since it just uses a system widget).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 12:00:56 +00:00
Axel Dörfler
733ca9bd93 * Made the font size depend on the be_plain_font size, instead of a hard coded
one.
* Some coding style cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 11:30:21 +00:00
Axel Dörfler
a406b1e625 * When switching the workspace while moving a window around, that window got
added to the window list without considering its frontmost window. That caused
  problems with all feels that were always on top, like
  B_ALL_WINDOW_FLOATING_FEEL. This was causing bug #4700.
* Disabled the "previous window keep keyboard focus" heuristic - it doesn't
  really work that well. There should be a central mechanism that detects active
  typing that could also be used to disable touchpads.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 10:14:09 +00:00
François Revol
ff4169d224 Add checkitout to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 10:06:31 +00:00
François Revol
265078a6df Introducing CheckItOut: a small urlwrapper spin-off that handles SCM urls and checks them out for you where you want them.
Supports git: for now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 10:05:47 +00:00
Axel Dörfler
823808b52b * If you only want to search in text files, TextSearch will now guess the MIME
type if a file doesn't have one yet (and set it), instead of ignoring it
  completely.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 09:47:26 +00:00
Axel Dörfler
10075eae29 * Fixed search history: chicken and egg problem - it couldn't save the history
if it couldn't load it.
* Shortened license text.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 09:27:13 +00:00
François Revol
69955dd988 Add a --name argument to preset the name of the file to save.
I should probably use getopts() here...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 08:33:17 +00:00
François Revol
80351b4d41 - this should fix gcc2 build, sorry ;)
- style fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-21 08:21:53 +00:00
François Revol
223ae47d99 Extend the Ctrl-Alt-arrows shortcuts to also move the current window when shift is held, as on Gnome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 23:45:18 +00:00
Michael Lotz
35e7c9642f Fix dirent handling. The d_reclen field contains the size of the whole record,
so it includes sizeof(dirent).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 22:52:35 +00:00
Adrien Destugues
b7c0cbd2f3 Bulgarian locale done by cssvb94. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33688 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 21:40:08 +00:00
Adrien Destugues
746499889c Italian localization done by Andrea Bernardi. Thanks !
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 21:25:13 +00:00
Adrien Destugues
207836f1b1 Added ukrainian catalogs, done by Alex Rudyk aka totish. Thanks!
--Cette ligne, et les suivantes ci-dessous, seront ignorées--

M    src/preferences/appearance/Jamfile
M    src/preferences/locale/Jamfile
M    src/preferences/bluetooth/Jamfile
M    src/preferences/cpufrequency/Jamfile
A    data/catalogs/preferences/appearance/ua.catkeys
A    data/catalogs/preferences/locale/ua.catkeys
M    data/catalogs/preferences/locale/fr.catkeys
A    data/catalogs/preferences/bluetooth/ua.catkeys
A    data/catalogs/preferences/cpufrequency/ua.catkeys


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 21:16:35 +00:00
Axel Dörfler
2edf7c4687 * I just checked, and BeOS actually does not update the query this way - this
must have been my very own stupid idea. It's removed now.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 21:03:11 +00:00
François Revol
071d565cb5 Add missing api_version.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 20:07:02 +00:00
Axel Dörfler
6f8b6a0dfd * When an item was deleted, the order of the attributes decided whether or not
one or two remove messages were generated, as the query code produces
  remove/create notifications on renames. Will check next if that also happens
  on BeOS, as it doesn't really make much sense.
* This should fix the wrong mail count of the Deskbar replicant when you delete
  mail.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 20:06:46 +00:00
Stephan Aßmus
f5e3b4741a Applied patch by gamblore, which adds a Local mode to CodyCam and resolves ticket #3395. I've extended the patch to disable the FTP controls in Local mode and fix bugs which prevented this from working correctly. Some coding style fixes as well... Thanks a lot, gamblore!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 19:58:12 +00:00
Michael Lotz
432cc51cc7 Add small but very important missing detail. Before blocking it didn't set the
wait status and therefore would return directly without actually blocking.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 19:05:35 +00:00
Axel Dörfler
95087bc532 * Center window on screen on start.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 15:20:46 +00:00
Stephan Aßmus
78a6097283 Do not crash when a node tries to change the format during runtime, as long as
this is actually not implemented.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33679 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 14:14:00 +00:00
Stephan Aßmus
fa1a1c2980 All sorts of refactoring with regards to the audio node and format setup. At
first I tried adding support for changing the format during running the node
connection, but later found out that this is not implemented in the system
mixer (it has this weird setting to allow input format changes, but if you
do this, the media_server will just crash, since the backend does not support
it yet). Also, the Media Kit documentation is extremely lacking in this regard.
I ended up re-establishing the node connection when the audio format is
supposed to change, just like it is already done for video. This means that
audio files now play with their native channel count and frame rate. But it
isn't so well tested yet, if 48 kHz for example introduce some clicks. The
channel count should not be a problem though, I've also tested that with some
movies and it works fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 14:12:12 +00:00
Axel Dörfler
56376843c1 * Added command line application to use live queries. Useful for testing why
the new mail count is off that much on mail removal.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 09:59:09 +00:00
Axel Dörfler
99113e07df * Fixed Twitcher's arrow drawing glitches as described in ticket #4704.
* Unfortunately, there are remaining issues, but this is something I need to
  discuss with Stippi: B_OP_COPY does not work as expected due to anti-aliasing
  anymore, but there is no replacement one could possibly use to get the desired
  effect without having to clear the background every time.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 01:45:04 +00:00
Axel Dörfler
3637e0e057 * Fixed double indirect ranges again: I've messed them up when I tried to make
them more BeOS compatible while still keeping them somewhat flexible.
* _GrowStream() did actually not check if the double indirect region was already
  filled up - this caused it to overwrite innocent memory. This fixes the bug
  Rudolf showed me on this laptop that happened while copying a large file.
* Loosened file size restriction on a heavy fragmented disk: the indirect block
  does not require a minimum array size anymore; before, you just couldn't let
  a stream grow into the indirect range if it couldn't allocate NUM_ARRAY_BLOCKS
  (4) blocks in a row. This considerably reduced the maximum file size in this
  case.
* Removed no longer valid TODO.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 00:29:11 +00:00
Axel Dörfler
aeb099b317 * Added a very simple way to fragment your disk.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 00:23:53 +00:00
Axel Dörfler
234d8e02b7 * Added ioctl command to quickly access some debug functionality in an FS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-20 00:18:32 +00:00
Oliver Tappe
4d09ea0d3a * restoring zip file I garbled in r33658
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 23:50:55 +00:00
François Revol
546376e654 Typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 23:23:33 +00:00
Oliver Tappe
571d840abf * dropped svn:keywords property from all files that carried it
to avoid recurring problems during migration of subversion checkouts
  (restored binary files that were garbled by subversions during checkout)
* added appropriate svn:mime-type property for problematic (binary) files
* removed a single (mistyped) svn:mimetype property 
* dropped svn:eol-style property for cleanup (they all contained 'native')



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 22:42:52 +00:00
Axel Dörfler
9d3ca457dc * Restored forcing the post2 PLL divisor for display B. This should fix all
remaining problems introduced with r33633.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 22:34:08 +00:00
François Revol
cad8f65d22 m_getcl() can return NULL, so check for it. This would have spared me a KDL. :p
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 21:44:44 +00:00
François Revol
7c595f3353 ARM920T specific definitions (not done yet).
Board config file for the FreeRunner.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 21:13:46 +00:00
Stephan Aßmus
0161825261 Fixed an annoying problem with the scroll bar repeat feature. If you clicked
a button or within the bar background within the timeout for the repeat-thread,
the thread would exit and there would be no repeating. I think there is still
a race condition somewhere since I managed to see it stall once again, probably
because it locks the looper twice in the loop...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 20:40:15 +00:00
François Revol
e19e3efd0d A test app showing that at least on R1/alpha1 there is a deadlock when quitting an BApplication started from another thread.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 20:37:45 +00:00
François Revol
449b4c4192 Board definition file for the Openmoko Neo FreeRunner I just got given by a generous donator. ;)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 20:34:55 +00:00
Clemens Zeidler
7f6d3afb1d Add ns_handle_to_pathname acpi function to the acpi module.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 19:00:26 +00:00
Stephan Aßmus
52a90fe6be Solved a few problems at program exit. The window needs to lock the playback
manager and inform it that the video target, ie the view will be gone. The
Controller needs to use the SetTo() method in order to actually close down
the nodes properly in the destructor. Otherwise asynchronous threads will use
the BMediaFile and tracks after it has been deleted (until the NodeManager
destructor is executed).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 18:27:48 +00:00
Stephan Aßmus
9e43353ce5 The media_server signature is actually defined.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 18:24:51 +00:00
Stephan Aßmus
169bcbe7c0 Most simplistic support for 5 channels. Not actually tested. Uses the first
two channels of five and ignores the rest.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 18:24:11 +00:00
Stephan Aßmus
15477ca556 Small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-10-19 18:23:10 +00:00