Author Archives: ccoupe

Shoes 3.3.6 Beta and More

A 3.3.6 beta just a few weeks after 3.3.5? What’s going on?

A couple of things. First, it fixes some show stopper bugs for a few people. Second, its adds
a feature you might care about – you can set the font and stroke color for native widgets like edit_line, edit_box, button, list_box and switch (except for BSD – it’s too special). I’ve been working on that feature for a long time – time to let people test it and I can get to other things.

Betas here.

I have also done a lot of work to clean up Shoes from a maintainer point of view. Why? Because I have been diagnosed with oral cancer and I wanted shoes internals to be clean(er) if someone else has to replace me as maintainer. Today I got the treatment plan and while nothing is scheduled yet, I’ll probably survive. I know people are curious about these things so I’ll share some information.

Almost 5 years ago I had neck cancer which involved chemotherapy, radiation, and surgery. Clever people might connect the dates and think I started maintaining Shoes 3 after that ‘event’ for something to do while waiting to learn if they got all the cancer out of my neck. They would be correct. Three years later (2016) I’m pronounced cured and I’m also deep in have fun with Shoes.

I don’t know when exactly but I’ll have to travel to Salt Lake City, Utah, USA where they will cutout a chunk of my right jawbone and rebuild the jaw with a chunk of bone take from my lower leg. I’ll be there for at least a week, probably more. I know these things don’t heal all that fast so I’ll be miserable for a least a month. But, I’ll probably survive and I don’t have to suffer months of chemotherapy or radiation. Pick your misery! I’m good with this option. So one day my attention to Shoes will drop to zero and maybe a few weeks or a month later I’ll return to Shoes.

It goes without saying but I will say it again – we can always use to folks to help with Shoes 3.

Shoes 3.3.5

Shoes 3.3.5 is available from the usual place. It fixes some Show Stoppers bugs for newer OSX and some Linux variants (Arch). We provide modifiers for the event handles so click can tell if control or shift was pressed (or both). Added a wheel event.

For the brave, it adds an arcane feature only In the know experts might care to exploit. I’ll be waiting for those bug reports 😉

The ChangeLog is


-------------- Shoes 3.3.5 --------------------------------

=== New with 3.3.5
* Add 'wheel' event
https://github.com/shoes/shoes3/issues/287
* can preprocess events with new event {block}
https://github.com/shoes/shoes3/issues/383
https://github.com/shoes/shoes3/wiki/event-streams
Experts Only

=== Fixed with 3.3.5
* Arch linux (probably others) are missing symlinks to libraries
https://github.com/shoes/shoes3/issues/392
* Windows cpu utilization
https://github.com/shoes/shoes3/issues/387
* OSX High Sierra (10.13) couldn't start Shoes
https://github.com/shoes/shoes3/issues/398
* Profiling has new output options for workaround
https://github.com/shoes/shoes3/issues/390

=== Developer Issues with 3.3.5
https://github.com/shoes/shoes3/issues/399
* no Linux 32 bit provided.
* last release for osx 10.9 (mavericks)
* freebsd status is 'experts with free time'

Slowly getting it right

It’s been one hell of a ride moving my build platform from ubuntu 14.04 to 16.04. It’s almost Ok. I can build Shoes (all platforms) but VirtualBox is being a real pain in the ass. It makes me nostalgic for the older ‘Get Smart” Shoes:

Backups are useful!

I decided to do a hardware upgrade and change the OS to Linux Mint 18.1 (with cinnamon). I wanted to add a 128GB SSD I’d purchased 4 months ago and put the new OS there. I’ve got a sata 1TB boot drive, /dev/sda and 250gb sata in /dev/sdb and a 1.5 TB usb drive for backups on /dev/sdc. The new ssd showed up as /dev/sdd – Now the tricky part: /dev/sda and /deb/sdb have LVM managed partitions.

When the install of Mint 18.1 was finished I saw that it wrote the grub boot stuff to /dev/sda –No No! But it did. I wanted to set the bios to boot from the SSD (dev/sdd) – not going happen my way. One other side effect – when booted into Mint (/dev/sdd) – it can’t see /dev/sda LLVM partitions which is everything important to me! I’m running in LVM group vg--mint and the other drive is group vg--ubuntu. I have yet to find the magic LVM commands to access that other group. But I have that usb backup and it’s current for all my user directories. Getting those backup directories copied properly took a fair amount of time, trial and error.

I can build Shoe3 (minlin) on Mint. It took a while to get Exim4 smarthost working so I can send email from cron or command line. I use the tt-rss newsreader many times each day and it is one diffcult install – apache2,php,mysql or postgres and tt-rss which has a lot status messages about what’s not working — kudos to the author/s

I don’t have the Oraclebox VM’s those are on the unmounted sda/sdb volumes and there are potentially viable setups on the backup drive. I’ve sure where the chroots are but It might be a good time to fix them – I only need one for x86_64 and It could be a more modern version of Debian – maybe only two years old instead of four+ years old. Probably a good thing but it does take time if you don’t remember much about the last time you did this.

Forgot to mention – that SSD is fast. Boot’s Linux minutes faster. Hardly any delay when launching apps – You want one. Maybe I should get a 250GB SSD and stuff it where /dev/sda lives? Maybe, probably not unless …

Moved the repo.

Due to almost popular demand I’ve moved the shoes3 repo from github:///Shoes3/shoes3 to github://shoes/shoes3 Back to the mothership! That means any bookmark you might have needs to be changed to https://github.com/shoes/shoes3

Shoes 3.3.4

Yup, another Shoes release. What’s New? systray. Moving and resizing windows. You can disable the image cache for the whole app or per image. Other than that there’s some bug fixes and some Shoes developer love. We also don’t support 32 bit linux anymore (it still builds if you really need it and are willing to do the work) We added FreesBSD 11.3 (64 bit) as a native port if you have the proper ports installed.

ChangeLog:

=== New with 3.3.4
  * Uses Ruby 2.3.4 (2.3.3 on Windows) and Rubygems 2.6.12+
    https://github.com/Shoes3/shoes3/issues/361 and
    https://github.com/Shoes3/shoes3/issues/270
  * New widget! - systray sends tiny status messages to the 
    host OS desktop.
    https://github.com/Shoes3/shoes3/issues/363
  * New platform - freebsd 11.1 (64). Can build, run, install and package for.
    https://github.com/Shoes3/shoes3/issues/365
  * Dead platform - 32 bit i686 (Linux intel) target is no longer supported
  * libcurl.dll/dylib/so and new gems are included with Shoes. require 'typhoeus'
    to use it. When net/http and open_uri is too confusing, arcane and limiting. 
    On Windows it's not faster (or slower) - just better in other ways. 
    see https://github.com/typhoeus/typhoeus
  * Method app.resize can programaticly expand the window.
    see https://github.com/Shoes3/shoes3/issues/370
  * Windows can be positioned 
    https://github.com/Shoes3/shoes3/issues/28
  * can enable/disable image cache
    https://github.com/Shoes3/shoes3/issues/323
    https://github.com/Shoes3/shoes3/issues/377
    See Advanced->appmethods in Manual.
    
=== Fixed with 3.3.4
  * When Shoes is installed on a system with existing rvm/rbenv it
    might use the wrong set of gems. 
  * Fixed some SSL issues for download and image (Windows).
    Ruby/Windows (net/http) ssl problems remain unfixed.
  * Improved Windows downloading speed - still sub-par but better than
    before. 
  * some downloaded images don't have an etag (cough, manual Image example)

=== Developer issues with 3.3.4
  * rake does a better job of dealing with changes in lib/shoes/*.rb, static/manual-en.txt
    and changes in samples/*/*.rb. You can change these without a full rebuild.
    https://github.com/Shoes3/shoes3/issues/362
  * new freebsd target (loose and tight shoes)

Other than that, nothing new. 🙂

3.3.4 beta – systray and

I’ve got a set of betas for 3.3.4 for windows, osx, pi and x86_64 linux. Here

You might notice that there is no 32 bit linux – why bother? It’s pain to support and nobody uses it. OSX Mavericks (10.9) is also likely to disowned in Shoes 3.3.4. It’s a real pain in the ass. That will not happen soon. But, it will happen.

What’s in Shoes 3.3.4 beta this month?

  • Systray
  • Typheous
  • A hack to get https urls working for Windows and OSX image and download methods.
  • Windows GUI speed improvements in general, most certainly for network things. Still too slow but a whole lot better that 3.3.3. Moves the meter from ‘really sucks’ to ‘almost doesn’t suck’

It’s highly likely that Typheous will be the recommended replacement for the use of net/http and open_uri when Shoes download is insufficient for networking needs. It’s a lot more understandable to programmers who need more than what Shoes download can do. See the README.md. Improvement? I think so.

The download performance and general friskiness of 3.3.4 on Windows is noteworthy. Sucks less and I think we could do better. There are SSL reasons and ruby-bugs why you don’t want to dig into net/http and open-uri

Quick look Shoes 3.3.4 – systray

Shoes 3.3.4 will probably have a systray pseudo widget. Beta for Windows for feedback. You can read the manual which has this test program

Shoes.app do
stack do
para "Press button and look in your systems notification area"
ctr = 0;
button "Notify" do
ctr += 1
icp = ''
if ctr % 3 != 0
icp = "#{DIR}/static/shoes-icon.png"
else
icp = "#{DIR}/static/shoes-icon-red.png"
end
systray title: "Notify Test", message: "message ##{ctr}", icon: icp
end
end
end

Please comment here.

Closing in on 3.3.3

There are Shoes 3.3.3 beta’s to download from and the Change Log is here.

What you don’t know, behind the scenes. It was a lot of work from core contributers and myself. And then some core panties got twisted too tight to work together and now it’s just me working on the C side of Shoes. I miss them. I’ll work through their bugs reports and suggestions as best I can because they are good things to do.