Commit Graph

33229 Commits

Author SHA1 Message Date
Adrien Destugues
2eef77bfda MacDecorator : fix a liitle drawing bug (missing border under window tab) and make resizing work.
I see no other bug now, but testing welcome.

You can change the decorator using the setdecor command, but you have to add MacDecorator in /home/config/add-ons/decorators first.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-23 21:25:42 +00:00
Adrien Destugues
31aac46f89 MacDecorator :
-Draw the text in the titlebar
-Fix the buttons (they now are shaded like the DefaultDecorator one, that is, better than in original Mac OS)
-Draw the decorator all grey with no buttons when not focused
-Fix the border

There are some minor bugs left, but basically the decorator is now usable.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34760 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-23 20:31:40 +00:00
Ingo Weinhold
e5d95b9ded Also add I/O related info to the tool tip.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34759 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-23 17:04:07 +00:00
Ingo Weinhold
f0a592fd22 Added IOOperation and IORequest accessors and support methods.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-23 17:03:26 +00:00
Scott McCreary
579f5ff88f Updated automake to 1.11.1
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34757 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-23 16:43:51 +00:00
Adrien Destugues
541987c85d MacDecorator:
- Style cleanup and sync with DefaultDecorator to some extent
- Don't draw a titlebar and border around menus
- Allow the client to draw something inside the window by returning the correct BRegion. (still not perfect, but it is useable, at least)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34756 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-23 15:18:40 +00:00
Adrien Destugues
e71b48d3c1 -Patch by mt to fix appearance catalogs generation problems. Thanks!
-Re-enable and update Appearance preflet translations after sentence case conversion done by Humdinger.
-This closes #5165


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34755 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-23 11:39:04 +00:00
Adrien Destugues
b83b202d4d - BeDecorator synced to DefaultDecorator code (mostly style changes) and fixed for correct font rendering.
- Mac Decorator still not working.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34754 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-23 11:07:17 +00:00
Adrien Destugues
facf61e75c Bring the MacDecorator to compileable and runnable state. I advise you not to use it yet, however.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34753 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-22 22:50:39 +00:00
Ingo Weinhold
e0578cf89f Copy and paste left-over. Should fix the m68k build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34752 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-22 22:01:55 +00:00
Ingo Weinhold
2e74d74f4f * Added method VMCache::TransferAreas() moving areas from one cache to
another. The code originates from vm_copy_on_write_area(). We now generate
  the VM cache tracing entries, though.
* count_writable_areas() -> VMCache::CountWritableAreas()
* Added debugger command "cache_stack" which is enabled when VM cache tracing
  is enabled. It prints the source caches of a given cache or area at the
  time of a specified tracing entry.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34751 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-22 22:00:35 +00:00
Adrien Destugues
ff48991114 BeDecorator works again :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34750 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-22 21:33:41 +00:00
Adrien Destugues
4550f38949 -Bring BeDecorator back at a compilable state
-Some updates to the DecoratorManager to try to make it working. The add-on is not identified properly but I can't find out why...


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34749 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-22 21:06:58 +00:00
Colin Günther
cfcee452a4 Whitespace cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34748 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-22 16:53:28 +00:00
Colin Günther
b7dbc3795f Whitespace cleanup, no functional change.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34747 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-22 16:48:32 +00:00
Colin Günther
1614c41230 Enabling C++ structs is required for jmicron2x0 to make it compile when
kernel_c++_structs.h wasn't assembled previously.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34746 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-22 16:45:56 +00:00
Colin Günther
dc6a91927a Removed superflous include directories from Jamfile and added a newline at end
of file. No functional change.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34745 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-22 16:42:35 +00:00
Colin Günther
0286a8a758 Some modifications to the glue.c file to make the jmicron2x0 driver linkable.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34744 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-22 16:25:51 +00:00
Colin Günther
a9887eb1c8 Modifictation of Jamfiles, so that jmicron2x0 driver is compileable now. Though
it does not link, yet.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34743 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-22 16:16:07 +00:00
Ingo Weinhold
a38f850360 * arch_debug_get_stack_trace():
- Replaced the "userOnly" parameter by a "flags" parameter, that allows to
    specify kernel and userland stack traces individually.
  - x86, m68k: Don't always skip the first frame as that prevents the caller
    from being able to record its own address.
* capture_tracing_stack_trace(): Replaced the "userOnly" parameter by
  "kernelOnly", since one is probably always interested in the kernel stack
  trace, but might not want the userland stack trace.
* Added stack trace support for VM cache kernel tracing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34742 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-22 15:15:07 +00:00
Ingo Weinhold
42f2c2d099 Added TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34741 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-22 15:02:35 +00:00
Adrien Destugues
c48d1db6ff Disable catalogs for appearance until someone finds why the en.catkeys doesn't get built.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34740 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-22 11:36:40 +00:00
Ingo Weinhold
d580f81a2b Also visualize I/O activity.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34739 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-21 21:06:56 +00:00
Ingo Weinhold
934a8d0113 * Model: Added class IOScheduler, a list of IOSchedulers, and a methods to
access it.
* ModelLoader:
  - Also add IOSchedulers to the model.
  - Sort the per thread list of IORequests by start time.
  - Added a bit of output in the _HandleIO*() methods when we don't know a
    request or operation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34738 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-21 21:05:36 +00:00
Ingo Weinhold
1c12dcb598 IOSchedulerRoster:
* Lock the notification service and check HasListeners(), so we don't prepare
  an event message needlessly.
* The on-stack buffer for the event message was too small for I/O operation
  related events. Now a larger buffer belonging to the roster object is used.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34737 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-21 21:00:21 +00:00
Ingo Weinhold
1fde952c1d DefaultNotificationService:
* Added Lock()/Unlock() for explicit locking by a service user.
* Added NotifyLocked() and made Notify() inline.
* Added HasListeners() so one can check whether there is a listener at all
  before preparing the event message.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34736 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-21 20:56:50 +00:00
Adrien Destugues
25037a6c06 Fix cpufrequency catalogs build and update them.
This clean up the add-on from hand-made translation mess.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34735 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-21 19:59:13 +00:00
Stefano Ceccherini
1a7f5cb95d Patch by mt (ticket #5149): Applied BGridLayout to BMenuFields in the
preferences window. Thanks! 


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34734 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-21 19:39:24 +00:00
Ingo Weinhold
685d6ae32b Added columns for the number of I/O bursts and the summed up I/O time.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34733 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-21 16:54:46 +00:00
Ingo Weinhold
c235444841 * Model: Added classes IOOperation and IORequest, and extended Thread to own a
list of IORequests.
* ModelLoader: Process the I/O request and operation related events and create
  the per-thread list of requests.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34732 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-21 16:53:38 +00:00
Adrien Destugues
9c1a9b926a * Patch by Humdinger to convert a lot of things to sentance case.
* Cleanup and update of all the touched catkeys files


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34731 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-21 12:51:41 +00:00
Jérôme Duval
dfb72c7888 * warn_count is unused.
* the last valid index should be written in HDAC_STREAM_LAST_VALID instead of the fragment count.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34730 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-21 11:05:12 +00:00
Jérôme Duval
e4e70475db * style cleanup
* added location to pin widget control name


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34729 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 22:52:01 +00:00
Ingo Weinhold
a63809d378 ModelLoader does now also create an event array per thread with all the events
for that thread.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34728 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 19:48:39 +00:00
Ingo Weinhold
82baa90811 Ignore the events we're not interested in. Fixes the Scheduling page.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34727 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 18:04:20 +00:00
Ingo Weinhold
1b6f98637b Patch by Andreas Färber: Fix mixup of GNU and Sun linker on OpenSolaris.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34726 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 16:46:27 +00:00
Ingo Weinhold
1e9ba7f26c Patch by Matt Madia with small modifications by myself: Read and display the
"SourceURL" fields in optional package descriptions.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34725 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 16:20:58 +00:00
Ingo Weinhold
3212667705 Cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34724 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 16:10:17 +00:00
Ingo Weinhold
613cdfa696 Added support for using email address style named URLs ("... <...>") for
package licenses and URLs.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34723 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 16:04:41 +00:00
Stefano Ceccherini
5674af6f76 Initializing the pointers to NULL is always a good idea. Fixes bug #5159.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 15:54:09 +00:00
Ingo Weinhold
0b58d8440c * Prefixed the INCLUDE_GPL_ADDONS variable by "HAIKU_". configure needs to
be run again or generated/build/BuildConfig needs to be adjusted manually.
* Removed bochs debug hack.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34721 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 13:55:45 +00:00
Colin Günther
32a0e3810e This change should have been part of r34718.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34720 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 13:44:43 +00:00
Ingo Weinhold
adf0692b51 * Removed the DEBUG_PRINTF variable support.
* Simplified the HAIKU_INCLUDE_PATENTED_CODE variable support.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 13:40:12 +00:00
Colin Günther
cc69ec0dd6 Implementing pci_{get|set}_powerstate. There are some wlan chips with the need
to be switched to D0 first.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 13:10:20 +00:00
Ingo Weinhold
97eaabdfb0 Also allow gcc 3 as the host compiler.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34717 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 13:07:43 +00:00
Ingo Weinhold
96054879c1 Fixed build. Since vprintf() is defined as a macro, it's a good idea to
include the <stdio.h> first. I don't see, why the header defines stuff that
is already defined in <stdio.h> anyway.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34716 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 13:07:02 +00:00
Jérôme Duval
3a450d5f3d Patch by Matt Madia (#4936 and #5154): Changed behavior for .bz2 and .gz files: Keep source compressed files.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34715 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 11:51:21 +00:00
Ingo Weinhold
022cdb9ce3 Fixed build with scheduler tracing enabled.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34714 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 00:32:08 +00:00
Ingo Weinhold
a73382f7bb * uninit_port_locked(): Fixed incorrect use of ConditionVariable::NotifyAll().
Fixes #5152.
* _get_port_message_info_etc(): Check whether the port still exists and is not
  closed and empty in the loop. Though actually it shouldn't be necessary
  (same in the other functions), since Wait() would return an error, if the
  port was closed/deleted. Well, paranoia... :-)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-20 00:31:37 +00:00
Philippe Saint-Pierre
fc7d806ef9 PoorMan Server : fix for several style violations (blanks between operators,
blanks after commas, 80 chars/line)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2009-12-19 21:08:25 +00:00