Commit Graph
727 Commits
Author SHA1 Message Date
Matt Godbolt a6199453d0 Revert "Fixes up include paths for lru"
This reverts commit 2147e9a6fc.
2017-10-09 22:34:14 -05:00
Matt Godbolt 2147e9a6fc Fixes up include paths for lru 2017-10-09 21:22:22 -05:00
Rubén 30999e9062 Remove non-standard keywords and add missing ones 2017-10-09 22:52:11 +02:00
Rubén 393cd975ef Fix off-by-one error
Line count is actually 1-indexed
2017-10-09 20:54:45 +02:00
Rubén d0ab37557e Fix sentry issue #363237203 2017-10-09 20:51:56 +02:00
Matt Godbolt 42b792b434 ref is not a keyword. Fixes #567 2017-10-09 12:21:09 -05:00
Matt Godbolt dd749f9aba More thanks! 2017-10-07 13:21:33 -05:00
Marc Poulhiès 8770121cd9 Trivial typo fix
cfg-view.js: add missing 't' in defaultCfgOu*T*put.
2017-10-05 13:36:23 +02:00
Rubén d193739ecc Bring every file up-to-format-date 2017-10-02 22:01:38 +02:00
Matt Godbolt e8afb379a4 More thanks! 2017-09-30 10:49:51 -07:00
Rubén f093b345dd Fix code linking display for Dark theme 2017-09-28 00:20:05 +02:00
Matt Godbolt fa1487df86 Workaround for vis.js - directly use the minified version as that seems to prevent the double-anonymous function problem 2017-09-26 15:31:34 -07:00
Rubén 042d68262a Delegate compilation handling to view events
This fixes #499 #500
2017-09-26 20:53:30 +02:00
Rubén 6c164c1fdc Format cfg-view.js 2017-09-26 20:48:59 +02:00
Rubén 65c6ff79d8 Finish up Cfg view review concerns 2017-09-26 12:57:47 +02:00
cppchedy bd8b432c4e put starting node in a select state, always stay on current function when making changes 2017-09-25 23:42:39 +01:00
cppchedy 747ee239c2 added test, resolved some reviews 2017-09-25 22:21:13 +01:00
cppchedy 297658e805 Merge branch 'master' of https://github.com/mattgodbolt/compiler-explorer
Conflicts:
	lib/base-compiler.js
2017-09-25 15:11:19 +01:00
cppchedy 3ae8673b6c resolve other review comments 2017-09-25 14:59:16 +01:00
cppchedy 6da213f7ff resolve review comments 2017-09-25 14:09:07 +01:00
Rubén 5260d28de8 Move leftover color definitions to theme stylesheets 2017-09-25 14:11:10 +02:00
Rubén c4d6f1ab39 Fix the bugs caused by binding update
It totally slipped by. Sorry!
2017-09-25 13:58:53 +02:00
Matt Godbolt c89609cb66 Handle case where there was no filters at all...
Fixes #533
2017-09-22 09:47:00 -05:00
Matt Godbolt 5ef207fefa Handle defaulting new filters to their default settings.
Required a change to how we store filters - specifically, we now
explicitly store `false` values instead of no value at all. In future
that means new filters will inherit the default setting. A workaround
for old filters was added to default any unspecified "old" filter to
false, to mimic old behaviour.
2017-09-22 09:20:02 -05:00
cppchedy cc559ed493 Merge branch 'master' of https://github.com/mattgodbolt/compiler-explorer 2017-09-21 12:08:39 +01:00
Rubén 89f4a917b2 Check condition for Sentry reported error
c.f. Sentry#285270358
2017-09-21 09:05:58 +02:00
cppchedy e450a6494a Merge branch 'master' of https://github.com/mattgodbolt/compiler-explorer 2017-09-20 20:45:28 +01:00
cppchedy 9125038902 fixe UI bug: navigation button partially visible along with dragging bug 2017-09-20 17:04:18 +01:00
cppchedy 44dd2c1506 stop node from shaking 2017-09-20 14:23:26 +01:00
cppchedy baa9647332 support generation of Cfg structure when filter are not set 2017-09-20 08:42:31 +01:00
cppchedy 3aa53d678c other changes requested 2017-09-19 23:48:37 +01:00
cppchedy e62b6d20a8 modified according to reviewers 2017-09-19 23:24:08 +01:00
Rubén fb848faf0f Allow more than 1 include path per lib version
Better error handling when no path is defined (=No crash)
2017-09-19 21:31:39 +02:00
Rubén 9a9843299d Always show lib dropdown
If there are no libs, a message notifying so is displayed
	plus a link to suggest new ones!
2017-09-19 19:28:45 +02:00
cppchedy 5994479fde modified names of functions and variables to follow naming convention 2017-09-19 17:52:01 +01:00
Rubén 54750d946b Merge branch 'master' into master 2017-09-19 09:07:37 +02:00
Rubén 8eb4df5911 Add general improvements to lib dropdown
We mostly don't crash now if libs syntax is illformed

Reordered some compiler buttons so they make more sense as a group
2017-09-19 09:05:31 +02:00
Rubén 5a75995d3d Merge branch 'master' into master 2017-09-19 08:49:24 +02:00
Rubén 1c3270b129 Remove almost every use of self in favor of _.bind()
Tested every change. I'd be suprised if it does not work somewhere

Turns out that _ is not defined at Hub creation. That is the only
	place where self remains. If a workaround is found, I'll
	be happy to implement it.

Once @jaredwy brings us to TS, this will have been for nothing,
	but ey, no biggie.
2017-09-19 08:22:36 +02:00
Rubén 5c0dd63f1a Rename jquery var to $ in cppp-mode 2017-09-19 08:00:58 +02:00
Rubén fdd08a02d2 Make sure AST view closes when its compiler does
Please @TartanLlama if not closing was intended behaviour
	let me know! :)
2017-09-19 07:55:50 +02:00
Rubén 4c5f1bfd70 Add library inclusion dropdown
C++ is tested. Every other language is "unsupported" right now
D works (But there are no libs yet, I'm talking with
	@JohanEngelen to see which could be useful)
Haskell should work (Asked @TartanLlama if we could use some)
ispc should work
Every other language is unconfirmed. Please test if you can!

The syntaxis is similar to what's already there.
c++.amazon.properties has a working example which you can use
	as a template

If you find any broken piece, please let me know.
Thank to @mattgodbolt for the testing :D

This closes #490 for now. Maybe a newer ui pretties it up
2017-09-19 07:21:55 +02:00
cppchedy 37db98cc04 produce CGF structure only if filter are set.
handle empty source code case.
2017-09-18 21:19:27 +01:00
Rubén 302d1c7f1a Prevent default action whem scrolling FontScale 2017-09-18 20:20:50 +02:00
Rubén 0802736e5b Make AST Panel ask for settings upon creation 2017-09-18 20:20:50 +02:00
cppchedy 5e134471e0 add a button in Graph view to show/hide navigation buttons in the convas.
replace use bind instead of var self = this
2017-09-18 16:47:45 +01:00
cppchedy 52a224e425 made fixes to pass test 2017-09-17 23:47:32 +01:00
cppchedy 345549a2b7 add missing semicolon 2017-09-17 23:25:00 +01:00
cppchedy 2ac764d563 added keyborad navigation for CFG Viwe 2017-09-17 22:39:16 +01:00
cppchedy 13596d5ca3 bug fix: update graph view list when new functions are written. 2017-09-17 19:47:37 +01:00