Commit Graph

33438 Commits

Author SHA1 Message Date
Rene Gollent bdf7d02094 Update the new mail notification add-on's name to match the sentence case changes. Should fix ticket #5257. MDR's account add-on chain format should probably be modified to not be so dependent on the actual name of the add-on as opposed to some alternate UID though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 19:18:31 +00:00
Stephan Aßmus 4e1bbd4d0d Implemented display of current size/total size copied and current copy speed.
It will begin to play after a short time (10 seconds). Estimated finish time
is still a TODO.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 18:40:25 +00:00
Stephan Aßmus 406799c165 Copy and paste bugs prevented the copy progress bar to function properly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 18:39:05 +00:00
Rene Gollent 0e848e2d69 Fix error spotted by Adrien: don't return Trash name for anonymous volumes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 18:27:21 +00:00
Rene Gollent 6abd81fcf0 Add a special node type for the Trash analogous to the one used for the root dir. This allows the model to return an arbitrary name not directly tied to the on-disk name for the Trash directory, which a) makes it localizable in the future, and b) means it's not tied to the on-disk name, which removes the requirement that the Trash dir name be uppercase on disk.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 18:12:39 +00:00
Rene Gollent 782fbf00a7 Overlooked this with my previous Trash-related changes: updated NavMenu to be
behaviorally in sync - it now hides the root volume Trash dir like PoseView,
and adds the Trash entry as needed when navigating down the Desktop.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 17:35:06 +00:00
Oliver Ruiz Dorantes eb30e0668a Update bluetooth optional package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 17:23:48 +00:00
Karsten Heimrich fc17c9d286 * Fixes ticket #4913.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 17:13:04 +00:00
Philippe Saint-Pierre ebb64acec1 [Expander]:
* Use be_fixed_font in the Show Content TextView (fixes ticket #5272).
 * Minor cleanup in ExpanderThread.cpp


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 17:00:08 +00:00
Jérôme Duval 1952dab0df * we release nodes which were instantiated or autostarted.
* I had to reverse the addons iteration when quitting, the mixer wasn't releasing correctly if released last.
* use IncrementAddonFlavorInstancesCount on autostarted flavors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 16:51:06 +00:00
Karsten Heimrich deed298ba4 *Fixes ticket #4415.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 16:45:43 +00:00
Jérôme Duval f0bddd1112 * also prints out the node ref_count on Dump()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 16:43:03 +00:00
Rene Gollent aa61ee48ef Cleaned up legacy icon mappings and add some missing resource definitions to
TrackerIcons.h. Also removed the setup for the folder icon mimetype in 
TrackerInitialState, as it was using a non-existent resource ID to do so with.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 16:35:40 +00:00
Oliver Ruiz Dorantes 9760dcae20 - Move bluetooth net_device module to a independent module HCI, remake API interfaces
- Move functionality for assembling ACL/events packets of the driver to this module
- Move h2generic driver to c++ (not style)
- Pass checkstyle.py to all commited files.
Fixes:
- Wrong condition for finishing l2cap packet segmentation.
- Place NetBuffersPrependers in a inner scope to avoid Sycing twice in destructor.
- Avoid keeping trace of l2cap responses of any other kind of thread.
- Do not free net_buffers of for Frame containers.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 15:46:36 +00:00
Philippe Saint-Pierre 9b178bf778 Make sure the Replicant PopUpMenu says "About Pulse..." rather than "About CPUButton...". (Follow-up of #4244).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 15:29:04 +00:00
Stephan Aßmus 3cc5c3ffb1 Further cleanup of TrackerLoopControl. gStatusWindow is now nowhere used anymore
except inside TrackerLoopControl. The only expected change of behavior is when
trying to copy something onto a read-only volume. AFAICS, it would previously
prompt an alert and not already show the status window. Now it will show the
status window and prompt an alert, like in all the other situations when the
operation would be stopped before it even started by an alert. I was able to
remove quite a few code duplications along the way. CopyLoopControl can be
instantiated by itself and provides default implementations which could in turn
be removed from TrackerLoopControl.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 13:32:06 +00:00
Jérôme Duval d3bb2b9543 style clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 12:51:31 +00:00
Stephan Aßmus 8aad948744 * 80 chars/line limit cleanup
* Fixed one more occurance of "dos" filesystem check.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 12:16:22 +00:00
Stephan Aßmus 0bf7f1f8cd When an error occurs to incrase the node monitor limit, reset the current
value and don't keep it at the value we wanted it increased to.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 12:15:50 +00:00
Philippe Saint-Pierre 2ee53d23fa Fix gcc4 build error.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 08:48:51 +00:00
Philippe Saint-Pierre e20b156868 Pulse : Couldn't close Pulse CPUButton replicants
* It nows leave enough room to display the dragger into the replicant in most
   cases...

 * ...excepts in deskbar.  Then it instead allows you to right click to 
   access a popup menu allowing you to close the replicant.

   The dragger isn't shown due to space constraints.

Fixing ticket #4244.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 05:12:09 +00:00
Rene Gollent 2a94c3b35b Update Installer's empty volume check to work with the new trash
directory locations.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-17 00:21:42 +00:00
Oliver Tappe bd4a0479d8 * added all (virtual) qt-creator project files to svn:ignore
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 22:33:49 +00:00
Oliver Tappe 4052469d00 * improved create_project_files.pl to automatically add the created qt-creator
project files to svn:ignore


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 22:21:39 +00:00
Jérôme Duval 66204ee8cf forgot to add prototypes for pthread_getschedparam and pthread_setschedparam(), sorry.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 19:33:34 +00:00
Axel Dörfler c9025d9114 * Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 18:14:12 +00:00
Axel Dörfler 29ddbdbb53 * Moved the "var" directory to /boot/common/.
* Moved the "tmp" directory out of /var, and to /boot/common/cache/.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 17:17:07 +00:00
Stefano Ceccherini af029e2fb3 Fixed a gcc4 warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 16:49:57 +00:00
Axel Dörfler 133da790ea * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 16:45:27 +00:00
Philippe Saint-Pierre e45d83a9c8 ActivityMonitor: Style violation fixed. Thanks Axel!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 16:38:12 +00:00
Axel Dörfler 0e403fd188 * Give the iprowifi3945 driver more exposure by adding it to the image by
default (it works for me).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 16:25:11 +00:00
Karsten Heimrich 7284ad2919 * Use the layout system to build the gui, fixes #4768.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 16:14:57 +00:00
Jérôme Duval 0bce4bb917 * don't destroy an already dead thread. Fixed #5271. Maybe we should only make this check on the sMainThread though.
* Implementations of pthread_getschedparam and pthread_setschedparam I had since a while.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 15:19:50 +00:00
Stephan Aßmus 2924bf5134 Spotted by Axel, wrong translation of "Attach attributes".
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 13:56:59 +00:00
Stephan Aßmus e8c3008cf0 Made a German translation for Mail. Thanks to Travis D. Reed for this cool
online translation system.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 11:31:04 +00:00
Philippe Saint-Pierre 85b9f10561 Apply patch by mmadia to increase the image size to 650MB. Ticket #5255.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-16 01:10:32 +00:00
Rene Gollent 7ca5e8873b * PoseView: Re-enabled respecting the invisible pose attribute.
* FSUtils: Mark the root-level Trash directories as invisible. For the time being, 
  this renders the Trash only visible on the Desktop once more, pending 
  further consensus on how to handle it in the future. Note however that 
  this also means that Desktop and/or var directories that still have the 
  old _trk/pinfo_le attribute from prior to the previous visibility changes
  will also be marked invisible again, and those people dual-booting older 
  BeOS will also still see this issue as the Tracker on those will still
  force-write the invisible attribute onto those directories on every volume.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-15 23:44:39 +00:00
Rene Gollent a65ec15376 Fix style violations (thanks Axel!).
Update filesystem name in find_directory as our fat filesystem is not named "dos".



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-15 23:31:45 +00:00
Philippe Saint-Pierre fbb82a6282 ActivityMonitor :
* Add a 2px bottom padding when used as a replicant, to account for possible 
   outline.  (Thanks stippi!)
 * Fix style violation (Thanks Axel!)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-15 23:23:22 +00:00
Joachim Seemer 8ad1ef2643 propsetting mimetype to zexz/html. Should fix #5266.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-15 23:03:05 +00:00
Joachim Seemer 61110dd09f Adjusted path to welcome page. Thanks Matt, for cleaning up after me. Fixes #5268.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-15 22:57:25 +00:00
Ingo Weinhold f082f7f019 * Added vm_page::accessed flag. Works analogously to vm_page::modified.
* Reorganized the code for [un]mapping pages:
  - Added new VMTranslationMap::Unmap{Area,Page[s]}() which essentially do what
    vm_unmap_page[s]() did before, just in the architecture specific code, which
    allows for specific optimizations. UnmapArea() is for the special case that
    the complete area is unmapped. Particularly in case the address space is
    deleted, some work can be saved. Several TODOs could be slain.
  - Since they are only used within vm.cpp vm_map_page() and vm_unmap_page[s]()
    are now static and have lost their prefix (and the "preserveModified"
    parameter).
* Added VMTranslationMap::Protect{Page,Area}(). They are just inline wrappers
  for Protect().
* X86VMTranslationMap::Protect(): Make sure not to accidentally clear the
  accessed/dirty flags.
* X86VMTranslationMap::Unmap()/Protect(): Make page table skipping actually
  work. It was only skipping to the next page.
* Adjusted the PPC code to at least compile.

No measurable effect for the -j8 Haiku image build time, though the kernel time
drops minimally.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-15 22:32:51 +00:00
Jérôme Duval e25dcf1a96 * We now mute internal speakers when using headphones. We don't distinguish between headphones and mic jacks though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-15 22:07:42 +00:00
Michael Lotz fc844f7bfb * Don't call into the ATA stack if we're not transferring data since the
interrupt could be triggered early in the boot process where the ATA channel
  might not yet be fully set up leading to KDLs accessing uninitialized memory.
* Automatic whitespace cleanup


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-15 19:21:52 +00:00
Stephan Aßmus feb0da5925 Fixed misleading warning. I don't know how a BMessage based settings file
at ~/config/settings/netfs/NetFSServer would come into being, but NetFSServer
will fall back to ~/config/settings/kernel/drivers/netfs-server, which works
if that file is there (see src/add-ons/kernel/file_systems/netfs/netfs-server
for an example settings file).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-15 12:35:37 +00:00
Rene Gollent 01dffd8edd More Tracker refactoring:
* relocated Trash dirs to volume roots by modifying find_directory() to report the trash location as volume/Trash.
 * FSUtils no longer creates /home/Desktop on every volume.
 * TrashWatcher now keeps icons in sync on all volumes.
 * Simplified FSGetDeskDir since it no longer has to worry about getting the desk directory on any volume other than the root.
 * Relocated trash context menu logic to BContainerWindow so it can also be used at the volume roots.
 * DesktopPoseView now creates a virtual Trash pose representing the trash contents as before.
 * Corrected typo: Model::WriteAttrKillForegin() -> Model::WriteAttrKillForeign().

Closes ticket #5245.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-15 05:12:45 +00:00
Philippe Saint-Pierre bb7cffd0d1 ActivityMonitor (when used as replicant) :
* Use the "Icon Label Outline" setting to improve readability
 * It is using the same algorithm as Tracker to outline and glow the text,
   and determine the color of the text.

Implements enhancement suggestion #5105.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-15 03:08:18 +00:00
Michael Lotz d4ffeadd1a Don't return early when we're not DMAing. This causes the bus master status
to be read/acknowledged (new) and the status to be read (like before in that
case) which helps discarding spurious interrupts on one controller I have that
would otherwise cause an interrupt storm as the bus master interrupt would never
be acknowledged. The ATA stack will discard the interrupt if it's not expecting
a transfer, so no real harm done.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-15 02:56:39 +00:00
Rene Gollent 7b6edf5209 Simplified FSIsDeskDir() as suggested by Axel. Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-14 23:40:13 +00:00
Stephan Aßmus 5a1d355fdf Copied Ingo's netfs from the dark pit in which it was forgotten to something
more visible and ported it to the current UserlandFS server (and GCC4). It still
uses the R5 file system API, which the UserlandFS conveniently still provides
support for. It compiles and links, but is otherwise still untested. The changes
I am alsmost confident that I didn't change any semantics. That is unless
HashMap, HashString and DoublyLinkedList work differently enough to make any of
the netfs code break.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-01-14 21:56:16 +00:00