1 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
3 * lyxfunc.C (processKeySym): comment the Escape handling, remove
5 (Dispatch): implement LFUN_ESCAPE
7 * commandtags.h: add LFUN_ESCAPE
9 * LyXAction.C (init): add entry for LFUN_ESCAPE
11 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
12 Remove commented code.
13 (insertNote): moved here
14 (open_new_inset): moved here
16 * BufferView[2].[Ch]: move insertNote and open_new_inset to
19 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
21 * kbmap.C (findbinding): clean it up and make it work correctly.
23 * lyx_main.C (init): do not pass argc and argv as parameters
25 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
27 * buffer.C: fix path for OS/2 & Win32
31 * lyx_main.C: Added os:: class.
33 * os2_defines.h: update
35 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
37 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
38 better by trying again with reduced state.
40 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
42 * lyxrc.C (read): print error about invalid key sequence only when
43 debugging (because not all latinX keysyms are known to some X
46 * kbsequence.C (getiso): add a few std:: qualifiers
47 (getiso): comment out extra return statement.
49 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
51 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
53 (Dispatch): enhance the accent inset a bit. (not perfect)
55 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
57 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
59 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
61 * bufferlist.C (emergencyWrite): fix assert() call
63 2001-05-04 Kayvan A. Sylvan <kayvan@camel.internal.sylvan.com>
65 * text.C (InsertChar): Added trivial patch to only send the "you
66 can not do multiple spaces this way" message once during a
69 2001-05-08 Baruch Even <baruch@lyx.org>
71 * Makefile.am: Changed order of libraries to get LyX to link properly
72 with the gnome frontend.
74 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
76 * LaTeXFeatures.h: add a std:: qualifier
78 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
80 * paragraph.C (String): use stringstream
82 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
84 * paragraph.C (writeFile): remove footflag arg
86 * buffer.C (makeLaTeXFile): use stringstream
87 (latexParagraphs): remove footnot gurba
89 * LaTeXFeatures.C (getPackages): use stringstream
91 (getTClassPreamble): likewise
92 (getFloatDefinitions): new method
94 * paragraph.C (writeFile): reindent
97 * WorkArea.h: revert the xpos + etc changes.
99 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
101 * lyxparagraph.[Ch]: add copy constructor, remove Clone
103 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
104 (pasteSelection): likewise
105 * text2.C (CreateUndo): likewise
107 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
109 * minibuffer.C (peek_event): temporarily reduce the functionality
110 of the minibuffer (to allow args on lfuns)
112 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
113 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
115 * buffer.C (readInset): add compability reading of old float
116 lists, add reading of new style float list.
117 (readInset): avoid reevaluation of inscmd.getCmdName()
120 * MenuBackend.C (MenuItem): implement parsing of
121 md_floatlistinsert and md_floatinsert.
122 (expand::LastFiles): move initalizaton of iterators out of loop,
124 (expand::Documents): introduce typdedef vector<string> Strings,
126 (expand::ExportFormats): introduce typedef vector<Format const *>
128 (expand): implement FloatListInsert and FloatInsert.
130 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
131 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
132 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
134 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
136 (Dispatch::LFUN_FLOAT_LIST): implement
138 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
140 * LaTeX.C (run): Fix problem with --export code.
142 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
144 * BufferView.[Ch] (workarea): removed.
145 (getClipboard) new method; wrapper for workarea()->getClipboard()
147 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
150 * WorkArea.h (width, height, xpos, ypos): These methods all
151 returned the dimensions of the work_area sub-area of WorkArea,
152 resulting in a position error if the WorkArea were resized. Now
153 return the dimensions of the entire WorkArea.
155 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
157 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
159 * LaTeX.C (deplog): correct the syntax of regex reg1
161 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
163 * undo.C: remove !NEW_INSETS cruft
165 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
167 * text2.C: remove !NEW_INSETS cruft
169 * text.C: remove !NEW_INSETS cruft
171 * tabular.C: remove !NEW_INSETS cruft
173 * spellchecker.C: remove !NEW_INSETS cruft
175 * lyxtext.h: remove !NEW_INSETS cruft
177 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
179 * lyxfunc.C: remove !NEW_INSETS cruft
181 * lyxfind.C: remove !NEW_INSETS cruft
183 * lyx_cb.C: remove !NEW_INSETS cruft
185 * figureForm.C: remove !NEW_INSETS cruft
187 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
189 * buffer.[Ch]: remove !NEW_INSETS cruft
191 * ToolbarDefaults.C: remove !NEW_INSETS cruft
193 * CutAndPaste.C: remove !NEW_INSETS cruft
195 * BufferView_pimpl.C: remove !NEW_INSETS cruft
197 * BufferView2.C: remove !NEW_INSETS cruft
199 * BufferView.h: remove !NEW_INSETS cruft
201 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
203 * Lsstream.h: include LString.h before the sstream headers to
204 fix problem with gcc 2.95.3 and lyxstring
206 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
208 * lyx_main.C: add using directives when needed for C functions
209 declared in std:: namespace.
211 2001-04-27 Juergen Vigna <jug@sad.it>
213 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
214 (SetHeightOfRow): comment out the update call should not be needed!
216 2001-04-13 Juergen Vigna <jug@sad.it>
218 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
219 (LyXTabular): tried to minimize operator= operations (and realized
222 2001-04-27 Juergen Vigna <jug@sad.it>
224 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
226 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
228 * lyxfunc.C (Dispatch): hack to make listof algorithm work
230 * buffer.C (readInset): hack to make listof algorithm work
232 * BufferView_pimpl.C: hack to make listof algorithm work
234 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
236 * LyXAction.C: removed all !NEW_INSETS cruft
237 (init): moved lfun_item in method
239 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
241 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
243 * BufferView2.C (theLockingInset): white space.
245 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
247 * minibuffer.C: include <iostream>
249 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
251 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
253 * commandtags.h: add LFUN_TRANSPOSE_CHARS
255 * text.[Ch] (TransposeChars): new method
257 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
259 * call message directly through LyXView instead of through LyXFunc
260 * BufferView2.C: adjust
261 * BufferView_pimpl.C: adjust
262 * FontLoader.C: adjust
264 * bufferview_funcs.C: adjust
265 * converter.C: adjust
266 * figureForm.C: adjust
269 * lyx_gui_misc.C: adjust
273 + more files in subdirs
275 * lyxparagraph.h (size): move up int file
278 * adjust all uses of Assert to lyx::Assert.
280 * BufferView2.C (ChangeCitationsIfUnique): adjust for
281 lyxfunctional in namespace lyx
282 * layout.C (hasLayout): ditto
285 (delete_layout): ditto
286 (NumberOfClass): ditto
287 * converter.C (GetFormat): ditto
292 * bufferlist.C (getFileNames): ditto
293 (emergencyWriteAll): ditto
296 * MenuBackend.C (hasSubmenu): ditto
299 * BufferView_pimpl.C (getInsetByCode): ditto
301 2001-04-18 Juergen Vigna <jug@sad.it>
303 * vspace.C (asLatexString): fixed the 100% problem.
305 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
307 * lyxfunc.C (Dispatch):
309 * minibuffer.h: add a few std:: qualifiers
311 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
313 * minibuffer.[Ch]: reimplement so that commands is initiated and
314 run from lyxfunc, simplified som handling, and made the completion
315 and history code for complete. wip.
317 * lyxfunc.C (processKeySym): call message
318 (miniDispatch): new temporary method
319 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
320 (LFUN_MESSAGE): implement
321 (LFUN_MESSAGE_PUSH): implement
322 (LFUN_MESSAGE_POP): implement
323 (initMiniBuffer): the initial/defualt minibuffer message.
325 * lyxfont.[Ch]: inline some more getters
327 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
329 * lyx_gui_misc.[Ch] (WriteStatus): remove method
331 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
332 (AutoSave): use LFUN_MESSAGE
335 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
337 * figureForm.C: use LFUN_MESSAGE
339 * converter.C (runLaTeX): use LFUN_MESSAGE
341 * bufferview_funcs.C: use LFUN_MESSAGE
345 * bufferparams.h: use boost::
347 * bufferlist.h: inherit privately from noncopyable
349 * bufferlist.C (loadLyXFile): remove some commented code.
351 * buffer.C (runChktex): use LFUN_MESSAGE
353 * ShareContainer.h: inherit privately from noncopyable
355 * ParagraphParameters.[hC] (depth): inline it.
357 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
359 (message): new method
362 (show): init minibuffer
363 (showState): direct call
365 * LaTeX.[Ch]: inherit privately from noncopyable
366 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
367 instead of WriteStatus.
369 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
371 * BufferView_pimpl.C (buffer): don't init minibuffer
372 (workAreaButtonPress): use LFUN_MESSAGE
373 (workAreaButtonRelease): ditto
374 (savePosition): ditto
375 (restorePosition): ditto
376 (MenuInsertLyXFile): ditto
377 (workAreaExpose): don't init minibuffer
378 (update): remove commented code, simplify
380 * BufferView2.C (openStuff): use LFUN_MESSAGE
384 (copyEnvironment): ditto
385 (pasteEnvironment): ditto
390 (updateInset): remove some commented code
392 * lastfiles.h: inherit privately from noncopyable
397 * lyxlex_pimpl.h: ditto
399 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
400 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
401 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
403 * LyXAction.h: inherit privately from noncopyable, add methods
404 func_begin, func_end, returning iterators to the func map.
406 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
407 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
408 (func_begin): new method
409 (func_end): new method
411 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
413 (copySelection): ditto
414 (pasteSelection): ditto
416 * BufferView.C: whitespace change
417 * BufferView.h: inherit privately from noncopyable
419 2001-04-16 Allan Rae <rae@lyx.org>
421 * tabular-old.C (l_getline):
422 * spellchecker.C (sc_check_word):
423 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
424 an unrecognised preprocessor directive. So ensure they're wrapped.
426 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
428 * src/exporter.C (Export): Give an error message when path to file
431 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
433 * LaTeX.C (deplog): Always check that foundfile exists.
435 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
438 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
440 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
442 * tabular.[Ch] (getLabelList): implement new method
444 * minibuffer.h: comment ouf setTiimer
446 * minibuffer.C (ExecutingCB): constify res
447 (peek_event): constify s
448 (Set): constify ntext
449 (Init): constify nicename
451 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
453 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
454 (savePosition): use two params to Minibuffer::Set
455 (restorePosition): ditto
457 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
459 * lyx_main.C: include language.h
461 * Makefile.am (lyx_main.o): add language.h
463 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
469 * CutAndPaste.C: include gettext.h
471 * lyxfont.h: remove old hack with ON and OFF.
474 * lyxfont.h: do not include language.h...
479 * bufferview_funcs.C:
485 * paragraph.C: ... but do it here instead
487 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
489 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
491 * tabular.C: small reformat
493 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
496 (BreakParagraph): ditto
497 (SetOnlyLayout): ditto
500 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
503 * lastfiles.C: removed most using decl, add std:: where needed
505 * buffer.C: ws changes
507 * MenuBackend.C (class compare_format): put into anon namespace
508 (expand): constify label, names, action, action2
511 * text.C (SingleWidth): constify font
512 (IsBoundary): constify rtl2
513 (GetVisibleRow): constify ww
515 * LaTeX.C (deplog): constify logfile
517 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
519 (workAreaExpose): constify widthChange, heightChange
521 * lyxrow.C (par): moved
524 * lyxrow.h: as inlines here
526 * lyxfont.h (shape): moved from lyxfont.C
527 (emph): moved from lyxfont.C
529 * lyxfont.C (LyXFont): use initialization list for all
531 (shape): move to lyxfont.h as inline
532 (emph): move to lyxfont.h as inline
535 2001-04-04 Juergen Vigna <jug@sad.it>
537 * vspace.C: had to include stdio.h for use of sscanf
539 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
542 * BufferView_pimpl.h: remove xforms cruft. Both classes are
543 independent of xforms.
545 2001-04-02 Juergen Vigna <jug@sad.it>
547 * spellchecker.C: fixed namespace placing!
549 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
551 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
552 the LyXParagraph * is 0.
554 2001-03-29 Juergen Vigna <jug@sad.it>
556 * vspace.C: added support for %, c%, p%, l%.
557 (stringFromUnit): added helper function.
558 (asLatexString): changed to give right results for the %-values.
560 * buffer.C: convert the widthp in a width%.
562 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
564 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
567 * figureForm.[Ch]: stripped the FD_from_figure manipulation
568 code out of lux_cb.[Ch], ready for its (imminent?) removal.
570 * lyx_cb.[Ch]: see above.
572 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
576 * lyx.[Ch]: replaced by figure_form.[Ch].
580 * lyxfunc.C: changed headers associated with above changes.
582 2001-03-27 Juergen Vigna <jug@sad.it>
584 * BufferView_pimpl.C: set the temporary cursor right!
586 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
588 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
590 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
592 * LString.h: removed "using std::getline"!
594 * BufferView_pimpl.C (Dispatch): changes due to changes in
595 InsetInclude::Params.
597 * buffer.C (tag_name): removed redundant break statements as they were
598 producing lots of warnings with my compiler.
600 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
602 * LString.h: add "using std::getline" when using the real <string>.
604 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
606 * buffer.C: removed bitset usage.
607 PAR_TAG moved to an anonymous name space.
608 (tag_name): new funtion, also in the anonymous namespace.
609 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
610 (makeDocBookFile): clean code. Completed transition from string arrays
612 (SimpleDocBookOnePar): code clean.
614 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
616 * tabular.C: add some comments.
618 2001-03-22 Juergen Vigna <jug@sad.it>
620 * buffer.C (parseSingleLyXformat2Token): redone the minipage
621 compatibility read a bit and fixed bug with minipage in different
624 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
626 * buffer.C (pop_tag): removed.
628 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
629 array replaced with vector. Added support for CDATA sections.
630 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
632 (makeDocBookFile): XML conformant declaration of CDATA section,
633 fixed bug related to <emphasis> in the first paragraph char.
634 (sgmlOpenTag): exclude empty tags.
635 (sgmlCloseTag): ditto.
637 * buffer.h (pop_tag): removed.
640 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
642 * language.h (Languages): added size_type and size().
644 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
646 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
647 response on compability reading of minipages. One probliem is that
648 the old usage of minipages was «flertydig»
650 * several files here and in subdirs: don't use static at file
651 scope use anon namespaces instead.
653 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
655 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
656 LaTeX output. This is necessary for Literate document
659 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
661 * buffer.C: insert hfill when needed.
663 * tabular.C (l_getline): use string::erase, small whitespace change.
665 * BufferView_pimpl.C: try the anon namespace.
668 2001-03-16 Juergen Vigna <jug@sad.it>
670 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
671 otherwise it won't open options-dialogs.
673 * buffer.C: honor pextraWidth(p) on converting minipages.
675 * tabular.C (l_getline): changed the functions to strip trailing \r.
677 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
679 * BufferView_pimpl.C:
680 * minibuffer..C: added "using SigC::slot" declaration.
682 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
684 * lyxlex_pimpl.h: noncopyable is in namespace boost.
692 * lyxtext.h: NO_PEXTRA
694 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
696 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
697 * ParameterStruct.h: ditto
698 * ParagraphParameters.h: ditto
699 * lyxparagraph.h: ditto
701 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
703 * buffer.C: add compability for minipage alignment.
704 (latexParagraphs): remove unwanted pextra check.
706 * several files: remove CXX_WORKING_NAMESPACES
708 * buffer.C (pop_tag): tie is in namespace boost
710 * BufferView.h: noncopyable is in namespace boost
716 * bufferlist.h: ditto
717 * ShareContainer.h: ditto
722 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
724 * Merging changes from BRANCH_MVC back into HEAD.
726 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
728 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
730 * BufferView_pimpl.C: change from intl.C
734 * Makefile.am: move combox.*
740 * intl.C: remove dialog (covered by prefs)
742 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
744 * lyxfunc.C (Dispatch): removed redundant break statement.
746 2001-03-14 Juergen Vigna <jug@sad.it>
748 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
750 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
752 * buffer.C: add hack to fix compability reading of minipages.
754 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
756 * buffer.C (getLists): Cleanup.
758 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
760 * lyxfont.C (update): don't honor toggleall on font size.
762 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
766 * Makefile.am: moved to frontends/xforms/
770 * BufferView_pimpl.C: changes for moved mathpanel
772 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
774 * gettext.h: fix gettext_init() in --disable-nls
776 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
778 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
780 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
783 * lyx.h: strip external form
785 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
787 * BufferView_pimpl.C: add comment, destroySplash()
789 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
791 * BufferView_pimpl.C:
795 * lyxfunc.C: use re-worked insetinclude
797 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
799 * buffer.C: add using std::stringstream.
801 * lyx_cb.C: readd using std::ios.
803 * buffer.C: add using std::map.
805 * BufferView_pimpl.C: add using std::vector.
807 * ShareContainer.h: add std:: to swap.
809 * buffer.h: add some typedefs
810 * buffer.C (getLists): use them
811 (getLists): renamed from getTocList.
812 add a counter for the different float types and use it in the
814 (getLists): use the same counter for the NEW_INSETS and the "non"
817 * lyx_cb.h: remove unused items, includes, using etc.
819 * ShareContainer.h: remove some commented code, add more comments
822 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
824 * buffer.C (getTocList): make the list also when NEW_INSETS is
827 * buffer.h: remove TocType
829 * buffer.C (getTocList): change to return a map<string,
830 vector<TocItem> >, implement for dynamic number of list.
832 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
833 * text2.C (PasteSelection): adjust
834 * CutAndPaste.C (pasteSelection): adjust
836 * FloatList.C (FloatList): update from the new_insets branch.
837 * Floating.[Ch]: ditto
838 * LaTeXFeatures.C: ditto
840 * lyxlex_pimpl.C: ditto
842 * paragraph.C (Last): remove when NEW_INSETS is defined.
844 * other file: changes because of the above.
846 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
848 * lyxparagraph.h: rename next to next_, previous to previous_,
849 make them private for NEW_INSETS. Rename Next() to next(),
850 Previous() to previous().
852 * other files: changes because of the above.
854 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
857 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
860 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
862 * main.C (main): pass lyx_localedir to gettext_init().
864 * gettext.h: remove locale_init and gettext_init macros
866 * gettext.C (locale_init): new function
867 (gettext_init): new function
869 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
872 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
874 * Moved credits to frontends:
875 * credits.[Ch]: removed
876 * credits_form.[Ch]: removed
877 * lyx_gui_misc.C: remove credits stuff
880 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
882 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
884 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
887 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
888 a standalone pointer again.
890 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
892 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
907 * BufferView_pimpl.C: use new file dialog in GUII
910 * lyx_cb.C: remove LayoutsCB to Toolbar
912 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
914 * ShareContainer.h (get): add std:: qualifier
916 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
918 * ShareContainer.h: define a proper ShareContainer::value_type
919 type (and use typename to please compaq cxx)
921 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
923 * lyxparagraph.h: move serveral local vars to
924 ParameterStruct/ParagraphParameters., use ShareContainer in
925 FontTable., make vars in FontTable private and add getter and
928 * paragraph.C: changes because of the above.
930 * lyxfont.h: remove copy constructor and copy assignment. (the
931 default ones is ok), move number inside FontBits. move inlines to
934 * lyxfont.C: add number to initializaton of statics, move several
935 inlines here. constify several local vars. some whitespace
936 cleanup. Dont hide outerscope variables.
938 * Spacing.h: add two new constructors to match the set methods.
940 * ShareContainer.h: new file, will perhaps be moved to support
942 * ParameterStruct.h: new file
944 * ParagraphParameters.h: new file
946 * ParagraphParameters.C: new file
948 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
949 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
951 * BufferView_pimpl.C: ParagraphParameter changes.
952 * buffer.C: Likewise.
953 * bufferview_funcs.C: Likewise.
957 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
959 * lyxfind.C (LyXReplace): do not redefine default argument in
961 (IsStringInText): ditto
962 (SearchForward): ditto
963 (SearchBackward): ditto
965 2001-03-06 Juergen Vigna <jug@sad.it>
967 * lyxfind.C (IsStringInText): put parentes around expressions.
969 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
971 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
973 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
975 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
977 * stl_string_fwd.h: add comment
979 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
982 * tabular.C: remove unused DocBook methods
988 killed DO_USE_DEFAULT_LANGUAGE
990 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
992 * lyx_gui.C: do not include language.h.
994 * bufferview_funcs.C (ToggleAndShow): do not provide optional
995 arguments in function implementation.
997 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
999 * BufferView_pimpl.C: add <ctime>
1001 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1003 * BufferView_pimpl.C: add using std::find_if
1005 2001-02-27 José Matos <jamatos@fep.up.pt>
1007 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
1010 2001-02-11 José Matos <jamatos@fep.up.pt>
1012 * buffer.C (makeDocBookFile): command styles now have a parameter as
1015 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
1017 * layout_forms.[Ch]: removed
1018 * lyx_cb.[Ch]: out character
1019 * lyx_gui.C: out character
1020 * lyx_gui_misc.C: out character
1021 * bufferview_funcs.C: : out character,
1022 added toggleall as parameter in ToggleAndShow
1024 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
1026 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
1028 * text2.C (SetCurrentFont): Disable number property at boundary.
1030 2001-02-26 Juergen Vigna <jug@sad.it>
1032 * lyxfunc.C (getStatus): added a string argument override function so
1033 that this is correctly called from LyXFunc::Dispatch if it contains a
1034 do_not_use_argument which is used!
1035 (Dispatch): added check for "custom" export and call appropriate func.
1037 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
1039 * lyxrc.C: Add language_command_local, language_use_babel and
1040 language_global_options.
1042 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
1044 * buffer.C (makeLaTeXFile): Use language_use_babel and
1045 language_global_options.
1047 2001-02-23 Juergen Vigna <jug@sad.it>
1049 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
1050 which works with LyXText and putted it inside BufferView. Here now we
1051 only call for that part the BufferView::Dispatch() function.
1053 * BufferView.C (Dispatch): added.
1055 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
1056 functions which needs to use a LyXText over from LyXFunc.
1057 (MenuInsertLyXFile): added
1058 (getInsetByCode): added
1059 (moveCursorUpdate): added
1060 (static TEXT): added
1062 2001-02-22 Juergen Vigna <jug@sad.it>
1064 * BufferView_pimpl.C (update): call a status update to see if LyXText
1067 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
1069 * vc-backend.C (revert): implement for CVS
1070 (getLog): implement for CVS
1072 2001-02-20 Juergen Vigna <jug@sad.it>
1074 * text2.C (ClearSelection): added BufferView param for inset_owner call
1076 * lyxfunc.C (TEXT): added this function and use it instead of
1077 directly owner->view()-text of getLyXText().
1079 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
1081 * src/layout_forms.C: out preamble
1082 * src/layout_forms.h: out preamble
1083 * src/lyx_cb.C: out preamble
1084 * src/lyx_cb.h: out preamble
1085 * src/lyx_gui.C: out preamble
1086 * src/lyx_gui_misc.C: out preamble
1087 * src/lyxfunc.C: connect with guii preamble
1089 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
1091 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
1093 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
1095 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
1096 whether to run bibtex.
1098 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
1100 * Makefile.am (lyx_SOURCES): Remove BackStack.h
1102 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
1104 * Makefile.am (lyx_SOURCES): removed bibforms.h
1108 * text.C (GetVisibleRow): make several local vars const
1110 * tabular.C: small cleanup.
1112 * lyxserver.C (callback): use compare instead of strncmp
1114 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
1115 inlines to after class or to paragraph.C
1117 * lyxfont.h: remove friend operator!=
1119 * converter.h: move friend bool operator< to non friend and after
1122 * combox.h: small cleanup
1124 * buffer.h: doxygen, remove unused constructor, move inclas inlies
1125 to inlines after class def.
1127 * buffer.C (pop_tag): use string operations instead of strcmp
1129 * bmtable.c: doxygen, small cleanup
1131 * LaTeX.h: remove friend operator==
1133 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
1145 * BufferView_pimpl.C:
1146 * BufferView.[Ch]: remove cruft
1148 2001-02-14 Juergen Vigna <jug@sad.it>
1150 * lyxfunc.C: removed #if 0 unused code
1152 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
1154 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
1156 * text2.C (SetSelection): added a BufferView * parameter
1158 2001-02-13 Juergen Vigna <jug@sad.it>
1160 * lyxfunc.C (Dispatch): fixed protected blank problem.
1161 * BufferView2.C (protectedBlank): added LyxText * parameter.
1163 * tabular.C (AppendRow): forgot to set row_info of newly added row.
1164 (AppendColumn): same as above for column_info.
1166 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
1167 (moveCursorUpdate): use a LyXText param for support of InsetText.
1169 * BufferView_pimpl.C (doubleClick): added support for InsetText.
1170 (tripleClick): ditto
1172 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
1174 * BufferView_pimpl.C (update): added LyXText param to honor insets.
1176 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
1178 * text2.C (SetSelection): set correct update status if inset_owner
1181 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
1183 * tabular.C: remove some commented code.
1185 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
1187 * BufferView_pimpl.C: call hideSplash()
1189 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
1192 * bibforms.h: remove
1195 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
1196 add LFUN_CHILD_CREATE
1198 * counters.h: fix tiny typo
1203 * lyx.C: move splash to frontends/xforms/
1205 * lyx_gui_misc.C: move Include and Bibform to frontends
1207 * lyxvc.h: clarify comment
1209 * vspace.C: tiny housekeeping
1211 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
1213 * text.C (PrepareToPrint): RTL Fix.
1215 * paragraph.C (GetUChar): New method.
1216 (String): Use GetUChar.
1218 * buffer.C (asciiParagraph): Use GetUChar.
1220 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
1222 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
1224 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
1227 * buffer.C: rename to getLogName(), handle
1228 build log / latex log nicely
1230 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1233 * MenuBackend.h: remove support for reference menuitem type.
1235 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
1237 * BufferView_pimpl.C: housekeeping
1238 * BufferView_pimpl.h:
1243 * minibuffer.h: move Timeout GUI-I
1245 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
1247 * lyxrc.C (read): Update converters data-structures.
1249 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
1251 * LaTeX.h (operator!=): add operator != for Aux_Info
1253 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
1255 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
1257 * LaTeXLog.C: deleted, useful code moved to Buffer
1260 * buffer.C: new function getLatexLogName()
1266 * lyxfunc.C: use frontends for LaTeX and VC logs
1268 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1270 * LaTeX.h: yet another std:: that Allan forgot.
1272 * Variables.C (set): renamed from isset(), because this clashes
1273 with some HP-UX macros (grr).
1275 2001-02-06 Allan Rae <rae@lyx.org>
1277 * LaTeX.h: Another bug fix. Missing std:: this time.
1279 2001-02-04 Allan Rae <rae@lyx.org>
1281 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
1282 floats problem. I've left it commented out because it's not quite
1283 correct. It should also test that the current object is a table or
1284 figure inset. But I haven't gotten around to figuring out how to do
1285 that. I *think* it'll be something like: "table" == inset.type()
1287 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
1290 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
1292 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
1293 all the citation/databases/styles in the auxilary file.
1294 (run): Rerun latex if there was a babel language error.
1296 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
1298 * text.C (Backspace): Preserve the font when changing newline char
1300 (BreakParagraph): If the cursor is before a space, delete the space.
1302 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
1304 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
1306 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
1307 new argument (code).
1308 (ChangeCitationsIfUnique): New method.
1310 * paragraph.C (GetPositionOfInset): Handle bibkey.
1312 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1314 * BufferView_pimpl.h: change type of Position::par_pos to
1315 LyXParagraph::size_type.
1317 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
1319 * BufferView_pimpl.C (savePosition, restorePosition): Write
1320 messages to minibuffer.
1322 2001-01-28 José Matos <jamatos@fep.up.pt>
1324 * buffer.C (makeDocBookFile): adds support for document language.
1325 A silly restriction on the name of LatexCommand types where removed.
1326 Added support for CDATA sections, allows to chars unescaped, used
1327 among others in code, to avoid escape < and >.
1329 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1331 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
1332 saved positions instrad of a stack. Furthermore, a position is
1333 stored using paragraph id/paragraph position.
1335 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
1336 Remove LFUN_REF_BACK.
1338 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
1340 * converter.C (dvipdfm_options): New method.
1342 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
1344 * vspace.C (isValidLength): Fix for empty input string.
1346 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1348 * LyXAction.C (init): change description of LFUN_FIGURE to
1351 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1353 * LaTeX.C: add using directive
1355 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1357 * MenuBackend.C (expand): Fix the sorting of the formats.
1359 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
1361 * lyx_main.C: tiny error message fix
1363 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1365 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
1366 calling fl_initialize(). This fixes the problem with ',' as
1367 decimal separator in text files.
1369 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
1371 * trans.C (process): Fix the keymap bug.
1373 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
1375 * LaTeX.C (scanAuxFiles): New method. Provides support for
1376 multiple bibliographies (when using the bibtopic/bibunits pacakges).
1377 (scanLogFile) Scan for "run BibTeX" messages.
1379 * buffer.C (makeLaTeXFile): Do not load the ae package when using
1380 OT1 font encoding. Also, load the aecompl package if the ae
1383 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
1385 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1387 * texrow.C (increasePos): turn two error messages into debug
1390 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
1392 * LaTeX.C (scanAux): Handle the \@input macro.
1393 (runBibTeX): Use scanAux().
1395 * language.C (latex_options_): New field.
1397 * LaTeXFeatures.C (getMacros): Add language macros.
1399 * buffer.C (makeLaTeXFile): Small fix.
1401 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
1403 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
1405 * text2.C: add a using directive.
1407 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
1412 * lyxfunc.C: kill LyXBell.
1414 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
1416 * text.C (IsBoundary): Remove the error message
1418 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
1420 * lyxrc.C (setDefaults): Correct initialization value for
1423 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
1425 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
1428 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
1431 * src/LyXAction.C: Added reference-next.
1433 * text.C (InsertChar): Use contains instead of strchr.
1435 * lyx_cb.C (MenuInsertLabel): Enable default value code.
1437 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
1439 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
1440 alignment commands (when needed).
1442 * text.C (InsertChar): Add ':' to number separator chars.