Commit Graph

29644 Commits

Author SHA1 Message Date
Oliver Tappe
8ca914d177 * removed debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 22:28:34 +00:00
Jonas Sundström
03458c01a2 More style guide fixes. Removed a lot of preprocessing / conditional building, with intent to fix or remove. Moved urlwrapper class declaration to its header file. Renamed things for clarity. Removed 5 extra mimetypes for IE shortcuts. (We have one, with sniffing rule and extension.) Moved the UnurlString() back to urlwrapper.cpp and renamed it _DecodeUrlString(). Tweaked copyright clauses. A lot more needs fixing, esp. in urlwrapper but also in BUrl, and I intend to keep working on this until we're satisfied. Let me know of any remaining/added style violations! Feedback welcome.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 22:19:42 +00:00
Oliver Tappe
f287ca7dc8 fixed behaviour of non-editable textviews:
* non-editable textviews no longer draw the caret
* the cursor keys scroll immediately, not only when the (invisible) caret 
  reaches the views bounds
* HOME/END work more reliably
* any selection stays active throughout keyboard navigation
Tested with AboutSystem, Mail, StyledEdit and Beam - seems to work ok


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 22:09:15 +00:00
Jonas Sundström
f945cef7cb Adding mime for Internet Explorer shortcuts
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 19:58:05 +00:00
Rudolf Cornelissen
52bba50d36 re-enabled ID 0x0141, Geforce FX 6600, since the card is confirmed working OK by me. If someone encounters trouble, contact me.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 19:01:08 +00:00
Joachim Seemer
d68ad369c3 Added installation.html once more. Sorry for all the mess...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 18:15:30 +00:00
Joachim Seemer
8613c15d30 Once more removed installation.html just
to re-add it afterwards...

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 18:14:44 +00:00
Oliver Tappe
246d3119ea * fixed coding style issues
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 15:56:38 +00:00
Ingo Weinhold
6a1e04b121 Symbol resolution functions in the kernel: Removed the unused parameter
allowing optional prepending of a string to the symbol names.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 15:25:27 +00:00
Bruno G. Albuquerque
0bd0e0af2a Marco Nelissen: The bitrate of an audio CD is 44100*4*8 (well, the bitrate of
the "files" is, the actual bitrate of the CD is higher because of error
correction).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 14:54:06 +00:00
Axel Dörfler
b0c7d4fa15 * Removed operator=(otherLocker) again. Didn't really make sense this way,
as Stippi correctly pointed out.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 14:45:53 +00:00
Ingo Weinhold
f91194e546 Removed the gcc_version from the runtime loader's image_t. Instead we always
determine (or guess) Haiku version and ABI and use those for compatibility
decisions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 14:44:17 +00:00
Ingo Weinhold
0509bd7231 * Changed the layout of the Haiku version and ABI constants to allow for
more inbetween versions.
* Added constants for legacy versions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 14:37:41 +00:00
Oliver Tappe
d47410e075 * avoid key highlighting unless the preflet window is active, at least
I've found it pretty silly that the Keymap preflet would document all my
  keypresses although I'm doing something elsewhere

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 13:49:00 +00:00
Axel Dörfler
4b74bbf276 * Make the shutdown request no longer prevent apps from being launched. Now
they only cannot be launched anymore once you acknowledge that request.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 09:13:26 +00:00
Axel Dörfler
1c38b061f8 * Style cleanup, added missing copyrights.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 08:58:32 +00:00
Axel Dörfler
7cec697c0b * Even more cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 07:59:00 +00:00
Axel Dörfler
27f23ba2df * Fixed some naming inconsistencies/typos.
* Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 07:50:29 +00:00
Axel Dörfler
49dcde5cf5 * Added operator=().
* Style cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 07:46:14 +00:00
Jonas Sundström
a243916712 Hopefully fixed indentation in BUrl header. Made data members in BUrl private. Added some class methods. Adapted urlwrapper to use the BUrl class. Removed a few obvious comments and some code that was defined away. Turned off debugging. Stripped App suffix from class name. No intentional changes to the core functionality of urlwrapper.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 01:05:42 +00:00
Bruno G. Albuquerque
d95493aa4f - Ops... Fix compilation.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 00:10:06 +00:00
Bruno G. Albuquerque
a7fe1dbb69 - Added bitrate attribute to audio files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 00:08:57 +00:00
Bruno G. Albuquerque
4a35a822d5 - Finished up cddb_daemon. Still some cleanup needed here and there but it works.
- Added it to the image.
- Anyone wants to come up with an icon for it? :)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-13 00:05:53 +00:00
Jonas Sundström
0bffbcb63d Setting default preferred applications: bezilla for http(s), Mail for mailto: and urlwrapper for the others.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 23:33:17 +00:00
Oliver Tappe
aa0f32cfbd * removed KeymapMessageFilter, as it is no longer needed
* fixed a couple of issues with respect to internal/external naming of 
  keymaps and the respective files, hopefully such that there's always one
  keymap active in the view: either one that has been selected or (Current)
  if any changes have been applied
* replaced the dead-key-menubar with a menufield (thanks Axel, looking much
  better)
cleanup:
* removed remnants of Use-button (message constant and switch-case)
* dropped 'Save' menu item, as it wasn't implemented anyway and would now
  never be enabled
* removed fFirstTime, as it caused problems, but did not serve any purpose
  anymore


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 22:58:09 +00:00
David McPaul
6f7f87a2ac sigh
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 22:51:15 +00:00
Bruno G. Albuquerque
44f7948892 - If the name of a CD was changed, return this name instead of the generic
"Audio CD" or CD Text obtained one.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 22:47:22 +00:00
Axel Dörfler
277ddffee4 * When activating the "Shutdown" menu (instead of one of its items), we now
get the old shutdown dialog back, but with the additional option to reboot
  instead.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 21:19:02 +00:00
Axel Dörfler
d48fe2445b * Added the option to the shutdown confirmation dialog to perform the "other"
shutdown, ie. either reboot or shutdown.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 21:17:25 +00:00
Ingo Weinhold
593ee7bbc3 Extended image_info by fields for the Haiku version and ABI. The runtime loader
and the kernel read those values from the shared object (if available). In the
runtime loader this should eventually replace the gcc version guessing method
currently used (at least for shared objects built for Haiku). The optional
packages need to be rebuilt first, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 21:08:56 +00:00
Ingo Weinhold
51c706f70c Added variables to the glue code that identify the Haiku version and ABI.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 21:01:26 +00:00
Ingo Weinhold
a4e151e06d * Removed the non-GCC macro definitions.
* Added missing macro B_HAIKU_VERSION. Also added a version macro for alpha 1
  -- it doesn't seem unlikely that the API will change between alpha 1 and R1.
* Added new macro B_HAIKU_ABI indicating which ABI is used (gcc 2/4).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 20:55:49 +00:00
Axel Dörfler
6015793f57 * Instead of deleting the device directly, we now only remove it from its
parent.
* Additionally, when a vnode is deleted, the new BaseDevice::Removed() method is
  called that will remove the device from its parent if needed, and delete it
  then.
* This should fix #3856.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 20:03:58 +00:00
Jonas Sundström
3aa9a86343 Clean up: shortening comment, adding if/else braces. Thanks Axel\!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 20:01:38 +00:00
Oliver Tappe
cf38cb6974 * should have been part of r30723
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 19:52:51 +00:00
Oliver Tappe
6be10e281f * Removed the 'Use' button from the keymap preflet, since several people have
mentioned that they tend to forget pressing it (including me, of course), in 
  effect losing all changes.
  The way the code currently works, having it didn't really make sense IMO,
  as any change will only ever be applied to the "current" keymap. If you want 
  to keep your keymap more persistently, you need to save it into a named file,
  anyway.
Please give it a try and shout if this is unacceptable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 19:41:14 +00:00
Axel Dörfler
9f3591f267 * Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 19:15:06 +00:00
Oliver Tappe
3cd0b14d0b * fixed data corruption and later crash when an error occurs in Save()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 18:49:32 +00:00
Stephan Aßmus
0c7085458e Make the partition ID check more flexible, if partitions just pop up out of
nowhere, we still want to be able to automount them, even though the
notification is not for a device.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 18:35:31 +00:00
Stephan Aßmus
be5788f81c Fixed a number of remaining problems with the AutoMounter:
* During boot, the mount mode was ignored for any removable volumes, they
  simply got mounted always.
* When automounting later, all partitions on all removable devices would
  be mounted, not only the ones on the newly inserted device.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 18:32:11 +00:00
Oliver Tappe
83936c1c26 * Added support for selecting the dead key trigger characters from a menubar,
offering two choices for acute and diaeresis as well as allowing to switch
  off each dead key completely.
* moved the textview on a line of its own such that the dead key menu and
  the modifier-switching button live together on one line
* added enum dead_key_index and used it at a couple of places instead of
  having to use the magic numbers 1-5
* refactored the actual updating of the fChars buffer from SetKey() into
  _SetChars(), which is now being invoked by SetDeadKeyTrigger(), too

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 18:31:17 +00:00
Ingo Weinhold
4d8f5338bd When sending a B_ARGV_RECEIVED message also add a "cwd" field.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 18:11:46 +00:00
Stephan Aßmus
3908951b11 * When inserting USB sticks, the read-only mount suggestion was completely
bypassed, same for invoking "Mount All". Now, the "initial scan" parameter
  is used to decide if the user should be alarmed. Basically, it means you
  get to decide for every mounted volume if you want it rather read-only.
In the old code:
- If you wanted a stick mounted read-only, you had to go to "Tracker Settings"
  and disabled auto-ejecting, unmount the stick, then re-mount to get it to
  ask you for read-only mounting.
- But then, it would remember this setting, so when you unplugged the stick
  and then replugged it, it would mount it read-only again. This may be nice
  for later, but for now, I want to decide if I am willing to take the risk
  each time.
* The new code also has the implication that when you plug a drive with more
  than one partition, you are being asked for each one. I extended the alert
  to also mention the partition name.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 18:03:36 +00:00
David McPaul
05f452c37c Implement SniffRef
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 14:27:26 +00:00
Michael Lotz
527e6eefef Do not free the descriptor chains and transfer queue head directly when
finishing transfers. The host controller might still be using some of those
structures. In the (unlikely) case that a freed memory chunk would be
immediately re-used and filled with new values this would lead the controller
to either find invalid values and assert a process error or it could follow
invalid list links leading to host system errors. We have to wait with freeing
until the controller processing the next frame to make sure this cannot happen.
The unlikely case should also have been the cause of bug #2481.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-12 01:55:15 +00:00
Michael Lotz
aaf7738499 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-11 23:56:26 +00:00
Michael Lotz
9bc8951dc9 * Simplify the way fragmented transfers are resubmited.
* This also paves the way for a different way to handle transfer freeing.
* Also fixes that errors in reappending would previously not be propagated to
  the caller.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-11 23:37:30 +00:00
Michael Lotz
60a3c33b87 In case we already did initialize and prepare kernel access, no need to do it
again. Especially not because it'd likely fail because we are now most probably
in the kernel.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-11 23:32:59 +00:00
Michael Lotz
aa3ca9ed30 * Move the actual and maximum length calculation into two inline functions.
* Use those to make sure the size is retrieved correctly in all cases (which
  it wasn't in the short packet tests).
* Don't detect short packets for control transfers as we need the status packet
  to finish the transfer and cannot quit earlier.
* Only check for short packets when we also have the short packet flag set.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-11 22:35:50 +00:00
Jonas Sundström
b8bc570a12 Partial revert. Reimplementing the previous behaviour of accounting for differences in current working directory between the running single-launch process and later invocations of the same, as this is necessary to handle correctly any relative paths given on the command-line. Added comment.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-11 19:31:18 +00:00