Commit Graph

43736 Commits

Author SHA1 Message Date
John Scipione
e6d8c22a7d WIP: Add support for horizontal scrolling. 2012-11-12 22:03:21 -05:00
John Scipione
255853fe15 Add left and right Scrollers and also an orientation parameter. Set the limit based on the view bottom and not the window bottom. 2012-11-12 22:03:21 -05:00
John Scipione
32f840b768 Rename ScrollArrowView to InlineScrollView
InlineScrollView takes a BView instead of a BMenu as well, and it
no longer has flags to do drawing respond to frame changes since
this view does neither of those things.
2012-11-12 22:03:20 -05:00
John Scipione
e06f13f911 Replace a deleted comment, check parent is not NULL before using it. 2012-11-12 22:03:20 -05:00
John Scipione
9c5644aa09 Detach the scrollbars before deleting fExpando.
... when rebuilding the application bar.

This fixes a Deskbar crash on resolution change because the lower
scrollbar is a child of fExpando so it must be removed and deleted
before fExpando is. So the tear down is remote scroll arrows
(if attached) then remote fExpando, then remove the scroll arrow
container view. The application bar is then rebuilt in reverse.
2012-11-12 22:03:19 -05:00
John Scipione
36ac19ebc1 Make the lower arrow a child of the menu instead.
When you scroll, make the lower arrow scroll the same way to give
the illusion that it isn't moving at all.

So, now both arrows scroll on MouseDown, but, Deskbar crashes on
resolution change.
2012-11-12 22:03:19 -05:00
John Scipione
fcfe60b02e Renamed BMenuScrollView to TScrollArrowView and moved it into Deskbar
Also gave the Up Arrow and Down Arrow a scroll arrow. The up arrow works
but the down arrow doesn't because the sibling menu is stealing the
MouseDown event."
2012-11-12 22:03:18 -05:00
John Scipione
d7b5131b1a Set fValue and fLimit to be 0 in the MenuScrollView contructor. 2012-11-12 22:03:18 -05:00
John Scipione
afa1c29104 Tweaks, remove dead code. Menu and Menubar are stock again. 2012-11-12 22:03:18 -05:00
John Scipione
7ee3b479d1 Make the MenuScrollView a fixed size...
instead of trying to make it follow fExpando just make it a fixed
size on creation. It is invisible and extends to the bottom of the
screen. fExpando grows inside it, and the window follows fExpando.
When the window grows taller than the screenframe the arrows are
added. You can scroll with the mouse wheel, but I haven't yet gotten
scrolling to work from clicking. Deskbar still crashes when going
from Mini mode to vertical expando mode. I have no idea why.
2012-11-12 22:03:17 -05:00
John Scipione
49ff476d13 Make ScrollMenu not rely on Menu.cpp
Rename ScrollMenu.cpp to MenuScrollView.cpp

Half step towards making this class work as part of Deskbar without
extending any other classes. Scrolling works both with mouse and
scroll wheel. Redraws on scroll, need to make that work better.
Also need to move classes out of the Interface Kit and into Deskbar.
2012-11-12 22:03:17 -05:00
John Scipione
cb55ef9fb5 WIP: Created a BScrollMenu class that works like BMenuWindow but works on a view instead of a window. Use this to implement a scrollable BarMenuBar in Deskbar. The basics work but there are issues still with sizing and other issues.
Modify the ScrollMenu class to use the layout kit by adding a constructor that doesn't take a view.

Get the BScrollMenu class to follow the size of the BMenu it is a parent of. Adjust the scrollers to appear in the right places. This is a WIP but it works in Deskbar, next step is to integrate this directly into BMenu with the scrollers as children of the menu instead of as children of the BScroller class.

Rebase changes on top of master

Deskbar scrolling works for the most part, just need to fix the
bottom arrow and clean up a bit.
2012-11-12 22:03:16 -05:00
Rene Gollent
5ad155d720 Use Architecture information in WatchPromptWindow.
- We now check what types of watchpoints the target CPU supports
  and limit the UI accordingly.
2012-11-12 20:22:47 -05:00
Rene Gollent
6be4555f92 Also report back the number of bytes each register can watch. 2012-11-12 20:22:15 -05:00
Ithamar R. Adema
5f78788af9 ARM: Initial work on a NOR flash driver
Currently hardcoded to Verdex target. Code prepared to pick up configuration
details from FDT when implemented. Only enabled in FloppyImage for ARM.

This actually enables the kernel to read the content of the image file
passed using the "-pflash" parameter to QEMU....
2012-11-13 00:45:42 +01:00
Axel Dörfler
b20073726a Added BEntry::Name() method.
* GetName() is a bad API, and should be deprecated.
2012-11-12 23:56:23 +01:00
Axel Dörfler
a2f6e5ac9c Added missing BMessage::{Get|Set}String() methods.
* Forgot to add those before accidentally.
2012-11-12 23:56:14 +01:00
Jerome Duval
25a627d880 hda: fixes KDL on HDMI, some digital quirks
* avoid crashing in case of lack of playback or record stream
* set format on digital output widgets
* accept digital output on the output path
2012-11-12 21:14:43 +01:00
Jerome Duval
1e6ae0de3a Development: don't link to libs with minor version numbers (for real)
* should help with #9126
2012-11-12 21:06:12 +01:00
Ithamar R. Adema
4b2a1d798b ARM: implement arch_cpu_user_memcpy/memset/strlcpy functions
Remove the dummies from the C code and implement them in assembly,
due to the label referencing issues with the fault handler.

This code is ripe for optimisation, my ARM assembly is pretty
basic ;)

Does work though, and gets us one step closer to a full arch.
2012-11-12 20:03:48 +01:00
Ithamar R. Adema
75b285a969 ARM: Fix incorrect panic message.
As noted during BeGeistert and today again by kallisti5, there's a
Pentium reference in the ARM bootloader code.

Correct the message to something more appropriate....

Thanks to Rene for the suggestion ;)
2012-11-12 18:08:41 +01:00
Rene Gollent
22fc56ce8c Correct an oversight. Thanks Ingo! 2012-11-11 12:03:28 -05:00
Rene Gollent
4f9eec722c Add watchpoint capabilities hook to Architecture.
Will be used by the watchpoint manager and/or watchpoint UI to
present and/or handle the relative limitations of the current platform.
2012-11-11 11:32:30 -05:00
Ithamar R. Adema
36b41db7aa Merge common ARM CPU/MMU code
This is to make sure all ARM platforms will benefit from planned work on this
MMU/CPU code. The less code duplicated, the better.

Compile-tested for all supported ARM platforms
2012-11-10 03:03:24 +01:00
François Revol
1346bfbf69 urlwrapper: Handle the doi: URI scheme
The DOI (Digital Object Identifier) is a unique identifier
for (scientific and other...) publications.
While the doi: URI scheme was only a draft, it's not totally unlikely
that we ever hit such a URI, in this case we just redirect to the
official DOI website.
cf. http://tools.ietf.org/html/draft-paskin-doi-uri
2012-11-10 00:51:23 +01:00
Ithamar R. Adema
3d49fa31ec VMCache: Fix broken trace statements 2012-11-10 00:32:30 +01:00
threedeyes
70f32936e9 ICNSTranslator: Minor fixes
* documentIndex not zero-based
* more error handling
* memory leak
2012-11-09 04:15:30 +00:00
threedeyes
0810cfe451 ICNSTranslator: Add icon number for multi-element files 2012-11-09 02:35:37 +00:00
threedeyes
69fb792e76 ICNSTranslator: Fix memory leak 2012-11-09 00:46:22 +00:00
threedeyes
9940067990 Add MIME type for Apple icon 2012-11-08 23:40:10 +00:00
Jerome Duval
5ad12a800d vm_page_allocate_page_run: use a mask to enforce the boundary
* use a mask to enforce the boundary as suggested by Ingo. Thanks!
2012-11-09 00:21:41 +01:00
Humdinger
d3f77ddee3 Added correct flags for Hungarian and Brazilian.
+alpha4 (just in case its rebuild...)
2012-11-08 20:05:45 +01:00
threedeyes
caaa0c01ae Add Apple icon translator to the image 2012-11-08 22:28:47 +11:00
threedeyes
122e78a5b9 Added translator for Apple icons (icns)
* Read/Write up to 1024x1024 icon sizes.
* All build-in icon sizes available as pages in ShowImage.
* Support only 32-bit icon colors (rgb32 and rgba32) now.
2012-11-08 22:28:47 +11:00
Rene Gollent
9fe1a5533f Fix typo in zlib symlink.
Should resolve #9126.
2012-11-08 11:21:35 +01:00
Jérôme Duval
62cff38e78 usb_asix: fix for 88772B
* select RX header format type 1 for AX88772B.
* should help with #8238
2012-11-07 23:55:13 +01:00
Rene Gollent
4549786bad Code reorganization. 2012-11-07 23:19:23 +01:00
Rene Gollent
2862f14d68 Added todo list.
Lists missing/incomplete Debugger features. Not exhaustive.
2012-11-07 23:18:23 +01:00
Oliver Tappe
29468041f9 Explicitly use -j1 when building gcc2
* specifying -j1 guards against potential multi-job arguments in
  MAKEFLAGS
2012-11-07 21:56:20 +01:00
Oliver Tappe
d006487564 Force POSIX-locale when building the buildtools
* using a non-POSIX locale may break the build (especially makeinfo),
  so we explicitly set the locale to POSIX
2012-11-07 21:54:02 +01:00
czeidler
9abf4591d5 Ok there are some more, thanks Rene. 2012-11-07 21:45:43 +01:00
czeidler
71d45a0f76 Coding style. 2012-11-07 21:37:40 +01:00
Humdinger
a095f503dc Changing 'Blinking cursor' in settings too.
+alpha4. quick, quick..
2012-11-07 19:49:51 +01:00
Ithamar R. Adema
b0cef9d956 ARM/docs: add a TODO with the major open issues for this port.
Personally I find KDL hangman the biggest blocker, but oh well...
2012-11-07 17:20:47 +01:00
Ithamar R. Adema
e2b8ceb23c ARM/int: remove CPU fault handler debug output 2012-11-07 17:08:15 +01:00
Ithamar R. Adema
9f512d6188 document architectural limitations of ARM port
Sure there are more, but this is at least a start for now ;)
2012-11-07 17:05:18 +01:00
Ithamar R. Adema
f86b582848 ARM: Cleanup of port support code.
This also implements the fault handler correctly now, and cleans up the
exception handling. Seems a lot more stable now, no unexpected panics or
faults happening anymore.
2012-11-07 16:24:22 +01:00
Ithamar R. Adema
0cf5ecba12 ARM: Add asm_offsets.cpp
This will generate asm_offsets.h which makes our assembly code
easier to maintain by preventing hardcoded offsets for fields within structures.

(copied from X86 and removed the X86 specifics)
2012-11-07 16:24:22 +01:00
Ithamar R. Adema
ff163585ec ARM/threads: Disable debug output
Tracing was accidently switched on by a previous commit.
2012-11-07 16:24:21 +01:00
Ithamar R. Adema
0e5d97e97e ARM/vm: small formatting change and trace fix.
Copy some minor changes over from the X86 paging implementation to keep
the two reasonably aligned. Smaller diff ;-)
2012-11-07 16:24:21 +01:00