Commit Graph

52301 Commits

Author SHA1 Message Date
Adrien Destugues a2cb1737d8 Screen prefs: force weight of the two boxes
Depending on the locale and string length the layout could leave only a
small part of the window for the rightmost part, which is the important
thing. Force the weight of each side so we have a more balanced window.
2014-12-02 11:40:14 +01:00
Adrien Destugues 8b46ee25ac Screen prefs: move driver info to main window
* Fixes relevant part of #5125
* The remaining information (serial number, frequency ranges) is
"advanced" and can be hidden in the tooltip. However, the video driver
used may be important important information, if you want to know if you
are using VESA, or if you have multiple video cards (Optimus for
example).
2014-12-02 11:17:58 +01:00
Adrien Destugues 0cd7643bd3 usb_disk, usb_floppy: missing const. 2014-12-02 09:15:26 +01:00
Adrien Destugues 38ec030ace FileDevice: implement icon ioctls
Fixes #9320.
2014-12-02 09:04:56 +01:00
Adrien Destugues c37e6238d5 HaikuWebKit 1.4.8 2014-12-02 08:25:27 +01:00
Rene Gollent 310e80e0b6 Debugger: SourceView cleanups.
SourceView:
- Now that we need to track the current text drawing position for syntax
  purposes anyways, get rid of the previous inefficient hack to handle
  tabstops, and instead adjust for them on the fly. This both avoids
  quite a bit of string copying/reformatting, and eliminates the need to
  adjust the syntax highlight offsets to compensate for the aforementioned
  reformatting.
- Fix syntax color for string literals.
2014-12-01 23:36:10 -05:00
Adrien Destugues 7c6b2fa6f1 Fix credits for Lithuanian translation. 2014-12-01 18:41:13 +01:00
Adrien Destugues 3f3d95fb3e Update freetype and add fontconfig packages.
Required for work on completing BFont implementation (::Blocks and
::IsFullAndHalfFixed can be provided using fontconfig data), as well as
a more correct font overlay and/or language > font mapping.
2014-12-01 15:23:42 +01:00
Adrien Destugues acf1d9714e Locale: fix selection of format when Default'ing
Using item->SetExpanded does not work in a BOutlineListView as the
status of the list is then out of sync. The child items are not actually
added to the visible list, and trying to select them won't work.

Using list->Expand() instead works fine, so do that.

Fixes the remaining part of #6805.
2014-12-01 15:12:30 +01:00
Adrien Destugues 3d2cd4484d NetFS package: fix require on usrland_fs
* This was missing an underscore.
* Fixes #11541.
2014-12-01 11:18:18 +01:00
Adrien Destugues 97bb6cddcb Mouse Prefs: use a thinner and lighter outline
suggested by Axel and Stephan, this makes the mouse look better, and the
button numbers (the important part here) stand out more.
2014-12-01 10:49:53 +01:00
Rene Gollent 172a0247dd Debugger: Cleanup.
- Rearrange source_language subdir to have only the interface classes
  at the top level, and devote a subdir to each language-specific
  implementation of them.
2014-11-29 21:30:50 -05:00
Rene Gollent 177202d882 Debugger: Use syntax highlight info for source code view.
SourceView:
- Request syntax highlight information when new source file is set.
- Adjust _FormatLine() to also patch raw syntax highlights to match
  up with calculated tabstops.
- Draw strings in pieces corresponding to how they're broken up in
  terms of syntax highlights with colors.
2014-11-29 21:30:48 -05:00
Rene Gollent 921517ecd3 Debugger: Implement C++ syntax highlighter.
- Implement a basic highlighting engine for C/C++. Not yet used/tested,
  as SourceView will first need some adjustments in order to acquire
  and make use of the highlighter modules in the first place.
2014-11-29 21:30:47 -05:00
Rene Gollent 15758369f2 Debugger: Improvements to C-style expression tokenizer.
- Add recognition of several additional types of tokens that, while
  not necessary for single line expressions, will be needed  for
  parsing/highlighting source files. Also rename tokens for open/close
  paren to reflect their content more accurately, and adjust callers
  accordingly.
2014-11-29 21:30:46 -05:00
Rene Gollent 4671959310 Debugger: Minor refactoring.
- Break the expression evaluator's tokenizer out into its own separate
  header so that the syntax highlighter can also make use of it.
2014-11-29 21:28:08 -05:00
Rene Gollent c04274bdd3 Debugger: Add skeleton C/C++ syntax highlighter classes. 2014-11-29 21:28:06 -05:00
Rene Gollent d431ff418f Debugger: Cleanups/adjustments to syntax interfaces.
- Add missing public keyword for SyntaxHighlightSource/SyntaxHighlightInfo.
- Add initial set of basic syntax highlight types.
- Remove SyntaxHighlightSource. Instead, add a general purpose LineDataSource
  interface to the model classes. Correspondingly adjust SourceCode to inherit
  from it and fixup its derivatives accordingly; also adjust SyntaxHighlighter
  to take a LineDataSource rather than a SyntaxHighlightSource.
2014-11-29 21:27:55 -05:00
Stephan Aßmus d5ef985e18 HaikuDepot: Added rudimentary screenshot window.
Clicking the thumbnail in the package info area will now open a
window where the full-size screenshot is downloaded and shown. There can
only be one such screenshot window open. Navigating between multiple
screenshots of a package is not yet implemented. Also, no caching, but
this may be OK as it is, since one usually looks at these only once and
doesn't want the harddrive filling up with screenshots.
2014-11-29 23:07:32 +01:00
Stephan Aßmus f5a8bae677 HaikuDepot: Paragraph: Fixed typo in PrintToStream() 2014-11-29 23:07:30 +01:00
Stephan Aßmus 368ec7fa0e HaikuDepot: Use a LinkedBitmapView for the screenshot. 2014-11-29 23:07:29 +01:00
Stephan Aßmus 77badf8eca HaikuDepot: Added TODO to LinkView and bugfix.
SetViewCursor(NULL) does not unset the view cursor.
2014-11-29 23:07:28 +01:00
Stephan Aßmus a45f75e0c5 HaikuDepot: LinkedBitmapView derived from BitmapView
Sends a BMessage when clicked and enabled, shows the link cursor
when hovered with the mouse.
2014-11-29 23:07:27 +01:00
Jérôme Duval 969ddf9c9d libsolv_bootstrap: bump revision. 2014-11-29 22:08:10 +01:00
Humdinger 2e2c68cc35 Sentence casing of context menu item of network prefs. 2014-11-29 18:25:33 +01:00
Humdinger 5fe12d4049 Correct typo
My condolences...
2014-11-29 15:37:42 +01:00
autonielx ef6da249e2 Update translations from Pootle 2014-11-29 07:53:00 +01:00
autonielx 120525a214 Remove the cdplayer app, it is not used anymore 2014-11-29 07:52:59 +01:00
Alexander von Gluck IV f83af26271 data: Kernel settings file
* Add example line to always boot using safe
  video mode (vesa)
2014-11-28 20:37:02 -06:00
Adrien Destugues 3deab26b88 Remove useless stub driver.
* There are already ways to mount disk images of various formats, no
need for this one which doesn't have anything implemented.
2014-11-28 14:49:07 +01:00
Adrien Destugues 6dee50beeb Add package for BeMines.
Fixes #9208.
2014-11-28 14:11:49 +01:00
Adrien Destugues 069804d7ca FileTypes: prevent picking folder as preferred app
* I'm not sure why this was changed back in 2006, the file panel is
reused in various cases but I don't see one where selecting a folder
would make sense.
* If I missed something, then different file panels should be used for
the different cases.

Fixes #8805.
2014-11-28 11:45:26 +01:00
Adrien Destugues 122fdeece7 FontDemo: fix overwriting of family with style.
Menus were wrongly set to SetLabelFromMarked (probably from a previous
version of the UI without the nested font menu).

Fixes #11517.
2014-11-28 10:48:32 +01:00
Oliver Tappe 2462ab577d Drop autotools and libtool from haikuports.cross.
* None of these are required to be cross-built, as they all can be built on
  the bootstrap image just fine.
* Additionally, update bash_boostrap from 4.27 to 4.30, as 4.27 causes the
  build of gcc on the bootstrap image to fail.
2014-11-27 21:58:24 +01:00
Adrien Destugues 344180b745 FontDemo: convert to layout code.
Fixes #9241.
2014-11-27 17:49:22 +01:00
Adrien Destugues f448e83bdd Build fix. 2014-11-27 17:15:22 +01:00
Adrien Destugues 1a08983193 Network: use string_for_size for transfer rates.
Don't ask translators to translate these units over and over again.
2014-11-27 16:55:36 +01:00
Adrien Destugues b549b15d81 Mouse prefs: better looking mouse.
* I went with my own graphics as the one in the preflet didn't look that
nice
* The clicked button is shown using a bold font rather than filling it
grey. I was too lazy to find the correct BShapes for all cases (1, 2 and
3 button mouses)

Fixes #6825.
2014-11-27 16:13:19 +01:00
Adrien Destugues 4c7f391f32 Add a <limits> header for gcc2.
Hacked from the gcc4 version. There may be wrong values returned in some
cases.

Fixes #6701.
2014-11-27 12:14:39 +01:00
Adrien Destugues 56abf4aa37 Fix std::isnan and friends for gcc2.
gcc2 was relying on the c99 functions being there, but they are not in
the std namespace.
* Disable the C99 functions and macros in C++ mode
* Redefine them as inline functions in cmath in the std namespace.

Fixes #7396.
2014-11-27 10:58:49 +01:00
Adrien Destugues 5211ae5d68 Terminal: use BPopUpMenu in BMenuFields.
Using a BMenu works, but it doesn't look as good.
Thanks to Diver for noticing this.
2014-11-27 10:53:16 +01:00
Adrien Destugues f4e8886fae CharacterMap: Fix 64-bit build 2014-11-27 09:11:46 +01:00
Adrien Destugues 3d06e082bc BOptionPopUp: move mennu setup to AttachedToWindow
* There is no need to delay this to AllAttached
* Apps may want to override the SetDivider, and doing it as late as
AllAttached can be annoying.

Fixes #10734.
2014-11-27 09:00:23 +01:00
dsizzle 0340e4b336 CharacterMap: several fixes to char. view scroll
* Select items in the encoding list by block identifier rather than
list index (there are holes in the list)
* Scroll to the start of the list when the application starts
* Add and use IsBlockVisible to detect when we need to make a block
visible, avoiding unwanted scrollings in some cases with the previous
method of testing for only one character in the block.

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes some problems with previous enhancements from #3651.
2014-11-27 08:50:37 +01:00
dsizzle b8a8557aa9 CharacterMap: use dynamic font menu
* only update if font family update is detected.
* character map can now detect new fonts or removed fonts without
restarting

Signed-off-by: Adrien Destugues <pulkomandy@gmail.com>

Fixes #3651 part 7.
2014-11-27 08:31:18 +01:00
Automatic Committer f891000ea0 Update pci.ids from pciids.sourceforge.net 2014-11-27 05:20:25 +01:00
Adrien Destugues 052e5d936f Workspaces: remove "about" menu item.
The about box is kept, and can be shown from the replicants.

Fixes #8165.
2014-11-26 16:42:50 +01:00
Adrien Destugues 7b5ea03f20 Icon-O-Matic: import SVG gradient names.
The names are often program generated, but better than no name at all.
2014-11-26 14:51:59 +01:00
Adrien Destugues 42272d2342 OutlineListView: yet another list/fullList mismatch.
Fixes #5817.
2014-11-26 13:48:52 +01:00
Adrien Destugues 83b732c732 checkstyle.vim: add catch to checked keywords
* Check catch() without space
* Check }\ncatch () with newline
* Remove false positive on area_for() and other functions ending with a keyword
2014-11-26 13:27:33 +01:00