Commit Graph

29406 Commits

Author SHA1 Message Date
Jonas Sundström
fa8a3a17c6 Staking out some mipsel ground.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30619 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 22:12:35 +00:00
Jonas Sundström
b99937b571 Making urlwrapper the preferred application of NetPositive Bookmarks. They will be with us for some time - many application zip files include them - but NetPositive itself can't make it into Haiku. It's wrong to have a non-present application set as preferred. Sadly, changing this filetype's setting means little in practice, as the preferred application -attribute- is set on every bookmark file. Two solutions exist to make bookmarks work seamlessly/effortlessly: A) urlwrapper adopts NetPositive's app signature, or B) a N+ Bookmark opener binary reusing its app signature is created, existing only to pass on bookmarks to urlwrapper.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30618 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 21:28:39 +00:00
Jonas Sundström
d5cc501e64 Subtypes inherit the Preferred Application setting of their supertype and need not set one unless they want or need a separate one.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30617 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 20:33:52 +00:00
Axel Dörfler
aee4b7e237 * Fixed two bugs in BPlusTree::Remove(): it could update the tree iterators
incorrectly in case of duplicates. And also, more importantly, it did not
  check if the entry to remove had the same value -- it would happily remove
  any entry with the same attribute content. This could only happen in the
  reindex case, though, and was the cause of bug #3854.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 20:29:50 +00:00
Jonas Sundström
719e2a8fe5 MediaPlayer is set as the Preferred Application of the audio supertype. The subtype inherits the Preferred Application setting of its supertype and need not set a preferred application, unless another application is truly preferred. E.g. the MidiPlayer for midi files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30615 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 20:26:33 +00:00
Axel Dörfler
37e5be59a6 * Replaced the Print() macro with a direct call to kprintf().
* Before, it would incorrectly resolve to the __out() macro which was defined
  as dprintf() when compiled for the kernel -- this could deadlock KDL, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30614 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 17:56:08 +00:00
Stephan Aßmus
8323a7cd49 Tweak the "install done" message. If Deskbar is running, chances are quitting
the Installer won't restart the computer.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30613 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 17:53:37 +00:00
Stephan Aßmus
2e6fb5f2b9 If no suitable partitions have been found, encourage the user to use the
Setup Partitions button...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30612 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 17:44:38 +00:00
Stephan Aßmus
fab3e4a5b2 * Remember in PartitionMenuItem if a partition is a suitable install target.
* Show non-BFS partitions again, but show them disabled and show the content
  type in the menu label. BFS partitions don't get the content type shown, so
  that it looks more like the reason why they are disabled if the content
  type is shown.
* Small cleanups.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30611 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 17:35:09 +00:00
Oliver Tappe
517256e7d7 One more thing I missed from PulkoMandys patch:
* added deskbar preferences link for Locale

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30610 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 16:10:29 +00:00
Axel Dörfler
e12b8d6ddf * Now also adds directories to the index (before only in non-recursive mode).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30609 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 15:28:54 +00:00
Oliver Tappe
866aafc015 Applied a patch done by VinDuv, which PulkoMandy passed on to me (thanks!):
* added resource definition file which adds proper declarations and an icon 
  to the Locale prefs (the icon is the world used for HTML-files, too)
* I removed a garbage character from the long version description and
  adjusted its format to comply with the other prefs

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 14:50:42 +00:00
Jonas Sundström
b6b4a80389 Comment on reach of method TBeMenu::ResetTargets().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 13:49:11 +00:00
Ingo Weinhold
a866fa9466 panic() when a page that is still mapped is freed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30606 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 12:37:51 +00:00
Ingo Weinhold
88b29adcbd VMCache::Resize(): When shrinking the cache unmap the pages we're removing.
Theoretically, not doing that could have caused still mapped pages to get
into the free queue. This could have been a cause of #3110, but the reported
circumstances don't look quite fitting.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30605 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 12:32:20 +00:00
Ingo Weinhold
84e3197428 Build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30604 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 12:19:24 +00:00
Jonas Sundström
d2ce29e873 Adding mimetype for SHARP X68000 MDX (Music Data for mXdrv) Sound File
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30603 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 11:50:28 +00:00
Stephan Aßmus
92cd10f4db * Refactored the way targets are collected before copy process begins, this
way, the optional packages (if there would be any) can be collected as well
  before the actual process starts and the progress bar will reflect them
  correctly. Before this change, the progress bar would have reset itself for
  every optional package.
* In one of my previous commits, I added the error, if there was any, to the
  reset message. Now the Installer window looks for the error and tells the
  user about it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30602 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 09:58:09 +00:00
Stephan Aßmus
f827b0168a Cleanup round 2:
Renamed CopyEngine2 back to CopyEngine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 09:35:42 +00:00
Stephan Aßmus
b4afa66367 First round of cleanup:
* Renamed CopyEngine to WorkerThread, since it's used for other things than
  just copying.
* Removed the code borrowed from Tracker.
* Removed the InstallerCopyLoopControl, since the CopyEngine handles
  notifications and cancelling by itself now.
* Renamed a few message constants.
* Since we only support BFS partitions as install targets, I removed the
  FS type from the target menu item label. However, I am going to solve this
  differently. I guess all partitions should be seen in the target list, just
  disabled if they are not a valid target, and with a reason given too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30600 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 09:32:24 +00:00
Stephan Aßmus
b037500155 Patch by Shinta: The key code was misnamed. Thanks a lot!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30599 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 08:32:17 +00:00
Rudolf Cornelissen
e9caec2c66 added Andrea's card 01d7: G72M [Quadro NVS 110M/GeForce Go 7300]
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 07:40:22 +00:00
Philippe Saint-Pierre
ffcedfaa29 Small tweaks regarding the scrollbars of terminal when used in fullscreen mode :
* if there is only one tab open, no functional change
* when there is two or more tabs open, display the scroll bar in the _ActiveTermView

It simply didn't make sense to not display the scrollbars in the _ActiveTermView since it was already shown in the other tabs. On the other hand, I can understand not showing the scrollbar when there is no tabview visible, as it mimic a real terminal.

That fixes bug reported in ticket #3300.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30597 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 03:23:17 +00:00
Philippe Saint-Pierre
a7ed06cedd There was an "off by one" error in the routine used to detect if a click was inside the arrow buttons.
Reported by mmadia in ticket #3611.  Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30596 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 01:23:12 +00:00
Philippe Saint-Pierre
021f35891b Pulse couldn't work in mini-mode since it was reverting to normal mode in every cases except when successfully launched in deskbar
mode.

That was the cause of bug #3384.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-03 01:00:42 +00:00
Philippe Saint-Pierre
f71f5e2b29 As suggested in ticket #3717, I commented out the tabView in fonts preflet. I added a BBox with fancy borders to group the controls
together, as I didn't like the view.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30594 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 23:44:05 +00:00
Philippe Saint-Pierre
f3d5fb8624 Cosmetic change for the border around the screenshot preview, as suggested in #3367.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30593 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 22:58:04 +00:00
Stephan Aßmus
338299319e * Update header indentation
* Unify pointer style, it was a mix before


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30592 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 21:32:33 +00:00
Stephan Aßmus
cc0580fe34 * Small style cleanup and some comments added for clarity.
* FontManager::GetFamily() removed second call to _FindFamily() with no
  action in between -- why would it suddenly work the second time?


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30591 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 20:58:24 +00:00
Philippe Saint-Pierre
12483e3cbf StyledEdit didn't clear the marks on the Font Styles in the font menu.
It resulted in several bogus checkmarks. (ticket #2984)

Also, The last font was always checked by default. The error was that 
instead than Marking the "left align" item, it was checking that font because 
of the wrong variable used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30590 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 20:24:53 +00:00
Oliver Ruiz Dorantes
1fd6d62418 Fix spelling errors
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30589 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 20:19:47 +00:00
Oliver Tappe
13be439cfb * should be linked against target-c++-lib (as I'm told by Rene)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30588 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 19:15:42 +00:00
Jonas Sundström
b7b7891476 Adding mipsel arch.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30587 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 19:05:28 +00:00
Oliver Tappe
58481f0f6e * fix gcc4 build of cppunit library by explicitly spelling out std:: in
the headers and importing the required classes in the implementation files
* automatic whitespace cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30586 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 19:04:52 +00:00
Jonas Sundström
226136446a Prepare mipsel for jamming. Adding mipsel target case, a simple boot platform and a -fno-pic setting for the kernel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30585 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 19:03:19 +00:00
Oliver Tappe
5fac79601e * fix gcc4 warning
* automatic whitespace cleanup

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30584 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 19:02:27 +00:00
Oliver Tappe
5b3152c4fb * fix gcc4 build of translator add-on tests
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 19:01:32 +00:00
Oliver Tappe
bd3cb5f1b0 * added number format tests to build of locale kit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30582 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 18:59:35 +00:00
Jonas Sundström
41a9e149b7 Adding a few directories for mipsel.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 18:30:28 +00:00
Axel Dörfler
f680cfe265 * The direct connection update in ServerWindow::{_Show()|_Hide()} is superfluous
since Korli's change in r30440.
* 80 character per line limit.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 17:43:54 +00:00
Rene Gollent
671eb7421d If I owed Axel a beer for every style violation, I'd quite likely be bankrupt by now...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30578 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 17:42:13 +00:00
Stephan Aßmus
6ed1dfa1b0 GCC4 build fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30577 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 17:31:24 +00:00
François Revol
5db3b6c9b3 Actually no need to pass the NULL either...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 17:23:54 +00:00
Stefano Ceccherini
c1f949908a get_device_hid() now has a 'size_t bufferLength' parameter, to avoid the risk of buffer overflow
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30575 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 16:04:15 +00:00
Oliver Tappe
10169155a9 * fixed one more gcc4 warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30574 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 15:41:48 +00:00
Oliver Tappe
2a44d42f9d * now that it builds for gcc4 and gcc2, added locale kit back to image
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30573 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 15:39:49 +00:00
Oliver Tappe
89b5d39790 err, fix for my fix:
* its __GNUC__, not __GCC__, tsk!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30572 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 15:00:44 +00:00
Oliver Tappe
6449afb193 fix gcc2 build:
* __gnu_cxx namespace is unknown to gcc2

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30571 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 14:58:41 +00:00
Rene Gollent
0d487f65e9 Move using directives into the cpp files so they don't leak into apps making use of the locale kit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 14:52:54 +00:00
Rene Gollent
cbb809dc42 gcc4 build fix.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30569 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-05-02 14:45:56 +00:00