Description:

X2 is an simple text/programming editor developed in house by Rock Computing from a dissatisfaction with existing text editors.

Features:
*) Small
*) Very light memory usage
*) Syntax highlighting
*) Embedded terminal
*) Find/replace/jump to line
*) Customizable file templates.

It is based on gtksouceview and vte so do make sure you have those installed.

You can checkout the git development release here: https://gitorious.org/x2

All Debs have been removed since X2 can now be downloaded from the official debian package archives: http://packages.debian.org/sid/x2

Its licensed under the BSD 3 clause licence, all patches and donations welcome!

If you discover a bug please do let me know either here, or on our bug tracker: http://rockcomputing.dyndns-web.com//flyspray/index.php?project=2&do=index
Last changelog:

6 years ago

29/01/12 - 2

Actually uploaded a compilable bundle this time.

29/01/12
1) Enable real time preferences

2) Re-enabled the save as keybinding that had been strangely disabled

3) Fix file templates to be fully integrated

4) Split sources into easier to manage files

06/12/11
1.0.9.0: I have fixed all outstanding bugs I can find at the moment.


22/11/11
1.0.8.6: Another minor version bump to fix the quitting when there are unsaved files thing.
Sorry it took so long, had a few other things on.

21/10/11
1.0.8.5 Minor bugfix release.

20/10/11
Version 1.0.8.4 released and offers more improvements to the file templating again.
Templates can now be created from existing files, ctrl+shift+w to save a file as a template, note this only works if the open file has a file extension.
Some keybindings have been changed, save as has now been remapped to ctrl+shift+s (similar to other gtk apps) and preferences have been remapped to ctrl+, (similar to OSX).
Please do be aware of these changes as I realised that printer support may be required in the future and the ctrl+p keybinding may be needed. But since I do not own a printer I will need some help with this.

18/10/11
Version 1.0.8.3 hopefully fixes the runtime segmentation fault on Fedora systems.

18/10/11
Version 1.0.8.2 released changing the previous behaviour of the graphical templates to be more consistent with the open function.

18/10/11
Version 1.0.8.1 released hopefully fixing two long standing bugs.

18/10/11
Version 1.0.8 released, this builds upon the templating idea and expands it to have a graphical component. CTRL+SHIFT+N to activate (assuming you have installed templates).

10/10/11
Version 1.0.7 released. This includes an expansion to our previous release where if a file that is specified as an argument does not exist then it is created for the user.

Now, if the user also specifies a file type (c, py, etc) so long as the user has a matching template file in ~/.config/X2/templates the template will be loaded reducing the amount of work the user has to do to get started.

These files are totally customisable and can be added or removed to as the user wishes.

To get started create the file ~/.config/X2/templates/template.c with the contents:

#include

int main( int argc, char *argv )
{
printf( "Hello world!\n" );
return( 0 );
}

Then just run X2 from the command line with .c and the template will load the contents into your new file.

To remove this just remove the template.c file.

09/10/11
Fedora 32 rpm uploaded.

08/10/11
Five bugs were closed for this release, some of which were code re-factoring elements which really reduced the amount of code inside X2.

The following bugs have been closed:
#3 Create icon for X2
#8 Files can't be passed in via open with dialog
#14 Write a man page
#15 X2 doesn't see relative paths.
#16 Create files passed onto the command line if they don't already exist.

If you use Arch Linux or a source based distro you can download and run now, otherwise please do wait for the packages to be built. 32 bit rpms and debs will be on their way soon.

Oh and one more thing... This one is for you Steve. Respect and peace out.


06/10/11
Andrea Veri has very kindly packaged X2 for Debian: http://packages.debian.org/sid/x2

04/10/11
Added 64 bit fedora package
Added 64 bit deb package

03/10/11
Added tool tips

02/10/11
Added Ubuntu package!
Added Fedora package!

01/10/11
Fixed the desktop file in the main build scripts so that any packager should not have to write it their selves.

Added load from command line.

30/9/11
Created the .desktop file and taken advantage of the gtk stock text editor icon.

29/9/11
Completed the build system.

C

njal

6 years ago

No worries, I am setting up a Fedora 64 VM as we speak so I will see if I can discover the error. Leave it with me.

Report

C

njal

6 years ago

Ok, which version are you trying with?

If it is the latest 1.0.5 can you try 1.0.4 and see if it's a bug I introduced with the latest version?

I will set up a fedora 64 VM to see if I can reproduce the bug.

Bugs can always be reported here: http://rockcomputing.dyndns-web.com/flyspray/index.php?project=2&do=index

Report

C

njal

6 years ago

Ok, which version are you trying with?

If it is the latest 1.0.5 can you try 1.0.4 and see if it's a bug I introduced with the latest version?

I will set up a fedora 64 VM to see if I can reproduce the bug.

Bugs can always be reported here: http://rockcomputing.dyndns-web.com/flyspray/index.php?project=2&do=index

Report

C

njal

6 years ago

Ok, which version are you trying with?

If it is the latest 1.0.5 can you try 1.0.4 and see if it's a bug I introduced with the latest version?

I will set up a fedora 64 VM to see if I can reproduce the bug.

Bugs can always be reported here: http://rockcomputing.dyndns-web.com/flyspray/index.php?project=2&do=index

Report

C

njal

6 years ago

Ok, which version are you trying with?

If it is the latest 1.0.5 can you try 1.0.4 and see if it's a bug I introduced with the latest version?

I will set up a fedora 64 VM to see if I can reproduce the bug.

Bugs can always be reported here: http://rockcomputing.dyndns-web.com/flyspray/index.php?project=2&do=index

Report

C

njal

6 years ago

Ok, which version are you trying with?

If it is the latest 1.0.5 can you try 1.0.4 and see if it's a bug I introduced with the latest version?

I will set up a fedora 64 VM to see if I can reproduce the bug.

Bugs can always be reported here: http://rockcomputing.dyndns-web.com/flyspray/index.php?project=2&do=index

Report

gracca

6 years ago

Please can you tell as how did you compile it in Fedora 64-bits? Maybe the source rpm is more helpful...

Report

C

njal

6 years ago

If you checkout the latest git you should find both the srpm and the spec file I wrote to generate both srpm and rpm files, let me know if this helps.

Report

GDigger24

6 years ago

Tried updated version 1.0.2., invoking <make> lead to an endless loop

./config.status Makefile
config.status: creating Makefile
make: Warning: File `Makefile.in' has modification time 6e+04 s in the future
./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ./configure --no-create --no-recursion
checking for gcc... gcc

I am on openSuSE 11.3 32Bit

Report

C

njal

6 years ago

Can you touch the Makefile.in to update it's time stamp to your current time? I had a bios problem and my computer currently thinks it's one day in the future so that's why the time stamp is wrong, simply updating it time stamp on your system should do the trick...

I hope...

Report

GDigger24

6 years ago

I did. Now. this follows:

make -C src all
make[1]: Entering directory `/testing/share/programs/gtk/x2/x2-1.0.1/src'
gcc -Wall -g -O0 -o x2 main.c `pkg-config --libs --cflags vte gtksourceview-2.0`
In file included from main.c:16:0:
callbacks.c: In function ‘New’:
callbacks.c:119:9: warning: ‘vte_terminal_fork_command’ is deprecated (declared at /usr/include/vte-0.0/vte/vtedeprecated.h:82)
In file included from main.c:16:0:
callbacks.c: In function ‘drag_data_received_handler’:
callbacks.c:861:16: warning: pointer targets in initialization differ in signedness
make[1]: Leaving directory `/testing/share/programs/gtk/x2/x2-1.0.1/src'

I have installed
vte-devel-0.26.2-2.1.i586
libvte9-0.26.2-2.1.i586
vte-lang-0.26.2-2.1.noarch

Report

C

njal

6 years ago

That build output looks the same as on my machine, does it still not run?

Looks like I really need some help with OpenSuse, for the record I couldn't run it when I tested it, am just very unfamiliar with Suse, but I will keep trying.

Report

GDigger24

6 years ago

Sorry, I forgot to say, that these outputs are just warnings. Compilation ends successfully and I am able to start and run X2, althoug I am gettings these warnings:

PC@linux-3l36:/testing/share/programs/gtk/x2/x2-1.0.1/src> ./x2

(x2:9847): Pango-CRITICAL **: pango_font_description_from_string: assertion `str != NULL' failed

(x2:9847): Gtk-CRITICAL **: IA__gtk_font_button_set_font_name: assertion `fontname != NULL' failed

(x2:9847): Gtk-CRITICAL **: IA__gtk_font_button_set_font_name: assertion `fontname != NULL' failed
X2 online

What I really like is to have text editor and terminal in one. Thank for this!

Report

C

njal

6 years ago

I get those warnings on my machine from time to time depending on the font I choose to use.

I don't know why, but I will figure it out eventually.

I am really glad you like my application, if you discover any other bugs or have some suggestions, please do feel free to help me out by putting them on my bug tracker: http://rockcomputing.dyndns-web.com/flyspray/index.php?project=2&do=index

I am rather active on my project (as I am sure you can see :P) so I do try to reply as promptly as I can.

Report

C

njal

6 years ago

I get those warnings on my machine from time to time depending on the font I choose to use.

I don't know why, but I will figure it out eventually.

I am really glad you like my application, if you discover any other bugs or have some suggestions, please do feel free to help me out by putting them on my bug tracker: http://rockcomputing.dyndns-web.com/flyspray/index.php?project=2&do=index

I am rather active on my project (as I am sure you can see :P) so I do try to reply as promptly as I can.

Report

C

njal

6 years ago

I get those warnings on my machine from time to time depending on the font I choose to use.

I don't know why, but I will figure it out eventually.

I am really glad you like my application, if you discover any other bugs or have some suggestions, please do feel free to help me out by putting them on my bug tracker: http://rockcomputing.dyndns-web.com/flyspray/index.php?project=2&do=index

I am rather active on my project (as I am sure you can see :P) so I do try to reply as promptly as I can.

Report

C

njal

6 years ago

I get those warnings on my machine from time to time depending on the font I choose to use.

I don't know why, but I will figure it out eventually.

I am really glad you like my application, if you discover any other bugs or have some suggestions, please do feel free to help me out by putting them on my bug tracker: http://rockcomputing.dyndns-web.com/flyspray/index.php?project=2&do=index

I am rather active on my project (as I am sure you can see :P) so I do try to reply as promptly as I can.

Report

C

njal

6 years ago

I get those warnings on my machine from time to time depending on the font I choose to use.

I don't know why, but I will figure it out eventually.

I am really glad you like my application, if you discover any other bugs or have some suggestions, please do feel free to help me out by putting them on my bug tracker: http://rockcomputing.dyndns-web.com/flyspray/index.php?project=2&do=index

I am rather active on my project (as I am sure you can see :P) so I do try to reply as promptly as I can.

Report

C

njal

6 years ago

I get those warnings on my machine from time to time depending on the font I choose to use.

I don't know why, but I will figure it out eventually.

I am really glad you like my application, if you discover any other bugs or have some suggestions, please do feel free to help me out by putting them on my bug tracker: http://rockcomputing.dyndns-web.com/flyspray/index.php?project=2&do=index

I am rather active on my project (as I am sure you can see :P) so I do try to reply as promptly as I can.

Report

GDigger24

6 years ago

Please do not forget to adjust your BIOS clock. It still runs too fast...

Report

GDigger24

6 years ago

I have just tried the latest version 1.0.1. Invoking <configure> passes without errors, make stops with

make -C src all
make[1]: Entering directory `/testing/share/programs/gtk/x2/x2-1.0.1/src'
gcc -Wall -g -O0 -o x2 main.c `pkg-config --libs --cflags vte gtksourceview-2.0`
Package vte was not found in the pkg-config search path.
Perhaps you should add the directory containing `vte.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vte' found

Report

C

njal

6 years ago

What operating system are you running? I will try in a virtual machine to get in running.

In the mean time can you check vte is installed and if that doesn't work try installing your vte-dev(el) packages, I may have put a dep on the devel packages and not the library.

Thank you for taking the time to report the issue.

Report

LazyKent

6 years ago

Hello. I compiled the program in openSUSE 11.3 x86_64 but it crashes.

% ./X2

(X2:3116): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed

(X2:3116): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed

(X2:3116): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed

(X2:3116): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed

(X2:3116): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed

(X2:3116): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed

(X2:3116): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed

(X2:3116): GLib-CRITICAL **: g_io_channel_write_chars: assertion `channel != NULL' failed

(X2:3116): GLib-CRITICAL **: g_io_channel_close: assertion `channel != NULL' failed
*** glibc detected *** ./X2: free(): invalid pointer: 0x000000000060f620 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x73286)[0x7f400efa3286]
/lib64/libc.so.6(cfree+0x6c)[0x7f400efa802c]
./X2[0x408090]
./X2[0x4081fb]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f400ef4eb7d]
./X2[0x404a39]
======= Memory map: ========
00400000-0040a000 r-xp 00000000 09:00 12501196 /home/kent/rpmbuild/BUILD-osc/openSUSE_11.3-x86_64/usr/src/packages/BUILDROOT/x2-1.0.1-0.x86_64/usr/bin/X2
0060a000-0060b000 r--p 0000a000 09:00 12501196 /home/kent/rpmbuild/BUILD-osc/openSUSE_11.3-x86_64/usr/src/packages/BUILDROOT/x2-1.0.1-0.x86_64/usr/bin/X2
0060b000-0060c000 rw-p 0000b000 09:00 12501196 /home/kent/rpmbuild/BUILD-osc/openSUSE_11.3-x86_64/usr/src/packages/BUILDROOT/x2-1.0.1-0.x86_64/usr/bin/X2
0060c000-00652000 rw-p 00000000 00:00 0 [heap]
7f4004000000-7f4004021000 rw-p 00000000 00:00 0
7f4004021000-7f4008000000 ---p 00000000 00:00 0
7f400951c000-7f4009531000 r-xp 00000000 08:22 280578 /lib64/libgcc_s.so.1
7f4009531000-7f4009730000 ---p 00015000 08:22 280578 /lib64/libgcc_s.so.1
7f4009730000-7f4009731000 r--p 00014000 08:22 280578 /lib64/libgcc_s.so.1
7f4009731000-7f4009732000 rw-p 00015000 08:22 280578 /lib64/libgcc_s.so.1
7f4009753000-7f400977e000 r--p 00000000 08:22 207098 /usr/share/locale/ru/LC_MESSAGES/libc.mo
7f400977e000-7f400978a000 r-xp 00000000 08:22 122529 /lib64/libnss_files-2.11.2.so
7f400978a000-7f4009989000 ---p 0000c000 08:22 122529 /lib64/libnss_files-2.11.2.so
7f4009989000-7f400998a000 r--p 0000b000 08:22 122529 /lib64/libnss_files-2.11.2.so
7f400998a000-7f400998b000 rw-p 0000c000 08:22 122529 /lib64/libnss_files-2.11.2.so
7f400998b000-7f4009995000 r-xp 00000000 08:22 124638 /lib64/libnss_nis-2.11.2.so
7f4009995000-7f4009b94000 ---p 0000a000 08:22 124638 /lib64/libnss_nis-2.11.2.so
7f4009b94000-7f4009b95000 r--p 00009000 08:22 124638 /lib64/libnss_nis-2.11.2.so
7f4009b95000-7f4009b96000 rw-p 0000a000 08:22 124638 /lib64/libnss_nis-2.11.2.so
7f4009b96000-7f4009bab000 r-xp 00000000 08:22 108766 /lib64/libnsl-2.11.2.so
7f4009bab000-7f4009daa000 ---p 00015000 08:22 108766 /lib64/libnsl-2.11.2.so
7f4009daa000-7f4009dab000 r--p 00014000 08:22 108766 /lib64/libnsl-2.11.2.so
7f4009dab000-7f4009dac000 rw-p 00015000 08:22 108766 /lib64/libnsl-2.11.2.so
7f4009dac000-7f4009dae000 rw-p 00000000 00:00 0
7f4009dae000-7f4009db5000 r-xp 00000000 08:22 121950 /lib64/libnss_compat-2.11.2.so
7f4009db5000-7f4009fb5000 ---p 00007000 08:22 121950 /lib64/libnss_compat-2.11.2.so
7f4009fb5000-7f4009fb6000 r--p 00007000 08:22 121950 /lib64/libnss_compat-2.11.2.so
7f4009fb6000-7f4009fb7000 rw-p 00008000 08:22 121950 /lib64/libnss_compat-2.11.2.so
7f4009fb7000-7f4009fb9000 r-xp 00000000 08:22 51305 /usr/lib64/libXau.so.6.0.0
7f4009fb9000-7f400a1b9000 ---p 00002000 08:22 51305 /usr/lib64/libXau.so.6.0.0
7f400a1b9000-7f400a1ba000 r--p 00002000 08:22 51305 /usr/lib64/libXau.so.6.0.0
7f400a1ba000-7f400a1bb000 rw-p 00003000 08:22 51305 /usr/lib64/libXau.so.6.0.0
7f400a1bb000-7f400a1c3000 r-xp 00000000 08:22 125320 /lib64/librt-2.11.2.so
7f400a1c3000-7f400a3c2000 ---p 00008000 08:22 125320 /lib64/librt-2.11.2.so
7f400a3c2000-7f400a3c3000 r--p 00007000 08:22 125320 /lib64/librt-2.11.2.so
7f400a3c3000-7f400a3c4000 rw-p 00008000 08:22 125320 /lib64/librt-2.11.2.so
7f400a3c4000-7f400a3eb000 r-xp 00000000 08:22 41417 /lib64/libexpat.so.1.5.2
7f400a3eb000-7f400a5eb000 ---p 00027000 08:22 41417 /lib64/libexpat.so.1.5.2
7f400a5eb000-7f400a5ed000 r--p 00027000 08:22 41417 /lib64/libexpat.so.1.5.2
7f400a5ed000-7f400a5ee000 rw-p 00029000 08:22 41417 /lib64/libexpat.so.1.5.2
7f400a5ee000-7f400a5f5000 r-xp 00000000 08:22 130369 /usr/lib64/libxcb-render.so.0.0.0
7f400a5f5000-7f400a7f5000 ---p 00007000 08:22 130369 /usr/lib64/libxcb-render.so.0.0.0
7f400a7f5000-7f400a7f6000 r--p 00007000 08:22 130369 /usr/lib64/libxcb-render.so.0.0.0
7f400a7f6000-7f400a7f7000 rw-p 00008000 08:22 130369 /usr/lib64/libxcb-render.so.0.0.0
7f400a7f7000-7f400a7fa000 r-xp 00000000 08:22 131048 /usr/lib64/libxcb-render-util.so.0.0.0
7f400a7fa000-7f400a9f9000 ---p 00003000 08:22 131048 /usr/lib64/libxcb-render-util.so.0.0.0
7f400a9f9000-7f400a9fa000 r--p 00002000 08:22 131048 /usr/lib64/libxcb-render-util.so.0.0.0
7f400a9fa000-7f400a9fb000 rw-p 00003000 08:22 131048 /usr/lib64/libxcb-render-util.so.0.0.0
7f400a9fb000-7f400aa24000 r-xp 00000000 08:22 5946 /usr/lib64/libpng14.so.14.3.0
7f400aa24000-7f400ac23000 ---p 00029000 08:22 5946 /usr/lib64/libpng14.so.14.3.0
7f400ac23000-7f400ac24000 r--p 00028000 08:22 5946 /usr/lib64/libpng14.so.14.3.0
7f400ac24000-7f400ac25000 rw-p 00029000 08:22 5946 /usr/lib64/libpng14.so.14.3.0
7f400ac25000-7f400ac83000 r-xp 00000000 08:22 45583 /usr/lib64/libpixman-1.so.0.18.0
7f400ac83000-7f400ae82000 ---p 0005e000 08:22 45583 /usr/lib64/libpixman-1.so.0.18.0
7f400ae82000-7f400ae86000 r--p 0005d000 08:22 45583 /usr/lib64/libpixman-1.so.0.18.0
7f400ae86000-7f400ae87000 rw-p 00061000 08:22 45583 /usr/lib64/libpixman-1.so.0.18.0
7f400ae87000-7f400ae89000 r-xp 00000000 08:22 63108 /lib64/libdl-2.11.2.so
7f400ae89000-7f400b089000 ---p 00002000 08:22 63108 /lib64/libdl-2.11.2.so
7f400b089000-7f400b08a000 r--p 00002000 08:22 63108 /lib64/libdl-2.11.2.so
7f400b08a000-7f400b08b000 rw-p 00003000 08:22 63108 /lib64/libdl-2.11.2.so
7f400b08b000-7f400b0a7000 r-xp 00000000 08:22 205169 /usr/lib64/libxcb.so.1.1.0
7f400b0a7000-7f400b2a6000 ---p 0001c000 08:22 205169 /usr/lib64/libxcb.so.1.1.0
7f400b2a6000-7f400b2a7000 r--p 0001b000 08:22 205169 /usr/lib64/libxcb.so.1.1.0
7f400b2a7000-7f400b2a8000 rw-p 0001c000 08:22 205169 /usr/lib64/libxcb.so.1.1.0
7f400b2a8000-7f400b32c000 r-xp 00000000 08:22 32740 /usr/lib64/libfreetype.so.6.4.0
7f400b32c000-7f400b52b000 ---p 00084000 08:22 32740 /usr/lib64/libfreetype.so.6.4.0
7f400b52b000-7f400b530000 r--p 00083000 08:22 32740 /usr/lib64/libfreetype.so.6.4.0
7f400b530000-7f400b531000 rw-p 00088000 08:22 32740 /usr/lib64/libfreetype.so.6.4.0
7f400b531000-7f400b533000 r-xp 00000000 08:22 130998 /usr/lib64/libXdamage.so.1.1.0
7f400b533000-7f400b732000 ---p 00002000 08:22 130998 /usr/lib64/libXdamage.so.1.1.0
7f400b732000-7f400b733000 r--p 00001000 08:22 130998 /usr/lib64/libXdamage.so.1.1.0
7f400b733000-7f400b734000 rw-p 00002000 08:22 130998 /usr/lib64/libXdamage.so.1.1.0
7f400b734000-7f400b736000 r-xp 00000000 08:22 130994 /usr/lib64/libXcomposite.so.1.0.0
7f400b736000-7f400b935000 ---p 00002000 08:22 130994 /usr/lib64/libXcomposite.so.1.0.0
7f400b935000-7f400b936000 r--p 00001000 08:22 130994 /usr/lib64/libXcomposite.so.1.0.0
7f400b936000-7f400b937000 rw-p 00002000 08:22 130994 /usr/lib64/libXcomposite.so.1.0.0
7f400b937000-7f400b941000 r-xp 00000000 08:22 130996 /usr/lib64/libXcursor.so.1.0.2
7f400b941000-7f400bb40000 ---p 0000a000 08:22 130996 /usr/lib64/libXcursor.so.1.0.2
7f400bb40000-7f400bb41000 r--p 00009000 08:22 130996 /usr/lib64/libXcursor.so.1.0.2
7f400bb41000-7f400bb42000 rw-p 0000a000 08:22 130996 /usr/lib64/libXcursor.so.1.0.2
7f400bb42000-7f400bb4a000 r-xp 00000000 08:22 131012 /usr/lib64/libXrandr.so.2.2.0
7f400bb4a000-7f400bd49000 ---p 00008000 08:22 131012 /usr/lib64/libXrandr.so.2.2.0
7f400bd49000-7f400bd4a000 r--p 00007000 08:22 131012 /usr/lib64/libXrandr.so.2.2.0
7f400bd4a000-7f400bd4b000 rw-p 00008000 08:22 131012 /usr/lib64/libXrandr.so.2.2.0
7f400bd4b000-7f400bd5a000 r-xp 00000000 08:22 63025 /usr/lib64/libXi.so.6.1.0
7f400bd5a000-7f400bf59000 ---p 0000f000 08:22 63025 /usr/lib64/libXi.so.6.1.0
7f400bf59000-7f400bf5a000 r--p 0000e000 08:22 63025 /usr/lib64/libXi.so.6.1.0
7f400bf5a000-7f400bf5b000 rw-p 0000f000 08:22 63025 /usr/lib64/libXi.so.6.1.0
7f400bf5b000-7f400bf5d000 r-xp 00000000 08:22 131008 /usr/lib64/libXinerama.so.1.0.0
7f400bf5d000-7f400c15c000 ---p 00002000 08:22 131008 /usr/lib64/libXinerama.so.1.0.0
7f400c15c000-7f400c15d000 r--p 00001000 08:22 131008 /usr/lib64/libXinerama.so.1.0.0
7f400c15d000-7f400c15e000 rw-p 00002000 08:22 131008 /usr/lib64/libXinerama.so.1.0.0[1]

Compilation log:

gcc -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -o X2 X2.c -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpng14 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -I/usr/include/gtksourceview-2.0 -I/usr/include/libxml2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -pthread -lgtksourceview-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpng14 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/vte-0.0 -I/usr/include/gio-unix-2.0/ -pthread -lvte -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lpango-1.0 -lfreetype -lfontconfig -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 -lcairo -lX11
In file included from X2.c:16:0:
callbacks.c: In function 'drag_data_received_handler':
callbacks.c:861:16: warning: pointer targets in initialization differ in signedness
X2.c: In function 'main':
X2.c:20:7: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result
In file included from X2.c:16:0:
callbacks.c: In function 'New':
callbacks.c:114:14: warning: 'ptr' may be used uninitialized in this function

Report

C

njal

6 years ago

Am away from my computer for the next few days, but I can have a look at it on tuesday for you. If you send me you OS specs I will set up a SUSE build environment and try to recreate the error.

By specs I mean installed software, version numbers etc.

I promise you that I will get onto this as quick as I can.

Report

LazyKent

6 years ago

Thanks for reply.

I don't know how to provide information about all installed software.
I'm running standard openSUSE 11.3 x86_64 installation from http://download.opensuse.org/distribution/11.3/iso/ + actual updates.

Report

6 years ago

29/01/12 - 2

Actually uploaded a compilable bundle this time.

29/01/12
1) Enable real time preferences

2) Re-enabled the save as keybinding that had been strangely disabled

3) Fix file templates to be fully integrated

4) Split sources into easier to manage files

06/12/11
1.0.9.0: I have fixed all outstanding bugs I can find at the moment.


22/11/11
1.0.8.6: Another minor version bump to fix the quitting when there are unsaved files thing.
Sorry it took so long, had a few other things on.

21/10/11
1.0.8.5 Minor bugfix release.

20/10/11
Version 1.0.8.4 released and offers more improvements to the file templating again.
Templates can now be created from existing files, ctrl+shift+w to save a file as a template, note this only works if the open file has a file extension.
Some keybindings have been changed, save as has now been remapped to ctrl+shift+s (similar to other gtk apps) and preferences have been remapped to ctrl+, (similar to OSX).
Please do be aware of these changes as I realised that printer support may be required in the future and the ctrl+p keybinding may be needed. But since I do not own a printer I will need some help with this.

18/10/11
Version 1.0.8.3 hopefully fixes the runtime segmentation fault on Fedora systems.

18/10/11
Version 1.0.8.2 released changing the previous behaviour of the graphical templates to be more consistent with the open function.

18/10/11
Version 1.0.8.1 released hopefully fixing two long standing bugs.

18/10/11
Version 1.0.8 released, this builds upon the templating idea and expands it to have a graphical component. CTRL+SHIFT+N to activate (assuming you have installed templates).

10/10/11
Version 1.0.7 released. This includes an expansion to our previous release where if a file that is specified as an argument does not exist then it is created for the user.

Now, if the user also specifies a file type (c, py, etc) so long as the user has a matching template file in ~/.config/X2/templates the template will be loaded reducing the amount of work the user has to do to get started.

These files are totally customisable and can be added or removed to as the user wishes.

To get started create the file ~/.config/X2/templates/template.c with the contents:

#include

int main( int argc, char *argv )
{
printf( "Hello world!\n" );
return( 0 );
}

Then just run X2 from the command line with .c and the template will load the contents into your new file.

To remove this just remove the template.c file.

09/10/11
Fedora 32 rpm uploaded.

08/10/11
Five bugs were closed for this release, some of which were code re-factoring elements which really reduced the amount of code inside X2.

The following bugs have been closed:
#3 Create icon for X2
#8 Files can't be passed in via open with dialog
#14 Write a man page
#15 X2 doesn't see relative paths.
#16 Create files passed onto the command line if they don't already exist.

If you use Arch Linux or a source based distro you can download and run now, otherwise please do wait for the packages to be built. 32 bit rpms and debs will be on their way soon.

Oh and one more thing... This one is for you Steve. Respect and peace out.


06/10/11
Andrea Veri has very kindly packaged X2 for Debian: http://packages.debian.org/sid/x2

04/10/11
Added 64 bit fedora package
Added 64 bit deb package

03/10/11
Added tool tips

02/10/11
Added Ubuntu package!
Added Fedora package!

01/10/11
Fixed the desktop file in the main build scripts so that any packager should not have to write it their selves.

Added load from command line.

30/9/11
Created the .desktop file and taken advantage of the gtk stock text editor icon.

29/9/11
Completed the build system.

product-maker gracca Oct 03 2011

product-maker 6 6

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
1.1.0
updated Jan 29 2012
added Sep 22 2011
downloads today
0
page views today 2