29269 Commits

Author SHA1 Message Date
Axel Dörfler
a5dbd78b7a * Since PrecacheIO is used as asynchronous callback object, we must not access
it anymore after having called vfs_asynchronous_read_pages().
* Now, Prepare() does all the preparation work, and ReadAsync() does the actual
  work - this must be called without having the cache locked. This also fixes
  another bug where the callback would be deleted twice in case the I/O request
  failed.
* This fixes bug #3847.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30632 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30632
2009-05-05 10:13:55 +00:00
Axel Dörfler
3873c5f3f2 * Style cleanup, mostly 80 character limit per line.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30631 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30631
2009-05-05 10:05:11 +00:00
Bruno G. Albuquerque
28b6c8138b - Revert to calling Minimize() on the window constructor as this works as
expected now.
- Yeah, yeah... Style guidelines. I just followed what is used throughout
  this file. :)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30630 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30630
2009-05-05 01:31:01 +00:00
Axel Dörfler
f7b4d19dc4 * Reverted r30529 as this was pretty much bogus (sorry stpere, but the size of
the window was already set with its constructor).
* Fixed the actual cause of bug #3752 instead: the fCharacterHeight and
  fTitleHeight members were not initialized when MinSize() was called.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30629 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30629
2009-05-04 19:53:12 +00:00
Jérôme Duval
0b218f6dd7 fixes gcc4 warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30628 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30628
2009-05-04 19:08:27 +00:00
Rudolf Cornelissen
7c9776248b updated docs: added id 0x01d7 which is confirmed operational by two users, and fixed id 0x1d8 which lacked laptop indication.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30627 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30627
2009-05-04 18:58:38 +00:00
Axel Dörfler
48cf5b5ef6 * Replaced remaining 'x' with '@' before the refresh rate, thanks Urias for
reporting.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30626 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30626
2009-05-04 18:46:31 +00:00
Ingo Weinhold
a01a4cb9d4 Should have been part of r30624: Renamed _SniffFile() to _GetFileType().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30625 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30625
2009-05-04 13:37:03 +00:00
Ingo Weinhold
81f82c549b * Renamed _SniffFile() to _GetFileType() and change its semantics slightly. It
does now try to get the file type from the given node info first.
* _TranslateRef(): Added special handling for executable files that aren't
  applications and have a preferred application set. In such a case we return
  the preferred application instead of the given file. This mimics BeOS
  behavior.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30624 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30624
2009-05-04 11:14:33 +00:00
Ingo Weinhold
0cc382e8d1 * BRoster::_TranslateRef(): Changed error handling style. No functional change.
* Automatic white space cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30623 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30623
2009-05-04 10:31:45 +00:00
Axel Dörfler
edf7d67773 * Applied patch by Fredrik Holmqvist: improved EDID dump output.
* This closes ticket #3809.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30622 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30622
2009-05-04 09:03:19 +00:00
Jonas Sundström
cb8f3e2698 More mipsel
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30621 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30621
2009-05-03 22:41:38 +00:00
Jonas Sundström
4ba7f1c0ed Staking out some more mipsel ground.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30620 a95241bf-73f2-0310-859d-f6bbb57e9c96
hrev30620
2009-05-03 22:26:23 +00:00
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
hrev30619
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
hrev30618
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
hrev30617
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
hrev30616
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
hrev30615
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
hrev30614
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
hrev30613
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
hrev30612
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
hrev30611
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
hrev30610
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
hrev30609
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
hrev30608
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
hrev30607
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
hrev30606
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
hrev30605
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
hrev30604
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
hrev30603
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
hrev30602
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
hrev30601
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
hrev30600
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
hrev30599
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
hrev30598
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
hrev30597
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
hrev30596
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
hrev30595
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
hrev30594
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
hrev30593
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
hrev30592
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
hrev30591
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
hrev30590
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
hrev30589
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
hrev30588
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
hrev30587
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
hrev30586
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
hrev30585
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
hrev30584
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
hrev30583
2009-05-02 19:01:32 +00:00