Commit Graph

35060 Commits

Author SHA1 Message Date
Stephan Aßmus
22b608696f Patch by sil2100: Fix uninitialized variable, probably causing #6074.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-26 13:47:51 +00:00
Ingo Weinhold
147133b76c * First run through the kernel's private parts to use phys_{addr,size}_t
where appropriate.
* Typedef'ed page_num_t to phys_addr_t and used it in more places in
  vm_page.{h,cpp}.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-25 21:34:08 +00:00
Stephan Aßmus
1af161ec0a Also add the libtiff headers. Fixes ticket #6079.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-25 19:24:25 +00:00
Axel Dörfler
2fc6f37e88 * Window::MouseDown() no longer eats the click if the window modifiers were
pressed even if there is nothing to do. This allows the Deskbar to be moved
  with the window modifier keys held, finally, see #6029.
* Removed a superfluous (fDecorator != NULL) from the check to choose between
  decorator and window modifier action - _ActionFor() can safely be called with
  a NULL decorator, and it just made the logic look wrong (even though no harm
  was done).
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-25 11:26:00 +00:00
Ingo Weinhold
ea021b94d8 * Moved phys_addr_t definition to SupportDefs.h.
* Added phys_size_t.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-25 11:18:38 +00:00
Stephan Aßmus
3e711c79d8 Patch mostly by jackburton: The global offset for drawing a BPicture needs to
be applied before pushing a drawing state, otherwise it is not preserved
throughout playing the picture data. I've added the comment and resetting the
drawing origin to the previous value. Fixes ticket #6070, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-25 10:45:04 +00:00
David McPaul
c436ab319d gcc4 fixes and add removal of buffer when source disconnected
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-25 09:06:26 +00:00
Ingo Weinhold
a9139aa356 * FS shell: Use 64 bit [s]size_t on 64 bit platforms.
* SupportDefs.h (build platform): Define [s]size_t printf() macros correctly
  on 64 bit hosts.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-24 21:44:16 +00:00
Ingo Weinhold
386be45abc Fixed 64 bit warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-24 21:41:20 +00:00
Ingo Weinhold
9d570af7c8 Changed the type of the "op" parameter of the fs_vnode_ops::ioctl() hook and
the _kern_ioctl() syscall from ulong to uint32.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-24 21:04:22 +00:00
Ingo Weinhold
d34daac82a * config/{HaikuConfig.h,types.h}:
- Added macro __HAIKU_ARCH_BITS specifying the architecture bitness (32/64)
    (might be more convenient to use than __HAIKU_ARCH_{32,64}_BIT).
  - Added macros __HAIKU_ARCH_PHYSICAL_BITS, __HAIKU_ARCH_PHYSICAL_{32,64}_BIT,
    and the types __haiku_phys_[s]addr_t. The intention is to use separate
    macros and types for virtual and physical addresses, since for some
    architectures (e.g. x86 with PAE) those actually differ.
* sys/types.h, BeBuild.h, SupportDefs.h:
  - Added types phys_[s]addr_t and respective printf() format macros.
  - Added public macros B_HAIKU_BITS, B_HAIKU_PHYSICAL_BITS,
    B_HAIKU_PHYSICAL_{32,64}_BIT.

Might break the build under older Haiku installations. Will test next.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36926 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-24 19:55:38 +00:00
Stephan Aßmus
fe9c332517 Added German catkeys for mount server. Please don't replace with eventual
version from HTA!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-24 15:00:41 +00:00
Stephan Aßmus
3f027ce92a Localization of mount_server based on a patch by Jorma Karvonen (ticket #6063),
thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36924 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-24 14:43:09 +00:00
David McPaul
a3d9c49a18 Use the alpha from the source
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-24 09:43:24 +00:00
David McPaul
8391490adc make the block more dynamic
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36921 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-24 09:42:33 +00:00
Michael Pfeiffer
4b5dfd789f * Removed obsolete picture test application.
* Fixed build of print job utilities DumpPrintJob and
  ShowPrintJob.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36920 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-24 06:48:13 +00:00
Stephan Aßmus
e4200ae30c Part of patch by kaliber: Fixed OpenHashElementArray<Element>::Add(
const Element &newElement), element is a pointer. See ticket #5892 (found
by compiling Haiku with clang).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-23 12:41:15 +00:00
Stephan Aßmus
b1784a9dbd Reworded commented out code with regards to not knowing the data size yet,
to decide whether to apply the mini data flag. Helps compilation with clang
according to ticket #5892.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-23 12:34:54 +00:00
Stephan Aßmus
59193042cc Make header selfcontained.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36907 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-23 12:29:35 +00:00
Stephan Aßmus
a8ee8b8f1c Fixed one coding style violation and applied part of patch of ticket #5892,
which includes fixes to compile Haiku on clang.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-23 12:27:39 +00:00
Axel Dörfler
59eae96d68 * Forgot to check against the other modifiers; the Vulcan Death Grip should now
work again, thanks humdinger!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36902 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 19:17:42 +00:00
Rene Gollent
b12f4323d2 Fix incorrect filename. Closes ticket #6047.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36901 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 15:24:14 +00:00
Rene Gollent
eae2075173 Update Vision optional package to include a default settings file with some basic nicknames and a network configuration for Freenode. Closes tickets #6040 and #4783.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 13:36:14 +00:00
Axel Dörfler
ebed80035f * Operator precedence bit me, Deskbar is working again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 12:22:44 +00:00
Stephan Aßmus
716e4891d6 Updated WebPositive package to r515. Changes include warning the user when
downloads are still in progress before quitting the application.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 12:15:59 +00:00
Fredrik Holmqvist
e427cb78f7 * Fixing acpi_embedded_controller to work with the acpi 20100428.
* Fixed one instance where ACPI and BeOS status codes was not handled right.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36897 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 09:45:18 +00:00
Michael Pfeiffer
0514b0cad2 * Right align right column.
"Transport" or "comment" text does not get truncated anymore,
  when it is longer than "pending jobs" text.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36896 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 07:27:21 +00:00
Michael Pfeiffer
d1dd67cbbf * Increased window size.
Using German locale text in printers list does not get truncated anymore.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 07:24:31 +00:00
David McPaul
e615fd4dda add video_mixer to Jamfile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36894 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 05:29:29 +00:00
David McPaul
0fe9fd368f Start of a video mixer node
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36893 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 05:27:49 +00:00
David McPaul
da4fcd47f5 Try to use overlay first
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 05:27:15 +00:00
David McPaul
dc706a1b49 additional option to display a color block
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36891 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-22 05:25:32 +00:00
Jérôme Duval
5e85dff142 Patch from starsseed (bug #5990): right option key is now mapped, keypad End and Down arrow were mapped to Home and Up arrow respectively.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-21 21:54:45 +00:00
Axel Dörfler
ca9acc20e8 * The Deskbar will now intercept control+alt-clicks, and will start to move the
Deskbar around as other windows do (more or less), as suggested in ticket
  #6029.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-21 21:50:26 +00:00
Axel Dörfler
0dd68c866c * Moved child creation to the constructor; it doesn't seem to have any negative
effect, and DetachedFromWindow() was not symmetrical to AttachedToWindow(),
  and would have leaked the children if called without destroying inbetween.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-21 21:47:57 +00:00
Axel Dörfler
77cb5459be * Fixed typo reported by kaliber, thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36887 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-21 16:39:48 +00:00
Ingo Weinhold
3a5655a502 * Reverted r34863.
* Don't keep any memory mappings from the OF for the time being. We can't
  keep mappings < 2 GB, since those aren't in the kernel address space and
  we don't handle memory mapped registers or the like correctly either.
Ticket #5193.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36886 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-21 15:33:28 +00:00
Axel Dörfler
d2717a34c6 * Also hide tool tips if a key has been pressed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-21 12:32:58 +00:00
Axel Dörfler
b70311a396 * The RTF parser only accepted lower case hex numbers which prevented the
prices.rtf to be parsed correctly as reported by humdinger.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36884 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-21 11:39:19 +00:00
Axel Dörfler
db90422897 * The RTF-Translator will now convert all command line arguments to plain text
to stdout (mostly for testing).
* Removed no longer needed packaging jam rule.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36883 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-21 11:26:48 +00:00
Axel Dörfler
91f74b0c02 * The spacing was hard coded to 3 since r36405 which made the whole thing look
poorly with the default font size, I wonder why no one noticed that before
  applying.
* This also hid some bugs in the layouting code causing the doubled spacing to
  be used.
* Fixed some weird layout in FileTypeWindow.
* Changed some code to BLayoutBuilder in a few cases.
* Made sure the list views have a better default size, and resize with the
  window.
* Removed superfluous checks if be_control_look is NULL.
* Enlarged the icon size in the main window to 48 pixels.
* I've worked around some strange resizing in the ApplicationTypesWindow by
  setting a max size for the list view. Also, setting a max limit for the
  BStringView on the right side had no effect on layouting (only the text
  was cut).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36882 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-21 10:59:19 +00:00
Matt Madia
19320ffa61 Added the HVIF, which was saved from FileTypes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-21 03:56:31 +00:00
Stephan Aßmus
ae5c0d8870 Updated WebPositive package to r511, which fixes some bugs and annoyances and
adds -f command line option to start WebPositive in fullscreen mode. Untested.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36880 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-20 23:24:57 +00:00
Ingo Weinhold
5023986b41 USBWebcamHeaderGen rule: Add grist to both header and sources. Simplifies the
invocation and fixes the dependency problem (missing grist on the sources)
that caused the headers not to be regenerated when the sources changed.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36878 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-20 19:01:18 +00:00
Stephan Aßmus
20a37b8525 Home icon variations for WebPositive.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-20 17:39:12 +00:00
Matt Madia
171c986c57 Mentioned http://www.haiku-os.org/guides/dailytasks/wireless as a source for
more information.  eg, if one needs to manually install the files neeeded by
the script.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36876 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-20 14:13:01 +00:00
Stephan Aßmus
70af7b97a5 Patch by romain: Fix one particular problem where the terminal buffer area could
go out of sync when switching between tabs. Closes #5969, thanks a lot!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36875 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-20 12:10:44 +00:00
Fredrik Holmqvist
ffb873afec Merge acpi from acpica vendor branch 20100428:
* AcpiSetGpeType no longer exists, replaced with AcpiSetGpe. Since acpi changed gpe handling embedded controller might need improvements.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-19 21:33:02 +00:00
Stephan Aßmus
c88bc5e973 When a TransformationBox is used to change the transformation of a gradient, it
only ever changes one gradient at a time, and adopts itself to the current
gradient transformation. When applying it's own transformation on the gradient,
it could then reset and assign the transformation. On the other hand, the
regular TransformObjectCommand works on a different assumption, which is that
the object has it's own original transformation, and the transform box
transformation is chained on top of that. So the TransformGradientBox cannot
use a TransformObjectsCommand for the undo stack. Whenever such a command
could not use the box to apply the transformation, it would mess up the
gradient's transformation and the undo/redo chain. -> Use a dedicated
TransformGradientsCommand which works the same as the TransformGradientsBox
when applying the transformation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-19 14:03:41 +00:00
Stephan Aßmus
8dfea16fe3 The transformation of the gradient used by the GradientControl is always set
to the current transformation of the style's gradient, in order to never
accidentally change that transformation while using assignment and comparison
operators for convenience. However when resetting the transformation in the
notification hook, it could lead to reentering the hook unnecessarily and even
busy looping (thanks to Mark Erben for providing such an icon).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36865 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-05-19 13:59:36 +00:00