37988 Commits

Author SHA1 Message Date
Philippe Houdoin
10c73bcbb3 Don't returns NULL if the systemCatalog is not localized yet. Instead, fallback
to native string.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39895 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39895
2010-12-20 16:25:38 +00:00
Stephan Aßmus
1812583c05 Fixed spacing in Style group layout. (ticket #6553)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39894 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39894
2010-12-19 12:17:20 +00:00
Stephan Aßmus
aed19c751b * Coding style cleanup.
* Removed R5 versions of the code, since I don't believe
   other parts of Icon-O-Matic still compile on R5...
 * No functional changes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39893 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39893
2010-12-19 12:14:49 +00:00
Stephan Aßmus
32ba4befc4 Make the list view focused by default, this allows to use DriveSetup with
the keyboard and fixes ticket #4746. I did not test creating new
partitions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39892 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39892
2010-12-19 11:01:47 +00:00
Stephan Aßmus
b9d2622de1 Since "Mount all" is not connected to a selected disk/partition,
the Partition menu shall never be disabled. Fixed enabled state
of some other menus/entries after this change. Fixes ticket #6783.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39891 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39891
2010-12-19 10:55:36 +00:00
Stephan Aßmus
22334353d0 Only print unexpected errors to stderr when constructing the settings file.
Fixes ticket #6899. 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39890 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39890
2010-12-19 10:44:20 +00:00
Stephan Aßmus
1e9af0512d Patch by jscipione: Check valid input value range
for some MAPM functions, since they will otherwise
just return 0, instead of indicating an error.
Thanks! Fixes ticket #6398.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39889 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39889
2010-12-19 10:34:55 +00:00
François Revol
1828f3d72c Add a function to register media codec descriptions for the usual format families using the tag lists from libavformat itself. Untested. the plugin will also have to use av_codec_get_id() to get the codec ID from the tag.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39888 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39888
2010-12-19 04:26:46 +00:00
François Revol
34bffae787 Fix description in comment, search-n-replace didn't replace it :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39887 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39887
2010-12-19 02:28:55 +00:00
Jérôme Duval
45af882d06 * added fsblock_t and fileblock_t definitions, used them when needed.
* validate fBlockShift in superblock.
* Volume::AllocateBlocks() now uses an absolute fsblock instead of a blockgroup related fsblock.
* AllocationBlockGroup now provides absolute fsblock values.
* added support for extents feature: ExtentStream class is the equivalent for DataStream class for extent operations.
  The extent tree implementation is very basic, should work for normal growing/shrinking
  operations, but not for sparse files. When enlarging a file and extent tree is full,
  the root is moved in a new block and a new level is added on top. Extents can usually
  be extended when adjacent blocks are allocated. Shrinking happens by removing leafs 
  one after another.
* removed empty IndexedDirectoryIterator.*


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39886 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39886
2010-12-18 16:26:39 +00:00
Marcus Overhagen
699dc0e367 Very ugly hack to make DVB addon find the MPEG and AC3 codecs.
Something appeards to be very wrong with codec registration.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39885 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39885
2010-12-17 23:17:21 +00:00
Marcus Overhagen
4da4784afa added come debugging code
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39884 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39884
2010-12-17 22:35:44 +00:00
Marcus Overhagen
bcdc4db3e5 adjust file path to channel setting files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39883 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39883
2010-12-17 21:54:53 +00:00
Marcus Overhagen
df4948df6a Copy the DVB channel setting files to target image.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39882 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39882
2010-12-17 21:54:06 +00:00
Marcus Overhagen
f9e04ff0e1 This removes pxe_stage1.S and thus also removes the build target "pxehaiku".
In r21611, about 3 years ago, the switch into protected mode was moved 
from stage1 to stage2, which makes stage1 obsolete. You have to use 
"pxehaiku-loader" when booting Haiku by PXE on x86.

Trying to use stage1 to boot stage2 resulted in tripple fault during
setup of ss segment, because stage1 switches to protected mode before
calling stage2, but stage2 expects real mode. The documentation is not
up to date.




git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39881 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39881
2010-12-17 17:53:29 +00:00
Philippe Houdoin
8c71173a30 Switched ActivityMonitor to use the now localized BAboutWindow.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39880 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39880
2010-12-17 15:52:52 +00:00
Philippe Houdoin
d1cf409924 Enforced the newlines.
Localized alert "title" and close button label.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39879 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39879
2010-12-17 15:48:52 +00:00
Philippe Houdoin
5ae52982cc Made BAboutWindow class localized.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39878 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39878
2010-12-17 15:34:13 +00:00
Philippe Houdoin
5b6139e398 Made app name localizable, as it seems that it should be possible after all.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39877 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39877
2010-12-17 11:20:49 +00:00
Philippe Houdoin
7186aecb57 Application name should not be translated.
Fixed #6980.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39876 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39876
2010-12-17 09:10:12 +00:00
Rene Gollent
11e3001c3f Cleanup: multiplex debug and system watch messages across a single port.
Simplify accordingly.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39875 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39875
2010-12-17 02:42:39 +00:00
Stephan Aßmus
b6ec842de4 Patch by x-ist from ticket #6115:
* A lot of HID definitions got extracted from USB_hid.h into their
   own files. Many more definitions have been added from the specs.
 * The names have been moved into the proper B_* namspace.
 * The USB hid driver has been adapted for the changes.

Thanks a lot and sorry for the delay!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39874 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39874
2010-12-16 20:23:56 +00:00
Jérôme Duval
b6e7a070e7 * checks file name length in FindEntry()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39873 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39873
2010-12-16 18:26:06 +00:00
Ingo Weinhold
d23cadce4c [_{kern,user}_]{start,stop}_system_watching()
-> [_{kern,user}_]{start,stop}_watching_system()


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39872 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39872
2010-12-16 17:01:23 +00:00
Ingo Weinhold
756b64fd83 * Removed the obsolescent [B]Reference[able] API and replaced the remaining
uses. Fixes the gcc 2 acpi build.
* Renamed WeakReferenceable::{Add,Remove}Reference() to
  {Acquire,Release}Reference() for consistency.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39871 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39871
2010-12-16 16:35:42 +00:00
Ingo Weinhold
88e38c178a Replace uses of obsolescent BReference[able] API.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39870 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39870
2010-12-16 14:29:37 +00:00
Ingo Weinhold
c3e066cf6d Replaced uses of obsolescent BReference[able] API.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39869 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39869
2010-12-16 13:50:30 +00:00
Rene Gollent
e37327bd6b Check for port deletion.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39868 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39868
2010-12-16 04:58:35 +00:00
Rene Gollent
892f944251 Slight refactoring. Also, always process all waiting debugger events before any
system watch events, since otherwise there's a potential race where we might
try to process a thread rename before having processed the notification for
that thread's creation.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39867 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39867
2010-12-16 04:48:29 +00:00
Rene Gollent
ba3f23c636 Re-implement watching for thread name changes via the new thread
property change notification interface.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39866 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39866
2010-12-16 04:19:53 +00:00
Rene Gollent
260241b41b The wrong ID was being passed into _SendMessage(), leading to all thread
property change notifications being sent as having occurred for the team's
main thread.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39865 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39865
2010-12-16 04:15:39 +00:00
Rene Gollent
03a4f3aff3 Fix gcc2 kernel build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39864 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39864
2010-12-16 03:00:22 +00:00
Ingo Weinhold
09d6a5822a Added a test program for the system watching mechanism.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39863 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39863
2010-12-16 01:50:27 +00:00
Ingo Weinhold
d2bf328d72 Implemented a generic system watching mechanism with a userland API. Currently
only a few events can be watched (team creation/deletion/exec, thread creation/
deletion/name changes). The functions start_system_watching()/
stop_system_watching start/stop watching events.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39862 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39862
2010-12-16 01:49:52 +00:00
Ingo Weinhold
4ebc8f615d * Added a "name changed" notification to the thread notification service.
* Added a "team" field to the notification events.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39861 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39861
2010-12-16 01:44:15 +00:00
Ingo Weinhold
2d8d1cdbaa * Implemented a generic way to associate data with a team which is
automatically cleaned up when the team is deleted: Class AssociatedData is
  the base class for a data item, AssociatedDataOwner a container for them
  (struct team derives from it). Functions team_associate_data() and
  team_dissociate_data() add/remove data.
* Turned sTeamHash into a BOpenHashTable (necessary since struct team is no
  longer a POD).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39860 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39860
2010-12-16 01:15:35 +00:00
Ingo Weinhold
eeecbf6fb8 The header is no longer included from pure C sources, so we can finally freely
use C++.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39859 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39859
2010-12-15 23:18:13 +00:00
Ingo Weinhold
76c4f83965 * priv.c -> priv.cpp
* Defined curthread to NULL. Using Haiku's struct thread is not acceptable
  without proper locking and the only purpose ATM is to pass it to priv_check()
  which ignores it anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39858 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39858
2010-12-15 23:12:38 +00:00
Ingo Weinhold
a68810a9a4 Don't use private kernel API.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39857 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39857
2010-12-15 23:09:14 +00:00
Marcus Overhagen
1719e941ff Fixed build for ATA_DMA_TRACING enabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39856 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39856
2010-12-15 22:30:12 +00:00
Stephan Aßmus
7730c84696 Improved layout of controls and more cleanup. There is now a splitter
between the source file list and the controls on the right, and ticket
#6985 is fixed. A lot of issues and quirks remain with this application.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39855 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39855
2010-12-15 17:31:57 +00:00
Stephan Aßmus
0a81944d5d More cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39854 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39854
2010-12-15 10:47:02 +00:00
Stephan Aßmus
f086ada784 * Applied patch from Barrett (ticket #6497) which fixes some issues
with the previous patch from him.
* More cleanup by myself in MediaConverterWindow::MessageReceived(),
  no functional changes intended.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39853 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39853
2010-12-15 10:34:58 +00:00
Axel Dörfler
529b094654 * Removed setwep from the image; it's no longer needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39852 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39852
2010-12-14 21:07:56 +00:00
Axel Dörfler
98e25dc3f9 * The net_server now tries to join the network via wpa_supplicant, if available.
* Add some output when automatically joining a network.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39851 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39851
2010-12-14 20:22:18 +00:00
Rene Gollent
131e477eb9 Should have been part of previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39850 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39850
2010-12-14 19:01:37 +00:00
Rene Gollent
27a115f668 Revert r39846 and r39847.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39849 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39849
2010-12-14 17:55:38 +00:00
Rene Gollent
68258fd9d0 Actually copy the data to be written into the message.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39848 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39848
2010-12-14 13:16:44 +00:00
Rene Gollent
8fb7eb8b17 Implement support for catching rename and thread priority change events.
This lets us keep up to date with thread names, which makes, for example
Tracker a bit more tolerable to debug since it employs thread renaming
to set the names of its windows.

Implements #4430.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39847 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39847
2010-12-14 05:11:21 +00:00
Rene Gollent
7040b50df5 Add support for thread rename and priority change notifications to the
debugger API/message set.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39846 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev39846
2010-12-14 05:08:47 +00:00