News/ 2020/ May/ 4.8 – Drag and drop packages, custom cursors, and amazing maps Release 4.8.0 4.8 – Drag and drop packages, custom cursors, and amazing maps VP Vadim Peretokin· May 2, 2020 In this post Drag and drop packages Carrion Fields added Adjustable Containers Search within the script CP437 encoding now supported Custom cursors New API features Geyser:show() fixed Script editor sizes Polish translation ⭐ Did I miss 4.7? Credits Changelog This is an amazing release that adds drag and drop packages, custom cursors, draggable labels and more! Mudlet is now more powerful than ever for building stunning, modern interfaces for MUDs. Drag and drop packages Thanks to Edru, who massively improved Geyser and Userwindows in the last update, you can now drag and drop packages into Mudlet to install them. Pretty simple! Credit: Eraene’s DarkTheme Along with this comes a sysDropEvent, so you can code a custom action when a file is dropped into Mudlet. If you’re a package author, remember you can make use of the sysInstall event to notify that your package has been installed. Enjoy! Carrion Fields added This game has put together a seriously impressive Mudlet package and we’re honoured to have them added to Mudlet officially! Double-click on CF in the Connection screen to play :) Carrion Fields is a unique blend of high-caliber roleplay and complex, hardcore player-versus-player combat that has been running continuously, and 100% free, for over 25 years. Choose from among 21 races, 17 highly customizable classes, and several cabals and religions to suit your playstyle and the story you want to tell. Our massive, original world is full of secrets and envied limited objects that take skill to acquire and great care to keep. We like to think of ourselves as the Dark Souls of MUDs, with a community that is supportive of new players – unforgiving though our world may be. Join us for a real challenge and real rewards: adrenalin-pumping battles, memorable quests run by our volunteer immortal staff, and stories that will stick with you for a lifetime. Adjustable Containers Edru didn’t just stop with drag and drop – adjustable containers are in as well! What does it mean? It means labels/miniconsoles that you can move around and reposition just by dragging! No code needed. Try this code in Mudlet: testCon = testCon or Adjustable.Container:new({name="testContainer"}) testLabel = Geyser.Label:new({x=0, y=0, height="100%", width="100%", color="green"},testCon) Search within the script Dicene also added a cool feature – you can now hit Ctrl+F to search within the script only, not your entire Mudlet profile! He didn’t just stop there either – you can now toggle whenever you’d like to search within variables, default off so it’s quicker: CP437 encoding now supported Thanks to SlySven, the CP437 encoding is now supported. Along with a custom font, Medievia makes use of this to draw amazing custom maps :) Check out a few more screenshots. Custom cursors Yep, custom cursors are here! Curious? Download, drag, and drop this demo package into Mudlet to try all the cursors out :) Big thanks to Edru for adding these in. New API features gcms added MXP as another format that you can get data / events from, just like GMCP. Check it out! demonnic did a pass over the table functions – table.contains() can now check within multiple nested tables, and table.collect(), table.n_collect(), table.matches(), table.n_matches() to make working with tables easier. Thanks to Edru, you can now manipulate the syncing of a module with enableModuleSync(), disableModuleSync(), and getModuleSync(), and add/edit the Scripts as you see them in Mudlet with enableScript(), disableScript(), setScript(), getScript(), permScript(), and appendScript(). Edru also improved on the userwindows – you can now choose whenever they should be popped out or docked at start, and if docked, which area should they be in. Autodocking while dragging can now be disabled, too! A few more improvements are also present – see the full changelog below. Geyser:show() fixed As mentioned two months ago, we’ve fixed an issue where you could still :show() the child of a hidden container. If your UI relied on this broken behaviour, make sure to update it! Script editor sizes Alias/trigger/script editors are no longer huge by default, and they’ll remember their sizes as well. Thanks to dicene for covering this off! Polish translation ⭐ Big thanks to mwarzec for translating the entirety of Mudlet into Polish! In his own words, it was possible thanks to: home.. sweet home.. and no reasons to go outside.. Did I miss 4.7? We skipped 4.7 because that was the April Fools version ;) Credits Thanks to all coders who made this release amazing! atari2600tim, Damian Monogue, Edru2, gcms, Ian Adkins, Jim Tryon, Kebap, keneanung, Mike Conley, Richard Moffitt, Slobodan Terzić, Stephen Lyons, and Vadim Peretokin. Thanks to all translators: DarkApocalypse , Dawid Chomaniuk (pd.chomaniuk), Jelle Z. (jelle619), Leris, Marco “M0lid3us” Tironi (wiploo), mwarzec, vingi, and thomazleventhal for their work in this. Changelog 4.8.1 restores Geyser’s :new() behaviour to be as-is and adds :new2() which won’t make a hidden element appear. This is just half of what went into this two-month release. Seems interesting? Join our team! All are welcome :) >changelog — Mudlet-4.6.0…Mudlet-4.8.0 196 changes added Add getImageSize() #3337 New Crowdin translations #3335 Add GeyserUserWindow to Mudlet.pro #3395 Add action to automatically update 3rdparty dependencies to latest versions #3474 Add action for automatic updates of Mudlet's autocompletion #3452 New Crowdin translations #3413 Add debug information for windows ptb releases add copy2decho and copy2html functions from forums #3508 Add a changelog generator for PTB releases #3517 Add updater validation to linux/macos/windows release builds #3493 New Crowdin translations #3495 Add ability to check multiple items to table.contains #3542 Add cli option for --profile='profile name' to open specified profile at startup #3559 Add ldoc for Geyser.MiniConsole:clear() #3573 New Crowdin translations #3549 Adds standard text editor FIND functionality to source editor #3578 Add daily check for new PTB updates #3599 New Crowdin translations #3591 Add Adjustable Containers #3567 Add setFgColor for Gauges #3594 Add table.collect, table.n_collect, table.matches, table.n_matches #3601 New translations mudlet.ts (German) #3608 Add sha1's to versions for changelog generation to be reliable #3637 Add getMudletInfo() #3633 Add a button to manually update autocompletion data #3646 Add Linux build to Github Actions #3657 Add manual buttons for the rest of actions #3650 Add autoSave and autoLoad for Adjustable Containers #3654 New Crowdin translations #3641 New Crowdin translations #3671 Add Carrion Fields as a default MUD #3697 improved Update lua-function-list.json #3344 Update CODEOWNERS for Github workflows Update Boost to 1.71 Improve cmake osx #3477 Update dblsqd to our submodule Update dependency checker for widechar_width use later Noto Color Emoji font Update character width calculation to latest algorithm #3525 Add version release type Splash-screens #3521 allow Mudlet packager to disable variable splash-screens Update pull request template for PTB's fixes for CodeFactor add AppVeyor and CodeFactor status badges to GitHub README.md #3566 Update Boost download path to point to an actual release Update Polish language name add ability to set title for floating/dockable map window #3609 Improved names for :setCursor() #3645 add support for CP437 encoding #3579 force GHA Ubuntu build to update + add files to qmake project file #3669 fixed Fix module priorities not to get lost #3354 prevent crash if editor theme tab clicked without a Host anymore Fix potential createStopWatch when given nil crash #3272 Fix issue in _comp #3423 Fix translate action's PR-making ability Fix problems with Composer window closing #3386 Fix missing QStringLiteral fixed the pointer warning Fix profile path not available on profile load in package.path #3444 don't apply profile s. sheet to preferences when no profile loaded #3475 Fix for Geyser:show #3378 Fix typo in cppfg fix corner case where the lua interpreter is `lua5.1` on Windows #3496 Fix ptb detection to work right Correct Geyser.UserWindow:new to use a local `me` instead of global `me` Fix missing include/file fix encoding used for logging. #3523 Fix macOS/Linux builds #3537 Fix compile with optional flags off Fix single date parsing correct usage of (void) mudlet::show_options_dialog(QString&) fix broken compilation when QT_NO_SSL defined #3569 add missing titles to editor toolbars ensure Mudlet external Lua files show in Qt IDE #3616 insert missing overrides to reduce CI warnings fixup failing MacOs CI builds #3636 Fixed bug on MXP elements referencing tag content #3634 get translations available again for CMake builds #3628 add missing LIBS variable entry for FreeBSD (QMake only) Adjustable container right click menu not disappearing after reload #3666 Fix unreadable text by default in the background button #3691 other Mudlet 4.5 release! Back to -dev! 4.5.1 release 4.5.2 bugfix release Workaround for Svo overriding createLabel() 4.6.1 hotfix release Delete emoji-replacements.lua Merge branch 'development' into release-4.5 Increasing code coverage for Other.lua #3414 Merge release-4.5 branch into development #3397 Merge branch 'development' into release-4.6 Merge release-4.6 branch into development #3398 Re-set development #3417 Tableutils tests #3416 automatic translation text updates weekly and on pushes to release branches #3412 Remove stray r String utils updates and tests #3434 FlyoutLabel fixes (layout, user experience) #3426 (autocommit) Updated text for translation Only make PR to update translation texts if content changed #3438 Remove untranslatable splash screen tests Only create 3D mapper when used #3451 Api for mapping widget #3424 Remove stray whitespace from translation #3458 (autocommit) Updated dblsqd submodule to latest upstream (autocommit) Updated IRE mapping script to latest upstream (autocommit) Updated lcf submodule to latest upstream 5.1 branch (autocommit) Updated qtkeychain submodule to latest in our fork Create whitespace-linter action #3461 another fix for macosx flickering #3468 Making string.split with empty string as a delimiter return a table containing the characters which make the string up. Also test for same #3482 (autocommit) Updated text for translation Switch to v2 of checkout action from master #3486 MCMP Bug Fix: key #3478 get rid of createButton in Mudlet code #3491 Complete Windows Public Test Build releases #3369 Remove n from translation in mapper message Merge release 4.6.2 improvements into development #3501 Bump Qt to latest LTS Complete MacOS Public Test Build releases #3383 Set limits on a single echo and maximum buffer size #3479 set new window parent #3480 Ability to change mouse cursor over labels #3500 Allow drag and drop Event on MainConsole and UserWindows #3484 Shorten discord error message #3511 Autodetect and set the language on first launch #3481 Miscallaneous clang-tidy improvements Remove use of old native openGL flag on Windows #3510 Remove stray debug echo (autocommit) Updated text for translation #3524 Run update actions only in Mudlet repository #3529 Finish Windows PTB releases #3506 [ImgBot] Optimize images now in our fork Geyser label additions #3520 Shorten version name #3535 Ensure Windows Start Menu PTB is unique #3536 Don't error out if trigger expiration is given as 0 #3240 Enable/disable module sync by Lua script #3507 update the development and ptb splash screens again #3534 (autocommit) Updated autocompletion data [ImgBot] Optimize images Script manipulation via lua #3519 Do install things for OSX in Cron for PTB's Remember editors trigger/script/etc sizes #3541 Make searching variables optional (defaults to off) #3543 [ImgBot] Optimize images Get module sync #3538 (autocommit) Updated text for translation Geyser.container raiseAll lowerAll #3557 changecontainer nestedlabel fix setLabelClick and others now accept functions #3554 Move existing command line parsing options to the new parser #3568 Plug in changelog generation to Windows PTB's #3546 (autocommit) Updated text for translation Remove exclusion check Format cmake files #3598 choosable dockPosition and autoDock disable #3583 Use the date instead of sha1 in ptb titles #3592 set/reset UserWindow Title Text #3585 ISO 8601 for PTB date format #3614 Remove whitespace in translation #3504 Prevent Adjustable Container Duplicates #3613 Drag and drop package into Mudlet to install #3618 (autocommit) Updated text for translation #3626 Mark 'update installed' text for translation #3631 Show a frame for the editor's search bar #3639 Check for updates twice a day #3632 Use a sharper search icon #3640 Rename update-autocompletion.yml to buttons.yml #3647 (autocommit) Updated autocompletion data #3649 Signal an mxp event as an element is received #3612 echolink show the new lines #3658 prevent Adjustable Container duplicates new approach #3655 Geyser.container:raise/lower changes order in Geyser.windows #3652 Consistency in error handling of permScript #3547 UserWindow Title shortenend to only be the name of the UserWindo #3586 prevent duplicates of windownames in Geyser.windows #3651 (autocommit) Updated text for translation (autocommit) Updated autocompletion data #3676 Remove unused and unneeded getMudletLuaDefaultPaths() #3665 (autocommit) Updated IRE mapping script to latest upstream #3695 [ImgBot] Optimize images #3710 4.8.0 release Install pcregrep for Travis infrastructure only include Noto Color Font where usable (on Linux only) make getMudletLuaDefaultPaths() return actual used details #3497 remove pointless code remove unused `(QList<bool) TBuffer::dirty` Build CI with all optional compile flags off #3570 Test black toolbar macOS with widget #3574 move highly repeated (6 time) code into helper method Build Mudlet for macOS with Github Actions #3630 Revert "Remove exclusion check" #3629 allow alternatives for Lua libraries loaded with all profiles > contributors — Mudlet-4.6.0…Mudlet-4.8.0 15 people, 198 commits Vadim Peretokin 99 Edru2 31 Stephen Lyons 29 Damian Monogue 12 Kebap 5 Ian Adkins 4 ImgBotApp 4 keneanung 4 gcms 2 Jim Tryon 2 Mike Conley 2 atari2600tim 1 Richard Moffitt 1 Slobodan Terzić 1 Slobodan Terzić 1 Download Mudlet Download 4.8.0 from GitHub Discuss on the forum ← Older post 4.7 – [April Fools] – Here come the MIB Newer post → 4.9 – Public Test Builds & ANSI art