Commit Graph

37352 Commits

Author SHA1 Message Date
Ingo Weinhold
7aff60b7de Patch by Paul Davey with minor style changes by myself: For gcc 4 (and clang)
define the HUGE_VAL and friends macros to the respective __builtin_*()
functions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39307 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-05 13:20:52 +00:00
Ingo Weinhold
aa3507feea terminate_program(): Call the termination function of all images, not only
of the program image and its transitive dependencies.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 21:15:39 +00:00
Ingo Weinhold
e60625b708 get_sorted_image_list(): Allow passing a NULL image argument, meaning that
all loaded images will be sorted and returned.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 21:14:09 +00:00
François Revol
2ef563d813 80 cols & cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 19:37:30 +00:00
François Revol
f649b1fa77 Make multiboot.h usable from assembler, and remove duplicate defines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39303 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 19:06:36 +00:00
Jérôme Duval
eb7aa0dafb Volume: don't use a block allocator when mounting readonly.
BitmapBlock: also use file system blocks, current type is off_t. Also added more trace.
BlockAllocator: added an assert and more trace


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39302 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 18:25:58 +00:00
Jérôme Duval
6fa1b3a596 actually use the 64bits value when doing comparing, previously SCSI_6 were wronly used for some io requests.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39301 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 18:01:46 +00:00
Ingo Weinhold
fb8e088927 Added dummy __cxa_atexit() and __cxa_finalize() to the kernel. We might
actually implement those, if we decide to support global
constructors/destructors in kernel add-ons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39300 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 16:26:43 +00:00
Ingo Weinhold
d64f6189c0 unload_library(): Added comment about the exit hook handling.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39299 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 16:22:11 +00:00
Ingo Weinhold
85f9496a24 Implemented __cxa_atexit() and __cxa_finalize() which are required by the
Itanium ABI. Whether __cxa_atexit() really works for associating hooks with
DSOs has not been tested yet, as our compiler doesn't use the function.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39298 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 16:21:20 +00:00
Scott McCreary
6d1078eb7a Updated the filename for OpenSSH, and fixed the conditional for Vision.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39297 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 15:00:36 +00:00
Ingo Weinhold
5609b854b5 Added a Remove() version to which the previous element needs to be passed as
well. This is rather ugly, but it was the quickest way to provide O(1) element
removal. This class could really use some love.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 14:58:10 +00:00
Ingo Weinhold
b502275bc8 exit.c -> exit.cpp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 11:07:01 +00:00
Scott McCreary
14324b423f Added vision gcc4 package
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39294 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 06:37:20 +00:00
Scott McCreary
99c871094e Updated the OpenSSH package to include the updated sshd_keymaker from mmu_man.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39293 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-04 00:04:50 +00:00
Axel Dörfler
ba3217eee8 * Moved the Tracker navigation logic into its own class, TrackerNavigation.
* Added a new class FolderNavigation that implements the same for folders
  without a Tracker window.
* ImageFileNavigator is now using either one depending on whether it got a
  valid tracker messenger.
* Removed some unused/unneeded methods.
* Made entry_ref a reference at some more methods, as it's not really optional.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39292 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 23:29:54 +00:00
Scott McCreary
9aed025e4a Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines.
Cleaned up some header style violations, making sure there are two blank lines after the header guards.
This fixes the bsd header part of #2191.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 22:04:50 +00:00
Rene Gollent
6bb1b32f42 Should have been part of previous commit.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 21:54:52 +00:00
Rene Gollent
5a13e7b045 Add a means for the user to locate source files if they are not found
at the location specified in the debug info.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 21:52:39 +00:00
Scott McCreary
0fae873352 Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines.
Cleaned up some header style violations, making sure there are two blank lines after the header guards.
This fixes the posix header part of #2191.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 21:46:47 +00:00
Axel Dörfler
2281340d02 * Renamed _LoadSettings() to _ApplySettings().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39287 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 21:30:53 +00:00
Axel Dörfler
745226bd2f * Got rid of the useless fTrackerMessenger field.
* Ordered the methods in declaration order. Ordered BWindow hooks in "run"
  order.
* Renamed private methods to have the '_' prefix.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 21:26:08 +00:00
Axel Dörfler
36272f0d4c * Removed the home-brewn recent menu, and just uses the one libtracker.so
provides instead.
* This also fixes bug #6774.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39285 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 21:04:51 +00:00
Axel Dörfler
01939af669 * Quit() in the constructor does not work as one might expect.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 20:42:33 +00:00
Ingo Weinhold
f085f5b012 * checksumfs_write_stat(): Actually add the node to the transaction as the
comment claims. Spotted by Axel.
* Added preallocate() slot to gCheckSumFSVnodeOps.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39283 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 20:42:17 +00:00
Axel Dörfler
ddcb5a2cda * Reverted Rene's fix for the broken build - it's no longer necessary. Thank
you for cleaning up behind me!
* Fixed bug #6771 by adding the shift key to the page shortcuts.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 20:00:49 +00:00
Axel Dörfler
60334dc831 * Got rid of the type == 0 feature in Update(); it does not really serve any
purpose anymore, and was just confusing.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-03 19:53:10 +00:00
Axel Dörfler
312f43920a * Added a B_TRANSLATE_WITH_CONTEXT() macro.
* Added a number of TODOs.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39280 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-02 21:36:35 +00:00
Jérôme Duval
0ac16c5b3e big_endian conversion: this should be more correct
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39279 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-02 21:13:30 +00:00
Jérôme Duval
f058886908 * added definitions for SCSI_OP_VERIFY_* op commands
* added support READ_12/16 and WRITE_12/16 in ata and scsi_periph, this enables read/write on block offsets greater than 2TB


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-02 20:56:20 +00:00
Ingo Weinhold
db2b2bd629 Resolved TODO (gcc 4 .eh_frame support).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-02 20:22:48 +00:00
Ingo Weinhold
be649db06f * Added support for reading gcc 4 generated .eh_frame sections. The main
difference to gcc 2 .eh_frame sections is the initial location field in the
  FDEs, which is a relocated absolute address with gcc 2, but a relative address
  with gcc 4.
* Recognize and skip the additional augmentations gcc 4 puts in the .eh_frame
  sections contain. We might want/need to interpret some of them, but, since
  I haven't found actual documentation for them yet, currently they are just
  ignored.
* DwarfFile::UnwindCallFrame():
  - Correctly support CIE offsets in .eh_frame sections. Unlike in .debug_frame
    they are current position relative back offsets.
  - Cleaned up some debug output.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-02 20:21:03 +00:00
Ingo Weinhold
e2ea5a6646 Added the load address and the section flags to ElfSection.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-02 20:03:11 +00:00
Scott McCreary
2ee3a4e272 Set the baseLibURL to the lib directory.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39274 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-02 15:22:54 +00:00
Scott McCreary
f735809f0b Fix indentation for box2d
Fix url for libevent
Changed baselibURL to baseLibURL


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39273 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-02 15:18:59 +00:00
Matt Madia
f316c81731 Moved it to the "Contributors" section, which also lists all the former
contributors.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39272 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-02 15:06:24 +00:00
Matt Madia
6e268ab2d3 Jorge G. Mare aka Koki is no longer a contributing member.
See http://www.freelists.org/post/haiku-development/Banning-Jorge-G-Mare
for more information.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39270 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-02 12:08:45 +00:00
Philippe Houdoin
6fd9d3d930 Fix style.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-02 11:31:01 +00:00
Philippe Houdoin
aede543994 Checks AddItem() success, as hinted by Stippi 5 (!) weeks ago.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-02 11:17:39 +00:00
Rene Gollent
b1534fc0e8 Build fixes mostly due to usage of a translation macro that isn't (currently) available in the source tree.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39267 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-02 02:22:29 +00:00
Matt Madia
88a3ad40f8 Tweaked Gutenprint's PackageCredit to list GNU GPL v2
Note: .SetLicense() needs a filename from HAIKU_TOP data system data licenses.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39265 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-01 22:51:03 +00:00
François Revol
4219bd961b Rework the ConsoleDevice to be a full featured window based console.
Only looses high intensity color from the plain console, but doesn't eat keystrokes, and a 2nd window opens for dprintf stuff.
Only Amiga makes it possible ;-)
http://revolf.free.fr/beos/shots/shot_haiku_loader_amiga_m68k_004.png


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-01 22:35:43 +00:00
Adrien Destugues
a528bdee7f * Make ReadOlyBootPrompt look a bit nicer : don't use a regular BTextView but a custom view with an "haiku background leaf outline" below the text. The color and size of the leaf may still be altered, feel free to play around with it.
* Also do some changes to ReadOnlyBootPrompt layouting to include some insets and similar stuff.
  * Add country flags in the language selection menu
 * Modify locale roster method for getting a flag so it is a bit more tolerant. It is case insensitive on the country code, and also works if given a full locale code such as pt_BR.

Known problems :
 * The new BitmapTextView doesn't work well with the chinese text as it does line breaks only on space chars (0x20), and there is no such char in chinese text. However, the usual BTextView is also unable to do proper linebreaking. This should 
be solved  by using tools provided by ICU.
 * The way I altered LocaleRoster is not as good as it could be. Locales with variants such as zh-hans are not going to work (the computed country code is now 'NS'). Not sure there is a better way
 * The way the list is sorted in ReadOnlyBootPrompt is annoying as it prevents keyboard navigation. As the sorting changes each time you select a language, it's impossible to travel through the whole list. One possible solution is to do the 
language change on invoking an item. Another one is to sort the languages in a locale-neutral way.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-01 21:39:47 +00:00
Axel Dörfler
04f965443f * Removed resizing ability.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-01 21:26:53 +00:00
Jérôme Duval
0d16ad4437 style fix (pointed out by Axel)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-01 20:52:29 +00:00
Michael Pfeiffer
09750a224f * Dynamically create contents of transport sub menu.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-01 20:19:25 +00:00
Axel Dörfler
cd6b5cde06 * Completed stippi's work on the ImageFileNavigator.
* ShowImageWindow is now using such a navigator.
* Removed navigation support from ShowImageView.
* Prepared everything to support asynchronous image loading (which is not yet
  implemented, though).
* Note, this commit brings some regressions I intend to fix in the next few
  days, namely deleting files won't work anymore, and dropping images onto
  ShowImage. There might be more I don't know about, though :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-01 19:48:23 +00:00
Michael Pfeiffer
c6a51c24e7 * Fixed bug. If a transport add-on returned an empty
port list, the transport add-on could be selected,
  altough later using it would fail. In that case
  now a sub menu item is created containing the text
  "No printer found!" and selecting it won't work.
  TODO the contents of the sub menu should be refreshed
  before the sub menu is opened, so that only currently
  connected and turned on printers are shown.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-01 19:38:02 +00:00
Michael Pfeiffer
018242ded4 * Added preliminary credits for Gutenprint.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-01 18:46:47 +00:00
François Revol
a55b596e1c Allocate the IOReq if not done yet at Open() time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-11-01 17:57:36 +00:00