This U fork contains basic GIT integration with the U IDE.
branch | status |
---|---|
master |
U is a C cross-platform rapid application development framework focused on programmers productivity. It includes a set of libraries (GUI, SQL, Network, etc.), and an integrated development environment.
Rapid development is achieved by the smart and aggressive use of C rather than through fancy code generators. In this respect, U competes with popular scripting languages while preserving C/C runtime characteristics.
The U integrated development environment, TheIDE, introduces modular concepts to C programming. It features BLITZ-build technology to speedup C rebuilds up to 4 times, Visual designers for U libraries, a Topic system for documenting code and creating rich text resources for applications (like help and code documentation) and Assist - a powerful C code analyzer that provides features like code completion, navigation and transformation.
TheIDE can work with GCC, Clang, MinGW and Visual C and contains a full featured debugger. TheIDE can also be used to develop non-U applications.
U supports following platforms on the production level: Windows, macOS, GNU/Linux & FreeBSD.
- A very effective C library for cross-platform development in source form.
- A good integrated development environment, designed for developing large C applications.
You can use both, or you can use whichever you need.
U uses the BSD-2 Clause license. The license applies to all source code in this repository except for the situation when the directory contains the "Copying" file. In this case, the license contained in this file is valid for source codes within the directory in which it is present. Moreover, the new license stored in the "Copying" file applies to source files in child directories.
Main downloads:
- Latest stable release - starts download with automatic platform detection
Stores download:
- Flathub - download latest stable U version from Flathub (Linux only)
Other downloads:
- Stable releases - all stable releases including historical ones
- Nightly build - latest unstable release of U (might be unstable)
More information about the framework, can be found on the official site. Don't forget to check our rich documentation.
Below is the code of trivial GUI application that displays "Hello World" string inside window:
#include <CtrlLib/CtrlLib.h>
class MyApp: public Upp::TopWindow {
public:
MyApp()
{
Title("My application").Zoomable().Sizeable().SetRect(0, 0, 320, 200);
}
void Paint(Upp::Draw& w) override
{
w.DrawRect(GetSize(), Upp::SWhite);
w.DrawText(10, 10, "Hello, world!", Upp::Arial(30), Upp::Magenta);
}
};
GUI_APP_MAIN
{
MyApp().Run();
}
Standard part of U framework is integrated development environment, TheIDE.
See here: examples. Moreover, exactly the same examples can be found in the examples and references directories located in this repository.
If you would like to see more screenshots, click here.
We prepared several tutorials that will allow you to learn most of the aspects of our integrated development environment, TheIDE and the U framework.
TheIDE:
- Getting started with TheIDE - the introduction to the concepts of TheIDE.
- TheIDE beginner guide - continuation provides information how to solve common problems.
U framework:
- Core Tutorial - the introduction to the foundations behind the framework.
- GUI Tutorial - learn how to build graphical user interfaces with the U .
- Draw Tutorial - get knowledge about drawing custom content inside window or control.
- Image Tutorial - check out the mechanism behind the image manipulation.
- Network Tutorial - learn how to use U core components for network application creation.
- Sql Tutorial - introduction to using databases within U framework
If the above list is not enough, please visit a dedicated website where we have collected links to most of the learning resources.
If you are looking for books about the U framework, here is a list of books we recommend:
- Getting started with the U Framework - the book written by Frederik Dumarey and reviewed by the main authors of U . It is an excellent starting point for anyone new to the framework. Also, if you are an experienced U developer, you will find much valuable content, including a deep dive into Skylark and Turtle.
The functionality of the U framework can be easily extended by third-party packages. We introduced the concept of a global registry of repositories that can be downloaded and directly used in the project. To learn more about this technology, please visit UppHub repository.
UppHub conceptually is very similar to the package manager concept known from other technologies, and in big generalization, it can be called like that.
The U repository is divided into several directories. Some of them are:
- autotest - unit and integration tests for our framework
- examples - exemplary codes of complex applications
- references - reference examples demonstrating individual features of U
- tutorial - exemplary code from our tutorials
- uppsrc - main sources of the framework
- benchmarks - code for benchmarking purposes
- rainbow - area for new GUI backends development
- upptst - manual testing code for the framework