Jump to content


Photo
- - - - -

Mojmir's New Blackbox Build


  • Please log in to reply
160 replies to this topic

#1 pitkon

pitkon

    Administrator

  • Head Administrator
  • 1,333 posts
  • LocationAthens & Nafplio, Greece

Posted 26 January 2014 - 07:28 AM

Here's where you'll be keeping track of mojmir's build, BBZero.

http://blackbox4wind...-mojmirs-build/


  • McCheesums, spoot and drumandbeer like this

#2 mojmir

mojmir

    BB Developer

  • Moderators
  • 254 posts

Posted 26 January 2014 - 08:22 AM

big [color=#ff0000;]warning[/color] please... this is from development branch.

so this stuff is mainly for [color=#ff0000;]testing[/color]

 

there are three binary builds:

- windows xp 32bit (uploaded by pitkon)

- windows vista/7/8 32bit (in this post)

- windows vista/7/8 64bit ([color=#b22222;]will upload later, when my quota is extended[/color])

 

you should find all of them in this thread.

 

although i consider it almost stable (running it for more than month without stability problems),

it has still few quirks.

 

so if you want to, test it, andyou can and tell me what's wrong/missing.



#3 mojmir

mojmir

    BB Developer

  • Moderators
  • 254 posts

Posted 26 January 2014 - 08:25 AM

if there are members interested in testing, i can upload builds for more modern win7 32 and 64bit.

these should support new windows 8.



#4 rlv

rlv

    Staff Member

  • Moderators
  • 19 posts

Posted 26 January 2014 - 01:04 PM

What's special about it, compared to bbLean?



#5 mojmir

mojmir

    BB Developer

  • Moderators
  • 254 posts

Posted 26 January 2014 - 02:25 PM

sorry i know i did not included any information, it kinda slipped out, i only wanted to send it to Pete for testing :)

 

the sources comes from Jonathan "XZero450". these are tagged as 1.17.1

 

https://github.com/x...bclean-xzero450

 

from devel branch i created, to be specific.

 

1) the most invisible change is the build system, it's using cmake right now. cmake is a project generator, that when runned, generates .sln/.vcproj or msys makefiles.

  • i included run_generator_vs2012.bat and few more .bat files in the root of BlackBoxZero
  • i wrote a how to for cmake

  docs/build_with_cmake.txt

  • there is a screenshot for gui

  docs/build_with_cmake.png
 

2) second most invisible change is a bit of versioning, so that you can link the build with sources

 

bit more on that:

there is a file in build/version.cmake that for each build automatically scans git repository and assigns a version to blackbox build:

/c/devel/bb $ cat BlackboxZero/blackbox/bbversion.h#define BBLEAN_VERSION "1.17.2-7-g956f-dirty"#define BBLEAN_RELDATE "2013-11-28

1.17.2-7-g956f-dirty means:
1.17.2 is a tag placed by me (on some version), this build is 7 commits ahead of this tag, g956f is a part of hash that describes commit and dirty means that i have some modified files in my repository that i did not commited.
 

3) it's compilable with mingw 32/64 and visual studio 32/64. i added xp (vc110_xp) support yesterday.

i debugged and fixed crash on windows 8 yesterday, too. (related to this: http://blogs.msdn.co...6/10484683.aspx )

 

4) some of the plugins were not 32/64 ready... i fixed at least the popular ones, for start.

 

these are all ready (mingw, msvc)x(32,64)
  bbAnalog
  bbColor3dc
  bbFoomp
  bbIconBox
  bbInterface
  bbInterface_iTunes
  bbKeys
  bbLeanBar
  bbLeanBar+
  bbLeanSkin
  BBPager
  bbPlugin
  bbPlugin+
  bbRecycleBin
  bbSDK
  bbSlit
  BBStyle
  bbWorkspaceWheel
  SystemBarEx

also i did not yet tested much the mingw build if it runs and how.

i found some more in 1.16, so i do not know whether to include them or not:
  bbColorEx
  bbDrawText
  bbkeys2
  bbLeanSkin_
  bbMemLimiter
  bbScheduler
  bbWheelHook
  WinTyler

 

5) i added possibility of two dimensional workspaces. apart from left/right direction up/down are possible too.

 

this one works fine, you just need to configure it.

 

configuration:

 

blackbox.rc

session.screen0.workspaces_wraparound: falsesession.screen0.workspaces: 12session.screen0.workspacesX: 4session.screen0.workspacesY: 3session.screen0.workspacenames: A1, A2, A3, A4, B1, B2, B3, B4, C1, C2, C3, C4

bbkeys.rc

KeyToGrab(H),	    WithModifier(Alt+Shift),	  WithAction(PrevWorkspace)KeyToGrab(L),	   WithModifier(Alt+Shift),	  WithAction(NextWorkspace)KeyToGrab(K),	    WithModifier(Alt+Shift), WithAction(PrevWindow)KeyToGrab(J),	   WithModifier(Alt+Shift), WithAction(NextWindow)KeyToGrab(J),	    WithModifier(Alt), WithAction(UpWorkspace)KeyToGrab(K),	   WithModifier(Alt), WithAction(DownWorkspace)KeyToGrab(Left),		  WithModifier(Alt+Shift),	  WithAction(MoveWindowLeft)KeyToGrab(Right),	    WithModifier(Alt+Shift),	  WithAction(MoveWindowRight)KeyToGrab(Down),		  WithModifier(Alt+Shift),	  WithAction(MoveWindowUp)KeyToGrab(Up),	    WithModifier(Alt+Shift),	  WithAction(MoveWindowDown)

6) i added possibility to ignore a windows, as in sawfish (i think i saw it there). it is a flag similar to sticky, so it can be set on or off. it is intended for windows you do not want to interfere with, like terminals with logs or similarly un/imporant windows.

 

right now i do it by setting the window mode to 'tool window' (WS_EX_TOOLWINDOW). it works fine except for frame/buttons. sometimes it switches decorations to tool windows, sometimes it does not. but otherwise the feature works.

 

configuration:

bbkeys.rc

KeyToGrab(B),	  WithModifier(Alt+Ctrl),	  WithAction(OnBackgroundWindow)

Prerequisities:

 

If you get errors about missing msvcr110.dll (or similar) you need to get microsoft vistual studio redistributables. They come in 32 and 64bit versions, so select the one you need.

XP users need the redistributable too.

 

http://www.microsoft...n.aspx?id=30679

http://www.microsoft...n.aspx?id=30679

 

KNOWN ISSUES:

  • in 32b there seems to be missing one of the bbleanskin dll (will fix soon)
    • Could not load: bbLeanSkinEng.dll
  • all of my rxvt from cygwin terminals, msys terminal, winrar, foobar
    well most of my windows are not decorated right now (i.e. have std
    windows title bar etc). it seems that ony windows explorer is styled
    properly. anyone else notices this?
  • does not work as shell (reported by Scruffty)
  • plug bbcalendar into 32,64 build
  • some troubles with skinning firefox (reported by Scruffty)
  • create xp64 build
     

  • pitkon and Paz like this

#6 scruffty

scruffty

    Ancient Data

  • VIP Member
  • 33 posts

Posted 27 January 2014 - 02:03 PM

Installed BBZERO vs64 on my laptop running windows 8.0 this morning.Seems fairly stable I will keep you advised...


  • pitkon likes this

#7 mojmir

mojmir

    BB Developer

  • Moderators
  • 254 posts

Posted 27 January 2014 - 04:18 PM

thanks and let me know, Scruffty.. what about visual side for example?

i have some issues with some of my windows (seem to be missing blackbox decoration, i.e. frame and buttons etc)


  • pitkon likes this

#8 xDemonessx

xDemonessx

    Member

  • Members
  • PipPipPip
  • 56 posts
  • LocationChicago

Posted 28 January 2014 - 07:06 AM

Sounds very promising. I dont have time to test it right now but I will definitely keep this on my radar.


  • pitkon likes this

#9 scruffty

scruffty

    Ancient Data

  • VIP Member
  • 33 posts

Posted 28 January 2014 - 12:35 PM

Would not install as shell but running fine over Explorer..Skinning problem with firefox nightly but oddly not with Comodo Ice Dragon that has a firefox base.The exclusion Rc. does not seem to help.Its as if it keeps it in its memory as if its a native skin.Will keep you advised.


  • pitkon likes this

#10 Arc Angel

Arc Angel

    VIP

  • VIP Member
  • 9 posts

Posted 29 January 2014 - 12:28 AM

It's great you got BBInterface running in x64, any chance of some BBCalendar love?


  • pitkon likes this

What is The Ashrealm?


#11 mojmir

mojmir

    BB Developer

  • Moderators
  • 254 posts

Posted 29 January 2014 - 07:08 AM

good morning to all,

 

Would not install as shell but running fine over Explorer..Skinning problem with firefox nightly but oddly not with Comodo Ice Dragon that has a firefox base.The exclusion Rc. does not seem to help.Its as if it keeps it in its memory as if its a native skin.Will keep you advised.

 

oh yes, i never run it as shell (there are some issues for me) so i never tested it. will try in near future

by skinning problems with firefox you mean the blinking title bar? (i always switch firefox to classic mode).

 

 

It's great you got BBInterface running in x64, any chance of some BBCalendar love?

 

can try it, but i do not have sources for this plugin.. any idea where to get them?

 

later addition: i searched a bit, but the almighty internet knows almost nothing about bbcalendar sources. i tried to write to Theo (may be author, not sure) and we will see



#12 Arc Angel

Arc Angel

    VIP

  • VIP Member
  • 9 posts

Posted 29 January 2014 - 04:55 PM

can try it, but i do not have sources for this plugin.. any idea where to get them?

 

later addition: i searched a bit, but the almighty internet knows almost nothing about bbcalendar sources. i tried to write to Theo (may be author, not sure) and we will see

 

I thought I had sources for BBC but I was wrong. Yes, Theo was the one maintaining it and the Xoblite plugin page gives http://theo.host.sk as his current site. Pretty sparse site and no sources available, but I'm sure you already knew this by now.

 

I'll keep digging just in case...


What is The Ashrealm?


#13 mojmir

mojmir

    BB Developer

  • Moderators
  • 254 posts

Posted 29 January 2014 - 05:30 PM

good news everyone, i successfully contacted Theo and he gave me all the sources for the plugins.

 

all hails to Theo :)

 

i'll put them in the repository later today and will try to plug them in the build system and see how they fit

 

good news 2: bbcalendar is compilable in 32 bits and with minor changes even in 64bits. it will be included in next build.


  • pitkon, Paz and XZero450 like this

#14 tordenflesk

tordenflesk

    Advanced Member

  • Members
  • PipPipPip
  • 55 posts

Posted 31 January 2014 - 12:15 AM

Trying to run this build on XP X64(special little snowflake, I know)

When I start blackbox.exe I get the "this not a valid WIN32 executable" error.

I've reinstalled all VC, 2005-2013 both X86 and X64 and updated via AutoPatcher.

The plugins(that I've tested) work just fine so far. I'm guessing there are some W7/Vista-only doodads that's messing it up for me?



#15 mojmir

mojmir

    BB Developer

  • Moderators
  • 254 posts

Posted 31 January 2014 - 09:00 AM

ugh, xp64... i was so sure that there is no one using them :D

 

okay i will put it in the list of issues.

in theory this could work easily, all i have to do is to compile it with toolset vc110_xp. but in 64bits.

 

anyway what package are you trying to run exactly?


  • pitkon likes this

#16 tordenflesk

tordenflesk

    Advanced Member

  • Members
  • PipPipPip
  • 55 posts

Posted 31 January 2014 - 04:22 PM

I backed up my BBLean folder, emptied it and extracted bbZero.vs64.rar into it. Then I (tried to) run blackbox.exe.

The Plugins I added to/replaced in my original install are: BBleanSkin, BBKeys, BBColor3dc and bbIconBox.2.



#17 mojmir

mojmir

    BB Developer

  • Moderators
  • 254 posts

Posted 31 January 2014 - 07:16 PM

ah okay, that explains why it does not work. this build vs64.rar is for vista, win7, win8 only.

 

few minutes ago i tried to do a windows xp 64b build and it succeded. i will test it on some xp 64 and upload it during the weekend

 

// tested on xp 64 and 4 beers and it works nicely.



#18 diabol

diabol

    Lazyass

  • Validating
  • 236 posts

Posted 01 February 2014 - 05:01 PM

i like what you did there :)

i just checked out the latest build and built it. builds like a charm (except for the install target, but that's a different story)

 

and i noticed that bbleanskin hasn't been fully ported yet to cmake-style.

when compiled for a 64bit system it should have 64bit parts and 32bit parts (to inject the skinning dll into 32 bit processes), however currently only the 64bit parts get compiled, which explains why firefox is unskinned (mozilla still refuses to provide 64bit binaries of firefox on windows)

 

attached will be the 64bit bbLeanSkin built from bbLean's sources (I'll retry when my quota is raised :3)

 

edit: also when you hide the menu in ff (with the big orange firefox-button) which is the default iirc, bbleanskin breaks - to remedy this you can tick view -> toolbars -> menu bar

Attached Files



#19 mojmir

mojmir

    BB Developer

  • Moderators
  • 254 posts

Posted 02 February 2014 - 12:25 PM

yes, the cmake build system is a bit fresh and there are some issues as:

* some files may not be installed (doc, html, ...)

* i learned how to handle .rc files only recently so they may be ignored.. i'll plug them when i spot them

* install rewrites configuration files (this is particularly annoying one)

 

as you say i did suspect that i need both 64 and 32 bit of bbleanskin. i think i had it this way, but i did changes

in 32bit build recently and may have broke the 64.

i'll look at that soon (or if you want to do it, i will not object of course)

 

so this should be like this?

64bit build contains

bbLeanSkinEng.dll - 64b dll

bbLeanSkinEng32.dll - 32b dll in 64b build

 

32bit build contain

bbLeanSkinEng.dll - 32b dll

 

right?

the only thing is to persuade cmake to do this, cmake does not like mixing 64/32 builds in one project. i'll look on internet what can we do.



#20 diabol

diabol

    Lazyass

  • Validating
  • 236 posts

Posted 02 February 2014 - 02:44 PM

yea, plus in 64bit build there is bbLeanSkinRun32.exe (and in both there is bbLeanSkin.dll)

i figured cmake doesn't like mixing target architectures.

and over here the install target is pretty much completely broken in the generated vs2013 solution, dunno if it requires make or something.

 

the missing resource-files explains why the linked applications are still missing their icons :)

 

i'll try to help out with the build system, but probably you will have stuff fixed before i have started on it :3






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users