{"id":407,"date":"2016-04-05T00:18:29","date_gmt":"2016-04-05T00:18:29","guid":{"rendered":"https:\/\/einhugur.com\/blog\/?p=407"},"modified":"2016-04-05T00:26:43","modified_gmt":"2016-04-05T00:26:43","slug":"another-marathon-coding-weekend","status":"publish","type":"post","link":"https:\/\/einhugur.net\/blog\/index.php\/2016\/04\/05\/another-marathon-coding-weekend\/","title":{"rendered":"Another marathon coding weekend"},"content":{"rendered":"<p>Shortly after Xojo Inc will release their 2016r1 version then we will be pushing out DateControl 6.1 which has a number of fixes and tweaks some of which help users using the new drop down calendar mode on broader range of OS X versions.\u00a0We have had this version in open beta stage for a while so its pretty solid version.<\/p>\n<p>But I got in another marathon coding weekend, when alone in deep snow at\u00a0remote location. In this session some really nice\u00a0things got done on the DateControl, so we have 6.2 lined up as well which might come out only days after 6.1 comes out.<\/p>\n<p>Basically the project was to make similar drop down mode for Linux as we did for the Mac. Problem with that is that Xojo uses GTK 2, and proper Popover support did not come until GTK 3. So to make this nice and smooth a lot of coding and tricks had to be pulled out. And after completing it where I thought I had found perfection on Ubuntu then when testing it on Raspberry PI basically nothing worked due to mostly far simpler UI theme that Raspberry PI uses. So I went again and redid the whole thing and at 5 am in the night it was nice running same code base on Ubuntu and Raspberry PI:<\/p>\n<figure id=\"attachment_408\" aria-describedby=\"caption-attachment-408\" style=\"width: 318px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2016\/04\/DateControlUbuntu.png?ssl=1\" rel=\"attachment wp-att-408\"><img data-attachment-id=\"408\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/2016\/04\/05\/another-marathon-coding-weekend\/datecontrolubuntu\/\" data-orig-file=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2016\/04\/DateControlUbuntu.png?fit=318%2C372&amp;ssl=1\" data-orig-size=\"318,372\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"DateControlUbuntu\" data-image-description=\"&lt;p&gt;Running on Ubuntu after the later tweak.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2016\/04\/DateControlUbuntu.png?fit=256%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2016\/04\/DateControlUbuntu.png?fit=318%2C372&amp;ssl=1\" loading=\"lazy\" class=\"size-full wp-image-408\" src=\"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2016\/04\/DateControlUbuntu.png?resize=318%2C372&#038;ssl=1\" alt=\"Running on Ubuntu after the later tweak.\" width=\"318\" height=\"372\" srcset=\"https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2016\/04\/DateControlUbuntu.png?w=318&amp;ssl=1 318w, https:\/\/i1.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2016\/04\/DateControlUbuntu.png?resize=256%2C300&amp;ssl=1 256w\" sizes=\"(max-width: 318px) 100vw, 318px\" data-recalc-dims=\"1\" \/><\/a><figcaption id=\"caption-attachment-408\" class=\"wp-caption-text\">Running on Ubuntu after the later tweak.<\/figcaption><\/figure>\n<figure id=\"attachment_409\" aria-describedby=\"caption-attachment-409\" style=\"width: 307px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2016\/04\/DateControlRaspberryPI.png?ssl=1\" rel=\"attachment wp-att-409\"><img data-attachment-id=\"409\" data-permalink=\"https:\/\/einhugur.net\/blog\/index.php\/2016\/04\/05\/another-marathon-coding-weekend\/datecontrolraspberrypi\/\" data-orig-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2016\/04\/DateControlRaspberryPI.png?fit=307%2C373&amp;ssl=1\" data-orig-size=\"307,373\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"DateControlRaspberryPI\" data-image-description=\"&lt;p&gt;Running on Raspberry PI after the later tweak.&lt;\/p&gt;\n\" data-medium-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2016\/04\/DateControlRaspberryPI.png?fit=247%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2016\/04\/DateControlRaspberryPI.png?fit=307%2C373&amp;ssl=1\" loading=\"lazy\" class=\"size-full wp-image-409\" src=\"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2016\/04\/DateControlRaspberryPI.png?resize=307%2C373&#038;ssl=1\" alt=\"Running on Raspberry PI after the later tweak.\" width=\"307\" height=\"373\" srcset=\"https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2016\/04\/DateControlRaspberryPI.png?w=307&amp;ssl=1 307w, https:\/\/i0.wp.com\/einhugur.net\/blog\/wp-content\/uploads\/2016\/04\/DateControlRaspberryPI.png?resize=247%2C300&amp;ssl=1 247w\" sizes=\"(max-width: 307px) 100vw, 307px\" data-recalc-dims=\"1\" \/><\/a><figcaption id=\"caption-attachment-409\" class=\"wp-caption-text\">Running on Raspberry PI after the later tweak.<\/figcaption><\/figure>\n<p>One part\u00a0of the big problem of going to Raspberry in the first try was that the simple theme on Raspberry PI then borderless popup windows have no shadow like they have on Ubuntu, so there was no difference on the dropped down window vs the parent window, it just blended in and it was impossible to see it was drop down unless it went bellow edge of the window. \u00a0Then in the 2nd try I came up with rendering the border manually around the drop down window\u00a0using the Theme colors .<\/p>\n<p>6.2 will have other improvements as well such as better disabled state for new OS X drop down modes as well as of course for the new Linux drop down mode. Improved drawing of the checkbox when used on Raspberry PI and other tweaks.<\/p>\n<p><strong>Updates to last post:<\/strong><\/p>\n<ul>\n<li>The PDF Plugin got successfully completed and has been published.<\/li>\n<li>The situation with the snow is getting a lot better.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Shortly after Xojo Inc will release their 2016r1 version then we will be pushing out DateControl 6.1 which has a number of fixes and tweaks some of which help users using the new drop down calendar mode on broader range of OS X versions.\u00a0We have had this version in open beta stage for a while &hellip; <a href=\"https:\/\/einhugur.net\/blog\/index.php\/2016\/04\/05\/another-marathon-coding-weekend\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Another marathon coding weekend<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[1],"tags":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pd75nk-6z","jetpack-related-posts":[{"id":897,"url":"https:\/\/einhugur.net\/blog\/index.php\/2017\/08\/25\/long-time-no-post\/","url_meta":{"origin":407,"position":0},"title":"Long time no post","date":"August 25, 2017","format":false,"excerpt":"I have not posted anything here for a while but thought it would be good to talk about Gtk3 in Xojo 2017r2. Xojo 2017r2 is out and it now uses Gtk3 on Linux instead of Gtk2. This means that any plugin that uses Gtk2 in any way will not work\u2026","rel":"","context":"With 6 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":763,"url":"https:\/\/einhugur.net\/blog\/index.php\/2016\/08\/10\/comming-soon\/","url_meta":{"origin":407,"position":1},"title":"Comming soon......","date":"August 10, 2016","format":false,"excerpt":"We don't usually post what is about to come but recently when releasing the QRCode Generator then we got many questions on if we would also supply BarCode generator. I can now confirm that BarCode generator is coming. Prototype of the Barcode Generator running: It is at this moment unclear\u2026","rel":"","context":"Similar post","img":{"alt_text":"BarCode","src":"https:\/\/i1.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2016\/08\/BarCode.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":833,"url":"https:\/\/einhugur.net\/blog\/index.php\/2017\/03\/10\/first-preview-of-the-excelwriter-plugin-for-xojo\/","url_meta":{"origin":407,"position":2},"title":"First preview of the ExcelWriter plugin for Xojo","date":"March 10, 2017","format":false,"excerpt":"We have pushed out a preview version of the new ExcelWriter plugin for Xojo. It is on our beta zone. If you are a user with current license but not on our mail list and do not know how to get in the Beta zone then just drop us a\u2026","rel":"","context":"With 2 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":827,"url":"https:\/\/einhugur.net\/blog\/index.php\/2017\/01\/07\/we-need-our-users-help-else-important-plugin-showstopper-bugs-in-xojo-are-not-looked-at\/","url_meta":{"origin":407,"position":3},"title":"We need our users help else important plugin showstopper plugin related bugs in Xojo are not looked at","date":"January 7, 2017","format":false,"excerpt":"We really need users to sign onto plugin showstoppers in the Xojo bug base because of their awful system to weight the bugs then if only the plugin author signs them then the issue will not get any attention. This one here causes Plugin control experience on Linux to be\u2026","rel":"","context":"With 2 comments","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":31,"url":"https:\/\/einhugur.net\/blog\/index.php\/2015\/09\/10\/next-set-to-boards-to-test-and-develop-xojo-arm-plugins-arrive\/","url_meta":{"origin":407,"position":4},"title":"Next set to boards to test and develop Xojo ARM plugins arrive","date":"September 10, 2015","format":false,"excerpt":"Next set of boards to develop and test arrived, this time it was Banana PI M2 and Orange PI 2. I had seen reviews on the web on the hardware, that soldering on the Orange PI was crude, but I found both boards to be flawless in every way as\u2026","rel":"","context":"In \"ARM\"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/09\/IMG_0112-300x225.jpg?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":257,"url":"https:\/\/einhugur.net\/blog\/index.php\/2015\/10\/20\/the-day-has-come-xojo-has-released-xojo-2015r3-with-64bit-compile-on-macos-x-linux-and-windows-as-well-as-adding-raspberry-pi-arm-target\/","url_meta":{"origin":407,"position":5},"title":"The day has come ! Xojo has released Xojo 2015r3 with 64bit compile on MacOS X, Linux and Windows, as well as adding Raspberry PI ARM target","date":"October 20, 2015","format":false,"excerpt":"This is great day in history of Xojo and for most Xojo developers. Of course its not perfect and some would say its no good because of lack of debugging, to big compile sizes and because there might be bugs. Having been playing with it throughout the alpha and beta\u2026","rel":"","context":"Similar post","img":{"alt_text":"","src":"https:\/\/i2.wp.com\/einhugur.com\/blog\/wp-content\/uploads\/2015\/08\/64red.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/posts\/407"}],"collection":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=407"}],"version-history":[{"count":2,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/posts\/407\/revisions"}],"predecessor-version":[{"id":411,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/posts\/407\/revisions\/411"}],"wp:attachment":[{"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/einhugur.net\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}