Commit Graph

26968 Commits

Author SHA1 Message Date
Rene Gollent
8cca2102aa Fix build (ShowingAwarePopupMenu was not added to libtracker's build, resulting in undefined sym errors).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 15:43:05 +00:00
Stephan Aßmus
7b31874607 Before anything bad happens to my Haiku disk, check the WIP alpha logo into
the repo... It's not supposed to be final yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 15:41:39 +00:00
Stephan Aßmus
d90ca97492 * Add some more tracing.
* Add the case where H.264 info needs to be extracted.
(Had this laying on my hard drive for a while, hope you have not worked
on it again, David...)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28142 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 15:40:27 +00:00
Stephan Aßmus
699e7d89e4 Small cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 15:38:34 +00:00
Stephan Aßmus
822f932f1a Enable the H.264 codec in the avcodec decoder.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 15:37:42 +00:00
Alexandre Deckner
618c7ffa85 * There was indeed a problem with my previous attempt at fixing #353. This should be much
better!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28139 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 15:35:59 +00:00
Axel Dörfler
2f8909e465 * Removed the old "andrew" code. IIRC it was a start to rework Terminal, but
it's so outdated by now, that it's hardly of any use now. Of course, it's
  still in the SVN history if you want to have a look at it :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 15:27:52 +00:00
Stephan Aßmus
de5ced9331 I re-saved all icons in Icon-O-Matic (actually to get the proper icons
in Haiku), but the binaries have appearantly changed slightly, probably of
some optimization that Icon-O-Matic is now doing. No functional or visual
changes should have taken place.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 15:00:40 +00:00
Stephan Aßmus
740530e47c Created a Firefox icon from the original SVG logo that can be downloaded
from Wikipedia. I tried to fix any issues and approximate the original logo
as best as I could. (tqh, I can send you an .rdef if you need it.) The icon
size could be further reduced by re-using paths. I named a couple of paths
accordingly when I spotted duplicates.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 14:58:10 +00:00
Stephan Aßmus
f85d9ecab8 Patch by zuMi:
* A new icon for NetSurf (although the original logo can and has been made
  into a HFIV icon by Guiseppe, but I find the surfing monkey quite cool
  and would prefer that if it's alright with the NetSurf crew.)
* A new icon for a Chat application, or perhaps the Chat Kit server? :-)
* A new icon for RSS Feeds. Either for a file/bookmark type or an app?

Nice work, zuMi, thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 14:54:41 +00:00
Stephan Aßmus
bda7cd8dce Added a simple sphere for using as a reference for other icons.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 14:46:38 +00:00
Axel Dörfler
4a29c739af * When adding new bitmaps, Pairs now checks if it already got it (in case two
apps are using the same icon).
* This fixes bug #2694.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28133 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 14:45:51 +00:00
Axel Dörfler
08a6ab444b * Added a _MouseDistanceSinceLastClick() that returns the square of the pixel
distance of the last click and the point passed in.
* Use this one to delay starting of character wide selections.
* Also, treat double/triple clicks as single clicks if the mouse moved too far.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 14:06:25 +00:00
Axel Dörfler
61fc0bb6be * Adjusted the difficulty levels a bit to fit better with what you likely get.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 13:11:59 +00:00
Axel Dörfler
6a63492f6c * When switching Terminals via Command-G, we now also take the workspace
information into account, ie. we now behave like the Terminal on BeOS, and only
  allow to switch between the Terminal windows of one workspace.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28130 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 12:48:19 +00:00
Ingo Weinhold
628808166c mmlr: On some keyboards another keycode maps to backslash.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28129 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 12:43:40 +00:00
Axel Dörfler
051bb0bb64 * Added a comment to SO_BINDTODEVICE.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 12:33:59 +00:00
Axel Dörfler
302809b46f * Moved duplicated initializers to the _InitObject() method.
* Cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28127 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 12:23:17 +00:00
François Revol
a326b4f1b1 Fix the BeOS build. Yeah I know I'm the only one building Terminal on Zeta...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28126 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 11:53:43 +00:00
Axel Dörfler
c2f7e34f8d * When resizing the Terminal, we now show a small BStringView that displays the
current size of the Terminal in characters.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 10:24:53 +00:00
Oliver Tappe
39fbf5509b bonefish + zooey:
* Fixed a general problem with respect to overriding of the reserved
  virtual function slots: instead of statically invoking the method
  that corresponds to the reserved slot on the class that contains the
  slot, we now invoke the virtual Perform() method. Perform() then dispatches 
  the method invocation to the "proper" class, i.e. the highest class in the 
  hierarchy that  actually implements the requested method.
  This fixes a crash in apps that use liblayout's MSlider class and
  should fix one or other spurious bug with old apps or libraries, too.
* added new header folder 'binary_compatibility' that contains files that
  define the method codes and data structures required by Perform()
* looked for and implemented all used reserved virtual slot functions to
  invoke Perform() where necessary or to pass on the method call statically
  (for slots that were already maintained by Be)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 09:29:06 +00:00
Axel Dörfler
f00aecf4b6 Cleanup in AllocateBlocks():
* Replaced "group" with groupIndex, "group" is now a reference to the
  AllocationGroup.
* Renamed some variables for clarity.
* No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 09:12:45 +00:00
Oliver Tappe
bc6a5f8697 bonefish + zooey:
* added tracing of stack traces to userspace entries


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 09:04:37 +00:00
Axel Dörfler
ab8b37cf9f * Fixed another check, the warning "first free too late" was printed even
though there was no problem.
* Nevertheless, improved output of that warning :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 08:49:53 +00:00
Michael Lotz
39e9e0e43b Fix typo.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 08:08:31 +00:00
Michael Lotz
c2b295654c Initialize the parameters to NULL so that a later reload doesn't try to free
uninitialized memory. Fixes a crash on boot with a preloaded settings file
present that wasn't used before the boot device was available (like the vm
settings file).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 08:06:30 +00:00
Rene Gollent
1138737b87 Fix regression introduced in r28116: Due to the change in variable names, the
wrong version of ConvertFromScreen() was now used, resulting in the calculation
being computed and thrown away. This broke BMenu, probably amongst other things.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 01:59:39 +00:00
Axel Dörfler
b06a5d91f9 * Fixed a bad bug (that I introduced with one of the last commits...) that
could check memory beyond the block and then tried to allocate that on the
  correct block (would possibly lead to KDL).
* Made AllocationBlock::Allocate() and Free() inline.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 01:21:31 +00:00
Axel Dörfler
0945268d80 * GetMouse() now survives being called with NULL parameters for location or
buttons.
* Automatic whitespace cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-15 00:02:54 +00:00
Axel Dörfler
8cc45109d2 * Fixed build when DEBUG_ALLOCATION_GROUPS is not defined, thanks Rene.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 22:58:21 +00:00
Axel Dörfler
98ec129e53 * I obviously need some sleep: messed up the fix, and forgot some parenthesis...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 22:49:13 +00:00
Axel Dörfler
4986b5c767 * Fixed the wrong check for the largest block: it was always checked, no matter
if the largest block was marked invalid or not. Thanks for testing, luroh :-)
* Fixed warning.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 22:42:49 +00:00
Axel Dörfler
c709ef9805 * Changed how the string for the UUID hash is build.
* Accidently did not start at different positions in the string to build the
  hash, but just added some value to the hash...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 22:30:43 +00:00
Axel Dörfler
a8744b0ee9 * Each allocation group now lazily maintains the largest free block separately,
so that allocations can be directly fulfilled from that block without having
  to search for it.
* This should further improve the allocator's performance, but it could need
  more tuning (ie. when to rebuild the free block).
* Added debugging code to check if the largest block is maintained correctly;
  it's currently turned on (DEBUG_ALLOCATION_GROUPS) which makes allocations
  actually pretty slow - I'll disable it again after it has been tested a bit
  more.
* Added a "bfs_allocator_blocks" KDL command that allows you to show all
  tracing entries that affect a specific block (only available if BFS has
  been compiled with tracing support).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 22:14:10 +00:00
Michael Lotz
4977d0be6c Fix build under BeOS.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 21:47:05 +00:00
Stephan Aßmus
991547ef6c Patch by Artur Wyszynski:
* Implemented BGradient, BGradientLinear, BGradientRadial,
  BGradientDiamond, BGradientConic and BGradientRadialFocus
  new Interface Kit classes.
* Implemented all the (AGG-based) backend necessary in
  the app_server to render gradients (Painter, DrawingEngine)
* app_server/View can convert a BGradient layout to screen
  coordinates.
* Added BGradient methods of the Fill* methods in BView.
* Implemented a test app and added it to the image as a
  demo.
* Adopted Icon-O-Matic and libs/icon in order to avoid
  clashing with the new BGradient class. Re-use some
  parts where possible.

Awesome work, Artur! Thanks a lot. Now a more modern
looking GUI has just become much easier to implement! :-)

TODO:
* Remove the need to have gradient type twice in the
  app_server protocol.
* Refactor some parts of the patch to remove duplicated
  code (Painter, DrawingEngine).
* Adopt the BPicture protocol to know about BGradients.
* Review some parts of the BArchivable implementation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 21:27:42 +00:00
Oliver Ruiz Dorantes
9e6975723d Header for a common kernel module to handle all BT Stack data structures. Its sources can wait...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 20:50:44 +00:00
Oliver Ruiz Dorantes
b9b8d43c57 Current L2CAP code. Replying ConnectionResponses signals. The style should be more acurate than my previous commits(so use this commit to correct my remaining bad habits). The Code is not completed but need to commit to have a chance to go on from Germany....
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 20:47:20 +00:00
Oliver Ruiz Dorantes
07e4b460ce Add flow specificacion command. Add port names being used among the Stack.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 20:34:30 +00:00
Oliver Ruiz Dorantes
2c6619e446 Styling and define module path outside the driver
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 20:28:22 +00:00
Rudolf Cornelissen
19c416bbd0 added recognition for subclass PCI_mass_storage_other since my promise ide controller Ultra133TX2 reports being one, and there are others as well. My system is now booting with IDE and ATA busmanager using the promise controller, and DMA works perfectly. If the addition of PCI_mass_storage_other regresses booting then cardID's and manID's should be added that may report PCI_mass_storage_other since otherwise certain systems are rendered unbootable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 20:04:19 +00:00
François Revol
b20c4dc559 This should fix the BeOS build. Note BeOS had read_pos() way before POSIX had any pread()...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 19:51:52 +00:00
Stephan Aßmus
73be167630 * Removed dead code.
* Fixed line lengths.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 19:48:35 +00:00
Stephan Aßmus
f6bffd4e5b Whitespace cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 19:47:00 +00:00
Stephan Aßmus
60a6c9c331 Add short cuts for changing the snapping mode.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 19:30:47 +00:00
Stephan Aßmus
3bb156ee57 Created navigation icons/buttons. Could be used in Tracker or browsers for
example. One could also design them to be 3D icons like regular icons.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 19:05:21 +00:00
François Revol
86cb5b45da - Move MFP freq to a separate header
- initialize the time_base_frequency kernel arg (should be done in the bootloader though...). We will use MFP timer to support system_time(). At least try to.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 18:40:45 +00:00
Stephan Aßmus
531bc71bf9 Use the parent's low color, not view color for the icon background and frame
base color. Fixes the frame looking much too strong.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 18:36:07 +00:00
Stephan Aßmus
a6099ca9e5 * Implemented changing the icons size (several ones are supported from
16 x 16 to 64 x 64).
* Changed the layout code to have dynamic padding depending on main icon size.
* Fixed a problem with the "Auto Raise" feature where, when the pad was along
  the bottom, you had to tip the top of the screen with the mouse for the pad
  to raise...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 18:32:31 +00:00
Stephan Aßmus
8eeb005f20 ... actually, "unnest" the rest of the file as well.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-14 17:25:42 +00:00