Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Vincent Wei
gvfb
Commits
664e0299
Commit
664e0299
authored
6 years ago
by
Vincent Wei
Browse files
Options
Download
Email Patches
Plain Diff
copyright info
parent
8470e418
Changes
27
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
CMakeLists.txt
+2
-2
CMakeLists.txt
README.md
+25
-2
README.md
src/deviceskin.c
+21
-0
src/deviceskin.c
src/deviceskin.h
+21
-0
src/deviceskin.h
src/gvfb_callbacks.c
+23
-2
src/gvfb_callbacks.c
src/gvfb_callbacks.h
+21
-0
src/gvfb_callbacks.h
src/gvfb_errmsg.c
+21
-0
src/gvfb_errmsg.c
src/gvfb_errmsg.h
+21
-0
src/gvfb_errmsg.h
src/gvfb_input.c
+14
-5
src/gvfb_input.c
src/gvfb_input.h
+15
-6
src/gvfb_input.h
src/gvfb_interface.c
+21
-0
src/gvfb_interface.c
src/gvfb_interface.h
+21
-0
src/gvfb_interface.h
src/gvfb_linux.c
+21
-0
src/gvfb_linux.c
src/gvfb_linux.h
+21
-0
src/gvfb_linux.h
src/gvfb_log.h
+21
-0
src/gvfb_log.h
src/gvfb_main.c
+14
-5
src/gvfb_main.c
src/gvfb_main.h
+14
-5
src/gvfb_main.h
src/gvfb_option.h
+21
-0
src/gvfb_option.h
src/gvfb_view.c
+14
-6
src/gvfb_view.c
src/gvfb_view.h
+16
-7
src/gvfb_view.h
with
368 additions
and
40 deletions
+368
-40
CMakeLists.txt
View file @
664e0299
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.4
)
PROJECT
(
gvfb-1.2.
1
)
PROJECT
(
gvfb-1.2.
2
)
SET
(
PROJECT_NAME gvfb
)
...
...
@@ -15,7 +15,7 @@ ADD_SUBDIRECTORY(vvlc-sample)
SET
(
CPACK_PACKAGE_VENDOR
"FMSoft"
)
SET
(
CPACK_PACKAGE_NAME
"
${
PROJECT_NAME
}
"
)
SET
(
CPACK_PACKAGE_DESCRIPTION_SUMMARY
"Universal Virtual Frame Buffer on Gtk+ 2.0"
)
SET
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"
${
CPACK_PACKAGE_NAME
}
-1.2.
1
"
)
SET
(
CPACK_SOURCE_PACKAGE_FILE_NAME
"
${
CPACK_PACKAGE_NAME
}
-1.2.
2
"
)
SET
(
CPACK_SOURCE_GENERATOR
"TGZ"
)
set
(
CPACK_SOURCE_IGNORE_FILES
"/auto/;/cmake/;/.svn/;/.git/;/.bzr/;/CMakeFiles/;/_CPack_Packages/;CMakeCache.txt$;
...
...
This diff is collapsed.
Click to expand it.
README.md
View file @
664e0299
# GVFB
GVFB Version 1.2.
1
GVFB Version 1.2.
2
This is a virtual frame buffer program running on Gtk-2.0.
...
...
@@ -25,6 +25,29 @@ And then you should change something in MiniGUI.cfg:
[pc_xvfb]
defaultmode=800x600-XXbpp.argbXXXX
window_caption=GVFB-for-MiniGUI-3.
0
-(Gtk-Version)
window_caption=GVFB-for-MiniGUI-3.
2
-(Gtk-Version)
exec_file=/usr/local/bin/gvfb
## COPYING
Copyright (C) 2010~2018, Beijing FMSoft Technologies Co., Ltd.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
## AUTHORS
The following people took and/or are taking part in the development of GVFB:
Vincent Wei
Wang Xubin
This diff is collapsed.
Click to expand it.
src/deviceskin.c
View file @
664e0299
/*
** GVFB - Gtk-based virtual frame buffer
**
** Copyright (C) 2010~2018 Beijing FMSoft Technologies Co., Ltd.
**
** This file is part of GVFB.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
...
...
This diff is collapsed.
Click to expand it.
src/deviceskin.h
View file @
664e0299
/*
** GVFB - Gtk-based virtual frame buffer
**
** Copyright (C) 2009~2018 Beijing FMSoft Technologies Co., Ltd.
**
** This file is part of GVFB.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef _DEVICESKIN_H_
#define _DEVICESKIN_H_
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_callbacks.c
View file @
664e0299
/*
** GVFB - Gtk-based virtual frame buffer
**
** Copyright (C) 2010~2018 Beijing FMSoft Technologies Co., Ltd.
**
** This file is part of GVFB.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <sys/types.h>
#ifdef WIN32
...
...
@@ -296,10 +317,10 @@ ACTION (on_m_about_cb)
gchar
*
strdoc
=
"This application runs under gtk, emulating a "
"framebuffer, which MiniGUI V3.
0
can attach to just as if it "
"framebuffer, which MiniGUI V3.
2
can attach to just as if it "
"was a hardware Linux framebuffer.
\n\n
"
"With the aid of this development tool, you can develop "
"MiniGUI V3.
0
applications under X11 without having to "
"MiniGUI V3.
2
applications under X11 without having to "
"switch to a virtual console. This means you can "
"comfortably use your other development tools such as GUI "
"profilers and debuggers.
\n
"
;
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_callbacks.h
View file @
664e0299
/*
** GVFB - Gtk-based virtual frame buffer
**
** Copyright (C) 2009~2018 Beijing FMSoft Technologies Co., Ltd.
**
** This file is part of GVFB.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef _GVFB_CALLBACKS_H_
#define _GVFB_CALLBACKS_H_
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_errmsg.c
View file @
664e0299
/*
** GVFB - Gtk-based virtual frame buffer
**
** Copyright (C) 2010~2018 Beijing FMSoft Technologies Co., Ltd.
**
** This file is part of GVFB.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_errmsg.h
View file @
664e0299
/*
** GVFB - Gtk-based virtual frame buffer
**
** Copyright (C) 2009~2018 Beijing FMSoft Technologies Co., Ltd.
**
** This file is part of GVFB.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef _GVFB_ERRMSG_H_
#define _GVFB_ERRMSG_H_
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_input.c
View file @
664e0299
/*
**
$Id: gvfb_input.c 280 2011-04-11 10:14:01Z xbwang $
**
GVFB - Gtk-based virtual frame buffer
**
**
gvfbinput.c: Handle all kinds input events
.
**
Copyright (C) 2010~2018 Beijing FMSoft Technologies Co., Ltd
.
**
**
Copyright (C) 2009 Feynman Software
.
**
This file is part of GVFB
.
**
** All rights reserved by Feynman Software.
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** Create data: 2009-12-18
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h>
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_input.h
View file @
664e0299
/*
**
$Id: gvfb_input.h 248 2010-12-15 09:29:32Z xbwang $
**
GVFB - Gtk-based virtual frame buffer
**
**
gvfbinput.h: for gvfb input event
.
**
Copyright (C) 2009~2018 Beijing FMSoft Technologies Co., Ltd
.
**
**
Copyright (C) 2009 Feynman Software
.
**
This file is part of GVFB
.
**
** All rights reserved by Feynman Software.
**
** Create data: 2009-12-18
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <gtk/gtk.h>
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_interface.c
View file @
664e0299
/*
** GVFB - Gtk-based virtual frame buffer
**
** Copyright (C) 2010~2018 Beijing FMSoft Technologies Co., Ltd.
**
** This file is part of GVFB.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_interface.h
View file @
664e0299
/*
** GVFB - Gtk-based virtual frame buffer
**
** Copyright (C) 2009~2018 Beijing FMSoft Technologies Co., Ltd.
**
** This file is part of GVFB.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef _GVFB_INTERFACE_H_
#define _GVFB_INTERFACE_H_
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_linux.c
View file @
664e0299
/*
** GVFB - Gtk-based virtual frame buffer
**
** Copyright (C) 2010~2018 Beijing FMSoft Technologies Co., Ltd.
**
** This file is part of GVFB.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_linux.h
View file @
664e0299
/*
** GVFB - Gtk-based virtual frame buffer
**
** Copyright (C) 2009~2018 Beijing FMSoft Technologies Co., Ltd.
**
** This file is part of GVFB.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef _GVFB_LINUX_H_
#define _GVFB_LINUX_H_
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_log.h
View file @
664e0299
/*
** GVFB - Gtk-based virtual frame buffer
**
** Copyright (C) 2009~2018 Beijing FMSoft Technologies Co., Ltd.
**
** This file is part of GVFB.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef _GVFB_LOG_H_
#define _GVFB_LOG_H_
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_main.c
View file @
664e0299
/*
**
$Id: gvfb_main.c 276 2011-02-17 03:28:00Z xbwang $
**
GVFB - Gtk-based virtual frame buffer
**
**
gvfb.c: Main modules
.
**
Copyright (C) 2009~2018 Beijing FMSoft Technologies Co., Ltd
.
**
**
Copyright (C) 2009 Feynman Software
.
**
This file is part of GVFB
.
**
** All rights reserved by Feynman Software.
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** Create data: 2009-12-18
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h>
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_main.h
View file @
664e0299
/*
**
$Id: gvfb_main.h 251 2010-12-17 01:37:00Z xbwang $
**
GVFB - Gtk-based virtual frame buffer
**
**
gvfb.h: for gvfb.c
.
**
Copyright (C) 2009~2018 Beijing FMSoft Technologies Co., Ltd
.
**
**
Copyright (C) 2009 Feynman Software
.
**
This file is part of GVFB
.
**
** All rights reserved by Feynman Software.
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** Create data: 2009-12-18
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef _GVFB_MAIN_H_
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_option.h
View file @
664e0299
/*
** GVFB - Gtk-based virtual frame buffer
**
** Copyright (C) 2009~2018 Beijing FMSoft Technologies Co., Ltd.
**
** This file is part of GVFB.
**
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef _GVFB_OPTION_H_
#define _GVFB_OPTION_H_
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_view.c
View file @
664e0299
/*
**
$Id: gvfb_view.c 277 2011-02-17 03:33:07Z xbwang $
**
GVFB - Gtk-based virtual frame buffer
**
** gvfbview.c: Handles all the graphics operations, including create window,
** draw image, scale image, show image and so on.
** Copyright (C) 2009~2018 Beijing FMSoft Technologies Co., Ltd.
**
**
Copyright (C) 2009 Feynman Software
.
**
This file is part of GVFB
.
**
** All rights reserved by Feynman Software.
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** Create data: 2009-12-17
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include <stdio.h>
...
...
This diff is collapsed.
Click to expand it.
src/gvfb_view.h
View file @
664e0299
/*
** $Id: gvfb_view.h 261 2010-12-30 07:37:54Z xbwang $
**
** gvfbview.h: for gvfb display event.
** GVFB - Gtk-based virtual frame buffer
**
** Copyright (C) 2009
Feynman Software
.
** Copyright (C) 2009
~2018 Beijing FMSoft Technologies Co., Ltd
.
**
**
All rights reserved by Feynman Software
.
**
This file is part of GVFB
.
**
** Create data: 2009-12-17
*/
** This program is free software: you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation, either version 3 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef _GVFB_VIEW_H_
#define _GVFB_VIEW_H_
...
...
This diff is collapsed.
Click to expand it.
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment