]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
35c128732556284bb6770618f04afa8c492e01e2
[lyx.git] / src / ChangeLog
1 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * buffer_funcs.C (countWords): new function. Counts words between
4         two iterators.
5
6         * BufferView_pimpl.C (getStatus, dispatch): handle
7         LFUN_WORDS_COUNT.
8
9         * LyXAction.C (init): 
10         * lfuns.h: add LFUN_WORDS_COUNT.
11
12 2004-12-19  Angus Leeming  <leeming@lyx.org>
13
14         * buffer.C (save): s/slashify_path/internal_path/.
15
16 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
17
18         * lyxfind.C (findChange): do not search for end of pars, because
19         the change tracker cannot handle this (fixes bug 1719).
20
21 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
22
23         * paragraph.[Ch] (autoBreakRows): remove
24
25         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
26
27         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
28         avoid using the paragraph one
29
30         * text2.C (LyXText, insertStringAsLines): adjust
31         
32 2004-12-16  Angus Leeming  <leeming@lyx.org>
33
34         * bufferlist.C:
35         * lyx_main.C: 
36         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
37
38 2004-12-14  Angus Leeming  <leeming@lyx.org>
39
40         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
41
42         * bufferlist.C (emergencyWrite):
43         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
44         GetEnvPath("HOME").
45
46 2004-12-14  Angus Leeming  <leeming@lyx.org>
47
48         * main.C: (main): no longer pass pointers to os::init.
49
50 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
51
52         * undo.C (textUndoOrRedo): simplify logic, fix a crash
53         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
54
55 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
56
57         * lyxfunc.C: 
58         * text3.C: remove selection_possible global flag
59
60 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
61
62         * text2.C (getSelectionSpan): remove
63         (changeDepth, changeDepthAllowed): adjust
64
65 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
66
67         * Makefile.am (BOOST_LIBS): use boost variables
68
69 2004-12-03  José Matos <jamatos@lyx.org>
70
71         * buffer.C: format up to 238.
72
73 2004-12-03  José Matos  <jamatos@lyx.org>
74
75         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
76
77 2004-12-03  Lars Gullik Bjonnes  <larsbj@gullik.net>
78
79         * cursor.C (goUpDown): remove call to idxUpDown2
80
81 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
82
83         * tabular.[Ch]: use size_t-like types for cell, row and column
84         indices
85
86 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
87
88         * lyxfunc.C (getStatus): do not lose previous information when
89         calling BufferView::getStatus; do not set a default "Command
90         disabled" message at the beginning, but just before returning.
91
92 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
93
94         * cursor.h (getStatus): add better comment from src/cursor.C
95
96 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
97
98         * text3.C (getStatus): return false when the lfun is not handled
99
100 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
101
102         * broken_headers.h: remove
103
104         * Makefile.am (lyx_SOURCES): remove broken_headers.h
105
106 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
107
108         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
109         offset_ref accessors
110
111         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
112         top_y_, merge fitcursor with update
113         (updateScrollbar, scrollDocView, fitCursor, center, update): new
114         coord scheme
115         (metrics): introduce
116         (workAreaDispatch): adapt to new coord scheme
117         (redoCurrentBuffer): remove
118
119         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
120
121         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
122         CurStatus enum.
123
124         * coordcache.[Ch]: add paragraph cache and helpers
125
126         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
127         adjust everywhere
128
129         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
130         (targetX, setTargetX): introduce
131
132         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
133         baseline -> ascent, as the rest of lyx
134
135         * lyxtext.h: remove redoParagraphs, updateParPositions,
136         fullRebreak, redoParagraphInternal. move dist to anon namespace in
137         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
138         have ascent/descent (ascent is ascent of first par)
139
140         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
141         step of BufferView
142
143         * paragraph.[Ch]: unify dimension handling with the rest of lyx
144
145         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
146
147         * pariterator.C: fix infinite loop introduced in par->pit renaming
148
149         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
150         in insets and LyXText, draw two off-screen paragraphs using
151         NullPainter, and adapt to new coord scheme
152
153         * text.C:
154         * text2.C:
155         * text3.C: adapt lfun handlers to the new coord scheme, which
156         means: there's only guaranteed coord information for onscreen pars
157         plus one above and one below. This implies that one can do search
158         from y coordinates in the range [-1,workHeight]
159
160 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
161
162         * rename a lot of InsetOld to InsetBase
163
164 2004-11-25  Angus Leeming  <leeming@lyx.org>
165
166         * BufferView_pimpl.C:
167         * lyx_cb.C:
168         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
169
170 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
171
172         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
173         call BufferView::getStatus if LCursor::getStatus did nothing
174         (setStatusMessage, getStatusMessage): removed.
175
176         * FuncStatus.C (message): new methods. Used to provide an error
177         message indicating why a command is disabled.
178         (clear, |=, FuncStatus): update for message.
179
180 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
181
182         * lyxfunc.C (dispatch): always call sendDispatchMessage
183
184 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
185
186         * BufferView.C:
187         * BufferView_pimpl.C:
188         * CutAndPaste.C:
189         * FontIterator.C:
190         * buffer.C:
191         * cursor.C:
192         * cursor_slice.[Ch]:
193         * dociterator.[Ch]:
194         * lyxfind.C:
195         * paragraph_funcs.C:
196         * pariterator.C:
197         * rowpainter.C:
198         * text.C:
199         * text2.C:
200         * text3.C:
201         * undo.C: par->pit renaming
202
203 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
204
205         * tabular.C (cellstruct): use initialization, store a shared_ptr
206         to insettext instead of the insettext directly, adjust to fit.
207         (operator=):  new function
208         (swap): new function
209         (rowstruct): use initialization
210         (columnstruct): use initialization
211         (ltType): use initialization
212
213
214         * lyxlength.h (swap): new function
215
216         * LColor.[Ch] (operator=): use the common semantics
217
218 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
219
220         * lyxfind.C (findNextChange): update the bufferview after setting
221         the selection.
222
223 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
224
225         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
226         number of InsetOptArgs has already been inserted.
227
228         * output_latex.C (latexOptArgInsets): new method. This outputs all
229         the optarg insets, up to the limit defined in the layout file.
230         (optArgInset): removed
231         (TeXOnePar): call latexOptArgInsets; correctly update texrow
232
233 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
234
235         * paragraph.C (isLetter): remove special spellchecker-related
236         code; return true also for digits
237         (isWord, isKomma): remove
238
239         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
240         * lyxfind.C (MatchString()): use isLetter instead of isWord
241
242 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
243
244         * pariterator.h (operatir=): comment out un-implemented member
245         function.
246
247         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
248         static cast.
249
250 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
251
252         * lyxfont.h: include LColor.h to satisfy concept checks.
253
254 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
255
256         * pariterator.h: add typdefs for value_type, difference_type,
257         pointer and reference to satisfy concept checks. Also add default
258         constructor for same reason.
259
260         * pariterator.C (operator++): add post-increment operator to
261         satisfy concept checks.
262
263         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
264         checks.
265
266         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
267
268         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
269         checks. Also rename base_type to BaseType to follow naming
270         standard better.
271
272         * FloatList.h: include Floating.h to satisfy concept checks.
273
274 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
275
276         * lyxfunc.C (getStatus): when the origin of the request is menu or
277         toolbar, and the LyXView does not have focus, do as if there was
278         no buffer (bug 1720)
279
280         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
281         FuncRequest to individual entries of LFUN_SEQUENCE
282
283 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
284
285         * output_latex.C (TeXOnePar): override runparams.moving_arg
286         according to the needprotect value of the current paragraph (bug
287         1739)
288
289         * paragraph.C (simpleTeXOnePar): no need to override
290         runparams.moving_args here
291
292 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
293
294         * vspace.C: fix off-by-one-error, related to fix #1682
295
296 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
297
298         * lengthcommon.C: a more general fix for bug 1682
299
300 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
301
302         * text.C (backspace): fix crash
303
304 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
305
306         * format.[Ch] (getFormatFromFile): new method
307         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
308
309 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
310
311         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
312
313 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
314
315         * lyxfunc.C (dispatch): remove the verbose argument
316         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
317         instead
318
319         * kbmap.C (defkey): set the origin of func to KEYBOARD
320
321         * MenuBackend.C (MenuItem):
322         * ToolbarBackend.C (add): set the origin of func to UI
323
324         * funcrequest.[Ch]: add origin member, which indicates which part
325         of LyX requests an action
326
327 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
328
329         * converter.C (move): don't lie in the error message
330         * converter.h (isReachable, move): document
331
332 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
333
334         * buffer.C: remove unused using lyx::support::atoi
335         * paragraph_funcs.C: ditto
336
337 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
338
339         * bufferlist.C (exists): use bind and equal_to instead of
340         compare_memfun
341         (getBuffer): ditto
342         * lyxtextclasslist.C (NumberOfClass): ditto
343
344         * cursor.C (insert): use for_each instead of explicit for loop
345
346         * bufferlist.C (getFileNames): use std::transform and
347         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
348
349         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
350         for loop
351
352         * buffer.C (changeLanguage): use for_each instead of explicit for
353         loop
354         (hasParWithID): implement using getParFromID
355
356         * LaTeXFeatures.C: ws change only
357
358         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
359         to cleanup a bit.
360
361         * BufferView_pimpl.C (trackChanges): use for_each instead of
362         expilicit for loop
363
364 2004-11-04  André Pönitz  <poenitz@gmx.net>
365
366         * undo.h:
367         * undo.C (textUndoOrRedo): fix crash when creating undo information.
368
369         * dociterator.C (asDocIterator): use hard assert again.
370
371 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
372
373         * lyxlength.C (asLatexString): rewrite so that it does not use
374         snprintf anymore
375
376 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
377
378         * text3.C (specialChar, dispatch): make sure cursor moves to the
379         right after inserting an inset
380
381 2004-11-02  José Matos  <jamatos@lyx.org>
382
383         * output_docbook.C (docbook):
384         * paragraph.C (getID):
385         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
386         garantee that the output is always legal.
387
388         * tabular.C (docbook):
389         * outputprams.[Ch]: remove mixed contents.
390
391 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
392
393         * text2.C (setCounter): prevent endless loop
394
395 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
396
397         * exporter.C (copyFile): use the mover instead of support::copy()
398         * exporter.C (Export): pass format and latex name to copyFile()
399         * exporter.h (addExternalFile): document
400         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
401
402 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
403
404         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
405
406 2004-10-30  José Matos  <jamatos@lyx.org>
407
408         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
409         text and no inset or font change. This allows to use CDATA
410         sections just for the whole paragraph.
411
412 2004-10-30  José Matos  <jamatos@lyx.org>
413
414         * paragraph.C (getFirstWord): remove unused variable.
415
416 2004-10-30  José Matos  <jamatos@lyx.org>
417
418         * paragraph.C (getFirstWord): the content should always be escaped
419         there.
420         (simpleDocBookOnePar):
421         * output_docbook.C (makeEnvironment): replace reference to CDATA
422         to style pass_thru.
423
424 2004-10-30  José Matos  <jamatos@lyx.org>
425
426         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
427
428 2004-10-30  José Matos  <jamatos@lyx.org>
429
430         * output_docbook.C (makeParagraphs):
431         * paragraph.[Ch] (emptyTag): for docbook and company, if the
432         standard paragraph has only a given type of content drop the wrapper.
433
434 2004-10-29  José Matos  <jamatos@lyx.org>
435
436         * output_docbook.C (makeEnvironment):
437         * sgml.C (openTag):
438         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
439
440 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
441
442         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
443         (cleanID): sanitize any id.
444
445 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
446
447         * buffer.C, lyxlex_pimpl.C:
448         * lyxlex_pimpl.C (setFile):
449         s/getExtFromContents/getFormatFromContents/
450
451 2004-10-28  José Matos  <jamatos@lyx.org>
452
453         * output_docbook.C (makeEnvironment): move id to broadest possible
454         scope.
455
456         * sgml.C (openTag): apply substitution of <> for all attributes.
457
458 2004-10-28  José Matos  <jamatos@lyx.org>
459
460         * buffer.C (makeLinuxDocFile, makeDocBookFile):
461         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
462         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
463
464         * sgml.[Ch]: new version for open and closeTag for paragraph and
465         for strings. Now they handle the ids of paragraphs.
466
467 2004-10-26  Angus Leeming  <leeming@lyx.org>
468
469         * Makefile.am: add mover.[Ch].
470
471         * converter.C (convert, move): use the new Movers to move external
472         files to the temp directory.
473
474         * lyx_main.C (init): ensure that the global system_movers data
475         is initialised.
476
477         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
478         preferences file.
479
480         * mover.[Ch]: new files, defining a Mover as a utility to move an
481         external file between directories and, if necessary, manipulate this
482         file using a helper script.
483
484 2004-10-25  José Matos  <jamatos@lyx.org>
485
486         * output_docbook.C (makeCommand): merge two if's that tested the
487         same condition.
488
489 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
490
491         * sgml.C (escapeString): fix warning in a better way
492
493 2004-10-25  José Matos  <jamatos@lyx.org>
494
495         * sgml.C (escapeString): import the require boosts header file for
496         tie, and avoid a signed unsigned comparison.
497
498 2004-10-25  José Matos  <jamatos@lyx.org>
499
500         * sgml.h: add #include <string>
501
502 2004-10-25  José Matos  <jamatos@lyx.org>
503
504         * sgml.[Ch] (escapeString): new function to escape all the string.
505
506 2004-10-24  José Matos  <jamatos@lyx.org>
507
508         * paragraph.[Ch] (getFirstWord): new function to get the first
509         word. Useful for description.
510         (simpleDocBookOnePar): remove depth argument, add another that
511         says where to start the paragraph.
512
513         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
514         use the new functions to fix cleanly the support for descriptions.
515
516 2004-10-24  José Matos  <jamatos@lyx.org>
517
518         * buffer.C (makeLinuxDocFile, makeDocBookFile):
519         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
520         * output_linuxdoc.C (linuxdocParagraphs):
521         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
522         add buffer as argument.
523
524 2004-10-24  José Matos  <jamatos@lyx.org>
525
526         * output_docbook.C (makeEnvironment, searchEnvironment): place
527         CDATA inside paragraphs and fix scope for listitems.
528
529 2004-10-24  José Matos  <jamatos@lyx.org>
530
531         * output_docbook.C: remove using statement for stack.
532
533 2004-10-23  José Matos  <jamatos@lyx.org>
534
535         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
536         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
537         docbook. The new scheme is recursive and makes use of iterators, the
538         same as latex export works.
539         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
540         directly with the paragraph contents. This code was moved up to
541         output_docbook.C (docbookParagraphs).
542         * sgml.C (openTag, closeTag): removed unneeded newlines.
543         (closeEnvTags) removed.
544
545 2004-10-23  André Pönitz  <poenitz@gmx.net>
546
547         * undo.C (textUndoOrRedo):
548         * dociterator.C (asDocIterator): work around crash
549
550         * cursor.C (getStatus): replace ASSERT by more verbose error message
551           and manual correction of the problem. Should increase stability
552           while providing more sensible information.
553
554 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
555
556         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
557
558         * bufferlist.C (previous, next): new methods
559
560         * lfuns.h:
561         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
562
563 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
564
565         * buffer.C (makeDocBookFile): add dsssl stylesheet control
566         entities to preamble.
567
568 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
569
570         * messages.C (Pimpl): strip off translation context information
571
572 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
573
574         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
575         the cursor is correct (bug 1694)
576
577 2004-10-13  José Matos  <jamatos@lyx.org>
578
579         * output_docbook.C (docbookParagraphs): fix closing tags in the
580         end of the document.
581
582 2004-10-09  José Matos  <jamatos@lyx.org>
583
584         * buffer.C: format up to 237.
585         * bufferparams.C (write): use tostr to convert booleans to strings.
586
587 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
588
589         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
590
591 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
592
593         * LaTeX.C: implement use of babel language in xindy.
594
595 2004-10-05  José Matos  <jamatos@lyx.org>
596
597         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
598         Add new translators to help reading and writing the lyx file.
599
600 2004-10-05  José Matos  <jamatos@lyx.org>
601
602         * ParagraphParameters.C (read):
603         * text.C (readParToken): replace nexToken by more appropriate lex
604         methods.
605
606 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
607
608         * LaTeX.C (runMakeIndex):
609         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
610         (usually 'makeindex') configurable.
611
612         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
613         with a variable rather than with a number.
614
615 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
616
617         * output_latex.C (TeXOnePar): make sure font setting is the first
618         thing that gets output (and the last at the end). Should fix bug
619         1404.
620
621 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
622
623         * pch.h: use proper signal include
624
625         * LaTeX.h: Use preferred calling of Boost.Signal
626         * buffer.h: ditto
627
628 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
629
630         * pch.h: dont include <boost/function/function0.hpp>
631
632         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
633
634         * paragraph_pimpl.h: remove usage of ShareContainer
635
636         * paragraph_pimpl.C: remove initialization of ShareContainer.
637
638 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
639
640         Fix bug #1666
641
642         * BufferView.C (putSelectionAt): change the semantics when
643         backwards == true: now, this just swaps cursor and anchor wrt the
644         forward case
645
646         * BufferView.h (putSelectionAt): add some documentation
647
648         * lyxfind.C (findBackwards): rewrite using while(). In particular,
649         make sure backwardChar is done at least once (to avoid getting
650         stuck)
651         (findNextChange): use putSelectionAt in the forward direction
652         (operator()): use Paragraph::isWord
653
654 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
655
656         * Spacing.C (set): c_str fix
657
658 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
659
660         * lyx_cb.C (Reconfigure): quote the name of configure script in
661         case it contains spaces
662
663 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
664
665         * client: new dir
666
667         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
668         (BOOST_LIBS): use top_buildir when looking for the file
669
670 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
671
672         * pch.h: do not use include boost/format.hpp, multiple symbols
673                 will result (gcc bug)
674
675
676 2004-08-23  José Matos  <jamatos@lyx.org>
677
678         * bufferparams.C (readToken): fix reading of the author field.
679
680 2004-08-20  José Matos  <jamatos@lyx.org>
681
682         * lyxrc.C: remove support/translator.h inclusion since it is not used.
683
684 2004-08-20  José Matos  <jamatos@lyx.org>
685
686         * lyxlex.[Ch] (findToken): remove function.
687
688         * ParagraphParameters.C (findToken):
689         * bufferparams.C (findToken): replace call for previous function
690         with local copy. This local function has one more argument, the
691         read string argument.
692
693 2004-08-16  José Matos  <jamatos@lyx.org>
694
695         * ParagraphParameters.C (write):
696         * Spacing.C (writeFile):
697         * bufferparams.C (writeLaTeX):
698         * lyx_cb.C (Reconfigure):
699         * paragraph.C (write):
700         * tabular.C (write): remove unnecessary space at end of line.
701
702
703 2004-08-16  José Matos  <jamatos@lyx.org>
704
705         * text.C (readParagraph): remove debug message.
706
707 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
708
709         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
710         crash
711
712         * output_plaintext.C (asciiParagraph): set depth correctly
713
714         * outputparams.h: add member depth
715
716         * paragraph_funcs.C (ownerPar): remove.
717
718         * text2.C (setCounter): remove first_pit; comment out some
719         non-working code that uses ownerPar
720
721         * BufferView.C (getParentLanguage): remove. Not used anymore, and
722         uses ownerPar
723
724 2004-08-16  José Matos  <jamatos@lyx.org>
725
726         * text.C (readParToken, readParagraph, read): report all unknown tokens.
727         For the same level of importance use the same chanel to report problems.
728         (read): add code to deal with \begin_body and \end_body.
729
730
731 2004-08-15  José Matos  <jamatos@lyx.org>
732
733         * lyxlex.C (getString): fix comment, buffer::readBody is now
734         buffer:readDocument.
735
736         * tex-strings.C (string_papersize): Default -> default,
737         Custom -> custom, for consistency with other options.
738
739 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
740
741         * pch.h: new file
742
743         * Makefile.am: support pch
744
745 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
746
747         * text.C (readParToken): remove the static LyXFont variable and
748         pass it as a parameter instead. This fixes a nasty bug where an
749         inset will be inserted with a bad font in some situations
750         (readParagraph): adapt
751
752         * text2.C (setCounter): reduce number of calls to pars_[pit]
753
754         * text.C (singleWidth): add an assert, fix a test
755
756         * rowpainter.C (paintText): reduce number of calls to singleWidth
757
758         * paragraph.C (isHfill):
759         (isNewline): ws only
760
761 2004-08-14  André Pönitz  <poenitz@gmx.net>
762
763         * text.C:
764         * text2.C:
765         * rowpainter.C:
766         * lyxtext.h (several functions): use a Paragraph & argument
767         instead of par_type
768
769 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
770
771         * metricsinfo.h: add a new field ltr_pos to PainterInfo
772
773         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
774
775         * text.C (singleWidth): remove useless test
776
777 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
778
779         * tabular.h: remove bogus comments
780
781         * tabular.C (getDescentOfRow):
782         (isPartOfMultiColumn): add assertions
783
784         * lyxlength.C (inPixels): remove #warning
785
786 2004-08-14  André Pönitz  <poenitz@gmx.net>
787
788         * paragraph.h: inline getChar()
789
790         * BufferView.h: remove unused declarations
791
792 2004-08-14  José Matos  <jamatos@lyx.org>
793
794         * Buffer.[Ch] (readDocument): new name for old readBody.
795         * Buffer.C: new file format, new keywords: \begin_document,
796         \begin_header, \begin_body, \end_body.
797
798         * bufferparams.C (readToken): replace all calls to lex.nextToken
799         by lex.next(). Do the same to eatLine except where really needed.
800
801         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
802         line when writing to the lyx file.
803
804         * output_plaintext.C (asciiParagraph): fix Bibliography style
805         handling.
806
807         * text.C (read): fix end of file handling.
808
809 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
810
811         * MenuBackend.C (Menu::operator[]): new method to access
812         individual menu items
813         (Menu::hasFunc): new method. search for an item that corresponds
814         to a given func
815         (MenuBackend::specialMenu): new method
816         (MenuBackend::expand): if a special menu has been set, skip
817         entries whose func() appears in this menu
818
819 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
820
821         * text3.C: use Debug::DEBUG a bit more
822
823         * text.C (leftMargin): try to simplify a tiny bit change var x to
824         l_margin. Dont output the wide margins always.
825         (rightMargin): no margin in inner texts
826
827         * rowpainter.h (nestMargin): new func
828         (changebarMargin): new func
829         (rightMargin): new func
830
831         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
832         now functions.
833         (paintLast): ditto
834
835         * factory.C (createInset): modify setDrawFrame
836
837         * cursor.C: use Debug::DEBUG a bit more
838
839 2004-08-14  André Pönitz  <poenitz@gmx.net>
840
841         * coordcache.[Ch]:
842         * Makefile.am: new files to accomodate an 'external' (x,y)-position
843         cache for all insets in (at least partially) visible (top-level)
844         paragraphs.
845
846         * BufferView_pimpl.C: reset external coord cache before every update.
847         This means the coord cache only contains valid entries.
848
849 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
850
851         bug 1096
852         * BufferView_pimpl.C (getInsetByCode): move function out of class
853         and change in to a template in anon namespace. Also fix to do what
854         suits us better.
855
856 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
857
858         bug 1305
859         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
860         of char
861         (breakParagraph): rename par to par_offset and use a local
862         reference. Add code to keep the language over a rebreak.
863         (breakParagraphConservative): rename par to par_offset, use a
864         local reference
865         (mergeParagraph): ditto
866         (outerHook): ditto
867         (isFirstInSequence): ditto
868         (outerFont): rename pit to par_offset
869
870         * paragraph.C: ws change
871         * paragraph.h: ditto
872         * text3.C: ditto
873         * text.C: ditto
874
875 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
876
877         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
878         treatment for ']'
879
880         * paragraph.C (simpleTeXOnePar): when we have a \item with
881         optional argument, enclose the argument with curly brackets (in
882         case it contains a closing square bracket)
883
884         * text2.C (editXY):
885         * text2.C (editXY):
886         * text3.C (checkInsetHit): constify
887
888 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
889
890         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
891         documents (bug 1629)
892
893 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
894
895         Fix toggling of collapsable insets with the mouse (bug 1558)
896
897         * lyxfunc.C (dispatch): adapt to LCursor changes
898
899         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
900         make sure that dispatch is not invoked twice
901
902         * cursor.C (needsUpdate): new method
903         (dispatch): return void
904         (result): new method, to access the DispatchResult of the cursor.
905
906 2004-08-13  José Matos  <jamatos@lyx.org>
907
908         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
909
910 2004-08-13  André Pönitz  <poenitz@gmx.net>
911
912         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
913
914         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
915           multiple cells
916
917 2004-08-12  André Pönitz  <poenitz@gmx.net>
918
919         * text3.C: take out the 'cursor right' form insertInset and only
920         do it in those places when it is really needed. Fixes crash on
921         C-m...
922
923 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
924
925         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
926
927         * BufferView_pimpl.C (setBuffer): initialize the current font of
928         the underlying LyXText
929
930 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
931
932         * kbsequence.C (print): use UI native formatting for menu
933         shortcuts
934
935         * text.C (insertChar): call Paragraph::insertChar with a font
936         argument (cosmetic)
937
938         * paragraph.C (insertInset, insertChar): the version that takes a
939         LyXFont argument is now a wrapper around the other one (the
940         opposite used to be true).
941
942         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
943         argument. Font setting is done in Paragraph now.
944
945 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
946
947         * outputparams.h: add new members intitle and lang.
948
949         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
950         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
951
952 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
953
954         * text3.C (dispatch): remove special handling of button 4 and 5,
955         it is now taken care of in the frontend code.
956
957 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
958
959         * Spacing.h: add <string> (STLPort compile fix)
960
961 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
962
963         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
964
965 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
966
967         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
968         to bool.
969
970         * converter.C (showMessage): inherit from unary_function, make
971         operator() const.
972
973         * buffer.C (writeFile): initialize retval
974
975         * InsetList.h: rename private variable list to list_
976         * InsetList.[Ch]: adjust accordingly.
977
978 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
979
980         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
981         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
982         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
983         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
984         * ParagraphParameters.C, LaTeXFeatures.C: replace
985         "support/std_sstream.h" with <sstream>
986
987 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
988
989         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
990         * lyxsocket.C (LyXServerSocket): ditto
991         (serverCallback): ditto
992
993 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
994
995         * LaTeXFeatures.C: check release date when loading jurabib.
996
997 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
998
999         * lyxserver.C (startPipe): call register_socket_callback
1000         (endPipe): call unregister_socket_callback
1001
1002 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
1003
1004         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
1005         (LyXServerSocket): register the callback
1006         (LyXServerSocket): unregister the callback
1007         (fd): delete function
1008         (serverCallback): improve error checking and setup the callbacks.
1009         (dataCallback): change arg to fd.
1010         (writeln): new func (copied fro the client socket) used for server
1011         write to client.
1012         (LyXDataSocket): simplify
1013         (~LyXDataSocket): close ann unregiser callback
1014         (server): delete function
1015         (fd): delete function
1016         (readln): small changes, improve some std::string usage
1017         (writeln): constify a bit
1018
1019 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1020
1021         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
1022         Qt frontend
1023
1024 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1025
1026         * BufferView_pimpl.C (setBuffer): set the layout combox value only
1027         after it has been populated
1028
1029 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1030
1031         * text2.C (insertInset): move cursor when inserting inset.
1032
1033 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1034
1035         * kbmap.C (findbindings): a couple of new methods. returns a
1036         container of kb_sequence objects. The real work is done by the
1037         private recursive version
1038         (printbindings): uses findbindings to print out a bracketed list
1039         of bindings (renamed from findbinding).
1040
1041         * MenuBackend.C (binding): use kb_keymap::findbindings
1042
1043         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
1044
1045 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1046
1047         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
1048
1049 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1050
1051         * paragraph.C (isWord): return true on insets that report
1052         isLetter().
1053
1054         * text.C (getWord): use Paragraph::isWord to decide what is in a
1055         word and what is not; fix bug 1609.
1056
1057 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1058
1059         * tex-strings.C: add "none" to string_paperpackages[], fixes
1060         off-by-one-error in the paperpackage selection.
1061
1062         * lyxlex.[Ch]:
1063         * tex-strings.[Ch]: char const * string[n]
1064         -> char const * const string[]
1065
1066 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1067
1068         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
1069         command, return early.
1070
1071 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
1072
1073         * debug.h: add DEBUG to enum and fix size of ANY.
1074
1075         * debug.C: add support for Debug::DEBUG
1076         (showTags): cast errorTags.level to unsigned int
1077
1078         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
1079         (redoCurrentBuffer): ditto
1080         (updateScrollbar): ditto
1081         * cursor.C (dispatch): ditto
1082         * text2.C (setLayout): ditto
1083         (setFont): ditto
1084         (updateCounters): ditto
1085         (editXY): ditto
1086         (deleteEmptyParagraphMechanism): ditto
1087
1088 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
1089
1090         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1091         annotations to cleanup the Makefile slightly.
1092
1093 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1094
1095         * lyxrc.C: do not set user_email to a default value but use empty
1096         instead. The entry used to be translated, which does not work
1097         since at the point where lyxrc is constructed there is no
1098         translation service available
1099
1100         * messages.C (getLocaleDir): remove and use directly
1101         lyx_localedir() instead
1102
1103 2004-06-02  Angus Leeming  <leeming@lyx.org>
1104
1105         Fix crash caused by dereferencing null pointer 'exportdata' in
1106         OutputParams by creating a new ExportData variable on the heap,
1107         storing it in a boost::shared_ptr.
1108         The crash was triggered when generating an Instant Preview
1109         of an external inset.
1110
1111         * Makefile.am: add outputparams.C
1112
1113         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1114         (c-tor): allocate memory to it.
1115
1116         * exporter.C (c-tor): associated changes.
1117
1118 2004-06-01  Angus Leeming  <leeming@lyx.org>
1119
1120         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1121         contains data before calling isInset(0). (Bug 1513.)
1122
1123 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1124
1125         * exporter.C (checkOverwrite): new method
1126         * exporter.C (copyFile): new method
1127         * exporter.C (Export): copy referenced files to the document dir
1128         * exporter.[Ch]: new class ExportedFile
1129         * exporter.[Ch]: new class ExportData. Contains currently the
1130         names of referenced external files
1131         * outputparams.h: add exportdata member.
1132
1133 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1134
1135         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1136         version.C-tmp
1137
1138 2004-05-19  Angus Leeming  <leeming@lyx.org>
1139
1140         * LaTeXFeatures.C:
1141         * ToolbarBackend.C:
1142         * bufferparams.C:
1143         * lyxfunc.C: small changes due to the introduction of namespace
1144         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1145
1146 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1147
1148         * text3.C (dispatch): supress update when only moving the cursor
1149         * cursor.C (selHandle): remove commented code
1150
1151 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1152
1153         * paragraph.C (startTeXParParams): correct column count
1154         * CutAndPaste.C (pasteSelection): remove const_cast
1155         * output_docbook.C (docbookParagraphs): remove const_cast
1156         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1157         const_cast and return ParagraphList::const_iterator
1158         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1159         * output_plaintext.C (writeFileAscii): remove const_cast
1160         * paragraph.[Ch] (simpleTeXOnePar): make const
1161         * paragraph_funcs.C (outerPar): use const iterators
1162         * paragraph_pimpl.C (validate): use const iterators
1163         * text.C (setHeightOfRow): use const iterators
1164
1165 2004-05-17  Angus Leeming  <leeming@lyx.org>
1166
1167         * lfuns.h:
1168         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1169
1170         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1171         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1172         if the citation engine has changed.
1173
1174 2004-05-14  José Matos  <jamatos@lyx.org>
1175
1176         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1177         if the textclass does not provide it. Have it different for sgml and
1178         xml.
1179         support the language of document.
1180         * output_docbook.C (docbookParagraphs):
1181         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1182         first anchor as the id of the paragraph, remove special case code.
1183         * sgml.C (escapeChar): escape only < & >.
1184
1185 2004-05-14  Angus Leeming  <leeming@lyx.org>
1186
1187         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1188         dependencies on src/frontends/controllers/biblio.h. Define a
1189         CiteEngine_enum wrapper class to enable the enum to be forward
1190         declared.
1191
1192 2004-05-12  Angus Leeming  <leeming@lyx.org>
1193
1194         * buffer.C: up LYX_FORMAT to 234.
1195         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1196         use_numerical_citations with a single biblio::CiteEngine cite_engine
1197         variable.
1198         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1199
1200 2004-05-13  José Matos  <jamatos@lyx.org>
1201
1202         * converter.h:
1203         * converter.C (Converter, readFlags): add xml member.
1204         * outputparams.h: add XML flavor.
1205         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1206
1207 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1208
1209         * lyxfunc.C (dispatch):
1210         (getStatus): fix handling of LFUN_SEQUENCE
1211
1212 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1213
1214         * debug.C (showLevel): do not forget the end-of-line marker
1215
1216 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1217
1218         * kbmap.C (read): do not stop parsing a bind file when an error
1219         occurs (bug 1575)
1220
1221 2004-04-29  Angus Leeming  <leeming@lyx.org>
1222
1223         * cursor.C:
1224         * factory.C:
1225         * pariterator.C:
1226         * text2.C: wrap a bunch of #warning statements
1227         inside #ifdef WITH_WARNINGS blocks.
1228
1229 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1230
1231         * buffer.C: increment format to 233.
1232
1233 2004-04-28  Angus Leeming  <leeming@lyx.org>
1234
1235         * BufferView_pimpl.C:
1236         * lyxfunc.C:
1237         * text3.C:
1238         s/updateToolbar()/updateToolbars()/
1239         s/Toolbar.h/Toolbars.h/
1240
1241 2004-04-28  Angus Leeming  <leeming@lyx.org>
1242
1243         * BufferView.[Ch] (c-tor):
1244         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1245         No longer passes these data to the WorkArea generator.
1246
1247 2004-04-28  Angus Leeming  <leeming@lyx.org>
1248
1249         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1250
1251 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1252
1253         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1254
1255 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1256
1257         * output_latex.C (TeXEnvironment): make sure that there is a line
1258         break before \end{foo} for the last paragraph of a document
1259         (TeXOnePar): if the paragraph is at the end of the document (or
1260         inset) and the language has to be reset, then make sure that the
1261         line break is _before_ the language command, not after (fixes bug
1262         1225); also make sure that the language reset command is the first
1263         thing after the paragraph (to ensure proper nesting of
1264         environments and thus fix bug 1404)
1265
1266 2004-04-21  John Levon  <levon@movementarian.org>
1267
1268         * ToolbarBackend.h:
1269         * ToolbarBackend.C: make "name" be a programmatic name
1270         and a gui_name field.
1271
1272         * lyxfunc.C: display the minibuffer on M-x
1273
1274 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1275
1276         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1277         (bug 1526)
1278
1279 2004-04-19  Angus Leeming  <leeming@lyx.org>
1280
1281         * BufferView_pimpl.C (setBuffer): changed preview interface.
1282
1283         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1284         possible values.
1285
1286 2004-04-19  John Levon  <levon@movementarian.org>
1287
1288         * BufferView_pimpl.C:
1289         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1290
1291 2004-04-05  Angus Leeming  <leeming@lyx.org>
1292
1293         * text.C (redoParagraphs): add call to updateCounters(), thereby
1294         fixing the missing "Figure #:" label from the caption of a
1295         figure float.
1296
1297 2004-04-13  Angus Leeming  <leeming@lyx.org>
1298
1299         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1300         cursor is clicked out of an inset.
1301
1302 2004-04-13  Angus Leeming  <leeming@lyx.org>
1303
1304         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1305         than an InsetOld one.
1306
1307 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1308
1309         * format.[Ch]: add editor to Format
1310         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1311         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1312
1313 2004-04-08  André Pönitz  <poenitz@gmx.net>
1314
1315         * metricsinfo.h: remove PainterInfo::width member
1316
1317 2004-04-08  Angus Leeming  <leeming@lyx.org>
1318
1319         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1320         "\providecommand" rather than "\newcommand", thereby preventing
1321         clashes with packages that define "\boldsymbol" themselves.
1322         Eg, beamer.
1323
1324 2004-04-08  Angus Leeming  <leeming@lyx.org>
1325
1326         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1327         thereby squashing an unnecessary warning.
1328
1329 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1330
1331         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1332         setBuffer()
1333
1334 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1335
1336         * BufferView.C (setCursor): call redoParagraph (some insets could
1337         have been opened)
1338         (putSelectionAt): remove the 'double update' trick
1339
1340         * BufferView_pimpl.C (fitCursor): call refreshPar
1341         (workAreaDispatch): remove an uneeded update call
1342         (dispatch): remove some manual update calls
1343
1344         * cursor.[Ch]: remove cached_y_, updatePos
1345         (selHandle): set noUpdate when appropriate
1346
1347         * lyxfunc.C (dispatch): track if we need an update
1348
1349         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1350
1351         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1352         (paintSelection): cheap optimization, do not call cursorX when not
1353         needed
1354         (paintPars): change signature
1355         (refreshPar): add
1356         (paintText): adjust
1357         (paintTextInset): adjust
1358
1359         * text.C: adjust
1360
1361 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1362
1363         * lengthcommon.C: compilation fix: remove explicit array size from
1364         unit_name[] and friends
1365
1366 2004-04-05  Angus Leeming  <leeming@lyx.org>
1367
1368         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1369
1370         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1371         present only for the preferences dialog.
1372         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1373
1374 2004-04-05  Angus Leeming  <leeming@lyx.org>
1375
1376         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1377         to enable the frontends to export changes to lyxrc correctly.
1378
1379         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1380
1381 2004-04-07  André Pönitz  <poenitz@gmx.net>
1382
1383         * cursor.[Ch] (selClear, adjust): remove math
1384
1385         * cursor_slice.C: more agressive assert
1386
1387         * lyxfunc.C:
1388         * BufferView_pimpl.C: rework mouse event dispatch
1389
1390         * dociterator.C:
1391         * paragraph.C:
1392         * text2.C:
1393         * text3.C: adjust
1394
1395 2004-04-05  André Pönitz  <poenitz@gmx.net>
1396
1397         * cursor.[Ch] (valign, halign...): remove unneeded functions
1398
1399 2004-04-05  Angus Leeming  <leeming@lyx.org>
1400
1401         * lyxlength.[Ch] (unit_name et al.): const-correct.
1402
1403 2004-04-05  Angus Leeming  <leeming@lyx.org>
1404
1405         * BufferView_pimpl.C:
1406         * buffer.C:
1407         * counters.C:
1408         * cursor.C:
1409         * lyxfunc.C
1410         * paragraph.C:
1411         * pariterator.C:
1412         * text.C:
1413         * text2.C:
1414         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1415
1416 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1417
1418         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1419
1420 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1421
1422         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1423         * BufferView_pimpl.[Ch] (getStatus)
1424         * BufferView.[Ch] (getStatus): add
1425         * lyxfunc.C (getStatus): move lfuns handled in
1426         BufferView::dispatch to te function above
1427         * Cursor.C (setSelection): set selection() = true
1428
1429 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1430
1431         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1432
1433 2004-03-31  Angus Leeming  <leeming@lyx.org>
1434
1435         * lyxfunc.C (dispatch): Fall through to the generic
1436         Dialogs::show("preamble").
1437
1438 2004-03-31  Angus Leeming  <leeming@lyx.org>
1439
1440         * lyxfunc.C (dispatch): Fall through to the generic
1441         Dialogs::show("spellchecker").
1442
1443 2004-03-31  Angus Leeming  <leeming@lyx.org>
1444
1445         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1446         preferences dialog.
1447
1448 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1449
1450         * BufferView.C
1451         * cursor.[Ch]
1452         * dociterator.[Ch]:
1453         * insetiterator.[Ch]:
1454         * lyxfind.C:
1455         * lyxfunc.C:
1456         * pariterator.[Ch]:
1457         * text2.C:
1458         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1459
1460 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1461
1462         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1463         insets where we are putting the cursor.
1464
1465 2004-03-31  Angus Leeming  <leeming@lyx.org>
1466
1467         * lfuns.h:
1468         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1469
1470         * lyxrc.[Ch] (read, write): overloaded member functions taking
1471         a std::[io]stream arguments.
1472
1473         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1474
1475 2004-03-31  Angus Leeming  <leeming@lyx.org>
1476
1477         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1478         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1479
1480         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1481         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1482
1483 2004-03-31  Angus Leeming  <leeming@lyx.org>
1484
1485         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1486         the LFUN_ALL_INSETS_TOGGLE code.
1487
1488 2004-03-30  Angus Leeming  <leeming@lyx.org>
1489
1490         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1491         has died. Fall through to the generic Dialogs::show("document").
1492
1493 2004-03-30  Angus Leeming  <leeming@lyx.org>
1494
1495         * lfuns.h:
1496         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1497         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1498
1499         * lyxfunc.C (getStatus, dispatch): define the actions for these
1500         lfuns. Little more than a cut and pste job from ControlDocument.C
1501
1502         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1503
1504 2004-03-30  Angus Leeming  <leeming@lyx.org>
1505
1506         * lfuns.h:
1507         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1508         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1509
1510         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1511         open/closed state of ollapsable insets. Usage:
1512
1513         all-inset-toggle <state> <name>, where
1514         <state> == "open" || "closed" || "toggle" and
1515         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1516
1517         * lyxtext.h, text2.C (toggleInset): removed.
1518
1519         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1520         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1521         now passes LFUN_INSET_TOGGLE to the found inset.
1522
1523         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1524         is now invoked as "all-insets-toggle toggle branch".
1525
1526 2004-03-30  Angus Leeming  <leeming@lyx.org>
1527
1528         * dociterator.C:
1529         * insetiterator.C:
1530         * pariterator.[Ch]: added/corrected header blurb.
1531
1532 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1533
1534         * dociterator.[Ch]: add an inset_ member
1535         (backwardPos): implemented
1536         (backwardPos, forwardPos): use inset_ when the stack is empty.
1537         (doc_iterator_begin, doc_iterator_end): implemented
1538         * pariterator.[Ch]: adjust, add begin, end
1539         * insetiterator.[Ch]: adjust, add begin, end
1540         * cursor.C:
1541         * document.C:
1542         * BufferView.C:
1543         * BufferView_pimpl.C:
1544         * CutAndPaste.C: adjust
1545
1546 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1547
1548         * buffer.C: increment file format to 232.
1549         * LaTeXFeatures.C: add bibtopic package.
1550         * bufferparams.[Ch]: param \use_bibtopic.
1551
1552         * lyxrc.[Ch]: add lyxrc bibtex_command
1553         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1554
1555         * buffer.C: increment file format to 231.
1556
1557 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1558
1559         * dociterator.C: implement forwardPar
1560         * iterators.[Ch]: remove, replaced by
1561         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1562         * BufferView.C:
1563         * BufferView_pimpl.C:
1564         * CutAndPaste.C:
1565         * buffer.C:
1566         * bufferview_funcs.C:
1567         * cursor.C:
1568         * lyxfind.C
1569         * lyxfunc.C
1570         * paragraph_funcs.C
1571         * toc.C:
1572         * Makefile.am: adjust
1573
1574 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1575
1576         * CutAndPaste.C (pasteSelection): fix 2 crashes
1577         (eraseSelection): fix a crash
1578         * paragraph_funcs.C: remove a warning
1579
1580 2004-03-28  Angus Leeming  <leeming@lyx.org>
1581
1582         * lfuns.h:
1583         * LyXAction.C (init): new LFUN_PRINT.
1584
1585         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1586
1587 2004-03-27  Angus Leeming  <leeming@lyx.org>
1588
1589         * lfuns.h:
1590         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1591
1592         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1593
1594 2004-03-27  Angus Leeming  <leeming@lyx.org>
1595
1596         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1597         insetlist always contains non-null pointers to insets.
1598
1599 2004-03-26  Angus Leeming  <leeming@lyx.org>
1600
1601         * src/BufferView_pimpl.C:
1602         * src/CutAndPaste.C:
1603         * src/buffer.C:
1604         * src/iterators.C:
1605         * src/output_plaintext.C:
1606         * src/outputparams.h:
1607         * src/paragraph_funcs.C:
1608         * src/rowpainter.C:
1609         * src/text.C:
1610         * src/text2.C:
1611         * src/frontends/controllers/ControlErrorList.C:
1612         * src/frontends/gtk/FileDialogPrivate.C:
1613         * src/frontends/gtk/GPainter.C:
1614         * src/frontends/gtk/GToolbar.C:
1615         * src/frontends/qt2/QRef.C:
1616         * src/mathed/math_scriptinset.C: squash compiler warnings.
1617
1618 2004-03-26  Angus Leeming  <leeming@lyx.org>
1619
1620         * ispell.C (LaunchIspell::start):
1621         * lyx_cb.C (AutoSaveBuffer::start):
1622         invoke run(DontWait) rather than runNonBlocking().
1623
1624 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1625
1626         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1627
1628 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1629
1630         * kbsequence.C (print): adjust
1631
1632         * kbmap.C (printKeySym): rename and change signature
1633         (printKey): use LyXKeySym::print()
1634
1635 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1636
1637         * undo.C: add using std::advance to compile for stlport
1638
1639 2004-03-24  Angus Leeming  <leeming@lyx.org>
1640
1641         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1642         it leads to a crash when no buffer is present.
1643
1644 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1645             Martin Vermeer  <martin.vermeer@hut.fi>
1646
1647         * lyxfunc.C (dispatch):
1648         * bufferparams.C (readToken): use the new LColor::setColor
1649
1650         * LColor.[Ch] (setColor): new version that takes two strings as
1651         argument and creates a new color entry if necessary
1652
1653 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1654
1655         * buffer.C (makeLaTeXFile): if the main latex file that is
1656         processed is usually a subdocument of some master, then pretend
1657         for a while that it is actually the master
1658
1659 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1660
1661         * buffer.C (getLabelList):
1662         (getBibkeyList): use getMasterBuffer()
1663         (getMasterBuffer): new method. Returns the main document in the
1664         case where one is using included documents.
1665
1666 2004-03-25  André Pönitz  <poenitz@gmx.net>
1667
1668         * Makefile.am:
1669         * iterators.[Ch]:
1670         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1671
1672         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1673
1674         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1675         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1676
1677         * ParameterStruct.h: merge with ParagraphParameters
1678
1679         * lyxtext.h: remove LyXText::parOffset() and getPar()
1680
1681         * text3.C: Remove all 'manual' update calls. We do now one per user
1682         interaction which is completely sufficient.
1683
1684         * Bidi.C:
1685         * BufferView.[Ch]:
1686         * BufferView_pimpl.C:
1687         * FontIterator.[Ch]:
1688         * MenuBackend.C:
1689         * ParagraphParameters.[Ch]:
1690         * buffer.C:
1691         * buffer.h:
1692         * bufferlist.C:
1693         * cursor.[Ch]:
1694         * cursor_slice.[Ch]:
1695         * dociterator.[Ch]:
1696         * errorlist.[Ch]:
1697         * factory.C:
1698         * lfuns.h:
1699         * lyxfind.C:
1700         * lyxfunc.C:
1701         * output_docbook.[Ch]:
1702         * output_latex.[Ch]:
1703         * output_linuxdoc.[Ch]:
1704         * output_plaintext.[Ch]:
1705         * paragraph.[Ch]:
1706         * paragraph_funcs.[Ch]:
1707         * paragraph_pimpl.[Ch]:
1708         * rowpainter.C:
1709         * tabular.[Ch]:
1710         * text.C:
1711         * text2.C:
1712         * toc.C:
1713         * undo.[Ch]: adjust
1714
1715         * frontends/controllers/ControlDocument.C:
1716         * frontends/controllers/ControlErrorList.C:
1717         * frontends/controllers/ControlSpellchecker.C:
1718         * insets/inset.C:
1719         * insets/inset.h:
1720         * insets/insetbase.h:
1721         * insets/insetbibitem.C:
1722         * insets/insetbox.C:
1723         * insets/insetbranch.C:
1724         * insets/insetcaption.C:
1725         * insets/insetcharstyle.C:
1726         * insets/insetcharstyle.h:
1727         * insets/insetcollapsable.C:
1728         * insets/insetcollapsable.h:
1729         * insets/insetert.C:
1730         * insets/insetfloat.C:
1731         * insets/insetfoot.C:
1732         * insets/insetmarginal.C:
1733         * insets/insetnote.C:
1734         * insets/insetoptarg.C:
1735         * insets/insettabular.C:
1736         * insets/insettext.C:
1737         * insets/insettext.h:
1738         * insets/insetwrap.C:
1739         * mathed/math_mboxinset.C:
1740         * mathed/math_nestinset.C:
1741         * mathed/math_scriptinset.C:
1742         * mathed/math_scriptinset.h:
1743         * support/types.h:
1744
1745 2004-03-24  Angus Leeming  <leeming@lyx.org>
1746
1747         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1748         deal with any child processes that have finished but are waiting to
1749         communicate this fact to the rest of LyX.
1750
1751 2004-03-24  Angus Leeming  <leeming@lyx.org>
1752
1753         64-bit compile fixes.
1754
1755         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1756         (c-tor): pass lyx::pos_types rather than ints.
1757
1758         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1759         lyx::pos_type.
1760
1761         * text.C (Delete): compile fix.
1762         (getPar): ensure that function declaration is the same as that in
1763         the header file.
1764
1765 2004-03-23  Angus Leeming  <leeming@lyx.org>
1766
1767         * ispell.C (LaunchIspell):
1768         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1769         a boost::shred_ptr rather than a std::auto_ptr.
1770
1771 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1772
1773         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1774         handle LFUN_FILE_INSERT_*
1775
1776         * lyxrc.C (setDefaults, getDescription, output, read):
1777         * lyxrc.h: remove ps_command
1778
1779 2004-03-22  Angus Leeming  <leeming@lyx.org>
1780
1781         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1782         Ensure that error_handler is processed once only and that all data
1783         is saved before attempting to output any warning messages.
1784
1785         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1786
1787 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1788
1789         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1790
1791 2004-03-19  André Pönitz  <poenitz@gmx.net>
1792
1793         * cursor.[Ch] (reset): take main text inset as argument
1794
1795         * BufferView: adjust
1796         * BufferView_pimpl.C: adjust
1797
1798         * paragraph.[Ch]: fix completely broken operator=()
1799
1800 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1801
1802         * LColor.C (getFromLyXName): make sure that the color name is used
1803         as lowercase.
1804
1805 2004-03-17  Angus Leeming  <leeming@lyx.org>
1806
1807         * lfuns.h:
1808         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1809
1810         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1811         dialog and to kill a forked process.
1812
1813 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1814
1815         * text2.C (setCursorFromCoordinates): fix font problem
1816
1817 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1818
1819         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1820         bogus "rebuild cursor" code
1821
1822 2004-03-11  André Pönitz  <poenitz@gmx.net>
1823
1824         * buffer.[Ch]: use InsetText instead of LyXText as container for
1825         the main lyx text.
1826
1827         * dociterator.[Ch]: drop the BufferView * member which is not needed
1828         anymore after the change to buffer.C
1829
1830         * paragraph_funcs.C:
1831         * text.C:
1832         * text2.C:
1833         * BufferView.[Ch]:
1834         * BufferView_pimpl.[Ch]:
1835         * cursor.[Ch]:
1836         * cursor_slice.[Ch]: adjust
1837
1838         * text3.C: fix bug in mathDispatch
1839
1840 2004-03-08  André Pönitz  <poenitz@gmx.net>
1841
1842         * undo.[Ch]: use 'StableDocumentIterator' as base for
1843         the Undo struct.
1844
1845 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1846
1847         * LaTeXFeatures.C:
1848         * bufferparams.[Ch]: add jurabib support and param.
1849
1850         * LaTeX.C: add FIXME/comment.
1851
1852 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1853
1854         * buffer.C: increment file format to 230.
1855
1856 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1857
1858         * cursor.C (dispatch): avoid infinite loops
1859
1860 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1861
1862         * rowpainter.C (paintSelection): fix x coordinates
1863
1864 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1865
1866         * text.C (rowBreakPoint): fix breaking before displayed insets
1867
1868 2004-03-01  André Pönitz  <poenitz@gmx.net>
1869
1870         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1871
1872         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1873
1874         * Makefile.am:
1875         * BufferView.C:
1876         * BufferView_pimpl.C:
1877         * buffer.C:
1878         * lyxfind.C:
1879         * lyxfunc.C:
1880         * text.C:
1881         * text2.C:
1882         * text3.C: adjust
1883
1884 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1885
1886         * lyxtext.h:
1887         * text.C:
1888         * text2.C:
1889         * rowpainter.C:
1890         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1891         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1892
1893 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1894
1895         * Bidi.[Ch] (computeTables): const correctness
1896         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1897         fill_hfill, fill_label_hfill and x from Row
1898         * lyxtext.h: prepareToPrint returns a RowMetrics
1899         * rowPainter.C: adjust
1900         * text.C (prepareToPrint): use width, not textWidth. adjust
1901         (redoParagraphInternal, cursorX): adjust
1902         * text2.C (getColumnNearX): adjust
1903         (init): put a default value to the top LyXText::width
1904
1905 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1906
1907         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1908
1909 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1910
1911         * lyxtext.h: add FontIterator class
1912
1913         * text.C (FontIterator, operator*, operator->, operator++): add
1914         (rowBreakPoint, setRowWidth): adjust (fixing a
1915         rebreaking bug)
1916
1917 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1918
1919         * BufferView_pimpl.C (workAreaDispatch): allow also
1920         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1921
1922 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1923
1924         * text.C (rowBreakPoint): fix a bug showing with very large insets
1925
1926 2004-02-25  André Pönitz  <poenitz@gmx.net>
1927
1928         * text3.C:
1929         * cursor.[Ch]: move some mathed specific code to mathed
1930
1931 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1932
1933         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1934         use_tempdir in preferences
1935         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1936         tempfile creation
1937         * lyx_main.C: ensure that tempdir is valid
1938         * lyxlex.h: correct typo
1939         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1940         * paragraph.[Ch] (isMultiLingual): make const
1941         * cursor.[Ch] (openable): make const
1942
1943 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1944
1945         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1946
1947 2004-02-20  André Pönitz  <poenitz@gmx.net>
1948
1949         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1950
1951         * cursor.[Ch]: prepare for localized getStatus()
1952
1953         * lyxtext.h:
1954         * tabular.C:
1955         * text.C:
1956         * text2.C:
1957         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1958
1959 2004-02-20  André Pönitz  <poenitz@gmx.net>
1960
1961         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1962
1963 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1964
1965         * text2.C (setCursorFromCoordinates): switch to absolute coords
1966         (cursorUp): adjust
1967         (cursorDown): adjust
1968         * text3.C (dispatch): adjust
1969
1970 2004-02-16  André Pönitz  <poenitz@gmx.net>
1971
1972         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1973           insets/ChangeLog)
1974
1975         * cursor_slice.[Ch]: remove unneeded acessor function
1976
1977         * lyxtext.h: rename rtl() to isRTL()
1978
1979         * rowpainter.C:
1980         * tabular.C:
1981         * text.C:
1982         * text2.C:
1983         * text3.C: adjust
1984
1985 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1986
1987         * rowpainter.C (paintSelection): coord fix
1988
1989 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1990
1991         * Spacing.C: compile fix
1992
1993 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1994
1995         * cursor.C (dispatch): restore current_ before returning
1996
1997 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1998
1999         * text2.C (cursorUp, cursorDown): fix coords
2000         (moveUp): fix crash
2001
2002 2004-02-12  André Pönitz  <poenitz@gmx.net>
2003
2004         * lyxtext.h:
2005         * text.C:
2006         * text2.C:
2007         * text3.C: add LCursor & parameter to most cursor movement functions
2008           remove usage of LyXText::cursorRow() and cursorPar()
2009
2010         * cursor.[Ch]: add textRow() needed members
2011
2012         * BufferView.C:
2013         * BufferView_pimpl.C:
2014         * paragraph.[Ch]:
2015         * BufferView.C:
2016         * BufferView_pimpl.C: adjust
2017
2018 2004-02-11  André Pönitz  <poenitz@gmx.net>
2019
2020         * lyxfunc.C:
2021         * BufferView.[Ch]:
2022         * BufferView_pimpl.C: shift undo/redo handling
2023
2024         * cursor.[Ch]: fix mathed crash
2025
2026         * lyxfind.C:
2027         * lyxtext.h: move selectionAsText to LCursor
2028
2029         * output_latex.C:
2030         * paragraph.C:
2031         * text.C:
2032         * text2.C:
2033         * text3.C: adjust
2034
2035         * rowpainter.C: fix excessive drawing
2036
2037 2004-02-06  André Pönitz  <poenitz@gmx.net>
2038
2039         * BufferView.[Ch]:
2040         * BufferView_pimpl.[Ch]:
2041         * text3.C: move some text specific LFUN handling
2042
2043 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
2044
2045         * text3.C (checkInsetHit): adjust coords
2046         * text2.C (getColumnNearX): adjust coords
2047         (edit): adjust coords
2048         * text.C (getRowNearY): add two asserts
2049
2050 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
2051
2052         * converter.C:
2053         * format.C: add using std::distance to compile on gcc 2.95/stlport
2054
2055 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
2056
2057         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
2058
2059 2004-02-04  André Pönitz  <poenitz@gmx.net>
2060
2061         * BufferView.[Ch] (insertInset):
2062         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
2063
2064         * text2.C:
2065         * text3.C: adjust
2066
2067 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2068
2069         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
2070         on the default clause of the switch
2071         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
2072         wasn't catched by LCursor::dispatch
2073
2074 2004-02-03  André Pönitz  <poenitz@gmx.net>
2075
2076         * BufferView.C:
2077         * cursor.[Ch]: some additional asserts
2078
2079         * undo.[Ch]: remove LyXText dependency in interface
2080
2081         * lyxfunc.C: adjust
2082
2083         * lyxtext.h (firstPar, lastPar): remove dead functions
2084
2085         * text.C:
2086         * text2.C:
2087         * text3.C:
2088         * paragraph.[Ch]: adjust
2089
2090 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
2091
2092         * lyxfind.C (find): fix argument order in call to ::find
2093
2094 2004-02-02  André Pönitz  <poenitz@gmx.net>
2095
2096         * cursor.[Ch]: remove direct access to anchor
2097
2098         * text.C: remove findText() hack
2099
2100 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2101
2102         * iterators.[Ch] (lockPath): remove in favour of...
2103         * BufferView.[Ch] (setCursor): this addition
2104         * BufferView.C (putSelectionAt): adjust
2105         * undo.C (performUndoOrRedo): adjust
2106         * lyxfunc.C (dispatch): adjust
2107
2108 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2109
2110         * iterators.C (lockPath): add a missing slice
2111         * undo.C (performUndoOrRedo): remove redundant positioning code
2112
2113 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2114
2115         * vc-backend.C (scanMaster): ";" -> ';'
2116
2117 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2118
2119         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2120         std::binary_function
2121
2122         * lyxtextclass.C (compare_name): rename to...
2123         (LayoutNamesEqual): ...this
2124
2125         * lyxlex_pimpl.C (compare_tags): inherit from
2126         std::binary_function, put back into anon namespace
2127
2128         * lyxfind.C (MatchString): inherig from std::binary_function
2129         (findChange): use empty() istead of !size()
2130
2131         * format.C (FormatNamesEqual): new functor
2132         (getFormat): use it
2133         (getNumber): use it
2134         (add): use it
2135         (erase): use it
2136         (setViewer): use it
2137
2138         * converter.C (compare_Converter): rename to...
2139         (ConverterEqual): ...this, and fixup a bit.
2140         (getConverter): use it, and make function const
2141         (getNumber): use it, and make function const
2142         (add): use it
2143         (erase): use it:
2144
2145         * bufferlist.C: add using boost::bind
2146
2147         * MenuBackend.C (MenuNamesEqual): new functor
2148         (hasMenu): use it, and make function const
2149         (hasSubmenu): use nested bind to get rid of compare_memfun.
2150
2151 2004-01-30  André Pönitz  <poenitz@gmx.net>
2152
2153         * BufferView_pimpl.C:
2154         * cursor.C:
2155         * cursor.h:
2156         * cursor_slice.[Ch]:
2157         * lyxfunc.C:
2158         * lyxtext.h:
2159         * paragraph_funcs.C:
2160         * paragraph_funcs.h:
2161         * rowpainter.C:
2162         * text.C:
2163         * text2.C:
2164         * text3.C: move some of the edit(x,y) handling to the insets
2165         some coordinate changes.
2166
2167 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2168
2169         * text.C: add using statements for std::advance and std::distance
2170
2171         * paragraph.C: add using statement for std::distance
2172
2173         * lyxfind.C: add using statement for std::advance
2174
2175         * cursor.C (region): remove std:: from swap
2176         (openable): use nucleus in stead of operator->
2177
2178         * BufferView.C: add using statements for std::distance and std::swap
2179
2180 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2181
2182         * iterators.C: Remove the pimple, move the needed structures to
2183         the header file. Create accessor for the positions stack.
2184         (asPosIterator): remove function
2185
2186         * PosIterator.C (PosIterator): move constructors to top of file
2187         (PosIterator): reimplement the constructor taking a ParIterator in
2188         terms of setFrom.
2189         (setFrom): new function
2190         (operator!=): inline it
2191
2192 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2193
2194         * lyxfind.C (replaceAll): use std::advance
2195
2196         * iterators.h: inherit from std::iterator.
2197
2198         * PosIterator.C (advance, distance): remove
2199         * PosIterator.h: interit from std::iterator.
2200
2201 2004-01-26  André Pönitz  <poenitz@gmx.net>
2202
2203         * BufferView.[Ch]:
2204         * BufferView_pimpl.[Ch]:
2205         * InsetList.[Ch]:
2206         * PosIterator.[Ch]:
2207         * buffer.h:
2208         * bufferview_funcs.C:
2209         * cursor.[Ch]:
2210         * cursor_slice.h:
2211         * factory.[Ch]:
2212         * iterators.[Ch]:
2213         * lyxfind.C:
2214         * lyxfunc.C:
2215         * lyxtext.h:
2216         * output_docbook.C:
2217         * output_latex.C:
2218         * output_linuxdoc.C:
2219         * output_plaintext.C:
2220         * paragraph.[Ch]:
2221         * paragraph_funcs.[Ch]:
2222         * paragraph_pimpl.[Ch]:
2223         * rowpainter.C:
2224         * tabular.C:
2225         * tabular.h:
2226         * text.C:
2227         * text2.C:
2228         * text3.C: more IU:  dumps most of the rest of the mathcursor
2229     implementation into cursor.[Ch]; "globalize" a bit of it.
2230
2231 2004-01-25  Angus Leeming  <leeming@lyx.org>
2232
2233         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2234
2235 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2236
2237         * LaTeXFeatures.h: add nice_ and nice() const
2238         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2239
2240 2004-01-20  André Pönitz  <poenitz@gmx.net>
2241
2242         * BufferView.[Ch]:
2243         * BufferView_pimpl.C:
2244         * PosIterator.C:
2245         * bufferview_funcs.C:
2246         * cursor.[Ch]:
2247         * cursor_slice.[Ch]:
2248         * factory.C:
2249         * iterators.C:
2250         * lyx_cb.C:
2251         * lyxfind.C:
2252         * lyxfunc.C:
2253         * lyxtext.h:
2254         * rowpainter.C:
2255         * text.C:
2256         * text2.C:
2257         * text3.C:
2258         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2259           LCursor and mathcursor parts to LCursor and InsetBase.
2260
2261 2004-01-15  André Pönitz  <poenitz@gmx.net>
2262
2263         * cursor_slice.[Ch]: add a few covienience functions
2264
2265         * funcrequest.[Ch]: remove BufferView * member
2266
2267         * BufferView_pimpl.C:
2268         * cursor.C:
2269         * factory.[Ch]:
2270         * lyxfind.[Ch]:
2271         * lyxfunc.C:
2272         * lyxtext.h:
2273         * text3.C:
2274         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2275
2276 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2277
2278         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2279         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2280
2281 2004-01-13  André Pönitz  <poenitz@gmx.net>
2282
2283         * textcursor.[Ch]:
2284         * lyxtext.h: hide cursor and selection anchor behind accessor function
2285
2286         * BufferView.C:
2287         * BufferView_pimpl.[Ch]:
2288         * PosIterator.C:
2289         * bufferview_funcs.C:
2290         * cursor.h:
2291         * lyxfind.C:
2292         * lyxfunc.C:
2293         * text.C:
2294         * text2.C:
2295         * text3.C:
2296         * undo.C: adjust
2297
2298         * cursor.h:
2299         * cursor_slice.[Ch]: some integer type changes for inset unification
2300
2301         * lyxcursor.[hC]: remove, it's CursorSlice now.
2302
2303         * Makefile.am:
2304         * BufferView_pimpl.[Ch]:
2305         * bufferview_funcs.C:
2306         * cursor_slice.C:
2307         * lyxtext.h:
2308         * text.C:
2309         * text2.C:
2310         * text3.C:
2311         * textcursor.[Ch]: adjust
2312
2313 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2314
2315         * text2.C (undoSpan): add and use
2316         * text.C (breakParagraph): use undoSpan (fix bug 578)
2317         * lyxtext.h: adjust
2318
2319 2004-01-08  Angus Leeming  <leeming@lyx.org>
2320
2321         * BufferView_pimpl.C (MenuInsertLyXFile):
2322         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2323         * lyxfunc.C (menuNew, open, doImport):
2324         FileFilterList change to the FileDialog open and save functions.
2325
2326 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2327
2328         * ShareContainer.h: make isEqual and isUnique adaptable
2329
2330         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2331
2332 2004-01-07  Angus Leeming  <leeming@lyx.org>
2333
2334         * LyXAction.C:
2335         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2336
2337         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2338
2339         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2340         functions replacing find, replace and replaceAll.
2341
2342         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2343         LFUN_WORDFIND(FORWARD|BACKWARD).
2344
2345 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2346
2347         * text.C (breakParagraph): remove an outdated #warning
2348
2349 2004-01-07  André Pönitz  <poenitz@gmx.net>
2350
2351         * lyxfind.C: somewhat clearer logic
2352
2353         * text.C: prevent crash in cursorX on unitialized row cache
2354
2355 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2356
2357         * lyxcursor.[Ch] (operator>): add
2358         * textcursor.C (selStart, selEnd): use std::min and std::max
2359
2360 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2361
2362         * Chktex.C: include boost/format.hpp
2363
2364 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2365
2366         * InsetList.C: replace functor MathcIt with adaptable functor
2367         InsetTablePosLess
2368         (insetIterator): modify accordingly
2369
2370         * BranchList.h: move the BranchNamesEqual functor here from...
2371         * BranchList.C: ... to here
2372
2373         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2374         SameName and match.
2375         (add): replace a finding loop with std::find_if.
2376
2377 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2378
2379         * output_docbook.C: moving LatexParam functionality into
2380         .layout files
2381
2382 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2383
2384         * buffer.C: increment format to 229.
2385
2386 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2387
2388         * LaTeXFeatures.C:
2389         * lyx_sty.[Ch]: remove minipageindent_def
2390
2391         * LyXAction.C:
2392         * factory.C:
2393         * lfuns.h:
2394         * lyxfunc.C:
2395         * text3.C: remove LFUN_INSET_MINIPAGE
2396
2397 2003-12-28  Angus Leeming  <leeming@lyx.org>
2398
2399         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2400
2401 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2402
2403         * text2.C (setParagraph): fix off-by-one crash
2404
2405 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2406
2407         * output_docbook.C: header stuff for AGU
2408
2409 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2410
2411         * text2.C (redoCursor): remove
2412         * text.C:
2413         * text3.C:
2414         * BufferView_pimpl.C: remove calls to redoCursor and
2415         setCursor(cursor.par(), cursor.pos()) all around
2416
2417 2003-12-15  Angus Leeming  <leeming@lyx.org>
2418
2419         * buffer.C: up the format to 228.
2420
2421 2003-12-15  André Pönitz  <poenitz@gmx.net>
2422
2423         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2424         slices
2425
2426         * Makefile.am:
2427
2428         * BufferView_pimpl.C:
2429         * cursor.[Ch]:
2430         * lyxcursor.[Ch]:
2431         * rowpainter.[Ch]:
2432         * lyxtext.h:
2433         * text.C:
2434         * text2.C:
2435         * text3.C: adjust
2436
2437 2003-12-15  Angus Leeming  <leeming@lyx.org>
2438
2439         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2440         than getFromGUIName to manipulate the color.
2441
2442 2003-12-14  Angus Leeming  <leeming@lyx.org>
2443
2444         * BranchList.[Ch]: minimize the API.
2445         (Branch::getBranch, getColor): now return a 'const &'.
2446         (Branch::setSelected) now returns a bool set to true if the
2447         selection status changes.
2448         (BranchList::clear, size, getColor, setColor, setSelected,
2449         allBranches, allSelected, separator): removed.
2450         (BranchList::find): new functions, returning the Branch with
2451         the given name.
2452         (BranchList::add, remove): return a bool indicating that
2453         the operation was successful.
2454
2455         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2456         new InsetBranch::isBranchSlected member function.
2457
2458         * LColor.[Ch]: mimimize the API.
2459         (fill): renamed as addColor and made private.
2460         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2461         versions of these functions taking a string arg have been removed.
2462
2463         * bufferparams.C (readToken):
2464         * lyxfunc.C (dispatch):
2465         * lyxrc.C (read): changes due to the altered BranchList and
2466         LColor APIs.
2467
2468         * factory.C (createInset, readInset): changes due to altered
2469         InsetBranch c-tor.
2470
2471 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2472
2473         * factory.C:
2474         * lyxfunc.C: remove insetminipage. "minipage-insert"
2475         now produces a frameless minipage box inset.
2476
2477 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2478
2479         * textcursor.[Ch] (selStart,selEnd): add new methods
2480         remove selection::start, end, use LyXCursor::operator<
2481         * lyxcursor.[Ch] (operator<): add
2482         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2483         * BufferView.[Ch] (unsetXSel): add
2484         * text2.C (clearSelection): use unsetXSel,adjust
2485         * text.C: adjust
2486         * text3.C: adjust
2487         * rowpainter.C: adjust
2488         * bufferview_funcs.C (put_selection_at): adjust
2489
2490 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2491
2492         * BufferView_pimpl.C: small coord. correction
2493
2494 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2495
2496         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2497         dragging over the splash screen.
2498
2499 2003-12-11  Angus Leeming  <leeming@lyx.org>
2500
2501         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2502         as it is now handled in LyXText::dispatch.
2503
2504         * text3.C (doInsertInset): remove a level of nesting.
2505
2506 2003-12-11  Angus Leeming  <leeming@lyx.org>
2507
2508         * factory.C (createInset): changes due to the changed interface to
2509         InsetCommandMailer::string2params.
2510
2511 2003-12-10  Angus Leeming  <leeming@lyx.org>
2512
2513         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2514         'dialog-show-new-inset <inset name>'
2515
2516 2003-12-10  Angus Leeming  <leeming@lyx.org>
2517
2518         * buffer.C: up the format to 227.
2519
2520         * factory.C: the box inset is now identified simply by 'Box'.
2521
2522 2003-12-10  Angus Leeming  <leeming@lyx.org>
2523
2524         * buffer.C: up the format to 226.
2525
2526         * factory.C: the note inset is now identified simply by 'Note'.
2527
2528 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2529
2530         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2531         when a pit is enough. Standarize a couple of loops.
2532
2533 2003-12-05  Angus Leeming  <leeming@lyx.org>
2534
2535         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2536         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2537         data to the re-worked "log" dialog.
2538
2539 2003-12-03  André Pönitz  <poenitz@gmx.net>
2540
2541         * PosIterator.C:
2542         * iterators.C:
2543         * lyxtext.h:
2544         * output_latex.C:
2545         * paragraph_funcs.C:
2546         * text.C:
2547         * text2.C: use Inset::getText instead of Inset::getParagraph
2548
2549 2003-12-03  André Pönitz  <poenitz@gmx.net>
2550
2551         * buffer.[Ch]:
2552         * lyxtext.h:
2553         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2554         InsetText::read() as LyXText::read()
2555
2556 2003-12-02  Angus Leeming  <leeming@lyx.org>
2557
2558         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2559         type. Add a comment in the implementation that the function uses
2560         the stream's bad() function rather than fail() as the std::streams
2561         would do.
2562
2563 2003-12-02  André Pönitz  <poenitz@gmx.net>
2564
2565         * lyxlex.[Ch]: make interface more similar to std::stream
2566
2567         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2568
2569 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2570
2571         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2572
2573 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2574
2575         * vspace.[Ch]: remove VSpace::NONE
2576
2577 2003-12-01  André Pönitz  <poenitz@gmx.net>
2578
2579         * buffer.[Ch]:
2580         * lyxtext.h: move ParagraphList member to LyXText
2581         rename LyXText::ownerParagraphs to LyXText::paragraph
2582
2583         * CutAndPaste.C:
2584         * bufferview_funcs.C:
2585         * iterators.[Ch]:
2586         * lyx_cb.C:
2587         * paragraph.C:
2588         * rowpainter.C:
2589         * tabular.C:
2590         * text.C:
2591         * text2.C:
2592         * text3.C: adjust
2593
2594         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2595
2596         * undo.C: fix cursor positioning
2597
2598 2003-12-01  John Levon  <levon@movementarian.org>
2599
2600         * BufferView_pimpl.C: fix a crash on exit with
2601         a buffer open
2602
2603 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2604
2605         * BranchList.C: fix setSelected() method.
2606
2607 2003-11-28  André Pönitz  <poenitz@gmx.net>
2608
2609         * ParagraphParameters.[Ch]:
2610         * ParameterStruct.h: remove space above/below from Paragraph to
2611          InsetVSpace
2612
2613         * BufferView_pimpl.C:
2614         * factory.C:
2615         * lyxfunc.C:
2616         * lyxtext.h:
2617         * output_latex.C:
2618         * paragraph.C:
2619         * paragraph_funcs.C:
2620         * rowpainter.[Ch]:
2621         * text.C:
2622         * text2.C:
2623         * text3.C: adjust
2624
2625 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2626
2627         * factory.C: Syntax change for CharStyles
2628
2629 2003-11-28  André Pönitz  <poenitz@gmx.net>
2630
2631         * BufferView.[Ch]:
2632         * BufferView.[Ch]:
2633         * buffer.[Ch]:
2634         * buffer.[Ch]: move LyXText member
2635
2636 2003-11-28  André Pönitz  <poenitz@gmx.net>
2637
2638         * BufferView.[Ch]: make LyXText * text a private member
2639
2640         * BufferView_pimpl.C:
2641         * cursor.C:
2642         * iterators.C:
2643         * lyx_cb.C:
2644         * lyxfind.C:
2645         * lyxtext.h:
2646         * rowpainter.[Ch]:
2647         * text.C:
2648         * text2.C:
2649         * undo.C: adjust
2650
2651         * output_plaintext.C: cleanup
2652
2653 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2654
2655         * buffer.C:
2656         * lyxtextclass.[Ch]: parametrize SGML document header
2657
2658 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2659
2660         * converter.[Ch]:
2661         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2662         getFlavor().
2663
2664 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2665
2666         * text2.C (setFont): rework using PosIterator (no more recursive)
2667         (setCharFont): no more needed
2668         (setLayout): no more selection cursors fiddling (done by redoCursor)
2669         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2670         destroy remaining ones)
2671
2672 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2673
2674         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2675         * lyxtext.h: ditto
2676         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2677         selection cursors
2678         * lyxfunc.C: adjust
2679         * text3.C: adjust + re-allow multi par depth changes
2680         * textcursor.C: simplify a bit
2681
2682 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2683
2684         * src/buffer.C:
2685         * src/lyxlayout.C:
2686         * src/lyxlayout.h:
2687         * src/lyxtext.h:
2688         * src/output_docbook.C:
2689         * src/output_latex.C:
2690         * src/paragraph.C:
2691         * src/paragraph.h:
2692         * src/sgml.C:
2693         * src/sgml.h:
2694         * src/text2.C: Introducing a number of tags parametrizing various
2695         XML formats that we may want to support
2696
2697 2003-11-25  André Pönitz  <poenitz@gmx.net>
2698
2699         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2700
2701         * lyxtext.h (leftMargin/rightMargin): simplify interface
2702
2703         * rowpainter.C:
2704         * text.C:
2705         * text2.C:
2706         * text3.C: adjust
2707
2708 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2709
2710         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2711         master file to any child files. Fixes bug 546.
2712
2713 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2714
2715         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2716
2717 2003-11-24  André Pönitz  <poenitz@gmx.net>
2718
2719         * rowpainter.C: simplification
2720
2721         * text2.C (updateCounters): remove call to redoParagraph on
2722         changed labels as this is far too expensive.
2723
2724 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2725
2726         * converter.C (convert): fix a crash: this function gets
2727         called with buffer == 0 from importer code.
2728
2729 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2730
2731         * text3.C (cursorPrevious): make sure that we do not compare
2732         iterators form different containers.
2733         (cursorNext): ditto
2734
2735         * rowpainter.C (paintSelection): make sure that we do not compare
2736         iterators from different containers.
2737
2738         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2739         iterators from different ParagraphList containers.
2740         [NEXT] ditto
2741
2742         * text2.C (LyXText): change order of initialization slightly
2743         (operator=): new function. copy all variables except cache_par_
2744         (moveUp): make sure that we do not compare iterators from
2745         different ParagraphList constainers.
2746         (moveDown): ditto
2747
2748         * text.C (firstPar): new function
2749         (lastPar): new function
2750         (endPar): new function
2751
2752         * lyxtext.h: move things around and group public functions, public
2753         variables, private functions, private variables
2754
2755 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2756
2757         * factory.C: change call to InsetERT constructor to avoid
2758         additional invocation of method status
2759         * text2.C (toggleInset): remove redundant update() call
2760         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2761         instead of a Bufferview pointer
2762
2763 2003-11-21  André Pönitz  <poenitz@gmx.net>
2764
2765         * rowpainter.C: simplification
2766
2767 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2768
2769         * text3.C (dispatch): make possible to extend a word/row selection
2770         with the mouse
2771
2772 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2773
2774         * lyxtext.h: x0_,y0_ -> xo_,yo_
2775         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2776         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2777         * rowpainter.C (paintRows): paint full paragraphs
2778
2779 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2780
2781         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2782         screen coordinates)
2783
2784 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2785
2786         * lyxtext.h: add x0_, y0_
2787         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2788         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2789
2790 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2791
2792         * text2.C (setCursorIntern): move the x_target update here *
2793         * text3.C: change some bv() to true/false in calls to
2794         cursorUp/Down/Right/Left
2795         * cursor.C: use helper function.
2796
2797 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2798
2799         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2800         * paragraph_funcs.[Ch]: correct comment
2801         * rowpainter.C: do not paint selections away from bv->cursor()
2802         Fix a long standing selection painting bug.
2803         * text3.C: generalize mouse-selection code to LyXTexts other that
2804         top one
2805         * textcursor.C: do not use y coords if we can use par offsets
2806
2807 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2808
2809         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2810         cursor position after e.g. inset insert)
2811
2812 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2813
2814         * lyxfind.C (replace): adjust to locking removal + some
2815         code simplification
2816
2817 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2818
2819         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2820         of the path
2821
2822 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2823
2824         * lyxlayout.[Ch]:
2825         * output_docbook.C: XML sanitation: new layout
2826         parameters InnerTag and CommandDepth
2827
2828 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2829
2830         * BufferView_pimpl.C:
2831         * factory.C:
2832         * text3.C: Fix the insertion and modification of button-style
2833         insets
2834
2835 2003-11-13  André Pönitz  <poenitz@gmx.net>
2836
2837         * InsetList.[Ch]: remove deleteLyXText
2838
2839         * paragraph.[Ch]: cache beginOfBody position
2840
2841         * Bidi.C:
2842         * text.C:
2843         * text2.C:
2844         * text3.C: remove superfluous update() calls
2845
2846         * vspace.C: cleanup
2847
2848 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2849
2850         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2851         * BufferView.C (fitLockedInsetCursor): remove
2852         * cursor.[Ch] (getDim): add
2853         * text.C (getRowNearY): add faster version
2854         * text3.C: remove some update calls
2855
2856 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2857
2858         * LaTeXFeatures.C:
2859         * LyXAction.C:
2860         * MenuBackend.C:
2861         * MenuBackend.h:
2862         * dispatchresult.h:
2863         * factory.C:
2864         * lfuns.h:
2865         * lyxfunc.C:
2866         * lyxtextclass.C:
2867         * lyxtextclass.h:
2868         * text3.C: The Character Style /XML short element patch.
2869
2870 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2871
2872         * text3.C:
2873         * factory.C: Small step to solving 'unable to insert some insets'
2874         problem
2875
2876 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2877
2878         * cursor.[Ch] (updatePos): new function for updating the y
2879         position of the tip inset
2880         * bufferview_funcs.C (put_selection_at):
2881         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2882
2883 2003-11-11  André Pönitz  <poenitz@gmx.net>
2884
2885         * text.C: remove big comment on invalid Paragraph pointers as it is
2886         not valid anymore
2887
2888 2003-11-11  André Pönitz  <poenitz@gmx.net>
2889
2890         * text_funcs.[Ch]: merge with ...
2891
2892         * text.C: ... this
2893
2894         * lyxtext.h:
2895         * text2.C:
2896         * text3.C: adjust
2897
2898         * Makefile.am: remove text_funcs.[Ch]
2899
2900 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2901
2902         * cursor.C (getPos): return absolute cached y coord
2903
2904         * BufferView_pimpl.C (fitCursor): new simplistic code
2905         (workAreaDispatch): add a fitCursor call
2906
2907 2003-11-10  André Pönitz  <poenitz@gmx.net>
2908
2909         * BufferView.[Ch]:
2910         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2911
2912 2003-11-10  André Pönitz  <poenitz@gmx.net>
2913
2914         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2915         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2916         indicate that the cursor needs to leave an inset
2917
2918         * lyxtext.h: remove inset locking
2919
2920         * cursor.[Ch]: re-implement functionality provided by inset locking
2921
2922         * BufferView.[Ch]:
2923         * BufferView_pimpl.[Ch]:
2924         * LyXAction.C:
2925         * bufferview_funcs.[Ch]:
2926         * factory.C:
2927         * funcrequest.[Ch]:
2928         * iterators.C:
2929         * lyx_cb.C:
2930         * lyxfind.C:
2931         * lyxfunc.C:
2932         * text.C:
2933         * text2.C:
2934         * text3.C:
2935         * undo.C: adjust
2936
2937 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2938
2939         * PosIterator.[Ch]: replace the stack with a vector, add inset
2940         accesor
2941         * iterators.[C]: adjust
2942
2943 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2944
2945         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2946         replaced
2947         * paragraph_funcs.C (readParToken): put the correct id in the
2948         error item, not the id of the top paragraph
2949
2950 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2951
2952         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2953         * bufferview_funcs.C (put_selection_at): use the above
2954
2955 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2956
2957         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2958
2959 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2960
2961         * output_linuxdoc.h:
2962         * output_plaintext.h:
2963         * output.h:
2964         * output_docbook.h: add #include statements
2965
2966 2003-11-05  José Matos  <jamatos@lyx.org>
2967
2968         * output_docbook.[Ch]:
2969         * output_latex.[Ch]:
2970         * output_linuxdoc.[Ch]:
2971         * output_plaintext.[Ch]: New files for output formats.
2972         * output.[Ch]: New file for helper functions.
2973
2974         * buffer.[Ch]:
2975         * paragraph_funcs.[Ch]: output functions moved to new files.
2976
2977         * outputparams.h: rename of latexrunparams.h
2978
2979         * LaTeX.[Ch]:
2980         * buffer.[Ch]:
2981         * bufferlist.[Ch]:
2982         * converter.[Ch]:
2983         * exporter.C:
2984         * paragraph.[Ch]:
2985         * paragraph_funcs.[Ch]:
2986         * paragraph_pimpl.[Ch]:
2987         * tabular.[Ch]: rename ascii to plaintext
2988         and LatexRunParams to OutputParams.
2989
2990 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2991
2992         * iterators.[Ch] (text): require bv argument
2993         * undo.C (recordUndo):
2994         * lyxfunc.C (dispatch):
2995         * bufferview_funcs.C (put_selection_at): adjust
2996
2997 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2998
2999         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
3000
3001 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
3002
3003         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
3004         nestings
3005
3006 2003-11-04  André Pönitz  <poenitz@gmx.net>
3007
3008         * cursor.[Ch]: restructure
3009
3010         * BufferView.[Ch]:
3011         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
3012
3013         * iterators.[Ch] (asCursor): remove
3014
3015         * lfuns.h: remove LFUN_INSET_EDIT
3016
3017         * lyxfunc.C:
3018         * tabular.C:
3019         * text.C:
3020         * text2.C:
3021         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
3022
3023 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3024
3025         * lyxfind.[Ch]: complete overhaul
3026         * BufferView_pimpl.C:
3027         * lyxfunc.C: adjust
3028         * paragraph.[Ch] (insert): add
3029
3030 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3031
3032         * BufferView.[Ch]:
3033         * lyxtext.h:
3034         * text.C: remove dead spellcheck code
3035
3036 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3037
3038         * dispatchresult.h: add a val setter
3039
3040         * cursor.C (dispatch): use a tempvar for data_[i]
3041
3042 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3043
3044         * PosIterator.[Ch]: compile fix
3045
3046 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
3047
3048         * text.C (cursorPar): deactivate the cursor cache
3049
3050 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3051
3052         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
3053
3054 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3055
3056         * text3.C (dispatch): adjust for new DisptchResult semantics.
3057
3058         * lyxfunc.C (dispatch): handle update when return from
3059         Cursor::dispatch, adjust for new DispatchResult semantics.
3060
3061         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
3062         DispatchResult(true) mean to not update. Add class functions for
3063         setting dispatched and update, as well as reading.
3064
3065         * cursor.C (dispatch): don't handle update here
3066
3067 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3068
3069         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
3070         * trans_mgr.C: adjust
3071
3072         * paragraph_funcs.C (readParToken): exception safety
3073
3074         * lyxvc.h: store the vcs pointer in a scoped_ptr
3075         * lyxvc.C: adjust
3076
3077         * lyxsocket.C (serverCallback): exception safety
3078
3079         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3080
3081         * ispell.C (clone): make it return a auto_ptr
3082
3083         * factory.C (createInset): exception safety
3084         (readInset): exception safety
3085
3086         * bufferlist.C (newBuffer): exception safety
3087
3088         * Thesaurus.C (Thesaurus): use initialization for aik_
3089
3090         * MenuBackend.C (expandToc): exception safety.
3091
3092 2003-11-03  André Pönitz  <poenitz@gmx.net>
3093
3094         * buffer.C:
3095         * buffer.h:
3096         * bufferview_funcs.C: remove getInsetFromId()
3097
3098         * lyxcursor.[Ch]:
3099         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3100
3101         * lyxfunc.C:
3102         * text2.C:
3103         * text3.C: adjust
3104
3105 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3106
3107         * PosIterator.C (distance, advance): new
3108         * bufferview_funcs.[Ch] (put_selection_at): new
3109         * iterators.[Ch] (lockPath): new
3110
3111 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3112
3113         * iterators.[Ch] (asPosIterator): added
3114         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3115         * PosIterator.[Ch]: added
3116
3117 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3118
3119         * text3.C:
3120         * lyxfunc.C:
3121         * cursor.C (dispatch):
3122         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3123
3124         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3125         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3126         contructor, add a class function dispatched. Remove operator>=
3127
3128 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3129
3130         * debug.C: only use the default constructor for debugstream
3131         (lyxerr) here.
3132
3133         * main.C (main): include debug.h and setup the lyxerr streambuf
3134         here.
3135
3136 2003-10-31  José Matos  <jamatos@lyx.org>
3137
3138         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3139
3140         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3141         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3142         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3143         * paragraph_pimpl.C (simpleTeXSpecialC):
3144         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3145         add LatexRunParams argument.
3146
3147         * exporter.C (Export): change call accordingly.
3148
3149         * latexrunparams.h: add new member to take care of the other backends.
3150 2003-10-30  José Matos  <jamatos@lyx.org>
3151
3152         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3153         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3154         factorise code for paragraph output.
3155         * buffer.[Ch]:
3156         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3157         move functions.
3158
3159 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3160
3161         * text3.C (dispatch):
3162         * lyxfunc.C (dispatch):
3163         * cursor.C (dispatch):
3164         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3165
3166         * dispatchresult.h: make the dispatch_result_t ctor explicit
3167
3168 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3169
3170         * sgml.[Ch]:
3171         * buffer.C: small refactoring of docbook stuff
3172
3173 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3174
3175         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3176         meaning.
3177
3178 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3179
3180         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3181         operator dispatch_result_t, and operators for == != and >=
3182
3183         * cursor.C (dispatch): adjust for operator dispatch_result_t
3184         removal. comment out call to update
3185
3186         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3187
3188 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3189
3190         * text3.C:
3191         * text2.C:
3192         * text.C:
3193         * lyxtext.h:
3194         * lyxfunc.C:
3195         * cursor.C:
3196         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3197         (dispatch):
3198
3199         * dispatchresult.h: new file, DispatchResult broken out of
3200         insets/insetbase.h
3201
3202         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3203
3204 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3205
3206         * text.C (rowBreakPoint): put a hack inside #if 0
3207
3208 2003-10-28  André Pönitz  <poenitz@gmx.net>
3209
3210         * lyxtext.h:
3211         * metricsinfo.C:
3212         * paragraph_funcs.C:
3213         * rowpainter.C:
3214         * text.C:
3215         * text2.C: general cleanup (lots of small stuff)
3216
3217 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3218
3219         * text2.C (cursorEnd): simple fix to the "end key goes to one
3220         before the end on last row" bug
3221
3222 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3223
3224         * text.C (backspace): fix the "zombie characters"
3225
3226 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3227
3228         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3229
3230 2003-10-27  André Pönitz  <poenitz@gmx.net>
3231
3232         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3233
3234         * factory.C: handle new InsetPagebreak, InsetLine
3235
3236         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3237         and move handling into new InsetPagebreak, InsetLine
3238
3239         * BufferView_pimpl.C:
3240         * LyXAction.C:
3241         * ParagraphParameters.C:
3242         * ParameterStruct.h:
3243         * lyxfunc.C:
3244         * lyxtext.h:
3245         * paragraph.C:
3246         * paragraph.h:
3247         * paragraph_funcs.C:
3248         * paragraph_pimpl.C:
3249         * rowpainter.C:
3250         * text.C:
3251         * text2.C:
3252         * text3.C: adjust
3253
3254 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3255
3256         * text.C:
3257         * lyxrow_funcs.[Ch]:
3258         * Bidi.C:
3259         * paragraph.C:
3260         * lyxtext.h:
3261         * rowpainter.C:
3262         * text2.C:
3263         * text3.C: remove lastPos uses in favour of Row::endpos
3264
3265 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3266
3267         * undo.C (performUndoOrRedo): fix two crashes by setting a
3268         cursor by hand and reordering some calls. Use bv->lockInset instead
3269         of inset->edit because the latter loses cursor information
3270
3271 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3272
3273         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3274         by Martin
3275         (rowBreakPoint): fix width. change point to point + 1.
3276         Add a missing check.
3277
3278 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3279
3280         * MenuBackend.C:
3281         * lyxfunc.C: fix (at least partly) the problems
3282         with the Nav menu and headers inside branch insets
3283         reported by Kayvan
3284
3285 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3286
3287         * paragraph.C (getChar): add strong asserts
3288
3289         * lyxrow_funcs.C (lastPos): remove hideous hack
3290
3291         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3292         (fill): adjust to that (avoid an infinite loop)
3293
3294 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3295
3296         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3297
3298 2003-10-23  André Pönitz  <poenitz@gmx.net>
3299
3300         * RowList_fwd.h: change list<> to vector<> to gain speed
3301         after suggestion from Alfredo
3302
3303 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3304
3305         * lyxtext.h: move the bidi stuff from here...
3306         * text.C: and here
3307         * text2.C: and here
3308         * Bidi.[Ch]: ... to here
3309
3310 2003-10-23  André Pönitz  <poenitz@gmx.net>
3311
3312         * lyxtext.h:
3313         * text.C (isLastRow, isFirstRow): new functions
3314
3315         * paragraph.h: new width cache member
3316
3317         * rowpainter.C: replace RowList::iterator with Row & where possible
3318
3319         * lyxfunc.C: replace several view()->text with a single call
3320
3321         * toc.C: fix 'unused' warning
3322
3323 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3324
3325         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3326         when woring with stream::pos_type
3327         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3328
3329 2003-10-22  André Pönitz  <poenitz@gmx.net>
3330
3331         * lyxtext.h:
3332         * text.C: use Row & instead of RowList::iterator
3333
3334         * lyxrow.h: rename end() to endpos()
3335
3336         * rowpainter.C:
3337         * text.C:
3338         * text2.C: adjust
3339
3340 2003-10-22  Angus Leeming  <leeming@lyx.org>
3341
3342         * buffer.[Ch] (fully_loaded): new member function, returning true
3343         only when the file has been loaded fully.
3344         Used to prevent the premature generation of previews and by the
3345         citation inset to prevent computation of the natbib-style label.
3346
3347         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3348         templates are all set up.
3349
3350         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3351
3352 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3353
3354         * text.C: fixed an "oops" in the "is a bit silly"
3355         bug fix
3356
3357 2003-10-21  André Pönitz  <poenitz@gmx.net>
3358
3359         * FuncStatus.[Ch]: small stuff, whitespace
3360
3361         * lyxfont.[Ch]: operator<<() for debug reasons
3362
3363         * lyxfunc.C:
3364         * lyxrow_funcs.C:
3365         * lyxtext.h: whitespace, spelling
3366
3367         * paragraph.C: naming of variables
3368
3369         * text.C:
3370         * text2.C: small stuff
3371
3372
3373 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3374
3375         * text.C: (1) finish off the inset display() work;
3376         (2) fix the "is a bit silly" bug (accessing char
3377         past end of par).
3378
3379 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3380
3381         * text.C: re-introduce display() for insets, fixing the
3382         various bugs (stretch of line above, math inset
3383         positioning, ...)
3384
3385 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3386
3387         * text.C (rightMargin): remove spurious semicolon
3388
3389         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3390         1415)
3391
3392 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3393
3394         * text3.C: fix one crash due to wrong cursor def
3395
3396 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3397
3398         * vc-backend.C (scanMaster): make the regex static
3399
3400         * LaTeX.C (scanAuxFile): make the regexs static
3401
3402         * text3.C (doInsertInset, dispatch, dispatch):
3403         * text2.C (cursorUp, cursorDown):
3404         * text.C (selectNextWordToSpellcheck):
3405         * BufferView_pimpl.C (dispatch):
3406         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3407
3408 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3409
3410         * lyxsocket.C: include <cerrno>
3411
3412 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3413
3414         * lyxfunc.C (dispatch): remove textcache stuff
3415
3416         * bufferlist.C (release): remove textcache stuff
3417         (closeAll): ditto
3418
3419         * TextCache.C: delete file
3420         * TextCache.h: delete file
3421
3422         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3423
3424         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3425         delete of the bv_->text.
3426         (resizeCurrentBuffer): remove texcache stuff
3427         (workAreaResize): ditto
3428
3429 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3430
3431         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3432         action.
3433
3434 2003-10-16  André Pönitz  <poenitz@gmx.net>
3435
3436         * lyxrow.[Ch]:
3437         * paragraph.h:
3438         * rowpainter.C:
3439         * text.C:
3440         * text2.C:
3441         * text3.C: speed up by storing y positions per paragraph plus per-row
3442         offset instead of having a 'full' y position in the row.
3443
3444 2003-10-15  André Pönitz  <poenitz@gmx.net>
3445
3446         * iterators.[Ch]:
3447         * iterators.[Ch]:
3448         * undo.[Ch]: make undo aware of inner insets
3449
3450 2003-10-14  Angus Leeming  <leeming@lyx.org>
3451
3452         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3453         static member functions LyX::ref() and LyX::cref.
3454         (lastfiles): new accessor functions for the new lastfiles_ member var.
3455         (addLyXView, views_): add a new LyXView to the list of views_.
3456         (updateInset): loop over all LyXViews to call their own updateInset
3457         member function, returning a pointer to the Buffer owning the inset.
3458
3459         * BufferView_pimpl.C (loadLyXFile):
3460         * MenuBackend.C (expandLastfiles):
3461         * bufferlist.C (MenuWrite, QuitLyX):
3462         lastfiles is no longer a global variable.
3463         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3464
3465         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3466         static function. Access through LyX::cref().emergencyCleanup().
3467
3468 2003-10-14  André Pönitz  <poenitz@gmx.net>
3469
3470         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3471
3472         * undo.[Ch]: restoring part of 'undo in insets'
3473
3474         * Makefile.am:
3475         * undo_funcs.[Ch]: merge with undo.[Ch]
3476
3477         * tabular.C: small cleansing stuff
3478
3479 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3480
3481         * paragraph_funcs.C (readParToken): report unknown insets as error
3482         boxes. Use the outer paragraph as location (also for unknown
3483         tokens).
3484
3485         * factory.C (readInset): do not abort on reading an unknown inset.
3486         Eat it and return 0.
3487
3488 2003-10-13  Angus Leeming  <leeming@lyx.org>
3489
3490         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3491
3492         * lyxrc.C: displayTranslator is now a function,
3493         declared in GraphicsTypes.h.
3494
3495 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3496
3497         * format.C: new placeholder $$a to pass the socket address.
3498
3499         * bufferlist.[Ch]: new function getBufferFromTmp.
3500
3501         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3502           files in the temporary dir.
3503
3504 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3505
3506         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3507
3508         * Makefile.am: add lyxsocket.[Ch].
3509
3510         * lyx_main.C (error_handler): handle SIGPIPE.
3511
3512 2003-10-13  André Pönitz  <poenitz@gmx.net>
3513
3514         * BufferView_pimpl.C:
3515         * lyxtext.h:
3516         * text.C:
3517         * text2.C:
3518         * text3.C:
3519         * undo_funcs.[Ch]: use paroffset_type instead of
3520           ParagraphList::iterators to prevent multiple conversion
3521           (and get a more robust interface)
3522
3523 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3524
3525         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3526         * lyxtext.h: ditto
3527         * text3.C (dispatch): ditto
3528
3529 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3530
3531         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3532         move the onlyfile, use onlyfile instead of foundfile in a couple
3533         of places.
3534
3535         * DepTable.C (update): flush the error stream a bit more
3536
3537 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3538
3539         * lyxserver.C (callback): adjust
3540
3541         * lyxfunc.C (getStatus): add a missing brace in commented code
3542         (ensureBufferClean): reindent
3543         (dispatch): delete version taking a string
3544
3545 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3546
3547         * LaTeX.C (deplog): move found file handlig from here...
3548         (handleFoundFile): .. to new function here.
3549         (deplog): make sure to discover several files mentioned on the
3550         same log line.
3551
3552 2003-10-10  André Pönitz  <poenitz@gmx.net>
3553
3554         * lyxfunc.C:
3555         * lyxtext.h:
3556         * tabular.C:
3557         * text.C:
3558         * text2.C:
3559         * text3.C: fix some of the tabular crashes
3560
3561 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3562
3563         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3564
3565         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3566
3567 2003-10-09  André Pönitz  <poenitz@gmx.net>
3568
3569         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3570
3571         * BufferView.C:
3572         * BufferView_pimpl.C:
3573         * bufferview_funcs.C:
3574         * lyx_cb.C:
3575         * lyxcursor.C:
3576         * lyxfind.C:
3577         * lyxfunc.C:
3578         * lyxtext.h:
3579         * text.C:
3580         * text2.C:
3581         * text3.C:
3582         * text_funcs.[Ch]:
3583         * textcursor.[Ch]:
3584         * undo_funcs.C: adjust
3585
3586 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3587
3588         * text2.C (incrementItemDepth): new function, use a backtracking
3589         algorithm to discover the correct item depth.
3590         (resetEnumCounterIfNeeded): new function, use a backtracking
3591         algorithm to discover if counter reset is needed.
3592         (setCounter): use them. Simplify a bit. Add different labels for
3593         different item depths for itemize.
3594
3595         * paragraph.C (Paragraph): remove initialization of enumdepth
3596         (operator=): ditto
3597
3598         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3599         enumerate and itemize. Change the type of itemdepth to signed char.
3600
3601 2003-10-08  André Pönitz  <poenitz@gmx.net>
3602
3603         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3604           thing assignable.
3605         * text.C:
3606         * text2.C: adjust
3607
3608         * tabular.[Ch]: fix crash after 'row-insert'
3609
3610 2003-10-08  Angus Leeming  <leeming@lyx.org>
3611
3612         Fix doxygen warnings.
3613
3614         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3615         Remove CutAndPaste:: prefix from header file declaration.
3616
3617         * LColor.h (fill): remove LColor:: prefix from declaration.
3618
3619         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3620         use lyx::depth_type rather than Paragraph::depth_type so that
3621         header file and .C file match.
3622
3623         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3624
3625         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3626         * aspell.C: \file aspell_local.C -> \file aspell.C
3627         * gettext.C: \file gettext.C -> \file src/gettext.C
3628         * gettext.h: \file gettext.h -> \file src/gettext.h
3629         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3630         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3631         * text.C: \file text.C -> \file src/text.C
3632
3633         * toc.C: move comment so that doxygen is not confused.
3634
3635 2003-10-07  Angus Leeming  <leeming@lyx.org>
3636
3637         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3638
3639 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3640
3641         * aspell.C:
3642         * aspell_local.h: add forgotten std::string's.
3643
3644 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3645
3646         * LaTeXFeatures.C:
3647         * LyXAction.C:
3648         * factory.C:
3649         * lfuns.h:
3650         * lyxfunc.C:
3651         * text3.C: The Box patch. Fancybox support, minipage, parbox
3652
3653 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3654
3655         * CutAndPaste.h:
3656         * DepTable.h:
3657         * FloatList.h:
3658         * LaTeXFeatures.h:
3659         * ParagraphParameters.h:
3660         * TextCache.h:
3661         * Thesaurus.h:
3662         * bufferlist.h:
3663         * exporter.h:
3664         * importer.h:
3665         * lastfiles.h:
3666         * lyxfind.h:
3667         * lyxfont.h:
3668         * lyxlex.h:
3669         * lyxtextclasslist.h:
3670         * messages.h:
3671         * paragraph.h:
3672         * paragraph_pimpl.C:
3673         * textcursor.h: add <string> and other small fixes to make Lars'
3674         std::string patch compile with STLport.
3675
3676 2003-10-06  Angus Leeming  <leeming@lyx.org>
3677
3678         * LColor.h: Add missing #include <string>.
3679
3680 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3681
3682         * All most all file in all subdirs: Make <string> be the prefered
3683         way of getting to std::string, add using declarations.
3684
3685 2003-10-06  André Pönitz  <poenitz@gmx.net>
3686
3687         * metricsinfo.C: initialize LyXFont before changing attribute.
3688         (fixes the 'math in \emph is upright' bug)
3689
3690 2003-10-06  André Pönitz  <poenitz@gmx.net>
3691
3692         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3693
3694 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3695
3696         * graph.C:
3697         * paragraph_pimpl.C: Small fixes to build using STLport
3698
3699 2003-10-02  André Pönitz  <poenitz@gmx.net>
3700
3701         * lyxfunc.C:
3702         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3703
3704 2003-10-01  André Pönitz  <poenitz@gmx.net>
3705
3706         * factory.C: assert early
3707
3708 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3709
3710         * lyx_main.C: remove the global debug object
3711
3712         * debug.h: adjust for new debugstream
3713
3714         * debug.C: adjust for new debugstream and keep the global debug
3715         object here.
3716
3717 2003-09-22  Angus Leeming  <leeming@lyx.org>
3718
3719         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3720         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3721         an incomplete class LyXFont.
3722
3723 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3724
3725         * factory.C: bug fix in branches
3726
3727 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3728
3729         * lyxfunc.C (processKeySym): adjust
3730         (dispatch): adjust
3731         (dispatch): change arg name from ev to func, adjust
3732         (sendDispatchMessage): ditto
3733
3734         * lyx_main.C (defaultKeyBindings): adjust keybindings
3735         (deadKeyBindings): ditto
3736
3737         * kbsequence.C (addkey): return a FuncRequest
3738
3739         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3740
3741         * kbmap.C (bind): take a FuncRequest as arg, adjust
3742         (read): adjust
3743         (lookup): adjust
3744         (defkey): change to take a FuncRequest as arg, adjust
3745         (findbinding): take a FuncRequest as arg, adjust.
3746
3747         * funcrequest.h (operator=): added
3748
3749         * funcrequest.C (FuncRequest): default kb_action changed from
3750         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3751
3752         * buffer.C (dispatch): simplify
3753         (dispatch): adjust to take a FuncRequest as arg, adjust
3754
3755         * boost.C (assertion_failed): change assertion message slightly
3756
3757         * ToolbarBackend.C (read): simplify
3758
3759         * MenuBackend.C (binding): adjust call to findbinding, add a
3760         message if no binding is found.
3761         (read): simplify
3762         (expandToc): correct by adding a empty FuncRequest
3763
3764         * LyXAction.C: include <boost/assert.hpp>
3765         (isPseudoAction): delete function
3766         (LookupFunc): change name to...
3767         (lookupFunc): this. change return type to FuncRequest.
3768         (getActionName): take kb_action as arg, simplify
3769         (funcHasFlag): add an assert, simplify.
3770
3771 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3772
3773         * toc.C (action): return a FuncRequest, simplify
3774
3775         * lyxfunc.C (processKeySym): adjust
3776         (getStatus): delete version that takes an int.
3777         (getStatus): adjust
3778         (dispatch): delete version that takes action as int
3779         (dispatch): adjust
3780         (sendDispatchMessage): simplify and adjust
3781
3782         * funcrequest.C (getArg): take unsigned int as arg
3783
3784         * ToolbarBackend.C (read): adjust
3785         (add): delete version that takes func as a string.
3786         (getIton): take a FuncRequest as arg
3787
3788         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3789         action.
3790
3791         * MenuBackend.C (MenuItem): add a new construct that only takes a
3792         Kind, simplify the constructor use for submenus.
3793         (add): adjust
3794         (expandLastfiles): adjust
3795         (expandDocuments): adjust
3796         (expandFormats): adjust
3797         (expandFloatListInsert): adjust
3798         (expandFloatInsert): adjust
3799         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3800
3801         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3802         Remove class variables lyx_pseudo_map and lyx_arg_map
3803
3804         * LyXAction.C (searchActionArg): delete function
3805         (getPseudoAction): delete function
3806         (retrieveActionArg): delete function
3807         (LookupFunc): make it return kb_action, simplify.
3808         (getActionName): simplify
3809
3810         * factory.C (createInset): fix new bug
3811
3812 2003-09-19  Angus Leeming  <leeming@lyx.org>
3813
3814         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3815         masterFilename_ parameter in the include inset.
3816
3817         * factory.C (createInset): changes due to the changes to InsetInclude.
3818
3819 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3820
3821         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3822
3823 2003-09-18  Angus Leeming  <leeming@lyx.org>
3824
3825         * buffer.C:
3826         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3827         Inset::fillWithBibKeys.
3828         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3829
3830 2003-09-18  Angus Leeming  <leeming@lyx.org>
3831
3832         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3833         variables.
3834         (ctor): pass and store a 'Buffer const &'
3835         (buffer): new member function.
3836
3837         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3838         '*this' to the LaTeXFeatures ctor.
3839
3840 2003-09-18  Angus Leeming  <leeming@lyx.org>
3841
3842         * LColor.h:
3843         * lyxfont.C:
3844         * lyxfont.h:
3845         * lyxtext.h:
3846         * text.C: rename EnumLColor as LColor_color.
3847
3848 2003-09-18  Angus Leeming  <leeming@lyx.org>
3849
3850         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3851         remove #include "insets/insetbase.h" from cursor.h.
3852
3853 2003-09-18  Angus Leeming  <leeming@lyx.org>
3854
3855         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3856         InsetOld_code to remove #include "inset.h".
3857
3858         * iterators.C: add #include "insets/inset.h"
3859
3860 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3861
3862         * BufferView.C: remove more locking stuff that apparently doesn't
3863         do anything sensible.
3864
3865 2003-09-16  André Pönitz  <poenitz@gmx.net>
3866
3867         * paragraph.[Ch]:
3868         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3869           performance boost.
3870
3871 2003-09-16  Angus Leeming  <leeming@lyx.org>
3872
3873         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3874
3875         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3876         arg/return type.
3877
3878         * paragraph.h: remove #include "lyxfont.h". Forward declare
3879         LyXFont_size.
3880
3881 2003-09-16  Angus Leeming  <leeming@lyx.org>
3882
3883         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3884         of support/textutils.h.
3885         (isWord): move the contents of support/textutils.h's IsWordChar here.
3886
3887         * buffer.C:
3888         * lyxfind.C:
3889         * rowpainter.C:
3890         * text.C:
3891         * text2.C: add #include "paragraph.h".
3892
3893         * rowpainter.C:
3894         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3895
3896 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3897
3898         * main.C:
3899         * lyx_main.C:
3900         * lyx_cb.C:
3901         * buffer.C:
3902         * LaTeX.C: use namespace alias for lyx::support::os
3903
3904 2003-09-16  Angus Leeming  <leeming@lyx.org>
3905
3906         * bufferparams.C:
3907         * bufferview_funcs.C:
3908         * factory.C:
3909         * lyxfunc.C:
3910         * paragraph_pimpl.C:
3911         * rowpainter.C:
3912         * text.C: add #include "LColor.h".
3913
3914 2003-09-16  Angus Leeming  <leeming@lyx.org>
3915
3916         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3917         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3918         return LyXFont &.
3919         Store the FontBits::color variable as an int rather than as an
3920         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3921         file.
3922
3923         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3924         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3925         string calls together.
3926
3927         * lyxrc.C: add #include "LColor.h".
3928
3929 2003-09-15  Angus Leeming  <leeming@lyx.org>
3930
3931         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3932         a cow_ptr.
3933
3934 2003-09-15  Angus Leeming  <leeming@lyx.org>
3935
3936         * LColor.h: add an EnumLColor wrapper for LColor::color.
3937
3938         * lyxfont.[Ch] (color, setColor, realColor):
3939         * lyxtext.h, text.C (backgroundColor):
3940         pass EnumLColor args to/from the functions, rather than LColor::color
3941         ones.
3942
3943         * lyxfont.h:
3944         * lyxtext.h: forward declare EnumLColor.
3945
3946         * lyx_main.C: add #include "LColor.h".
3947
3948 2003-09-15  Angus Leeming  <leeming@lyx.org>
3949
3950         * .cvsignore: add lyx-gtk.
3951
3952 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3953
3954         * Chktex.C
3955         * LaTeX.C
3956         * LaTeXFeatures.C
3957         * ParagraphParameters.C
3958         * Spacing.C
3959         * buffer.C
3960         * bufferparams.C
3961         * bufferview_funcs.C
3962         * chset.C
3963         * counters.C
3964         * funcrequest.C
3965         * lyxfont.C
3966         * lyxgluelength.C
3967         * lyxlength.C
3968         * paragraph.C
3969         * paragraph_funcs.C
3970         * text3.C
3971         * vc-backend.C: remove usage of STRCONV
3972
3973 2003-09-15  Angus Leeming  <leeming@lyx.org>
3974
3975         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3976         explicitly define the color passed to the painter.
3977
3978 2003-09-15  Angus Leeming  <leeming@lyx.org>
3979
3980         * bufferparams.C (BufferParams): reorder member initializers to avoid
3981         compiler warning.
3982
3983 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3984
3985         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3986         * text.C (updateRowPositions): remove an unusual nop
3987
3988 2003-09-12  André Pönitz  <poenitz@gmx.net>
3989
3990         * BufferView_pimpl.C:
3991         * Bullet.C:
3992         * layout.h:
3993         * lyxfunc.C:
3994         * lyxlayout.[Ch]:
3995         * lyxtextclass.C:
3996         * rowpainter.C:
3997         * text.C:
3998         * text2.C:
3999         * Counters.[Ch]: finish the 'automatic counters' job
4000
4001 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4002
4003         * aspell.C: include <boost/assert.cpp> (compile fix)
4004
4005 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
4006
4007         * boost.C (assertion_failed): use lyx::support::abort instead of
4008         assert.
4009
4010 2003-09-10  Angus Leeming  <leeming@lyx.org>
4011
4012         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
4013         with their _fwd progeny.
4014
4015 2003-09-09  Angus Leeming  <leeming@lyx.org>
4016
4017         134 files throughtout the source tree: replace 'using namespace abc;'
4018         directives with the appropriate 'using abc::xyz;' declarations.
4019
4020 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
4021
4022         * boost.C (emergencyCleanup): moved here from LAssert.c
4023         (assertion_failed): new function, called by BOOST_ASSERT
4024
4025         * several files: change Assert to BOOST_ASSERT
4026
4027 2003-09-09  Angus Leeming  <leeming@lyx.org>
4028
4029         * buffer.[Ch]: Add an Impl class and move Buffer's member
4030         variables into it. As a result move several header files out of
4031         buffer.h.
4032
4033         Add header files to lots of .C files all over the tree as a result.
4034
4035 2003-09-09  Angus Leeming  <leeming@lyx.org>
4036
4037         * buffer.[Ch]: make Buffer's member variables private. Add
4038         accessor functions.
4039
4040         Lots of changes all over the tree as a result.
4041
4042 2003-09-08  Angus Leeming  <leeming@lyx.org>
4043
4044         * graph.C: #include <config.h>.
4045
4046 2003-09-08  Angus Leeming  <leeming@lyx.org>
4047
4048         * BranchList.C:
4049         * BufferView.C:
4050         * BufferView_pimpl.C:
4051         * CutAndPaste.C:
4052         * DepTable.C:
4053         * LaTeX.C:
4054         * LaTeXFeatures.C:
4055         * LyXAction.C:
4056         * MenuBackend.C:
4057         * TextCache.C:
4058         * aspell.C:
4059         * buffer.C:
4060         * bufferlist.C:
4061         * changes.C:
4062         * chset.C:
4063         * converter.C:
4064         * counters.C:
4065         * debug.C:
4066         * graph.C:
4067         * ispell.C:
4068         * lyx_cb.C:
4069         * lyxfind.C:
4070         * lyxfunc.C:
4071         * lyxlex_pimpl.C:
4072         * lyxrc.C:
4073         * lyxrow.C:
4074         * paragraph.C:
4075         * rowpainter.C:
4076         * texrow.C:
4077         * text.C:
4078         * text2.C:
4079         * toc.C: remove redundant using directives.
4080
4081 2003-09-07  Angus Leeming  <leeming@lyx.org>
4082
4083         * LaTeXFeatures.h: remove #include "support/types.h".
4084         * ToolbarBackend.h: remove #include <algorithm>.
4085         * changes.h: remove #include <ctime>.
4086         * debug.h: remove #include <iosfwd>.
4087         * graph.h: remove #include "support/std_string.h".
4088         * lyx_main.h: remove #include <csignal>.
4089         * lyxlex_pimpl.h: remove #include <fstream>.
4090         * sgml.h: remove #include <algorithm>, <utility>.
4091         * toc.h: remove #include "support/std_ostream.h".
4092         Add #include <iosfwd>.
4093
4094 2003-09-07  Angus Leeming  <leeming@lyx.org>
4095
4096         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4097
4098         * converter.h: forward declare LatexRunParams.
4099         * encoding.h: remove #include "lyxrc.h".
4100         * lyxtext.h: remove #include "LColor.h".
4101         * lyxtextclass.h: remove #include "support/types.h".
4102         * trans.h: remove #include "tex-accent.h".
4103         * trans_mgr.h: remove #include "tex-accent.h".
4104         * insets/inset.h: remove #include "support/types.h", <vector>.
4105         * insets/insetcollapsable.h: remove #include "LColor.h".
4106         * insets/insetinclude.h: remove #include "dimension.h".
4107         * insets/insetlatexaccent.h: remove #include "dimension.h".
4108         * insets/insetoptarg.h:: remove #include "insettext.h".
4109         * insets/insettext.h: remove #include "dimension.h",
4110         <boost/shared_ptr.hpp>
4111
4112         * insets/renderers.h: add #include "dimension.h".
4113         * insets/updatableinset.h: add #include "support/types.h".
4114
4115         * many .C files: Associated changes.
4116
4117 2003-09-06  Angus Leeming  <leeming@lyx.org>
4118
4119         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4120         one, inside testInvariant.
4121
4122         * PrinterParams.C: new file.
4123         * PrinterParams.[Ch]: move the function bodies out of line.
4124
4125 2003-09-06  Angus Leeming  <leeming@lyx.org>
4126
4127         * ParagraphParameters.h: forward declare ParameterStruct rather than
4128         including its header file.
4129         (depth): moved out-of-line.
4130
4131 2003-09-06  Angus Leeming  <leeming@lyx.org>
4132
4133         * BufferView_pimpl.h:
4134         * kbmap.h:
4135         * kbsequence.h:
4136         * lyxfunc.h: forward declare LyXKeySym rather than
4137         #include "frontends/LyXKeySym.h".
4138
4139         * BufferView_pimpl.C:
4140         * kbmap.C:
4141         * kbsequence.C:
4142         * lyxfunc.C: associated changes.
4143
4144 2003-09-06  Angus Leeming  <leeming@lyx.org>
4145
4146         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4147         As a result, can remove the #include "insets/inset.h" from BufferView.h
4148
4149 2003-09-06  Angus Leeming  <leeming@lyx.org>
4150
4151         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4152         As a result, can remove the #include "insets/inset.h" from BufferView.h
4153
4154 2003-09-06  Angus Leeming  <leeming@lyx.org>
4155
4156         * buffer_funcs.C:
4157         * buffer.h:
4158         * bufferlist.C:
4159         * BufferView.C:
4160         * bufferview_funcs.C:
4161         * BufferView_pimpl.C:
4162         * CutAndPaste.C:
4163         * lyx_cb.C:
4164         * lyxfunc.C:
4165         * paragraph.h:
4166         * ParagraphParameters.C:
4167         * tabular.C:
4168         * text3.C:
4169         * toc.C:
4170         * undo_funcs.C:
4171         * frontends/controllers/ControlDocument.C:
4172         * insets/insetcaption.C: rearrange the #includes into some sort of
4173         coherent order.
4174
4175         * buffer.h: remove #includes ErrorList.h, undo.h
4176
4177 2003-09-06  Angus Leeming  <leeming@lyx.org>
4178
4179         * support/types.h: add a 'depth_type' typedef, used to store the
4180         nesting depth of a paragraph.
4181
4182         * paragraph.h:
4183         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4184         defining explicitly.
4185
4186         * buffer.h:
4187         * paragraph_funcs.h:
4188         * ParagraphParameters.h:
4189         * sgml.h: use lyx::depth_type rather than Paragraph or
4190         ParameterStruct's depth_type.
4191
4192         * buffer.h
4193         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4194
4195         * BufferView.C:
4196         * BufferView_pimpl.C:
4197         * CutAndPaste.C:
4198         * ParagraphParameters.C:
4199         * buffer_funcs.C:
4200         * bufferlist.C:
4201         * bufferview_funcs.C:
4202         * lyx_cb.C:
4203         * lyxfunc.C:
4204         * tabular.C:
4205         * text3.C:
4206         * toc.C:
4207         * undo_funcs.C:
4208         * frontends/LyXView.C:
4209         * frontends/controllers/ControlDocument.C:
4210         * frontends/controllers/ControlErrorList.C:
4211         * insets/insetbibitem.C:
4212         * insets/insetbranch.C:
4213         * insets/insetcaption.C:
4214         * insets/insetcollapsable.C:
4215         * insets/insetenv.C:
4216         * insets/insetert.C:
4217         * insets/insetfloat.C:
4218         * insets/insetfoot.C:
4219         * insets/insetfootlike.C:
4220         * insets/insetnewline.C:
4221         * insets/insetquotes.C:
4222         * insets/insettabular.C:
4223         * insets/insettext.C:
4224         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4225
4226         * frontends/controllers/ControlChanges.C: #include "changes.h".
4227
4228 2003-09-06  Angus Leeming  <leeming@lyx.org>
4229
4230         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4231         than #including paragraph.h.
4232
4233         * ParagraphList.h:
4234         * RowList.h: deleted. Superfluous.
4235
4236         * CutAndPaste.h:
4237         * iterators.h:
4238         * lyxcursor.h:
4239         * lyxtext.h:
4240         * text_funcs.h:
4241         * undo.h:
4242         * undo_funcs.h:
4243         * insets/inset.h:
4244         * insets/insettext.h: use ParagraphList_fwd.h rather than
4245         ParagraphList.h.
4246
4247         * paragraph.h: don't forward declare ParagraphList.
4248
4249         * buffer.h:
4250         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4251         rather than ParagraphList.h. paragraph.h is still needed for the
4252         Paragraph::depth_type parameters.
4253
4254         * textcursor.h: enable it to compile stand-alone in light of the
4255         above changes.
4256
4257         * bufferview_funcs.C:
4258         * iterators.C:
4259         * lyxfunc.C:
4260         * lyxrow_funcs.C:
4261         * paragraph.C:
4262         * rowpainter.C:
4263         * text.C:
4264         * text2.C:
4265         * text3.C:
4266         * text_funcs.C:
4267         * textcursor.C:
4268         * undo.C:
4269         * frontends/controllers/ControlParagraph.C:
4270         * frontends/controllers/ControlTabular.C:
4271         * insets/insetmarginal.C:
4272         * insets/insetminipage.C:
4273         * insets/insetnote.C:
4274         * insets/insetoptarg.C: add header files needed to compile again.
4275
4276 2003-09-06  Angus Leeming  <leeming@lyx.org>
4277
4278         * RowList_fwd.h: new file, forward-declaring Row rather than
4279         #including lyxrow.h.
4280
4281         * lyxrow_funcs.h:
4282         * lyxtext.h:
4283         * paragraph.h:
4284         * insets/insettext.h: use it instead of RowList.h
4285
4286         * bufferview_funcs.C:
4287         * lyxfunc.C:
4288         * lyxrow_funcs.C:
4289         * paragraph.C:
4290         * rowpainter.C:
4291         * text.C:
4292         * text2.C:
4293         * text3.C: #include "RowList.h".
4294
4295 2003-09-05  Angus Leeming  <leeming@lyx.org>
4296
4297         * factory.C (createInset):
4298         * vspace.C (c-tor): replace sscanf call with an istringstream.
4299         * ispell.C: re-add missing HP/UX headers.
4300         * lyxserver.C: re-add missing  os2 headers.
4301
4302 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4303
4304         * BranchList.C:
4305         * graph.C:
4306         * ispell.C:
4307         * lastfiles.C:
4308         * lyx_cb.C:
4309         * lyxserver.C:
4310         * texrow.C:
4311         * text3.C: re-add missing system headers, needed for 2.95.2.
4312
4313 2003-09-05  Angus Leeming  <leeming@lyx.org>
4314
4315         Changes most place everywhere due to the removal of using directives
4316         from support/std_sstream.h.
4317
4318 2003-09-05  Angus Leeming  <leeming@lyx.org>
4319
4320         Replace LString.h with support/std_string.h,
4321         Lsstream.h with support/std_sstream.h,
4322         support/LIstream.h with support/std_istream.h,
4323         support/LOstream.h with support/std_ostream.h.
4324
4325         Changes resulting throughout the tree.
4326
4327 2003-09-05  Angus Leeming  <leeming@lyx.org>
4328
4329         * sgml.h: ensure that the header file can be compiled stand-alone.
4330         * *.C: strip out redundant #includes. (320 in total.)
4331
4332 2003-09-04  Angus Leeming  <leeming@lyx.org>
4333
4334         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4335         here (from getPackages).
4336
4337         * debug.[Ch]: add a new EXTERNAL tag.
4338
4339 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4340
4341         * text2.C (cursorEnd): simplify
4342         (setCursor): adjust
4343         (getColumnNearX): adjust
4344
4345         * text.C (computeBidiTables): adjust
4346         (fill): adjust
4347
4348         * rowpainter.C (paintChars): adjust
4349         (paintSelection): adjust
4350         (paintChangeBar): adjust
4351         (paintText): adjust
4352
4353         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4354         lastPos instead.
4355         (numberOfSeparators): adjust
4356
4357 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4358
4359         * LyXAction.C:
4360         * box.[Ch]:
4361         * lfuns.h:
4362         * lyxfunc.C:
4363         * text3.C: Restricts the mouse click functionality
4364         of insets like bibtex, include, toc and floatlist to the visible
4365         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4366         up the dialogs. Cursor has to be in front of the inset (i.e.
4367         start of row) for this to function.
4368
4369 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4370
4371         * bufferview_funcs.C (currentState): output row information
4372
4373 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4374
4375         * bufferview_funcs.C (currentState): output paragraph position
4376
4377 2003-09-04  Angus Leeming  <leeming@lyx.org>
4378
4379         * FloatList.h: move out #include "Floating.h".
4380         * LaTeX.h: move out #include "DepTable.h".
4381         * LyXAction.h: move out #include "funcrequest.h".
4382         * buffer.h: move out #include "author.h", "iterators.h".
4383         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4384         * lyx_main.h: move out #include "errorlist.h".
4385         * lyxfunc.h: move out #include "FuncStatus.h".
4386         * lyxtext: move out #include "lyxcursor.h".
4387         * paragraph_pimpl.h: move out #include "counters.h".
4388
4389 2003-09-03  Angus Leeming  <leeming@lyx.org>
4390
4391         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4392         preamble_snippets list, enabling us to add snippets to the preamble
4393         only if the snippet was not there already.
4394
4395 2003-09-04  Angus Leeming  <leeming@lyx.org>
4396
4397         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4398
4399 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4400
4401         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4402         update
4403
4404 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4405
4406         * BranchList.C: point fix, earlier forgotten
4407
4408 2003-09-02  Angus Leeming  <leeming@lyx.org>
4409
4410         * box.C (contains): renamed from 'contained' after a fantastic
4411         amount of hot air.
4412
4413 2003-09-02  John Levon  <levon@movementarian.org>
4414
4415         * BufferView.C:
4416         * lyxcursor.h:
4417         * lyxcursor.C:
4418         * lyxfunc.C:
4419         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4420
4421 2003-09-02  John Levon  <levon@movementarian.org>
4422
4423         * text2.C: simplification of cursorEnd(), including partial
4424         fix for bug 1376
4425
4426 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4427
4428         * buffer.C (readFile): add a space
4429
4430 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4431
4432         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4433
4434 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4435
4436         * buffer.C (readFile): new function, take a filename and a
4437         ParagraphList::iterator
4438         (readFile): adjust
4439         (readFile): adjust, make it private. don't use setStream, make
4440         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4441         always contain the filename.
4442
4443         * BufferView.C (insertLyXFile): simplify and make it work for
4444         gzipped files.
4445
4446 2003-08-30  John Levon  <levon@movementarian.org>
4447
4448         * Makefile.am: fix dist (from Kayvan)
4449
4450 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4451
4452         * most files: change to use const Buffer refs
4453
4454 2003-08-27  André Pönitz  <poenitz@gmx.net>
4455
4456         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4457         on top of ownerPar().
4458
4459 2003-08-27  John Levon  <levon@movementarian.org>
4460
4461         * funcrequest.C: properly initialise POD members
4462
4463 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4464
4465         * lyxtext.h (top_y): move top_y from here
4466         * text.C:
4467         * text2.C:
4468         * text3.C:
4469         * BufferView.[Ch]:
4470         * BufferView_pimpl.[Ch]: to here
4471         * frontends/screen.C:
4472         * insets/insettabular.C:
4473         * insets/insettext.C: adjust
4474         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4475
4476 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4477
4478         * BufferView.[Ch]:
4479         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4480
4481 2003-08-26  André Pönitz  <poenitz@gmx.net>
4482
4483         * paragraph_func.[Ch] (outerPar): new function
4484
4485         * paragraph.C:
4486         * paragraph_funcs.C:
4487         * paragraph_funcs.h:
4488         * paragraph_pimpl.C:
4489         * text2.C: remove Inset::par_owner
4490
4491 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4492
4493         * lyxrow_funcs.C:
4494         * lyxtext.h:
4495         * text.C:
4496         * text2.C: eliminates the needFullRow/display() stuff
4497         altogether, putting the logic in metrics/draw in the insets.
4498
4499 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4500
4501         * text2.C (redoParagraphInternal, redoParagraphs):
4502         * text.C (redoParagraph): add a call to updateRowPositions at the
4503         end of each 'metrics-like' call. Remove all others.
4504         (getRow): remove the 'y-computing' version.
4505         (getRowNearY): do not compute nor return the real y. Solve the
4506         'y < 0' problem and simplify.
4507
4508 2003-08-22  Angus Leeming  <leeming@lyx.org>
4509
4510         * *.[Ch]: clean-up of licence and author blurbs.
4511         Also move config.h out of a few .h files and into a few .C files.
4512
4513 2003-08-22  André Pönitz  <poenitz@gmx.net>
4514
4515         * lyxrow.[Ch]: add x_ and *fill_ members
4516
4517         * lyxtext.h:
4518         * text.C:
4519         * rowpainter.C:
4520         * text2.C: adjust/remove prepareToPrint() calls
4521
4522 2003-08-22  André Pönitz  <poenitz@gmx.net>
4523
4524         * lyxrow.[Ch]: add  end_ member
4525
4526         * lyxrow_funcs.C: use LyXRow::end_
4527
4528         * lyxtext.h (singleWidth): add LyXFont parameter
4529
4530         * rowpainter.C:
4531         * text2.C: adjust LyXText::singleWidth() calls
4532
4533         * text.C (redoParagraph): simplify row breaking logic
4534
4535
4536 2003-08-19  André Pönitz  <poenitz@gmx.net>
4537
4538         * funcrequest.C: initialize button_ member
4539
4540         * text3.C:
4541         * rowpainter.[Ch]: interface consolidation
4542
4543 2003-08-18  André Pönitz  <poenitz@gmx.net>
4544
4545         * BufferView.C:
4546         * BufferView_pimpl.C:
4547         * lyxfind.C:
4548         * paragraph_funcs.C:
4549         * rowpainter.C:
4550         * text3.C: remove LyXScreen::draw() and fitCursor calls
4551
4552         * BranchList.h: remove spurious semicolons
4553
4554         * MenuBackend.C: fix branchlist related crash
4555
4556 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4557
4558         * BranchList.[Ch]:
4559         * InsetList.[Ch]:
4560         * LColor.[Ch]:
4561         * LyXAction.C:
4562         * Makefile.am:
4563         * MenuBackend.[Ch]:
4564         * bufferparams.[Ch]:
4565         * factory.C:
4566         * lfuns.h:
4567         * lyxfunc.C:
4568         * text3.C: implements the 'branch inset'
4569         idea. This allows the output of various versions of a document
4570         from a single source version, selectively outputing or suppressing
4571         output of parts of the text.
4572         This implementation contains a 'branch list editor' in a separate
4573         tab of the document settings dialog. Branches are user definable
4574         and have a "display colour" to distinguish them on-screen.
4575
4576         ColorHandler was somewhat cleaned up.
4577         (1) make possible a dynamically growing LColor list by allowing
4578         the graphic context cache to grow along (vector);
4579         (2) eliminate an IMHO unnecessary step in colour allocation.
4580
4581 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4582
4583         * BufferView_pimpl.C: compile fix
4584
4585 2003-08-15  André Pönitz  <poenitz@gmx.net>
4586
4587         * rowpainter.C: remove extra metrics calls
4588
4589         * lyxtext.h: merge the two constructors into a single one,
4590           pass reference to owner's par list
4591
4592         * BufferView_pimpl.C:
4593         * text.C:
4594         * text2.C: adjust
4595
4596 2003-08-15  André Pönitz  <poenitz@gmx.net>
4597
4598         * lyxrow_funcs.[Ch]:
4599         * lyxtext.h:
4600         * paragraph.h:
4601         * paragraph_funcs.C:
4602         * rowpainter.C:
4603         * text.C:
4604         * text2.C:
4605         * text3.C:
4606         * text_funcs.C: split LyXText::rowlist_ into individual
4607         Paragraph::rows_ chunks
4608
4609         * BufferView.[Ch]:
4610         * BufferView_pimpl.[Ch]:
4611         * lyxfind.C:
4612         * lyxtext.h:
4613         * text3.C: remove toggleSelection()
4614
4615 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4616
4617         * bufferlist.C: beautify two alerts (shorter text of buttons)
4618         * buffer.C: Remove redundant ' ' from message
4619         * tabular.h:
4620         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4621         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4622         rename VALIGN_CENTER to VALIGN_MIDDLE
4623
4624 2003-08-11  André Pönitz  <poenitz@gmx.net>
4625
4626         * lyxtext.h (getPar):
4627         * text.C: new function
4628
4629 2003-08-11  André Pönitz  <poenitz@gmx.net>
4630
4631         * Makefile.am:
4632         * tracer.[Ch]: remove unneeded files
4633
4634         * InsetList.[Ch]: remove resizeInsetsLyXText()
4635
4636         * lyxtext.h:
4637         * text.C:
4638         * text2.C:
4639         * text3.C: merge insertParagraphs() and appendParagraph()
4640         remove breakAgain(), update()
4641
4642         * BufferView_pimpl.[Ch]:
4643         * bufferview_funcs.[Ch]:
4644         * lyxfunc.C:
4645         * paragraph.[Ch]:
4646         * rowpainter.C:
4647         * tabular.C: adjust after text & InsetList changes.
4648
4649 2003-08-08  André Pönitz  <poenitz@gmx.net>
4650
4651         * text.C (insertChar, backspace): replace rowlist fiddling
4652         with rebreak of full par
4653
4654         * lyxtext.h:
4655         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4656         checkParagraph, updateInset): removed
4657
4658 2003-08-07  André Pönitz  <poenitz@gmx.net>
4659
4660         * paragraph.C:
4661         * text3.C: merge some LFUN handlers, remove dead code
4662
4663 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4664
4665         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4666
4667 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4668
4669         * text2.C (DEPM): fix part of bug 1255 and 1256
4670
4671 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4672
4673         * BufferView_pimpl.C (workAreaDispatch): change to use
4674         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4675         that are no mouse related.
4676
4677 2003-08-05  André Pönitz  <poenitz@gmx.net>
4678
4679         * BufferView.[Ch]:
4680         * BufferView_pimpl.[Ch]:
4681         * bufferview_funcs.C:
4682         * text2.C:
4683         * text3.C: rip out "deep update"
4684
4685         * textcursor.[Ch] (last_sel_cursor): remove unused member
4686
4687 2003-08-04  André Pönitz  <poenitz@gmx.net>
4688
4689         * BufferView.[Ch]:
4690         * BufferView_pimpl.[Ch]:
4691         * ParagraphParameters.C:
4692         * bufferview_funcs.C:
4693         * lyx_cb.C:
4694         * lyxfind.C:
4695         * lyxfunc.C:
4696         * text.C:
4697         * text2.C:
4698         * text3.C: replace "complicated" BufferView::update(...) calls with
4699         simpler ones.
4700
4701         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4702
4703 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4704
4705         * Makefile.am (lyx_SOURCES): add paper.h
4706
4707 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4708
4709         * Makefile.am: move things around so that both lyx-qt and
4710         lyx-xforms can be built (according to --with-frontend). Then lyx
4711         is a symbolic link to lyx-[firstfrontend]
4712
4713 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4714
4715         * Always use std::endl with lyxerr
4716
4717 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4718
4719         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4720
4721 2003-08-01  André Pönitz  <poenitz@gmx.net>
4722
4723         * BufferView.[Ch]:
4724         * BufferView_pimpl.[Ch]:
4725         * lyxfunc.C:
4726         * text3.C: merge BufferView::repaint() and BufferView::update()
4727
4728 2003-08-01  José Matos  <jamatos@lyx.org>
4729
4730         * buffer.[Ch]: file_format is no longer a buffer data element.
4731
4732 2003-08-01  André Pönitz  <poenitz@gmx.net>
4733
4734         * BufferView.C:
4735         * lyxtext.h:
4736         * text.C:
4737         * text2.C: make redoParagraph more independent of current cursor
4738
4739         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4740         * text.C:
4741         * text2.C: remove unneeded members
4742
4743 2003-07-30  André Pönitz  <poenitz@gmx.net>
4744
4745         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4746
4747         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4748           create a single function...
4749
4750         * paragraph_funcs.C (moveItem): ... here.
4751
4752         * text.C:
4753           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4754
4755 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4756
4757         * LColor.[Ch]: Add comment and greyedout logical colors.
4758
4759 2003-07-30  André Pönitz  <poenitz@gmx.net>
4760
4761         * tabular.C: don't use Assert too heavily. This crashes where it
4762           shouldn't
4763
4764 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4765
4766         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4767         is disabled (bug 1232)
4768
4769 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4770
4771         * factory.C: limited 'arg' scope
4772
4773 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4774
4775         * factory.C: fixed Note submenu issues
4776
4777 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4778
4779         * factory.C: submenu for Note/Comment/Greyedout
4780
4781 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4782
4783         * lyx_main.C (LyX):
4784         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4785
4786 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4787
4788         * LaTeXFeatures.C:
4789         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4790         greyedout. Patch provided by Jürgen Spitzmüller.
4791
4792 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4793
4794         * kbmap.C (read): fix error message when reading bind files
4795
4796 2003-07-29  Angus Leeming  <leeming@lyx.org>
4797
4798         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4799         certainly does not do what it purports to do. I am doing it, and
4800         us, a favour by killing it.
4801
4802 2003-07-28  José Matos  <jamatos@lyx.org>
4803
4804         * buffer.C (readBody, do_writeFile):
4805         * paragraph.C(readParagraph): \end_document replaces \the_end.
4806
4807 2003-07-29  André Pönitz  <poenitz@gmx.net>
4808
4809         * BufferView.[Ch]:
4810         * BufferView_pimpl.[Ch]:
4811         * lyxfunc.C:
4812         * text2.C:
4813         * text3.C:
4814         * textcursor.[Ch]: remove toggleToggle & Co
4815
4816 2003-07-28  José Matos  <jamatos@fep.up.pt>
4817
4818         * buffer.C (readParagraph):
4819         * params_func (readParToken, readParagraph):
4820         * paragraph.C (write): \layout -> \begin_layout.
4821
4822 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4823
4824         * lyxlex_pimpl.C (setFile): clean up slightly.
4825
4826         * bufferparams.h: add compressed var
4827
4828         * buffer_funcs.C (readFile): adjust for LyXLex change
4829         (newFile): ditto + simplify
4830
4831         * buffer.C (writeFile): handle writing of compressed files
4832
4833         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4834         Check if the file is compressed and set a bufferparm if so.
4835
4836         * Makefile.am (lyx_LDADD): remove explicit -lz
4837
4838 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4839
4840         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4841         makeDocBookFile): put the real LyX version in the first line of
4842         the file
4843
4844         * version.h:
4845         * version.C.in: remove lyx_docversion
4846
4847         * tabular.C (write_attribute): add a template-based version to
4848         write enums properly
4849
4850 2003-07-28  André Pönitz  <poenitz@gmx.net>
4851
4852         * lyxtext.h:
4853         * text.C:
4854         * text2.C:
4855         * text3.C: use doubles again for x-coordinates. They are needed.
4856
4857 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4858
4859         * messages.C (getLocaleDir): use lyx_localedir()
4860
4861         * lyxlex_pimpl.C (setFile): compress stuff
4862
4863         * buffer.C (writeFile): add some compression stuff
4864         (do_writeFile): new func, dont call expliti close... will this
4865         breake anything?
4866
4867         * Makefile.am (lyx_LDADD): add -lz
4868
4869 2003-07-28  José Matos  <jamatos@fep.up.pt>
4870
4871         * buffer.C: increment file format.
4872         * paragraph_funcs (readParagraph, readParToken):
4873         * paragraph.C (readParagraph): add \end_layout.
4874
4875 2003-07-27  Angus Leeming  <leeming@lyx.org>
4876
4877         * Makefile.am: remove special casing for configure-time setting of
4878         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4879
4880         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4881         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4882
4883 2003-07-26  André Pönitz  <poenitz@gmx.net>
4884
4885         * paragraph_func.[Ch]:
4886         * paragraph.C (realizeFont): inline it whereever it is used
4887
4888         * rowpainter.C:
4889         * text.C:
4890         * text2.C:
4891         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4892
4893
4894 2003-07-26  André Pönitz  <poenitz@gmx.net>
4895
4896         *       lyxtext.h:
4897         * text.C:
4898         * text2.C: get rid of LyXText::need_break_row
4899
4900 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4901
4902         * toc.[Ch]: put namespace toc inside namespace lyx
4903
4904         * MenuBackend.C (expandToc2): adjust for lyx::toc
4905         (expandToc): ditto
4906
4907         * lyxfunc.C (dispatch): adjust for lyx::find
4908
4909         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4910         lyx::find instead. Reorganize a bit.
4911         (LyXReplace): rename to replace
4912         (LyXFind): rename to find
4913
4914         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4915         (dispatch): ditto
4916
4917 2003-07-26  André Pönitz  <poenitz@gmx.net>
4918
4919         * text.C (setHeightOfRow): restrict scope of temporary variable
4920
4921         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4922           code (never has been used?)
4923
4924 2003-07-27  Asger Alstrup  <alstrup@local>
4925
4926         * text.C (fill): Optimise algorithm to exploit that we can reuse
4927         the LyXFont for many characters.
4928         (setHeightOfRow): Same thing.
4929         (rowBreakPoint): Same thing.
4930
4931 2003-07-26  Asger Alstrup  <alstrup@local>
4932
4933         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4934
4935         * text.C (singleWidth): Spurious font copying in hot-spot
4936         singleWidth avoided. Reorder tests for arabic for efficiency.
4937
4938         * text.C (fill): handle empty paragraphs better.
4939
4940 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4941
4942         * ispell.C:
4943         * encoding.h: add includes
4944
4945         * lyxrc.C: remove reading of bind files
4946
4947         * lyx_main.C (init): setup bindings and menus only if we have a
4948         gui.
4949
4950         * kbmap.C (read): new method. Do the actual reading of bind
4951         files.
4952
4953         * converter.C (dvipdfm_options):
4954         * bufferparams.C:
4955         * lyxrc.C (read):
4956         (output): adapt PAPER_* enums.
4957
4958         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4959
4960         * bufferparams.h: remove paper-related enums from there
4961
4962         * paper.h: New file. A trivial header file to hold paper-related
4963         enums. It should later expand to contain many paper-related
4964         horrors access.
4965
4966         * lyxrc.C: declare extern displayTranslator
4967
4968 2003-07-27  José Matos  <jamatos@fep.up.pt>
4969
4970         * tabular.[Ch] (linuxdoc): add support for tables and figures
4971         (linuxdoc).
4972
4973 2003-07-27  José Matos  <jamatos@fep.up.pt>
4974
4975         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4976         consistency in both functions.
4977         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4978
4979 2003-07-26  Asger Alstrup  <alstrup@local>
4980
4981         * rowpainter.C (paintRows): Change algorithm to work directly on
4982         the insets rather than asking every character in the document
4983         whether its an inset.
4984
4985 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4986
4987         * buffer.C (openFileWrite): factorize some code
4988
4989 2003-07-26  Angus Leeming  <leeming@lyx.org>
4990
4991         * lyx_cb.C:
4992         * lyx_main.[Ch]: replace occurances of system_tempdir with
4993         os::getTmpDir().
4994
4995 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4996
4997         * rename Inset to InsetOld
4998
4999 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
5000
5001         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
5002         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
5003         which I think is a bit clearer. EDIT is gone, since it was
5004         premature optimisation, and broken for mathed anyway.
5005         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
5006         with cursor positioning in insets as well (math insets still do not
5007         work, but that's a different story anyway.) It mysteriously
5008         crashes sometimes with undo in the first paragraph, but I'm fairly
5009         confident that this is a compiler bug.
5010
5011 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5012
5013         * paragraph.C (Paragraph): adjust for new clone return type
5014         (operator==): ditto
5015         (copyIntoMinibuffer): ditto
5016
5017 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
5018
5019         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
5020         by not having a special case, and always doing a full rebreak of
5021         the document after undo.
5022
5023 2003-07-23  Angus Leeming  <leeming@lyx.org>
5024
5025         * factory.C (createInset): InsetExternal::setParams now takes a
5026         Buffer const * arg.
5027
5028 2003-07-23  Angus Leeming  <leeming@lyx.org>
5029
5030         * factory.C (createInset): changed interface to the external and
5031         graphics mailers' string2params functions.
5032
5033 2003-07-23  Angus Leeming  <leeming@lyx.org>
5034
5035         * factory.C (createInset): pass a
5036         Buffer const * parameter to InsetExternalMailer's string2params.
5037
5038 2003-07-22  John Levon  <levon@movementarian.org>
5039
5040         * Thesaurus.h: include the right aiksaurus header
5041
5042 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5043
5044         * MenuBackend.C (expand): check menu shortcuts unconditionally
5045
5046 2003-07-21  Angus Leeming  <leeming@lyx.org>
5047
5048         * factory.C (createInset): pass a
5049         buffer_path parameter to InsetGraphicsMailer's string2params.
5050
5051 2003-07-21  Angus Leeming  <leeming@lyx.org>
5052
5053         * BufferView_pimpl.C (buffer):
5054         * buffer.C (d-tor):
5055         * lyx_main.C (LyX):
5056         * lyxfunc.C (dispatch):
5057         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
5058         rather than the grfx shortcut.
5059
5060 2003-07-21  André Pönitz  <poenitz@gmx.net>
5061
5062         * rowpainter.C: remove unused variables
5063
5064         * tabular_funcs.C:
5065         * tabular_funcs.h: move to tabular.C
5066         * Makefile.am: adjust
5067
5068         * tabular.[Ch]: basic optical cleaning
5069
5070         * author.h: pass references, not values
5071
5072 2003-07-18  André Pönitz  <poenitz@gmx.net>
5073
5074         * lyxtext.h:
5075         * metricsinfo.C:
5076         * metricsinfo.h:
5077         * rowpainter.C:
5078         * text.C:
5079         * text2.C:
5080         * text3.C: two-phase drawing for InsetText and InsetTabular
5081         some float -> int changes.
5082
5083 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5084
5085         * lyx_main.C: fix the fix
5086
5087 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
5088
5089         * lyx_main.C: fix a crash in batch mode if no files specified
5090         * converter.C: ws
5091
5092 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
5093
5094         * format.[Ch] (papersize): moved to BufferParams
5095         * converter.[Ch] (dvips_options): moved to BufferParams
5096         (dvipdfm_options): moved to anon namespace
5097         * bufferparams.[Ch]: added above functions.
5098
5099 2003-07-17  André Pönitz  <poenitz@gmx.net>
5100
5101         * lyxtext.h:
5102         * rowpainter.C:
5103         * text2.C: don't call inset->update() anymore
5104
5105         * metricsinfo.[Ch]: add convenience constructor
5106
5107 2003-07-16  André Pönitz  <poenitz@gmx.net>
5108
5109         * lyxcursor.[Ch]:
5110         * lyxfunc.[Ch]:
5111         * text.C:
5112         * text2.C: replace the LyXCursor::irow_ member with
5113          on-demand computation of the value
5114
5115 2003-07-16  John Levon  <levon@movementarian.org>
5116
5117         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5118
5119 2003-07-15  André Pönitz  <poenitz@gmx.net>
5120
5121         * text.C:
5122         * text2.C: remove no more needed refresh_row
5123
5124 2003-07-15  André Pönitz  <poenitz@gmx.net>
5125
5126         * lyxtext.h:
5127         * rowpainter.C:
5128         * text2.C:
5129         * text3.C: refresh_status tristate -> need_update bool
5130
5131 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5132
5133         * lyxtext.h (init): remove reinit argument (act as if always true)
5134         * text2.C: adjust to that
5135
5136 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5137
5138         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5139         * text3.C: use it to delete selections in some cases
5140         (bugs 441, 673, 702, 954).
5141
5142 2003-07-14  André Pönitz  <poenitz@gmx.net>
5143
5144         * rowpainter.[Ch]: reduce interface
5145
5146 2003-07-14  André Pönitz  <poenitz@gmx.net>
5147
5148         * BufferView_pimpl.C:
5149         * text2.C: adjust after removing unused BufferView * argument
5150
5151 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5152
5153         * text2.C (init): fix a crash fired on resize
5154
5155 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5156
5157         * buffer.[Ch]: added new closing signal
5158         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5159         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5160         BufferView::Pimpl via the closing the signal
5161
5162 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5163
5164         * buffer.[Ch]: take out all bv-related from buffer
5165         * BufferView.C:
5166         * BufferView_pimpl.[Ch]: connect to new signals
5167         * CutAndPaste.C: removed useless asserts
5168         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5169         * lyxvc.[Ch]:
5170         * vc-backend.[Ch]:
5171         * lyxfunc.C: moved view-related funciontality from vc here
5172         * paragraph.C: removed outdated comments
5173         * text.C: ws
5174
5175 2003-07-10  André Pönitz  <poenitz@gmx.net>
5176
5177         * BufferView_pimpl.C:
5178         * tabular.h:
5179         * tabular_funcs.C:
5180         * text.C:
5181         * text2.C: remove InsetText::InnerCache, clean up consequences
5182
5183 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5184
5185         * ispell.C: fix two typos in error messages
5186
5187 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5188
5189         * Extend Note inset to other forms of annotation like Comment
5190         and Greyedout. Right button click gives dialog.
5191
5192         Files modified or added (+):
5193
5194         * insetnote.[Ch]
5195         * FormNote.[Ch]      +
5196         * ControlNote.[Ch]   +
5197         * form_note.fd       +
5198         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5199         frontends/controllers
5200         * xforms/Dialogs.C
5201         * factory.C
5202
5203 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5204
5205         * aspell.C: add missing namespace lyx::support
5206
5207 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5208
5209         * BufferView.[Ch] (newFile): Add
5210         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5211         * LaTeX.[Ch] (message): added this signal and use it
5212         * buffer.[Ch] (busy, message): added these signals and use them
5213         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5214         * converter.C:
5215         * exporter.C:
5216         * format.C:
5217         * importer.C: use buffer signals instead of direct bv calling
5218         * lyx_cb.[Ch] (ShowMessage): removed
5219         * lyx_main.C:
5220         * lyxfunc.C:
5221         * paragraph_funcs.C:
5222         * text2.C: use buffer signals
5223
5224 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5225
5226         * introduce namespace lyx::graphics
5227
5228 2003-07-02  André Pönitz  <poenitz@gmx.net>
5229
5230         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5231
5232 2003-07-01  André Pönitz  <poenitz@gmx.net>
5233
5234         * text.C:
5235         * text2.C:
5236         * text3.C:
5237         * text_funcs.[Ch]:
5238         * textcursor.h:
5239         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5240           text*.C to text_func.C
5241
5242 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5243
5244         * introduce namespace lyx::support
5245
5246 2003-06-30  André Pönitz  <poenitz@gmx.net>
5247
5248         * Chktex.C:
5249         * funcrequest.C:
5250         * lyxtext.h:
5251         * text.C: re-enable --with-included-string
5252
5253 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5254
5255         * textcursor.C: add <config.h>
5256
5257         * text.C (getWord): remove const from word_location arg
5258
5259         * lyxvc.C (getLogFile): fix const type order
5260
5261         * lyxtext.h: remove const from word_location arg, add arg name
5262
5263         * lyxlayout.h: currect type on labeltype.
5264
5265         * importer.C: correct \file
5266
5267         * converter.C (intToFormat): use std:: on ret val, ws changes
5268
5269         * bufferlist.h: correct \file
5270
5271         * buffer.C (makeLinuxDocFile): fix const type order
5272         (makeDocBookFile): ditto
5273         (fillWithBibKeys): use std:: on stdlib args.
5274
5275         * CutAndPaste.C: fix authors.
5276         (availableSelections): use std:: on return vector
5277
5278 2003-06-27  André Pönitz  <poenitz@gmx.net>
5279
5280         * BufferView_pimpl.C:
5281         * bufferview_funcs.C:
5282         * lyxcursor.C:
5283         * lyxcursor.h:
5284         * lyxfunc.C:
5285         * lyxtext.h:
5286         * rowpainter.C:
5287         * text.C:
5288         * text2.C:
5289         * text3.C: remove LyXCursor::row_ member
5290
5291         * lyxtext.h:
5292         * text.C: rename fullRebreak() to partialRebreak() and implement
5293           a fullRebreak() that really bereks fully
5294
5295         * textcursor.h: new struct for cursor-related data
5296
5297 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5298
5299         * lyx_main.C (LyX): get full path of document loaded on the
5300         command line
5301
5302 2003-06-26  André Pönitz  <poenitz@gmx.net>
5303
5304         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5305           remove unused/broken operator>,<,>=.
5306
5307         *       text.C: remove only use of broken operator<= in an Assert().
5308
5309 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5310
5311         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5312         moved errorlist_.clear to showErrorList
5313
5314 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5315
5316         * converter.C (scanLog, runLaTeX):
5317         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5318         move the bv->showErrorList call to the callers
5319         * lyxfunc.C: i.e. here...
5320         * text2.C: and here
5321         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5322         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5323         namespace, the second to...
5324         * buffer_funcs (BufferFormat, parseErrors): added
5325         * errorlist.C (ErrorList(TeXErrors const &)): removed
5326
5327 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5328
5329         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5330
5331 2003-06-24  "Garst R. Reese" <reese@isn.net>
5332
5333         * debug.C: fix typo
5334
5335 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5336
5337         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5338
5339         * version.C.in: change docversion to 1.4
5340
5341 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5342
5343         * buffer.C: fix a bug just introduced
5344
5345 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5346
5347         * buffer.[Ch]: added the parseError signal and use it, removed
5348         sgmlError
5349         * BufferView.[Ch] (addError): moved to ...
5350         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5351         to the Buffer::parseError signal to catch (guess what) parse errors
5352         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5353
5354 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5355
5356         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5357         ability to create a buffer and to return an existing one from
5358         the list. Moved these functions to...
5359         * buffer_funcs.[Ch]: added
5360         * BufferView.[Ch] (loadLyXFile): added
5361         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5362         job removed from bufferlist::loadLyXFile.
5363         * buffer.C (setReadOnly): make it work without view
5364         (i.e added an if (users))
5365
5366 2003-06-19  Angus Leeming  <leeming@lyx.org>
5367
5368         * lfuns.h:
5369         * LyXAction.C (init):
5370         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5371         with LFUN_DIALOG_SHOW <name> <data>.
5372
5373 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5374
5375         * CutAndPaste.C (availableSelections): small compilation fix for
5376         ancient (gcc 2.9x) compilers
5377
5378 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5379
5380         * text3.C (cursorNext): add tmp var
5381
5382         * text2.C (updateCounters): for function calling out of for clause
5383         (replaceSelectionWithString): ditto
5384         (insertStringAsParagraphs): ditto
5385         (getColumnNearX): add tmp var
5386         (setCursorFromCoordinates): add tmp var
5387         (cursorDownParagraph): add tmp var
5388         (deleteEmptyParagraphMechanism): add tmp var
5389
5390         * text.C (insertChar): add tmp var
5391
5392         * rowpainter.C (paintDepthBar): add tmp var
5393
5394         * CutAndPaste.C (availableSelections): potentially check all
5395         paragraphs in a cut to fill the shown strings.
5396
5397 2003-06-18  André Pönitz  <poenitz@gmx.net>
5398
5399         * kbmap.[Ch]: use vector<> instead of list<>
5400
5401 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5402
5403         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5404         pasteSelection with index
5405
5406         * text2.C (pasteSelection): modify, call pasteSelection with index
5407
5408         * paragraph.C (asString): reimplement version with no interval to
5409         call the one with interval.
5410
5411         * lyxtext.h: add index arg to pasteSelection
5412
5413         * MenuBackend.C (MenuItem): handle PasteRecent
5414         (Menu::read::Menutags): add md_pasterecent
5415         (read): handle it
5416         (expandPasteRecent): new function
5417         (expand): use it
5418
5419         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5420
5421         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5422         the limited stack
5423         (availableSelections): new function
5424
5425 2003-06-17  Angus Leeming  <leeming@lyx.org>
5426
5427         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5428
5429 2003-06-17  Angus Leeming  <leeming@lyx.org>
5430
5431         * lfuns.h:
5432         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5433
5434         * lyxfunc.C (dispatch): invoke it.
5435
5436 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5437
5438         * iterators.C (operator++, ParPosition): reintroduce some
5439         const_cast for the benefit of older compilers.
5440
5441 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5442
5443         * text3.C (dispatch): do not modify clipboard when doing
5444         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5445         LFUN_DELETE_SKIP on a selection selection
5446
5447 2003-06-16  André Pönitz  <poenitz@gmx.net>
5448
5449         * BufferView.C:
5450         * buffer.C:
5451         * buffer.h:
5452         * paragraph.C:
5453         * tabular.[Ch]: IU of clone() and getLabelList();
5454
5455 2003-06-13  André Pönitz  <poenitz@gmx.net>
5456
5457         * tabular.h: compactification
5458
5459 2003-06-12  André Pönitz  <poenitz@gmx.net>
5460
5461         * tabular.C:
5462         * tabular.h:
5463         * tabular_funcs.h: some renaming plus whitespace
5464
5465 2003-06-12  André Pönitz  <poenitz@gmx.net>
5466
5467         * BufferView.C:
5468         * BufferView_pimpl.C:
5469         * CutAndPaste.C:
5470         * buffer.C:
5471         * iterators.[Ch]:
5472         * lyxfunc.C:
5473         * text.C:
5474         * toc.C: Return a Paragraph & for ParIterator::operator*()
5475
5476 2003-06-11  John Levon  <levon@movementarian.org>
5477
5478         * lyx_main.C:
5479         * ToolbarBackend.h:
5480         * ToolbarBackend.C: add "Toolbars" section and
5481         put the flags there
5482
5483 2003-06-10  Angus Leeming  <leeming@lyx.org>
5484
5485         * lfuns.h:
5486         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5487
5488         * lyxfunc.C (dispatch): invoke it.
5489
5490 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5491
5492         * main.C: protect <ios> with HAVE_IOS
5493         (main): protect sync_with_stdio with HAVE_IOS
5494
5495 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5496
5497         * text2.C (cutSelection): adjust
5498         (pasteSelection): adjust
5499
5500         * messages.C: handle get of empty string
5501
5502         * main.C (main): use sync_with_stdio(false)
5503
5504         * lyxfunc.C (dispatch): adjust
5505
5506         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5507         (WriteAs): remove unneeded BufferView arg.
5508
5509         * bufferparams.h: use correct types on papersize, papersize2 and
5510         paperpackage.
5511
5512         * bufferparams.C (readToken): adjust for type
5513         (writeLaTeX): add missing cases to switch.
5514
5515         * bufferlist.C (quitWriteBuffer): adjust
5516         (close): adjust
5517
5518         * buffer.C (asciiParagraph): remove some commented code.
5519
5520         * CutAndPaste.C: remove current_view extern variable.
5521         (cutSelection): add BufferParams arg.
5522         (eraseSelection): add BufferParams arg.
5523         (pasteSelection): add Buffer const & arg
5524
5525 2003-06-07  John Levon  <levon@movementarian.org>
5526
5527         * buffer.C:
5528         * paragraph_funcs.C:
5529         * paragraph_pimpl.C:
5530         * text.C:
5531         * text2.C:
5532         * paragraph.h:
5533         * paragraph.C: allow InsetERT to freely space lines,
5534         and some consolidation of code
5535
5536 2003-06-06  José Matos  <jamatos@fep.up.pt>
5537
5538         * buffer.C (makeDocBookFile): fix bug #821
5539
5540 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5541
5542         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5543
5544 2003-06-04  Angus Leeming  <leeming@lyx.org>
5545
5546         * buffer.C: bump format to 224.
5547
5548 2003-06-05  André Pönitz  <poenitz@gmx.net>
5549
5550         * text2.C (redoParagraphs): remove two const_cast<>
5551
5552 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5553
5554         * ParagraphList.h: remove last remnants of NO_STD_LIST
5555
5556 2003-06-03  Angus Leeming  <leeming@lyx.org>
5557
5558         * factory.C (createInset): small change to the way InsetExternal's params
5559         are set.
5560
5561 2003-06-04  André Pönitz  <poenitz@gmx.net>
5562
5563         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5564
5565         * paragraph_pimpl.h:
5566         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5567
5568         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5569
5570         * undo_funcs.C: make some simple cases of undo work again
5571
5572 2003-06-03  John Levon  <levon@movementarian.org>
5573
5574         * ispell.C: HPUX doesn't have sys/select.h
5575         (from Albert Chin)
5576
5577 2003-06-03  John Levon  <levon@movementarian.org>
5578
5579         * CutAndPaste.C: update tabular and include inset
5580         buffer references
5581
5582         * buffer.h:
5583         * paragraph.h:
5584         * paragraph.C: remove owningBuffer(), don't pass Buffer
5585         to clone()
5586
5587         * factory.C: insetGraphicsParams changed
5588
5589 2003-06-02  John Levon  <levon@movementarian.org>
5590
5591         * LyXAction.C:
5592         * factory.C:
5593         * lfuns.h:
5594         * lyxfunc.C:
5595         * text3.C: remove insetparent
5596
5597 2003-06-02  John Levon  <levon@movementarian.org>
5598
5599         * buffer.h:
5600         * buffer.C: fix inset_iterator.end(), move out of line
5601         (bug 1149)
5602
5603 2003-06-01  John Levon  <levon@movementarian.org>
5604
5605         * text3.C: use a proper cut/paste when doing inset
5606         insert (from Jürgen Spitzmüller)
5607
5608 2003-06-01  John Levon  <levon@movementarian.org>
5609
5610         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5611
5612 2003-05-30  André Pönitz  <poenitz@gmx.net>
5613
5614         * rowpainter.C: unify second drawing phase
5615
5616 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5617
5618         * trans_mgr.C: remove one case of current_view
5619
5620         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5621
5622         * paragraph_funcs.h: remove paragraph.h include
5623
5624         * paragraph.h: delete NO_STD_LIST stuff
5625
5626         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5627
5628         * buffer.h: remove paragraph.h include
5629
5630         * ParagraphList.C: delete file
5631
5632         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5633
5634         * toc.C (getTocList): adjust
5635
5636         * paragraph_pimpl.C (validate): adjust
5637
5638         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5639
5640         * paragraph.C (Paragraph): adjust
5641         (getPositionOfInset): use const_iterator, adjust
5642         (bibitem): use const_iterator, adjust
5643         (setInsetOwner): adjust
5644
5645         * iterators.C (operator++): adjust
5646
5647         * InsetList.[Ch]: Replace selfmade iterator with standard
5648         vector::iterator also introduce const_iterator. Remove getPos,
5649         getInset and setInset from InsetTable. Adjust accordingly.
5650
5651         * BufferView.C (lockInset): adjust
5652         (ChangeInsets): adjust
5653
5654         * tabular.[Ch]: delete commented same_id functions
5655
5656 2003-05-28  John Levon  <levon@movementarian.org>
5657
5658         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5659
5660 2003-05-28  André Pönitz  <poenitz@gmx.net>
5661
5662         * metricsinfo.[Ch]: remove 'fullredraw' member
5663
5664 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5665
5666         * lyxtextclass.C (operator): remove caching.
5667
5668 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5669
5670         * text3.C: adjust
5671
5672         * text2.C (cursorBottom): adjust
5673         (setCounter): use ParagraphList::find, adjust
5674
5675         * text.C (workWidth): use ParagraphList::find, adjust
5676
5677         * lyxcursor.C (LyXCursor): adjust
5678
5679         * buffer.C (inset_iterator): adjust
5680
5681         * ParagraphList.h: make iterator(value_type) private, make
5682         ParagraphList a friend of iterator.
5683
5684         * ParagraphList.C (find): new function
5685
5686         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5687
5688 2003-05-27  André Pönitz  <poenitz@gmx.net>
5689
5690         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5691
5692 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5693
5694         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5695
5696 2003-05-26  John Levon  <levon@movementarian.org>
5697
5698         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5699
5700 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5701
5702         * remove same_id from function signatures, adjust.
5703
5704 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5707
5708         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5709
5710         * paragraph.C (Paragraph): get rid of same_ids parameter
5711
5712         * ParagraphList.C (insert): adjust
5713         (push_back): adjust
5714
5715 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5716
5717         * paragraph_funcs.C (breakParagraph): adjust
5718         (breakParagraphConservative): adjust
5719
5720         * buffer.C (readParagraph): adjust
5721
5722         * ParagraphList.C (insert): take a reference instead of a pointer
5723         (insert): adjust
5724
5725         * paragraph.[Ch] (id): new function
5726
5727         * bufferlist.C (newFile): adjust
5728
5729         * ParagraphList.C (ParagraphList): adjust
5730         (assign): adjust
5731         (push_back): take a reference instead of a pointer.
5732
5733         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5734
5735         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5736         instead.
5737
5738         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5739         set else use old code.
5740
5741         * ParagraphList.C: remove all NO_NEXT code and only compile this
5742         code of NO_STD_LIST is set.
5743
5744 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5745
5746         * BufferView_pimpl.C:
5747         * TextCache.C:
5748         * TextCache.h:
5749         * bufferlist.C:
5750         * errorlist.h:
5751         * format.C:
5752         * format.h:
5753         * graph.C:
5754         * lyxfunc.C:
5755         * lyxrc.C:
5756         * graphics/GraphicsConverter.C:
5757         * graphics/PreviewLoader.C: header adjustment
5758
5759 2003-05-23  Angus Leeming  <leeming@lyx.org>
5760
5761         * LaTeXFeatures.[Ch] (useBabel): new method.
5762         * bufferparams.C (writeLaTeX): use it.
5763
5764 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5765
5766         * ParagraphList.h (set): remove unused function.
5767
5768 2003-05-23  André Pönitz  <poenitz@gmx.net>
5769
5770         * BufferView.C:
5771         * BufferView_pimpl.C:
5772         * buffer.C:
5773         * buffer.h:
5774         * lyxfunc.C:
5775         * undo_funcs.C: setUndo reworked
5776
5777         * iterators.[Ch]: add access to topmost ParagraphList
5778
5779         * lyxtext.[Ch] (workWidth): add a const
5780
5781 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5782
5783         * texrow.[Ch] (increasePos): remove function
5784         * exporter.C (export): removed unused var and outdated comment
5785
5786 2003-05-23  Angus Leeming  <leeming@lyx.org>
5787
5788         * latexrunparams.h: rename fragile as moving_arg.
5789         * paragraph.C (simpleTeXOnePar): ditto.
5790         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5791
5792 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5793
5794         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5795         (createUndo): ditto
5796         (textUndoOrRedo): comment out a currently unused var.
5797
5798         * paragraph.h (NO_NEXT): enable NO_NEXT
5799
5800         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5801
5802         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5803
5804         * exporter.C (Export): adjust for removeAutoInsets removal.
5805
5806         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5807
5808         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5809
5810         * BufferView.[Ch] (removeAutoInsets): delete function
5811
5812 2003-05-22  Angus Leeming  <leeming@lyx.org>
5813
5814         * latexrunparams.h: add a free_spacing variable.
5815
5816         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5817         to pass moving_arg, as the data is stored in runparams.fragile.
5818
5819         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5820         to Inset::latexOptional or to simpleTeXOnePar.
5821
5822         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5823         free_spacing arg to Inset::latexOptional.
5824
5825         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5826         free_spacing arg.
5827
5828 2003-05-22  Angus Leeming  <leeming@lyx.org>
5829
5830         * latexrunparams.h: add fragile and use_babel variables.
5831
5832         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5833         * buffer.C (makeLaTeXFile): store this returned value in
5834         runparams.use_babel, thus passing it to the inset::latex methods.
5835
5836         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5837         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5838
5839         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5840         longer has a fragile arg, as it is stored in runparams.fragile.
5841
5842         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5843         moving_arg parameter as the data is stored in runparams.fragile.
5844
5845         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5846         a fragile parameter as the data is stored in runparams.fragile.
5847
5848 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5849
5850         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5851
5852 2003-05-22  Angus Leeming  <leeming@lyx.org>
5853
5854         * latexrunparams.h: add a 'bool nice' which defaults to false.
5855
5856         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5857         now encapsulated within runparams.
5858
5859         * bufferlist.C (updateIncludedTeXfiles):
5860         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5861
5862 2003-05-22  Angus Leeming  <leeming@lyx.org>
5863
5864         * latexrunparams.h: new file containing struct LatexRunParams.
5865         * Makefile.am: add new file.
5866
5867         * LaTeX.[Ch] (c-tor, run):
5868         * buffer.[Ch] (makeLaTeXFile):
5869         * bufferlist.[Ch] (updateIncludedTeXfiles):
5870         * converter.C (convert, scanLog):
5871         * converter.[Ch] (runLaTeX):
5872         * exporter.C (Export):
5873         * paragraph.[Ch] (simpleTeXOnePar):
5874         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5875         * paragraph_funcs.[Ch] (latexParagraphs):
5876         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5877         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5878         pass around a LatexRunParams parameter.
5879
5880 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5881
5882         * paragraph.[Ch]: remove unused constructor
5883
5884         * ParagraphList.C (erase): new function, taking two iterators
5885
5886 2003-05-22  André Pönitz  <poenitz@gmx.net>
5887
5888         * undo_funcs.C: remove duplicated code
5889
5890         * iterator.[Ch]: operator=
5891
5892 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5893
5894         * tabular.C (SetMultiColumn): ws changes
5895
5896         * rowpainter.C (paintFirst): get rid of a ->previous
5897
5898         * lyx_cb.C (getPossibleLabel): parlist simplification
5899
5900         * BufferView.C (ChangeInsets): simplify slightly.
5901
5902 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5903
5904         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5905         * lfuns.h: new LFUN_SPACE
5906         * lyxfunc.C: protected space has a new lfun
5907         * paragraph_funcs.C: read new space insets
5908         * text3.C:
5909         * factory.C: handle new space insets
5910
5911 2003-05-22  André Pönitz  <poenitz@gmx.net>
5912
5913         * BufferView.C:
5914         * BufferView_pimpl.C:
5915         * buffer.[Ch]:
5916         * lyxfunc.C:
5917         * undo_funcs.C: return a ParIterator from getParFromID.
5918
5919         * iterators.[Ch]: add two const's
5920
5921 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5922
5923         * toc.C (getTocList): adjust
5924
5925         * iterators.[Ch]: rework for parlist
5926
5927         * buffer.C (par_iterator_begin): adjust
5928         (par_iterator_end): adjust
5929
5930         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5931
5932         * BufferView.C (removeAutoInsets): adjust
5933         (ChangeInsets): adjust
5934
5935 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5936
5937         * text.C (top_y): fix bug 1110
5938
5939 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5940
5941         * errorlist.[Ch]: added
5942         * buffer.C:
5943         * BufferView.[Ch]:
5944         * BufferView_pimpl.C:
5945         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5946         instead
5947
5948 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5949
5950         * Makefile.am: ensure that lyx is relinked upon changes to the
5951         various "convenience" libs.
5952
5953 2003-05-20  Angus Leeming  <leeming@lyx.org>
5954
5955         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5956         files are compiled in alphabetical order again.
5957
5958         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5959
5960 2003-05-19  Angus Leeming  <leeming@lyx.org>
5961
5962         * gettext.[Ch]: remove "char const * _(char const *)".
5963
5964 2003-05-19  André Pönitz  <poenitz@gmx.net>
5965
5966         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5967
5968         * Makefile.am:
5969         * BufferView.C:
5970         * DepTable.h:
5971         * LaTeXFeatures.C:
5972         * buffer.C:
5973         * lyxfont.C:
5974         * lyxlex.h:
5975         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5976
5977 2003-05-19  André Pönitz  <poenitz@gmx.net>
5978
5979         * buffer.C:
5980         * lyxlayout.[Ch]:
5981         * lyxtextclass.[Ch]:
5982         * paragraph.C:
5983         * paragraph_funcs.[Ch]:
5984         * text2.C:
5985         * text3.C: more insetenv work
5986
5987 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5988
5989         * ParagraphParameters.C (params2string): small bug fixed
5990
5991 2003-05-16  André Pönitz  <poenitz@gmx.net>
5992
5993         * debug.C:
5994         * bufferview_funcs.C: patch from Kornel Benko to prevent
5995           crash when _(...) is called twice in a statement
5996
5997 2003-05-16  André Pönitz  <poenitz@gmx.net>
5998
5999         * BufferView.C:
6000         * lyxfunc.C:
6001         * text.C:
6002         * text2.C:
6003         * text3.C:
6004         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
6005
6006 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
6007
6008         * lyx_main.C (init): remove spurious static_cast
6009
6010 2003-05-14  André Pönitz  <poenitz@gmx.net>
6011
6012         * BufferView.C: fix format string
6013
6014 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
6015
6016         * BufferView.[Ch] (insertErrors): removed
6017         * BufferView.[Ch] (showErrorList): added
6018         * buffer.C (runChkTeX):
6019         * converter.C (scanLog): call showErrorList instead of inserterrors
6020
6021 2003-05-13  André Pönitz  <poenitz@gmx.net>
6022
6023         * BufferView_pimpl.C:
6024         * buffer.C:
6025         * bufferview_func.C:
6026         * MenuBackend.C:
6027         * lyxfunc.C:
6028         * lyxrc.C:
6029         * tex-accent.C:
6030         * text3.C:
6031         * toc.C:
6032         * tabular_funcs.h: tostr() from its own header
6033
6034         * ParagraphParameters.C:
6035         * ToolbarBackend.C:
6036         * bufferparams.C:
6037         * format.C:
6038         * lyxlex_pimpl.C:
6039         * text3.C: STRCONV()
6040
6041 2003-05-12  André Pönitz  <poenitz@gmx.net>
6042
6043         * BufferView.C:
6044         * BufferView_pimpl.C:
6045         * CutAndPaste.C:
6046         * LaTeX.C:
6047         * LaTeXFeatures.C:
6048         * ParagraphParameters.C:
6049         * buffer.C:
6050         * bufferlist.C:
6051         * bufferparams.C:
6052         * bufferview_funcs.C:
6053         * converter.C:
6054         * counters.C:
6055         * debug.C:
6056         * exporter.C:
6057         * format.C:
6058         * importer.C:
6059         * lyx_cb.C:
6060         * lyx_main.C:
6061         * lyxfont.C:
6062         * lyxfunc.C:
6063         * lyxvc.C:
6064         * paragraph.C:
6065         * paragraph_funcs.C:
6066         * tabular.C:
6067         * tabular_funcs.C:
6068         * text2.C:
6069         * text3.C:  boost::format -> bformat  all over the place
6070
6071
6072 2003-05-09  André Pönitz  <poenitz@gmx.net>
6073
6074         * LColor.[Ch]: Pimpl the #include <map> away
6075
6076 2003-05-09  John Levon  <levon@movementarian.org>
6077
6078         * bufferlist.C: never remove emergency saves
6079
6080 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
6081
6082         * Makefile.am: better lib building
6083
6084 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
6085
6086         * texrow.[Ch]: remove dependency on Paragraph and just store a id
6087         instead.
6088         * paragraph_pimpl.C (simpleTeXBlanks): adjust
6089         (simpleTeXSpecialChars): adjust
6090         (simpleTeXSpecialChars): adjust
6091         * paragraph.C (simpleTeXOnePar): adjust
6092         * buffer.C (makeLaTeXFile): adjust
6093
6094         * Makefile.am (BOOST_LIBS): allow boost as system lib.
6095
6096         * text2.C (changeDepth): parlist cleanup
6097         (getColumnNearX): ditto
6098
6099         * rowpainter.C (getLabelFont): parlist cleanup
6100
6101         * bufferlist.C (newFile): parlist cleanup
6102
6103         * CutAndPaste.C (eraseSelection): parlist cleanup
6104
6105         * BufferView_pimpl.C (trackChanges): parlist cleanup
6106         (dispatch): ditto
6107
6108         * BufferView.C (lockInset): parlist cleanup.
6109         (ChangeInsets): ditto
6110
6111 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6112
6113         * CutAndPaste.h: Update file header.
6114
6115         * CutAndPaste.C: Update file header.
6116         Store the parts cut out of the Document in a limited_stack.
6117         (copySelection): adjust
6118         (pasteSelection): new function, takes the index in the limited stack.
6119         (nrOfParagraphs): adjust
6120         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6121         simplify error inset insertion.
6122         (checkPastePossible): adjust
6123
6124 2003-05-06  John Levon  <levon@movementarian.org>
6125
6126         * text2.C: don't cast wrap inset to float
6127
6128 2003-05-05  André Pönitz  <poenitz@gmx.net>
6129
6130         * iterator.C:
6131         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6132
6133         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6134           few naked Paragraph *.
6135
6136 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6137
6138         * bufferparams.C: Output warning if a document with missing
6139         TeX document class is loaded
6140         * exporter.C: Disable TeX exports if the document class is missing
6141         * lyxtextclass.C:
6142         * lyxtextclass.h:
6143         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6144         isTeXClassAvailable()
6145
6146 2003-05-03  John Levon  <levon@movementarian.org>
6147
6148         * BufferView.h:
6149         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6150         explicit cursor show/hide
6151
6152         * BufferView_pimpl.h:
6153         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6154         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6155
6156         * lyxfunc.C: hide cursor before dispatching.
6157
6158         * lyx_cb.C:
6159         * lyxfind.C:
6160         * text.C:
6161         * text3.C: remove explicit cursor hides
6162
6163 2003-05-02  André Pönitz  <poenitz@gmx.net>
6164
6165         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6166
6167         * undo_funcs.C:
6168         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6169           linked lists
6170
6171         * text2.C: tiny whitespace
6172
6173 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6174
6175         * undo_funcs.C: almost only ws changes.
6176
6177         * ParagraphList.C (splice): just return if pl is empty.
6178
6179 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6180
6181         * ParagraphList.C (splice): new function.
6182
6183         * CutAndPaste.C (pasteSelection): use it
6184
6185 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6186
6187         * CutAndPaste.C (pasteSelection): remove the last next and
6188         previous from this file.
6189
6190 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6191
6192         * CutAndPaste.C (pasteSelection): more clean up, user proper
6193         ParagraphList functions for pasteing.
6194
6195         * ParagraphList.C (insert): new function, three arg insert
6196
6197 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6198
6199         * ParagraphList.C (insert): new function, three arg insert
6200
6201         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6202         not on paragraphs.
6203
6204 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6205
6206         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6207
6208 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6209
6210         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6211
6212 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6213
6214         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6215         (copySelection): clean up a bit.
6216         (pasteSelection): use make_pair
6217
6218         * ParagraphList.C (ParagraphList): implement copy constructor
6219         (operator=): implement, base on copy constructor.
6220         (assign): new func
6221
6222         * paragraph.C (erase): return a bool
6223
6224         * paragraph_pimpl.C (erasePos): remove function, move contents...
6225         (erase): ... here. Return a bool.
6226         (erase): call erase instead of erasePos.
6227
6228 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6229
6230         * ParagraphList.h: define PitPosPair
6231         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6232         ParagraphList, fix a bug on pasting multiple pars
6233         * text2.C: change interface to C&P
6234
6235 2003-04-30  André Pönitz  <poenitz@gmx.net>
6236
6237         * undo_func.C: revert part of yesterday's patch 2
6238
6239 2003-04-30  John Levon  <levon@movementarian.org>
6240
6241         * LColor.C: s/tabular/table/
6242
6243 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6244
6245         * text3.C (dispatch): do not convert iterator -> pointer
6246         * undo_funcs.C (setCursorParUndo): ditto
6247         * text_funcs.C (transposeChars): ditto
6248
6249         * text2.C (setLayout): ws changes only
6250
6251         * text.C (breakParagraph): do not convert iterator -> pointer
6252         (insertChar): ditto
6253         (acceptChange): ditto
6254         (rejectChange): ditto
6255         (changeCase): ditto
6256         (Delete): ditto
6257         (backspace): ditto
6258
6259         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6260         pointer
6261
6262 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6263
6264         * text3.C (gotoInset): YABG (yet another bad getChar)
6265
6266 2003-04-29  André Pönitz  <poenitz@gmx.net>
6267
6268         * paragraph.h: make operator= private unimplemented as long as
6269           it is unusable
6270
6271         * ParagraphList.C: whitespace
6272
6273         * paragraph.[Ch]:
6274         * paragraph_pimpl.[Ch]:
6275         * paragraph_funcs.C:
6276         * CutAndPaste.C:
6277         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6278
6279         * text2.C:
6280           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6281
6282 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6283
6284         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6285         * paragraph.[Ch] (erase):
6286         * paragraph_pimpl.[Ch] (erase): change return type and value
6287         * text2.C (cutSelection): some rework
6288
6289 2003-04-28  John Levon  <levon@movementarian.org>
6290
6291         * bufferlist.C: changes for unsaved changes dialog
6292
6293 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6294
6295         * bufferlist.C (newFile): set language (messages_) for new
6296         documents also.
6297
6298         * buffer.C (readFile): ws changes only.
6299
6300 2003-04-28  André Pönitz  <poenitz@gmx.net>
6301
6302         * undo_funcs.C:
6303         * lyxfunc.C:
6304         * buffer.[Ch]:
6305         * BufferView_pimpl.C:
6306         * BufferView.C: getParFromID related ParagraphList::iterator changes
6307
6308 2003-04-28  André Pönitz  <poenitz@gmx.net>
6309
6310         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6311           Changes
6312
6313 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6314
6315         * messages.C: remove one more localedir class variable.
6316
6317 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6318
6319         * messages.C (getLocaleDir): singleton generation function
6320         (Pimpl): use it.
6321         (Messages): add a default constructor.
6322
6323         * main.C (main): do not setup localedir here, do not call
6324         gettext_init.
6325
6326         * gettext.C (_): use it.
6327         (gettext_init): delete funciton
6328
6329 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6330
6331         * gettext.C (getLyXMessages): new singleton generating function.
6332
6333         * buffer.C (updateDocLang): adjust
6334
6335         * Makefile.am (messages.o): add target
6336         (main.o): remove target
6337
6338 2003-04-27  John Levon  <levon@movementarian.org>
6339
6340         * bufferlist.C:
6341         * lyx_cb.C:
6342         * lyxfunc.C:
6343         * lyxvc.C: specify cancel button in Alert::prompt
6344
6345 2003-04-26  John Levon  <levon@movementarian.org>
6346
6347         * text3.C:
6348         * lyxfunc.C:
6349         * lfuns.h:
6350         * LyXAction.C: add LFUN_INSET_SETTINGS
6351
6352         * lyxfunc.C: don't enable tabular-feature when there's
6353         just any locking inset
6354
6355 2003-04-26  John Levon  <levon@movementarian.org>
6356
6357         * bufferlist.C: re-add Cancel to buffer close question
6358
6359         * lyxfunc.C: fix import UI a bit
6360
6361 2003-04-25  John Levon  <levon@movementarian.org>
6362
6363         * gettext.C: remove the broken asserts for now
6364
6365 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6366
6367         * messages.C: make case where setlocale cannot comply work better.
6368
6369         * buffer.C (updateDocLang): new function
6370         (changeLanguage): use it
6371         (readFile): use it
6372
6373         * text2.C (setCounter): use B_ a bit.
6374
6375         * lyxlayout.C (Read): be sure to trim the label strings.
6376
6377         * messages.C (Messages): fix typo in comment
6378
6379         * buffer.C (readFile): set message_ after file is loaded.
6380         (makeDocBookFile): remove double return
6381         (changeLanguage): reset message_ upon language change.
6382         (B_): new func, use this to get translated buffer strings.
6383
6384         * main.C: add myself and Jean Marc as authors.
6385
6386 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6387
6388         * messages.[hC]: pimplify Messages, and three different pimpls to be
6389         used in different circumstances.
6390
6391         * gettext.[Ch]: change for use with new message code.
6392
6393 2003-04-24 André Pönitz <poenitz@gmx.net>
6394
6395         * factory.C: support for eqref
6396
6397 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6398
6399         * messages.[Ch]: add missing char
6400
6401         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6402
6403         * messages.[Ch]: New files
6404
6405 2003-04-18  John Levon  <levon@movementarian.org>
6406
6407         * BufferView.h:
6408         * BufferView.C:
6409         * BufferView_pimpl.C:
6410         * lfuns.h:
6411         * LyXAction.C:
6412         * lyxtext.h:
6413         * text2.C: remove layout-copy/paste (bug 778)
6414
6415 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6416
6417         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6418
6419 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6420
6421         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6422         if they succeed. Act accordingly.
6423
6424 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6425
6426         * text2.C (setCharFont): adjust
6427         (setCounter): adjust
6428         (insertStringAsLines): adjust
6429
6430         * text.C (leftMargin): adjust
6431         (setHeightOfRow): adjust
6432
6433         * rowpainter.C (paintFirst): adjust
6434         (paintLast): adjust
6435
6436         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6437         (outerHook): ditto
6438         (isFirstInSequence): ditto
6439         (getEndLabel): ditto
6440         (outerFont): adjust
6441
6442         * paragraph.C (getParLanguage): comment out some hard stuff.
6443
6444         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6445         (sgmlError): ditto
6446         (simpleDocBookOnePar): ditto
6447         (makeDocBookFile): use ParagraphList::iterator
6448
6449         * CutAndPaste.C (pasteSelection): adjust
6450
6451 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6452
6453         * text2.C (getFont): adjust
6454         (getLayoutFont): adjust
6455         (getLabelFont): adjust
6456
6457         * paragraph_funcs.C (TeXOnePar): adjust
6458
6459         * buffer.C (simpleLinuxDocOnePar): adjust
6460         (simpleDocBookOnePar): adjust
6461
6462         * CutAndPaste.C (pasteSelection): adjust
6463
6464         * BufferView.C (getEncoding): adjust
6465
6466         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6467
6468 2003-04-16  John Levon  <levon@movementarian.org>
6469
6470         * lyxfind.C: use parlist stuff for search/changes
6471
6472 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6473
6474         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6475
6476         * text2.C (deleteEmptyParagraphMechanism): adjust
6477
6478         * text2.[Ch] (ownerParagraph): delete func (both of them
6479
6480 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6481
6482         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6483
6484 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6485
6486         * ParagraphList.C: prepare for NO_NEXT
6487
6488 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6489
6490         * text2.C (getFont): adjust
6491         (getLayoutFont): adjust
6492         (getLabelFont): adjust
6493
6494         * paragraph.C (getFont): adjust
6495         (getLabelFont): adjust
6496         (getLayoutFont): adjust
6497
6498         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6499
6500 2003-04-15  John Levon  <levon@movementarian.org>
6501
6502         From Angus Leeming
6503
6504         * lyx_main.C: handle Include in .ui files
6505
6506 2003-04-15  John Levon  <levon@movementarian.org>
6507
6508         * MenuBackend.C: make the doc files length shorter
6509
6510         * ToolbarBackend.h:
6511         * ToolbarBackend.C: handle toolbar placement flags,
6512         Minibuffer
6513
6514 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6515
6516         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6517         adjust
6518
6519         * paragraph_funcs.C (TeXOnePar): adjust
6520
6521         * paragraph.C (getLabelFont): add outerfont arg, adjust
6522         (getLayoutFont): ditto
6523         (simpleTeXOnePar): adjust
6524
6525         * paragraph_pimpl.C (realizeFont): delete func
6526
6527 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6528
6529         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6530         row argument, constify cur argument.
6531
6532 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6533
6534         * text2.C (getFont): adjust
6535         (getLayoutFont): adjust
6536         (getLabelFont): adjust
6537
6538         * paragraph_funcs.C (TeXOnePar): adjust
6539         (outerFont): new func...
6540         (realizeFont): ...moved out from here, changed this to facilitate
6541         transition
6542
6543         * paragraph.C (getFont): take outerfont as arg, adjust
6544         (simpleTeXOnePar): add outerfont arg, adjust
6545
6546         * buffer.C (simpleLinuxDocOnePar): adjust
6547         (simpleDocBookOnePar): adjust
6548
6549         * CutAndPaste.C (pasteSelection): adjust
6550
6551         * BufferView.C (getEncoding): adjust
6552
6553 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6554
6555         * text2.C (setCharFont): adjust
6556         (setCounter): adjust
6557
6558         * text.C (leftMargin): adjust
6559         (setHeightOfRow): adjust
6560
6561         * rowpainter.C (paintFirst): adjust
6562         (paintLast): adjust
6563
6564         * paragraph_pimpl.C (realizeFont): adjust
6565
6566         * paragraph.C (isFirstInSequence): move from here...
6567         * paragraph_funcs.C (isFirstInSequence): ...to here
6568
6569         * paragraph.C (outerHook): move from here...
6570         * paragraph_funcs.C (outerHook): ...to here
6571
6572         * paragraph.C (depthHook): move from here...
6573         * paragraph_funcs.C (depthHook): ...to here
6574
6575         * paragraph.C (getEndLabel): move from here...
6576         * paragraph_funcs.C (getEndLabel): ...to here
6577
6578         * text2.C (realizeFont): move from here...
6579         * paragraph_funcs.C (realizeFont): ...to here
6580
6581 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6582
6583         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6584
6585 2003-04-14  Angus Leeming  <leeming@lyx.org>
6586
6587         * LColor.[Ch]: scrap LColor mathcursor.
6588
6589 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6590
6591         * lyxlex.[Ch] (text): delete function
6592         * trans.C (Load): adjust
6593         * paragraph_funcs.C (readParToken): adjust
6594
6595 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6596
6597         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6598         vector<char> instead of a char[].
6599
6600         * lyxlex_pimpl.C (getString): adjust
6601         (next): adjust
6602         (lex): use getString
6603         (eatLine): adjust
6604         (nextToken): adjust
6605
6606         * lyxlex.C (text): use pimpl_->getString()
6607         (getBool): ditto
6608         (findToken): ditto
6609
6610 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6611
6612         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6613         (makeFontEntriesLayoutSpecific): temp var for par.size()
6614         (setLayout): temp var for ownerParagraphs().end()
6615         (fullRebreak): temp var for rows().end()
6616         (selectionAsString): temp var for boost::next(startpit), realize
6617         that the while really is a regular for loop.
6618         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6619         setCursor in one place.
6620         (setParagraph): temp vr for ownerParagraphs().end()
6621         (updateCounters): make the while loop a for loop
6622         (cutSelection): temp var for ownerParagraphs().end()
6623         (updateInset): make the do {} while() a regular for loop
6624         (getCursorX): use temp vars
6625         (setCurrentFont): use temp vars
6626         (getColumnNearX): use temp vars
6627
6628 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6629
6630         * text.C (transformChar): use temp var for getChar
6631         (computeBidiTables): use temp var for row->par()
6632         (fill): move temp vars for row->par() and pit->layout() earlier in
6633         the function.
6634         (labelFill): use temp var for row->par()
6635         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6636         asc and desc, realize that pit never changes and that firstpit is
6637         just a duplicate and not needed. Exchange rit->par() with pit in a
6638         lot of places.
6639         (breakAgain): use a temp var for boost::next(rit)
6640         (breakAgainOneRow): ditto
6641         (breakParagraph): use a temp var for rows().begin()
6642         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6643         (cursorRightOneWord): use temp var for cursor.par() and
6644         cursor.pos(), remove usage of tmpcursor.
6645         (cursorLeftOneWord): use temp var for cursor.par() and
6646         cursor.pos() only set cur at end of function.
6647
6648 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6649
6650         * text.C, text2.C: exchange all usage of Paragraph::next with
6651         boost::next(ParagraphList::iterator)
6652
6653         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6654
6655         * text2.C (cursorTop): simplify implementation
6656         (cursorBottom): ditto
6657         (setParagraph): use ParagraphList::iterator
6658         (setCurrentFont): adjust
6659         (getColumnNearX): adjust
6660         (cursorRight): adjust
6661         (cursorLeft): remove usage of Paragraph::previous
6662         (cursorUpParagraph): ditto
6663         (deleteEmptyParagraphMechanism): slight cleanup
6664
6665         * text.C (isBoundary): take a Paragraph const & instead of a
6666         pointer as arg.
6667         (addressBreakPoint): ditto
6668         (leftMargin): remove usage of Paragraph::previous.
6669         (setHeightOfRow): ditto
6670         (cursorLeftOneWord): ditto
6671         (selectNextWordToSpellcheck): ditto
6672         (Delete): ditto
6673         (backspace): ditto
6674         (breakParagraph): remove one usage of Paragraph::next
6675         (redoParagraph): ditto
6676         (acceptChange): ditto
6677         (insertChar): adjust
6678         (rowBreakPoint): adjust
6679
6680         * bufferview_funcs.C (toggleAndShow): adjust
6681
6682 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6683
6684         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6685         methods to access it.
6686         * lyxtext.h:
6687         * text.C: Added updateRowPositions to compute all row positions.
6688         Make top_y and getRowNearY() to use the cached y position
6689
6690 2003-04-11  John Levon  <levon@movementarian.org>
6691
6692         * text.C (rowBreakPoint): reintroduce the labelEnd
6693         checks, code copied from the row fill stuff. Deep voodoo.
6694
6695         * text.C (fill): add a comment and debugging for the
6696         next poor soul.
6697
6698 2003-04-11  John Levon  <levon@movementarian.org>
6699
6700         * text.C: make sure fullrow insets get wrapped to the next line,
6701         even when they're in a manual label
6702
6703 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6704
6705         * text2.C (insertParagraph): make it take ParagraphList::iterator
6706         as arg.
6707         (setLayout): make it return ParagraphList::iterator
6708         (redoParagraphs): ditto
6709         (setCounter): ditto
6710         (checkParagraph): ditto
6711
6712         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6713
6714         * text2.C: adjust several funcs.
6715         (realizeFont): take a ParagraphList::iterator as arg.
6716         (getLayoutFont): ditto
6717         (getLabelFont): ditto
6718         (setCharFont): ditto
6719
6720         * text.C: adjust several funcs.
6721
6722 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6723
6724         * text.C (selectNextWordToSpellcheck): don't accidentally
6725         skip insets
6726
6727 2003-04-10  John Levon  <levon@movementarian.org>
6728
6729         * ToolbarBackend.C (getIcon): special handling for
6730         LFUN_MATH_DELIM
6731
6732 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6733
6734         * text2.C (cursorRight): a getChar assert fixed
6735
6736 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6737
6738         * text2.C (getFont): change to take a ParagraphList::iterator
6739         instead of Paragraph*
6740         Adjust several functions.
6741
6742         * text.C (transformChar): change to take a ParagraphList::iterator
6743         instead of Paragraph*
6744         (singleWidth): ditto
6745         Adjust several functions.
6746
6747         * rowpainter.C: adjust several functions
6748         * rowpainter.h:store a ParagraphList::iterator and not a
6749         Paragraph&.
6750
6751
6752 2003-04-09  John Levon  <levon@movementarian.org>
6753
6754         * lyxfunc.C:
6755         * lfuns.h:
6756         * LyXAction.h:
6757         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6758         and the "help" bits as well
6759
6760 2003-04-09  John Levon  <levon@movementarian.org>
6761
6762         * ToolbarBackend.h:
6763         * ToolbarBackend.C: allow multiple toolbars
6764
6765 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6766
6767         * undo_funcs.C (setCursorParUndo): adjust
6768
6769         * text_funcs.C (transposeChars): adjust
6770
6771         * text3.C (gotoNextInset): adjust
6772         (dispatch): adjust
6773
6774         * text2.C (setLayout): adjust
6775         (changeDepth): adjust
6776         (setFont): adjust
6777         (redoParagraphs): adjust
6778         (selectionAsString): adjust
6779         (setParagraph): adjust
6780         (insertInset): adjust
6781         (cutSelection): adjust
6782         (copySelection): adjust
6783         (pasteSelection): adjust
6784         (insertStringAsLines): adjust
6785         (updateInset): adjust
6786         (setCursor): change to take a ParagraphList::iterator parameter
6787         (setCursorIntern): change to take a ParagraphList::iterator parameter
6788         (setCurrentFont): adjust
6789         (cursorLeft): adjust
6790         (cursorRight): adjust
6791         (deleteEmptyParagraphMechanism): adjust
6792
6793         * text.C (breakParagraph): adjust
6794         (insertChar): adjust
6795         (acceptChange): adjust
6796         (rejectChange): adjust
6797         (selectNextWordToSpellcheck): adjust
6798         (changeCase): adjust
6799         (Delete): adjust
6800         (backspace): adjust
6801
6802         * lyxfind.C (SearchForward): adjust
6803         (SearchBackward): adjust
6804         (nextChange): adjust
6805
6806         * lyxcursor.C (par): adjust
6807
6808         * lyxcursor.h: store a ParagraphList::iterator instead of a
6809         Paragraph*
6810
6811         * lyx_cb.C (getPossibleLabel): adjust
6812
6813         * bufferview_funcs.C (toggleAndShow): adjust
6814
6815         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6816         (dispatch): adjust
6817
6818         * BufferView.C (removeAutoInsets): adjust
6819         (lockedInsetStoreUndo): adjust
6820
6821 2003-04-09  John Levon  <levon@movementarian.org>
6822
6823         * ToolbarBackend.C: try icon without argument
6824         if with argument fails
6825
6826 2003-04-08  John Levon  <levon@movementarian.org>
6827
6828         * ToolbarBackend.h:
6829         * ToolbarBackend.C: add getIcon(), handle tooltip,
6830         and change from "Icon" to "Item".
6831
6832 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6833
6834         * BufferView.C (lockInset): another bad getchar crunched
6835
6836 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6837
6838         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6839         again)
6840
6841 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6842
6843         * lyxfind.C (searchForward, searchBackwards): bug 782
6844
6845 2003-04-07  John Levon  <levon@movementarian.org>
6846
6847         * paragraph.C: remove dead comment
6848
6849         * text.C: remove troublesome depth-fiddling code
6850         in leftMargin() and rightMargin() (bug 1017)
6851
6852         * text.C: fix breaking of rows in nested lists
6853         (bug 1004)
6854
6855         * text2.C (updateCounters): fix up depth values
6856         (bug 1013)
6857
6858 2003-04-07  John Levon  <levon@movementarian.org>
6859
6860         * BufferView_pimpl.C: clear message when doc finishes resizing,
6861         and after a mouse event
6862
6863         * lyxfunc.C: clear message after exiting inset
6864
6865 2003-04-07  John Levon  <levon@movementarian.org>
6866
6867         * bufferview_funcs.C: show math status not outside
6868         status in the statusbar
6869
6870 2003-04-07  John Levon  <levon@movementarian.org>
6871
6872         * lyxfunc.C: note status changed after a depth change
6873
6874 2003-04-04  Angus Leeming  <leeming@lyx.org>
6875
6876         * LaTeX.h: move AuxInfo operator==, != out of line.
6877         Remove LaTeX virtual destructor; nothing derives from it.
6878         Move operator()() out of public area and rename it startscript().
6879         Change protected for private.
6880
6881 2003-04-04  Angus Leeming  <leeming@lyx.org>
6882
6883         * lyxfunc.C:
6884         * text2.C: remove unneeded #includes.
6885
6886 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6887
6888         * text2.C (dEPM): fix the heigth of the next row
6889
6890 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6891
6892         * text.C: squashed an invalid getChar requester + some ws changes
6893
6894 2003-04-03  John Levon  <levon@movementarian.org>
6895
6896         * bufferview_funcs.h:
6897         * bufferview_funcs.C:
6898         * lyxfunc.C:
6899         * lyxtext.h:
6900         * text2.C: make getStatus work for the env depth lfuns
6901
6902 2003-04-03  John Levon  <levon@movementarian.org>
6903
6904         * bufferview_funcs.h:
6905         * bufferview_funcs.C:
6906         * lyxfunc.C:
6907         * lyxtext.h:
6908         * text2.C: parlistize decDepth(), by merging it with incDepth()
6909
6910 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6911
6912         * lyxrow.h: store a ParagraphList::iterator instead of a
6913         Paragraph* and adjust other class functions to suit.
6914
6915         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6916         above.
6917
6918 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6919
6920         * text2.C (setCursor): do not anchor to cursor row for the time being
6921
6922 2003-04-02  John Levon  <levon@movementarian.org>
6923
6924         * LyXAction.C:
6925         * lfuns.h:
6926         * lyx_main.C:
6927         * lyxtext.h:
6928         * text.C:
6929         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6930
6931 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6932
6933         * paragraph.h: make ParagraphList and ParagraphList::iterator
6934         friends of Paragraph.
6935
6936         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6937
6938         * ParagraphList.C: Use the private next_ and previous_ from
6939         Paragraph.
6940
6941 2003-04-01  John Levon  <levon@movementarian.org>
6942
6943         * ToolbarBackend.h:
6944         * ToolbarBackend.C:
6945         * Makefile.am: rename, remove defaults gunk
6946
6947         * MenuBackend.h:
6948         * MenuBackend.C: remove defaults gunk
6949
6950         * Languages.h:
6951         * Languages.C: remove defaults gunk
6952
6953         * lyx_main.h:
6954         * lyx_main.C: error out if files couldn't be found.
6955
6956 2003-04-02  John Levon  <levon@movementarian.org>
6957
6958         * text2.C: make incDepth() use parlist
6959
6960 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6961
6962         * undo_funcs.C (firstUndoParagraph): adjust
6963
6964         * text3.C (gotoInset): adjust
6965         (dispatch): adjust, and rewrite loop.
6966
6967         * text2.C (init): adjust, and rewrite loop.
6968         (redoParagraphs): adjust
6969         (updateInset): adjust, and rewrite loop.
6970         (deleteEmptyParagraphMechanism): adjust
6971
6972         * tabular.C (LyXTabular): adjust
6973         (SetMultiColumn): adjust
6974         (TeXRow): adjust
6975
6976         * lyxtext.[Ch] (ownerParagraph): delete function
6977         (ownerParagraphs): new function returns a ParagraphList.
6978
6979         * BufferView.C (removeAutoInsets): adjust
6980         (insertErrors): adjust
6981         (setCursorFromRow): adjust
6982
6983 2003-04-01  Angus Leeming  <leeming@lyx.org>
6984
6985         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6986         in the frontends.
6987
6988 2003-04-02  John Levon  <levon@movementarian.org>
6989
6990         * lyxtext.h:
6991         * text.C:
6992         * Makefile.am:
6993         * text_funcs.h:
6994         * text_funcs.C: make transposeChars a free function
6995
6996         * lyxrow_funcs.C: remove wrong comment
6997
6998 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6999
7000         * lyxtext.h: adjust
7001         * rowpainter.C: adjust
7002         * text.C: adjust
7003         * text2.C: adjust
7004         * text3.C: adjust
7005
7006         * lyxrow_funcs. [Ch]: new files
7007
7008         * lyxrow.[Ch]: remove next and previous pointers
7009         (next,previous): remove accessor functions
7010         (isParEnd): move to lyxrow_funcs
7011         (lastPos): move to lyxrow_funcs
7012         (nextRowIsAllInset): move to lyxrow_funcs
7013         (lastPrintablePos): move to lyxrow_funcs
7014         (numberOfSeparators): move to lyxrow_funcs
7015         (numberOfHfills): move to lyxrow_funcs
7016         (numberOfLabelHfills): move to lyxrow_funcs
7017         (hfillExpansion): move to lyxrow_funcs
7018
7019         * lyxfunc.C: adjust
7020
7021         * bufferview_funcs.C (toggleAndShow): adjust
7022
7023         * RowList.h: Remove class RowList from file leave just a
7024         std::list<Row>.
7025
7026         * RowList.C: delete file
7027
7028         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
7029         and lyxrow_funcs.h
7030
7031 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7032
7033         * text3.C (cursorPrevious): adjust
7034         (cursorNext): adjust
7035         (dispatch): adjust
7036
7037         * text2.C (redoHeightOfParagraph): adjust
7038         (redoDrawingOfParagraph): adjust
7039         (setCursor): adjust
7040
7041         * text.C (breakParagraph): adjust
7042         (insertChar): adjust
7043         (backspace): adjust
7044
7045         * rowpainter.C (RowPainter): adjust
7046         (leftMargin): simplify and adjust
7047         (most rowpainter functions): adjust.
7048
7049         * rowpainter.h: store the row as RowList::iterator not as Row*
7050
7051         * lyxcursor.C (row): taka RowList::iterator as arg
7052         (irow): ditto
7053
7054         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
7055         of Row*.
7056
7057 2003-04-01  Angus Leeming  <leeming@lyx.org>
7058
7059         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
7060         stuff like bool Bool.
7061
7062 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
7063
7064         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
7065         rewrite a loop
7066
7067 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7068
7069         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
7070         RowList::iterator.
7071
7072         * lyxtext.h (rows): drop one version and leve a const variant that
7073         returns a RowList::iterator.
7074
7075 2003-03-31  Angus Leeming  <leeming@lyx.org>
7076
7077         * text.C (fill): ensure that the signature is the same as that in the
7078         header file.
7079
7080 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
7081
7082         * text2.C (redoParagraphs): adjust
7083         (updateCounters): adjust
7084         (checkParagraph): adjust
7085         (getColumnNearX): adjust and reformat a bit.
7086
7087         * text.C (top_y): adjust
7088         (workWidth): adjust
7089         (leftMargin): adjust
7090         (prepareToPrint): adjust
7091         (getRow): adjust
7092         (getRowNearY): adjust
7093
7094         * lyxtext.h: make rowlist_ mutable.
7095
7096         * RowList.h: add const_iterator
7097         * RowList.C: adjust for RowList::const_iterator.
7098
7099         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7100         adjust.
7101
7102 2003-03-31  John Levon  <levon@movementarian.org>
7103
7104         * lyxrc.h:
7105         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7106
7107         * lyx_main.C: set default fonts from using lyx_gui funcs
7108
7109         * exporter.C: pdf_mode moved from lyxrc
7110
7111         * lyx_cb.C:
7112         * lyxfunc.C: changes from above
7113
7114 2003-03-31  John Levon  <levon@movementarian.org>
7115
7116         * lyx_main.C: fix to the last fix
7117
7118 2003-03-31  John Levon  <levon@movementarian.org>
7119
7120         * bufferlist.C: "Load original" -> "Load Original"
7121
7122         * converter.C:
7123         * exporter.C:
7124         * importer.C:
7125         * lyx_main.C:
7126         * format.C: more Alert cleanups
7127
7128 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7129
7130         * text2.C (removeParagraph): make it take a RowList::iterator as
7131         arg, adjust.
7132         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7133         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7134
7135         * text.C (anchor_row): make it take a RowList::iterator as arg,
7136         adjust.
7137         (computeBidiTables): make it take a const reference to Row instead
7138         of Row pointer, adjust.
7139         (leftMargin): make it take a RowList::iterator as arg, adjust.
7140         (rowBreakPoint): adjust
7141         (breakAgainOneRow): make it take a RowList::iterator as arg,
7142         adjust.
7143         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7144
7145         * bufferview_funcs.C (toggleAndShow): adjust
7146
7147 2003-03-30  John Levon  <levon@movementarian.org>
7148
7149         * Makefile.am:
7150         * BoostFormat.h:
7151         * boost-inst.C: moved to support
7152
7153         * several files: changes as a result
7154
7155 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7156
7157         * text2.C (LyXText): adjust.
7158         (init): adjust
7159         (removeRow): make it take a RowList::iterator as arg, adjust.
7160         (fullRebreak): adjust
7161         (deleteEmptyParagraphMechanism): adjust
7162         (clearPaint): adjust
7163         (postPaint): adjust
7164
7165         * text.C (top_y): adjust
7166         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7167         (breakAgain): make it take a RowList::iterator as arg, adjust.
7168         (breakParagraph): adjust
7169         (insertChar): adjust
7170         (backspace): adjust
7171
7172         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7173         need_break_row, and refresh_row.
7174
7175         * text3.C (dispatch): adjust
7176
7177         * text2.C (checkParagraph): adjust
7178         (setCursor): adjust
7179         (setCursorFromCoordinates): adjust
7180
7181         * text.C (top_y): adjust
7182         (workWidth): adjust
7183         (getRow): make it return a RowList::iterator, adjust
7184         (getRowNearY): make it return a RowList::iterator, adjust
7185
7186         * text2.C (init): adjust
7187         (insertRow): remove function
7188         (insertParagraph): adjust
7189         (redoParagraphs): adjust
7190         (fullRebreak): adjust
7191         (updateCounters): adjust
7192
7193         * text.C (top_y): rewrite to use RowList iterators.
7194         (top_y): adjust
7195         (setHeightOfRow): rewrite to sue RowList iterators.
7196         (appendParagraph): adjust
7197         (breakAgain): adjust
7198         (breakAgainOneRow): adjust
7199         (breakParagraph): adjust
7200         (getRow): adjust
7201         (getRowNearY): adjust, and remove commented code.
7202
7203         * lyxtext.h (firstRow): delete function
7204         (lastRow): delete function
7205         (rows): new function (const and non-const versions.)
7206         (insertRow): delete function
7207
7208         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7209
7210 2003-03-29  John Levon  <levon@movementarian.org>
7211
7212         * BufferView_pimpl.C: always update scrollbar top
7213         because pasting text when we're anchored could mean we
7214         miss an update altogether
7215
7216 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7217
7218         * text2.C (init): use rowlist_.end() and not 0.
7219         (insertRow): change to take a RowList::iterator as arg, adjust
7220         for this.
7221         (insertParagraph): change to take a RowList::iterator as arg,
7222         adjust for this.
7223         (redoParagraphs): remove some debug msgs.
7224
7225         * text.C (appendParagraph): change to take a RowList::iterator
7226         arg, adjust for this.
7227         (breakAgain): add an assert
7228         (breakAgainOneRow): ditto
7229
7230 2003-03-29  John Levon  <levon@movementarian.org>
7231
7232         * text2.C: do not clear selection after inc/decDepth
7233         (bug 550)
7234
7235 2003-03-29  John Levon  <levon@movementarian.org>
7236
7237         * BufferView.C:
7238         * buffer.C: fix broken strerrors according to Lars
7239
7240 2003-03-29  John Levon  <levon@movementarian.org>
7241
7242         * converters.C: more Alert cleanups
7243
7244 2003-03-29  John Levon  <levon@movementarian.org>
7245
7246         * bufferview_funcs.C: remove pointless Alert
7247
7248         * buffer.C: fix confusing error message when
7249         a template is chmoded 000
7250
7251 2003-03-29  John Levon  <levon@movementarian.org>
7252
7253         * BufferView.C:
7254         * BufferView.h:
7255         * BufferView_pimpl.C: Alert fixes
7256
7257         * Makefile.am:
7258         * tabular.C:
7259         * tabular-old.C: remove unused table compat reading
7260
7261 2003-03-29  John Levon  <levon@movementarian.org>
7262
7263         * BufferView.C:
7264         * buffer.C:
7265         * lyx_cb.h:
7266         * lyx_cb.C: more Alert cleanups
7267
7268         * lyxfunc.C: don't allow chktex if not latex document
7269
7270 2003-03-29  John Levon  <levon@movementarian.org>
7271
7272         * lyx_cb.C:
7273         * BufferView.C:
7274         * buffer.C: warnings pushed down from support/,
7275         kill err_alert
7276
7277 2003-03-29  John Levon  <levon@movementarian.org>
7278
7279         * lyxfunc.C: safety check for C-r (revert)
7280
7281 2003-03-29  John Levon  <levon@movementarian.org>
7282
7283         * bufferlist.h:
7284         * bufferlist.C: several UI fixes using Alert::prompt.
7285         Fix the pointless looping quit code. Fix stupid revert
7286         behaviour (bug 938)
7287
7288         * lyxvc.h:
7289         * lyxvc.C:
7290         * lyx_cb.C: use Alert::prompt
7291
7292         * lyx_main.C: remove a silly question
7293
7294         * lyxfunc.C: remove a couple of silly questions,
7295         use Alert::prompt
7296
7297 2003-03-28  John Levon  <levon@movementarian.org>
7298
7299         * text2.C: fix bug 974 (End on empty par)
7300
7301 2003-03-28  John Levon  <levon@movementarian.org>
7302
7303         * BufferView_pimpl.C:
7304         * LyXAction.C:
7305         * lfuns.h: remove do-nothing math greek lfuns
7306
7307 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7308
7309         * lyxgluelength.h (isValidGlueLength): add default arg on
7310         parameter 2. Remove default arg from friend in class.
7311
7312         * lyxlength.h (isValidLength): add default arg on parameter 2.
7313         Remove default arg from friend in class.
7314
7315         * text2.C (LyXText): adjust, initialize refresh_row.
7316         (init): adjust
7317         (removeRow): adjust
7318         (insertRow): adjust
7319         (insertParagraph): adjst
7320         (redoParagraphs): adjust
7321         (fullRebreak): adjust
7322         (updateCounters): adjust
7323         (deleteEmptyParagraphMechanism): first attempt at fixing a
7324         crashing bug.
7325
7326         * text.C (top_y): adjust
7327         (setHeightOfRow): adjust
7328         (getRow): adjust
7329         (getRowNearY): adjust
7330
7331         * lyxtext.h: include RowList.h
7332         (~LyXText): not needed anymore, deleted.
7333         (firstRow): modify for RowList
7334         (lastRow): new function
7335         Delete firstrow and lastrow class variables, add a Rowlist
7336         rowlist_ class variable.
7337
7338         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7339         paragraph is empty.
7340
7341         * RowList.C (insert): fix case where it == begin().
7342
7343 2003-03-26  Angus Leeming  <leeming@lyx.org>
7344
7345         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7346         the thesaurus dialog.
7347
7348 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7349
7350         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7351
7352         * RowList.[Ch]: new files
7353
7354         * ParagraphList.C (erase): handle the case where it == begin
7355         correctly.
7356
7357 2003-03-25  John Levon  <levon@movementarian.org>
7358
7359         * Makefile.am:
7360         * aspell_local.h:
7361         * aspell.C: add new aspell support
7362
7363         * lyxrc.h:
7364         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7365         have it accessible.
7366
7367 2003-03-25  Angus Leeming  <leeming@lyx.org>
7368
7369         * lfuns.h:
7370         * LyXAction.C (init): new LFUN_INSET_INSERT.
7371
7372         * BufferView_pimpl.C (dispatch): split out part of the
7373         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7374
7375         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7376         LFUN_INSET_APPLY.
7377
7378 2003-03-25  Angus Leeming  <leeming@lyx.org>
7379
7380         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7381
7382 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7383
7384         * text2.C:
7385         * text3.C: remove useless row->height(0)
7386
7387 2003-03-25  John Levon  <levon@movementarian.org>
7388
7389         * lyxtext.h:
7390         * text2.C:
7391         * text3.C: rename the refreshing stuff to better names
7392
7393 2003-03-24  John Levon  <levon@movementarian.org>
7394
7395         * BufferView_pimpl.h:
7396         * BufferView_pimpl.C: update layout choice on a mouse
7397         press/release
7398
7399 2003-03-23  John Levon  <levon@movementarian.org>
7400
7401         * Makefile.am: fix commandtags.h reference
7402
7403 2003-03-22  John Levon  <levon@movementarian.org>
7404
7405         * BufferView_pimpl.C:
7406         * lyxtext.h:
7407         * rowpainter.C:
7408         * rowpainter.h:
7409         * text.C:
7410         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7411
7412 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7413
7414         * lyxtext.h:
7415         * text.C: take the rtl methods out of line
7416
7417 2003-03-21 André Pönitz <poenitz@gmx.net>
7418
7419         * metricsinfo.[Ch]: new files containing structures to be passed around
7420         during the two-phase-drawing...
7421
7422 2003-03-21 André Pönitz <poenitz@gmx.net>
7423
7424         * lyxtextclass.C: read 'environment' tag.
7425
7426 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7427
7428         * text2.C (removeRow): fix bug 964
7429
7430 2003-03-20  John Levon  <levon@movementarian.org>
7431
7432         * rowpainter.C:
7433         * text.C:
7434         * text2.C: paint cleanups. Inset::update() dropped font
7435         parameter
7436
7437 2003-03-19  John Levon  <levon@movementarian.org>
7438
7439         * lyxfunc.C: only fitcursor/markDirty if available()
7440
7441 2003-03-19  John Levon  <levon@movementarian.org>
7442
7443         * commandtags.h: rename to ...
7444
7445         * lfuns.h: ... this, and renumber / cleanup
7446
7447 2003-03-19  John Levon  <levon@movementarian.org>
7448
7449         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7450         fit the cursor after an lfun
7451
7452         * BufferView.h:
7453         * BufferView.C:
7454         * BufferView_pimpl.h:
7455         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7456
7457         * LyXAction.C: layout-character should have ReadOnly
7458
7459         * ParagraphParameters.C:
7460         * buffer.C:
7461         * bufferview_funcs.C:
7462         * lyx_cb.C:
7463         * lyxfind.C:
7464         * lyxtext.h:
7465         * text.C:
7466         * text2.C:
7467         * text3.C:
7468         * undo_funcs.C: changes from above
7469
7470 2003-03-18  John Levon  <levon@movementarian.org>
7471
7472         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7473         remove it from update()
7474
7475         * lyxfunc.C: update layout choice after an lfun
7476
7477         * text3.C: remove extra updateLayoutChoice()s
7478
7479 2003-03-18  John Levon  <levon@movementarian.org>
7480
7481         * text.C: top_y change means full repaint, fix
7482         a drawing bug with cursor movement
7483
7484 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7485
7486         * lyxtext.h:
7487         * text.C:
7488         * text2.C: anchor row on setCursor
7489
7490 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7491
7492         * lyxtext.h: remove almost all mutable keywords
7493         * text.C:
7494         * text2.C:
7495         * text3.C: remove const keywords accordingly
7496
7497 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7498
7499         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7500         anon namespace
7501         (TeXEnvironment): ditto
7502         (TeXOnePar): ditto
7503
7504 2003-03-17  John Levon  <levon@movementarian.org>
7505
7506         * text.C (rowBreakPoint): remove attempt to fix displayed
7507         math insets inside a manual label
7508
7509 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7510
7511         * lyxtext.h: remove BufferView* as first arg from almost all class
7512         functions.
7513         * other files: adjust.
7514
7515 2003-03-17  John Levon  <levon@movementarian.org>
7516
7517         * lyxtext.h:
7518         * undo_funcs.C:
7519         * text2.C: more paint cleanups
7520
7521         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7522
7523         * rowpainter.h:
7524         * rowpainter.C: remove "smart" background painting code
7525
7526 2003-03-16  John Levon  <levon@movementarian.org>
7527
7528         * lyxtext.h:
7529         * text.C:
7530         * text2.C:
7531         * text3.C: add helper functions for setting refresh_row/y
7532
7533 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7534
7535         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7536         newline inset which *can* get inserted in the pass_thru layouts.
7537         This is primarily for literate documents.
7538
7539 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7540
7541         * buffer.C: increment LYX_FORMAT to 223
7542
7543 2003-03-14 André Pönitz <poenitz@gmx.net>
7544
7545         * textclass.h: prepare for environment handling, ws changes
7546         * lyxlayout.C: read latexheader and latexfooter tags
7547
7548 2003-03-14  John Levon  <levon@movementarian.org>
7549
7550         * text2.C: rewrite ::status() a bit
7551
7552 2003-03-13  John Levon  <levon@movementarian.org>
7553
7554         * lyxtext.h: add some docs
7555
7556 2003-03-13  John Levon  <levon@movementarian.org>
7557
7558         * lyxtext.h:
7559         * text.C:
7560         * text2.C:
7561         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7562
7563 2003-03-13  John Levon  <levon@movementarian.org>
7564
7565         * text3.C: fix appendix redrawing
7566
7567 2003-03-13  John Levon  <levon@movementarian.org>
7568
7569         * text.C (setHeightOfRow):
7570         * rowpainter.h:
7571         * rowpainter.C: make appendix mark have the text
7572           "Appendix" so the user knows what it is
7573
7574         * LColor.h:
7575         * LColor.C: s/appendixline/appendix/ from above
7576
7577 2003-03-13  John Levon  <levon@movementarian.org>
7578
7579         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7580
7581         * text.C: fix a getChar(pos) bug properly
7582
7583 2003-03-13  Angus Leeming  <leeming@lyx.org>
7584
7585         * commandtags.h:
7586         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7587         Probably only temporary. Let's see how things pan out.
7588
7589         * BufferView.C (unlockInset):
7590         * BufferView_pimpl.C (fitCursor):
7591         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7592
7593         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7594         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7595
7596         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7597         new functions that convert ParagraphParameters to and from a string.
7598
7599         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7600         BufferView::Pimpl's dispatch.
7601         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7602
7603 2003-03-13 André Pönitz <poenitz@gmx.net>
7604
7605         * lyxfunc.C:
7606         * text3.C:
7607         * factory.C: make it aware of InsetEnv
7608
7609 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7610
7611         * text2.C (setCursor): never ask for one past last
7612         (setCursor): add some debugging messages.
7613
7614         * text.C (singleWidth): never ask for one past last
7615         (singleWidth): ditto
7616         (leftMargin): ditto
7617         (rightMargin): ditto
7618         (rowBreakPoint): ditto
7619         (setHeightOfRow): ditto
7620         (prepareToPrint): ditto
7621
7622         * rowpainter.C (paintBackground): never ask for one past last
7623         (paintText): never ask for one past last
7624
7625         * paragraph_pimpl.C (getChar): make the assert stricter, never
7626         allow the one past last pos to be taken
7627
7628         * paragraph.C (getChar): ws changes only
7629
7630         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7631         (numberOfSeparators): ditto
7632         (numberOfHfills): ditto
7633
7634 2003-03-12  John Levon  <levon@movementarian.org>
7635
7636         * author.h:
7637         * author.C:
7638         * bufferparams.h:
7639         * bufferparams.C:
7640         * paragraph_funcs.C: fix per-buffer authorlists
7641
7642 2003-03-12  John Levon  <levon@movementarian.org>
7643
7644         * text.C: fix newline in right address
7645
7646 2003-03-12  Angus Leeming  <leeming@lyx.org>
7647
7648         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7649         duplicate those in LyXFunc::dispatch.
7650
7651         * commandtags.h:
7652         * LyXAction.C:
7653         * ToolbarDefaults.C:
7654         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7655         Add LFUN_FONTFREE_UPDATE.
7656
7657         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7658         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7659
7660         * bufferview_func.[Ch]: several new functions to facilliate
7661         transfer of data to and from the character dialog.
7662
7663 2003-03-12  John Levon  <levon@movementarian.org>
7664
7665         * buffer.C:
7666         * paragraph.h:
7667         * paragraph.C:
7668         * paragraph_funcs.C:
7669         * paragraph_pimpl.C:
7670         * sgml.C:
7671         * tabular.C:
7672         * text.C:
7673         * text3.C: remove META_NEWLINE in favour of an inset
7674
7675         * rowpainter.h:
7676         * rowpainter.C: remove paintNewline (done by inset)
7677
7678 2003-03-12  John Levon  <levon@movementarian.org>
7679
7680         * paragraph_pimpl.C: complain about bad getChar()s
7681         for a while at least
7682
7683 2003-03-12  John Levon  <levon@movementarian.org>
7684
7685         * buffer.h:
7686         * buffer.C: move paragraph read into a separate function,
7687         a little renaming to reflect that.
7688
7689         * bufferparams.h:
7690         * bufferparams.C: remove the author_ids map, not necessary now
7691
7692         * factory.h:
7693         * factory.C: moved Buffer::readInset to here
7694
7695         * paragraph_funcs.h:
7696         * paragraph_funcs.C: readParagraph free function moved from
7697         buffer.C
7698
7699         * tabular.C: name change
7700
7701 2003-03-12  John Levon  <levon@movementarian.org>
7702
7703         * buffer.C:
7704         * ParagraphParameters.C: move par params input to
7705         a read() method
7706
7707         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7708         behave like a normal read from the stream wrt reading
7709         a line vs. a \\token
7710
7711 2003-03-12  John Levon  <levon@movementarian.org>
7712
7713         * paragraph.C:
7714         * ParagraphParameters.h:
7715         * ParagraphParameters.C: move output code to a
7716         ::write() method
7717
7718 2003-03-12  John Levon  <levon@movementarian.org>
7719
7720         * BufferView.C (insertLyXFile):
7721         * buffer.h:
7722         * buffer.C:
7723         * tabular.C: use a parlist iterator for creating the
7724           document.
7725
7726 2003-03-12  John Levon  <levon@movementarian.org>
7727
7728         * buffer.C: make current_change static local not
7729           static file-scope
7730
7731 2003-03-12  John Levon  <levon@movementarian.org>
7732
7733         * buffer.C: fix insertStringAsLines for change tracking
7734
7735 2003-03-12  John Levon  <levon@movementarian.org>
7736
7737         * BufferView.C:
7738         * tabular.C:
7739         * buffer.h:
7740         * buffer.C:
7741         * bufferparams.h:
7742         * bufferparams.C: move author list into params. Rename some
7743           functions. Move the header reading into a separate token
7744           loop. Move the header token reading into BufferParams.
7745
7746 2003-03-12  John Levon  <levon@movementarian.org>
7747
7748         * changes.C: put debug inside lyxerr.debugging() checks
7749
7750 2003-03-11 André Pönitz <poenitz@gmx.net>
7751
7752         * factory.C: make it aware of InsetHFill
7753
7754 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7755
7756         * buffer.C (latexParagraphs): move function from here...
7757         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7758         args.
7759
7760 2003-03-10  Angus Leeming  <leeming@lyx.org>
7761
7762         * LyXAction.C (init): fix bug in poplating array with multiple entries
7763         with the same LFUN (spotted by JMarc).
7764
7765 2003-03-10  John Levon  <levon@movementarian.org>
7766
7767         * text.C:
7768         * text2.C: move getColumnNearX() near its
7769         only call site
7770
7771 2003-03-10  John Levon  <levon@movementarian.org>
7772
7773         * text.C: fix break before a minipage
7774
7775 2003-03-10  John Levon  <levon@movementarian.org>
7776
7777         * text.C: fix the last commit
7778
7779 2003-03-09  John Levon  <levon@movementarian.org>
7780
7781         * lyxtext.h:
7782         * text.C:
7783         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7784         bug 365 (don't break before insets unless needed). Don't
7785         return a value > last under any circumstances.
7786
7787 2003-03-09  Angus Leeming  <leeming@lyx.org>
7788
7789         * BufferView_pimpl.C (trackChanges, dispatch): call
7790         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7791
7792 2003-03-09  Angus Leeming  <leeming@lyx.org>
7793
7794         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7795         than Dialogs::showAboutlyx().
7796
7797 2003-03-09  Angus Leeming  <leeming@lyx.org>
7798
7799         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7800         than Dialogs::showTabularCreate().
7801
7802 2003-03-09  John Levon  <levon@movementarian.org>
7803
7804         * lyxtext.h:
7805         * text.C:
7806         * text2.C: 3rd arg to nextBreakPoint was always the same.
7807           Use references.
7808
7809 2003-03-08  John Levon  <levon@movementarian.org>
7810
7811         * lyxrow.C:
7812         * paragraph.C:
7813         * paragraph.h:
7814         * rowpainter.C:
7815         * text.C:
7816         * text2.C: Remove the "main" bit from the "main body"
7817           notion.
7818
7819 2003-03-08  John Levon  <levon@movementarian.org>
7820
7821         * text.C (leftMargin): The left margin of an empty
7822         manual label paragraph should not include the label width
7823         string length.
7824
7825         * text.C (prepareToPrint): don't attempt to measure hfills
7826         for empty manual label paragraphs - the answer should be 0
7827
7828 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7829
7830         * CutAndPaste.C: remove commented code and reindent.
7831
7832 2003-03-08  John Levon  <levon@movementarian.org>
7833
7834         * lyxfunc.h:
7835         * lyxfunc.C: move reloadBuffer()
7836
7837         * BufferView.h:
7838         * BufferView.C: to here
7839
7840         * lyxvc.C: add comment
7841
7842         * vc-backend.h:
7843         * vc-backend.C: call bv->reload() to avoid
7844           getStatus() check on MENURELOAD
7845
7846 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7847
7848         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7849         to an old format .dep file.
7850
7851 2003-03-07  Angus Leeming  <leeming@lyx.org>
7852
7853         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7854         when the LFUN_MOUSE_RELEASE should have been handled by
7855         inset->localDispatch.
7856
7857 2003-03-07  Angus Leeming  <leeming@lyx.org>
7858
7859         * BufferView_pimpl.C (dispatch):
7860         * LyXAction.C (init):
7861         * ToolbarDefaults.C (init):
7862         * commandtags.h:
7863         * lyxfunc.C (getStatus):
7864         remove LFUN_INSET_GRAPHICS.
7865
7866         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7867
7868 2003-03-07  Angus Leeming  <leeming@lyx.org>
7869
7870         * commandtags.h:
7871         * LyXAction.C (init):
7872         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7873
7874         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7875
7876         * commandtags.h:
7877         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7878
7879         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7880         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7881
7882 2003-03-07  Angus Leeming  <leeming@lyx.org>
7883
7884         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7885         remove "ert".
7886
7887 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7888
7889         * ParagraphList.C (front): new function
7890         (back): implement
7891
7892 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7893
7894         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7895         and top_row_offset_. removed var first_y.
7896         * text.C (top_y):
7897         * text2.C (LyXText, removeRow):
7898         * text3.C:
7899         * BufferView_pimpl.C:
7900         use these methods instead of using first_y
7901
7902 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7903
7904         * text2.C (pasteSelection): adjust for checkPastePossible
7905
7906         * CutAndPaste.C: remove Paragraph * buf and replace with
7907         ParagraphList paragraphs.
7908         (DeleteBuffer): delete
7909         (cutSelection): change the tc type to textclass_type
7910         (copySelection): change the tc type to textclass_type
7911         (copySelection): adjust for ParagraphList
7912         (pasteSelection): change the tc type to textclass_type
7913         (pasteSelection): adjust for Paragraphlist
7914         (nrOfParagraphs): simplify for ParagraphList
7915         (checkPastePossible): simplify for ParagraphList
7916         (checkPastePossible): remove unused arg
7917
7918         * ParagraphList.C (insert): handle the case where there are no
7919         paragraphs yet.
7920
7921         * CutAndPaste.h: make CutAndPaste a namespace.
7922
7923         * text3.C (dispatch): adjust
7924
7925         * text.C (breakParagraph): add a ParagraphList as arg
7926
7927         * paragraph_funcs.C (breakParagraph): change to take a
7928         BufferParams and a ParagraphList as args.
7929         (breakParagraphConservative): ditto
7930         (mergeParagraph): ditto
7931         (TeXDeeper): add a ParagraphList arg
7932         (TeXEnvironment): ditto
7933         (TeXOnePar): ditto
7934
7935         * buffer.C (readLyXformat2): adjust
7936         (insertStringAsLines): adjust
7937         (latexParagraphs): adjust
7938
7939         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7940         (cutSelection): adjust
7941         (pasteSelection): adjust
7942
7943         * BufferView_pimpl.C (insertInset): adjust
7944
7945 2003-03-05  Angus Leeming  <leeming@lyx.org>
7946
7947         * commandtags.h:
7948         * LyXAction.C (init):
7949         * BufferView_pimpl.C (dispatch):
7950         * lyxfunc.C (getStatus):
7951         remove LFUN_CHILD_INSERT.
7952
7953         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7954
7955 2003-03-05  Angus Leeming  <leeming@lyx.org>
7956
7957         * commandtags.h:
7958         * LyXAction.C (init):
7959         * src/factory.C (createInset):
7960         * lyxfunc.C (getStatus):
7961         * text3.C (dispatch):
7962         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7963
7964         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7965
7966 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7967
7968         * ParagraphList.C (insert): handle insert right before end()
7969         (erase): fix cases where it can be first or last paragraph.
7970
7971 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7972
7973         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7974         Paragraph::next and Paragraph::previous
7975         (TeXOnePar): ditto
7976
7977         * text.C (breakParagraph): adjust
7978
7979         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7980         BufferParams& as arg.
7981         (breakParagraph): use ParagraphList::insert
7982         (breakParagraphConservative): take a Buffer* instead of a
7983         BufferParams& as arg.
7984         (breakParagraphConservative): use ParagraphList::insert.
7985
7986         * buffer.C (insertStringAsLines): un-const it
7987         (insertStringAsLines): adjust
7988
7989         * ParagraphList.C (insert): new function
7990
7991         * CutAndPaste.C (pasteSelection): adjust
7992
7993         * text.C (backspace): adjust
7994
7995         * tabular.C (SetMultiColumn): adjust
7996
7997         * CutAndPaste.C (cutSelection): adjust
7998         (pasteSelection): adjust
7999
8000         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
8001         Buffer const * as arg
8002
8003         * ParagraphList.C (erase): new function
8004         * paragraph_funcs.C (mergeParagraph): use it
8005         (mergeParagraph): make it take a Buffer* instead of a
8006         BufferParams* as arg
8007
8008         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
8009         as arg
8010         (breakParagraphConservative): ditto
8011
8012         * paragraph.h: remove the breakParagraph friend
8013
8014         * paragraph.C (eraseIntern): new function
8015         (setChange): new function
8016
8017         * paragraph_funcs.C (mergeParagraph): make it take a
8018         ParagraphList::iterator instead of a Paragraph *, adjust
8019         accordingly.
8020
8021         * paragraph.h: move an #endif so that the change tracking stuff
8022         also works in the NO_NEXT case.
8023
8024 2003-03-04  Angus Leeming  <leeming@lyx.org>
8025
8026         * commandtags.h:
8027         * LyXAction.C: new LFUN_INSET_MODIFY.
8028
8029         * BufferView_pimpl.C (dispatch): if an inset is found to be open
8030         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
8031
8032 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8033
8034         * several files: ws changes only
8035
8036         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
8037         (TeXEnvironment): ditto
8038         (TeXDeeper): ditto
8039
8040         * buffer.C (makeLaTeXFile): adjust
8041         (latexParagraphs): make it take ParagraphList::iterator as args
8042
8043 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8044
8045         * buffer.C (latexParagraphs): adjust
8046
8047         * paragraph.C (TeXOnePar): move function...
8048         (optArgInset): move function...
8049         (TeXEnvironment): move function...
8050         * paragraph_pimpl.C (TeXDeeper): move function...
8051         * paragraph_funcs.C: ...here
8052
8053         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
8054
8055 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8056
8057         * buffer.C (readInset): remove compability code for old Figure and
8058         InsetInfo insets
8059
8060 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8061
8062         * buffer.C: ws changes
8063         (readInset):
8064
8065         * BufferView_pimpl.C: ditto
8066         * author.C: ditto
8067         * buffer.h: ditto
8068         * bufferlist.h: ditto
8069         * changes.h: ditto
8070         * lyxfunc.C: ditto
8071
8072 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
8073
8074         * converter.[Ch]: split into itself +
8075         * graph.[Ch]
8076         * format.[Ch]
8077         * Makefile.am: += graph.[Ch] + format.[Ch]
8078         * MenuBackend.C
8079         * buffer.C
8080         * exporter.C
8081         * importer.C
8082         * lyx_main.C
8083         * lyxfunc.C
8084         * lyxrc.C: added #include "format.h"
8085
8086 2003-02-27  Angus Leeming  <leeming@lyx.org>
8087
8088         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8089           a label.
8090
8091         * factory.C (createInset): add "label" to the factory.
8092
8093         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8094           string and do no more.
8095
8096 2003-02-27  Angus Leeming  <leeming@lyx.org>
8097
8098         * commandtags.h:
8099         * LyXAction.C (init):
8100         * factory.C (createInset):
8101         * BufferView_pimpl.C (dispatch):
8102           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8103
8104         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8105
8106         * lyxfunc.C (dispatch):
8107         * text3.C (dispatch): pass name to params2string.
8108
8109 2003-02-26  Angus Leeming  <leeming@lyx.org>
8110
8111         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8112           blocks together.
8113           Rearrange the ~includes. Strip out the unnecessary ones.
8114
8115         * factory.C (createInset): reformat.
8116           create new insets for the various LFUN_XYZ_APPLY lfuns.
8117
8118 2003-02-26  John Levon  <levon@movementarian.org>
8119
8120         * lyxrow.h:
8121         * lyxrow.C: add isParStart,isParEnd helpers
8122
8123         * paragraph.h: make isInserted/DeletedText take refs
8124
8125         * paragraph_funcs.h:
8126         * paragraph_funcs.C: remove #if 0'd code
8127
8128         * lyxtext.h:
8129         * text3.C:
8130         * text2.C:
8131         * text.C: use lyxrow helpers above.
8132           Move draw and paint routines to RowPainter.
8133           Make several methods use refs not pointers.
8134           Make backgroundColor() const.
8135           Add markChangeInDraw(), isInInset().
8136           Merge changeRegionCase into changeCase.
8137           Make workWidth() shouldn't-happen code into an Assert.
8138
8139         * rowpainter.h:
8140         * rowpainter.C: new class for painting a row.
8141
8142         * vspace.h:
8143         * vspace.C: make inPixels take a ref
8144
8145 2003-02-26  Angus Leeming  <leeming@lyx.org>
8146
8147         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8148         LFUN_REF_APPLY.
8149
8150 2003-02-25  John Levon  <levon@movementarian.org>
8151
8152         * ispell.C: give the forked command a more accurate name
8153
8154 2003-02-22  John Levon  <levon@movementarian.org>
8155
8156         * toc.h:
8157         * toc.C: make TocItem store an id not a Paragraph *
8158           (bug #913)
8159
8160 2003-02-21  Angus Leeming  <leeming@lyx.org>
8161
8162         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8163           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8164           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8165           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8166           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8167           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8168
8169         * BufferView_pimpl.C (dispatch):
8170         * LyXAction.C (init):
8171         * factory.C (createInset):
8172         * lyxfunc.C (getStatus, dispatch):
8173         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8174
8175 2003-02-21  Angus Leeming  <leeming@lyx.org>
8176
8177         * BufferView_pimpl.C (MenuInsertLyXFile):
8178         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8179         * lyxfunc.C (menuNew, open, doImport):
8180           no longer pass a LyXView & to fileDlg.
8181
8182 2003-02-21  Angus Leeming  <leeming@lyx.org>
8183
8184         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8185         * LyXAction.C: change, BIBKEY to BIBITEM.
8186         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8187         Change InsetBibKey to InsetBibitem.
8188         Change BIBKEY_CODE to BIBITEM_CODE.
8189         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8190         * factory.C: replace insetbib.h with insetbibitem.h.
8191         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8192         * paragraph.C: replace insetbib.h with insetbibitem.h.
8193         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8194         Change bibkey() to bibitem().
8195         * text.C: remove insetbib.h.
8196         * text2.C: replace insetbib.h with insetbibitem.h.
8197         change bibkey() to bibitem().
8198         * text3.C: remove insetbib.h.
8199         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8200
8201 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8202
8203         * lyxrc.C (output): enclose user email in quotes (in case there are
8204         several words)
8205
8206 2003-02-18  John Levon  <levon@movementarian.org>
8207
8208         * buffer.h: add std::
8209
8210 2003-02-17  John Levon  <levon@movementarian.org>
8211
8212         * SpellBase.h:
8213         * ispell.h:
8214         * ispell.C:
8215         * pspell.h:
8216         * pspell.C: reworking. Especially in ispell, a large
8217           number of clean ups and bug fixes.
8218
8219         * lyxfunc.C: fix revert to behave sensibly
8220
8221 2003-02-17 André Pönitz <poenitz@gmx.net>
8222
8223         * LyXAction.C:
8224         * commandtags.h: new LFUN_INSERT_BIBKEY
8225
8226         * layout.h:
8227         * lyxlayout.C:
8228         * buffer.C:
8229         * factory.C:
8230         * text.C:
8231         * text2.C:
8232         * text3.C:
8233         * paragraph.[Ch]:
8234         * paragraph_func.C: remove special bibkey handling
8235
8236 2003-02-17  John Levon  <levon@movementarian.org>
8237
8238         * text.C (Delete): fix case where delete at the end of
8239           the very first paragraph would not merge the pars
8240
8241 2003-02-17  John Levon  <levon@movementarian.org>
8242
8243         * lyxrow.C: fix lastPrintablePos()
8244
8245 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8246
8247         * bufferparams.C (writeLaTeX): add a std:here
8248
8249         * buffer.C: and remove a using directive there
8250
8251 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8252
8253         * buffer.C (makeLaTeXFile): move the code that generates the
8254           preamble...
8255
8256         * bufferparams.C (writeLaTeX): ... in this new method
8257
8258         * LaTeXFeatures.C (getEncodingSet): make const
8259           (getLanguages): make const
8260
8261         * MenuBackend.C (binding): returns the binding associated to this
8262           action
8263           (add): sets the status of each item by calling getStatus. Adds
8264           some intelligence.
8265           (read): add support for OptSubMenu
8266           (expand): remove extra separator at the end of expanded menu
8267
8268 2003-02-15  John Levon  <levon@movementarian.org>
8269
8270         * BufferView.C:
8271         * BufferView_pimpl.C:
8272         * bufferlist.h:
8273         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8274           inset code that had no actual effect. Remove unneeded status
8275           code.
8276
8277 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8278
8279         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8280           in preamble
8281
8282 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8283
8284         * text.C (drawLengthMarker): also draw an arrow marker for
8285           symbolic lengths (medskip...)
8286
8287 2003-02-14  John Levon  <levon@movementarian.org>
8288
8289         * tabular.h:
8290         * tabular.C: better method names
8291
8292 2003-02-14  John Levon  <levon@movementarian.org>
8293
8294         * BufferView_pimpl.C:
8295         * bufferlist.C:
8296         * buffer.C:
8297         * converter.C:
8298         * lyx_cb.C:
8299         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8300           it's a more accurate name. Remove some pointless uses.
8301
8302 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8303
8304         * text2.C (LyXText): change order of initilizers to shut off
8305           warnings
8306
8307 2003-02-14  John Levon  <levon@movementarian.org>
8308
8309         * buffer.C: use ParIterator for getParFromID()
8310
8311         * paragraph.h:
8312         * paragraph.C:
8313         * paragraph_pimpl.h:
8314         * paragraph_pimpl.C: remove unused getParFromID()
8315
8316 2003-02-14  John Levon  <levon@movementarian.org>
8317
8318         * buffer.C: remove some very old #if 0'd parse code
8319
8320 2003-02-13  John Levon  <levon@movementarian.org>
8321
8322         * text.h:
8323         * text.C:
8324         * text2.C: move hfillExpansion(), numberOfSeparators(),
8325           rowLast(), rowLastPrintable(), numberofHfills(),
8326           numberOfLabelHfills() ...
8327
8328         * lyxrow.h:
8329         * lyxrow.C: ... to member functions here.
8330
8331         * paragraph.h:
8332         * paragraph.C:
8333         * lyxtext.h:
8334         * text.C: remove LyXText::beginningOfMainBody(), and call
8335           p->beginningOfMainBody() directly. Move the check for
8336           LABEL_MANUAL into the latter.
8337
8338         * text.h:
8339         * text.C:
8340         * text2.C:
8341         * vspace.C:
8342         * BufferView.h:
8343         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8344
8345         * text.h:
8346         * text.C:
8347         * text2.C:
8348         * text3.C:
8349         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8350           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8351
8352 2003-02-13  John Levon  <levon@movementarian.org>
8353
8354         * CutAndPaste.C: remove debug
8355
8356 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8357
8358         * paragraph.C (asString): remove two unused variables
8359
8360         * lyxtextclass.C (readTitleType):
8361           (Read):
8362           (LyXTextClass): handle new members titletype_ and titlename_
8363
8364         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8365
8366 2003-02-09  John Levon  <levon@movementarian.org>
8367
8368         * buffer.h:
8369         * buffer.C: replace hand-coded list with a map for the dep clean
8370
8371 2003-02-08  John Levon  <levon@movementarian.org>
8372
8373         * LaTeX.C: consolidate code into showRunMessage() helper
8374
8375 2003-02-08  John Levon  <levon@movementarian.org>
8376
8377         * lyxfind.C:
8378         * lyxtext.h:
8379         * text2.C:
8380         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8381           and pass the size in explicitly
8382
8383         * BufferView_pimpl.h:
8384         * BufferView_pimpl.C:
8385         * BufferView.h:
8386         * BufferView.C: add getCurrentChange()
8387
8388         * BufferView_pimpl.h:
8389         * BufferView_pimpl.C: handle change lfuns
8390
8391         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8392           for changes. Mark pasted paragraphs as new.
8393
8394         * support/lyxtime.h:
8395         * support/lyxtime.C:
8396         * DepTable.C: abstract time_t as lyx::time_type
8397
8398         * LColor.h:
8399         * LColor.C: add colours for new text, deleted text, changebars
8400
8401         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8402           package use "usenames" option.
8403
8404         * commandtags.h:
8405         * lyxfunc.C:
8406         * LyXAction.C: add change lfuns
8407
8408         * Makefile.am:
8409         * author.h:
8410         * author.C: author handling
8411
8412         * buffer.h:
8413         * buffer.C: add a per-buffer author list, with first entry as
8414           current author. Handle new .lyx tokens for change tracking. Output
8415           author list to .lyx file. Output dvipost stuff to .tex preamble.
8416           Bump lyx format to 222.
8417
8418         * bufferlist.h:
8419         * bufferlist.C: add setCurrentAuthor() to reset current author details
8420           in all buffers.
8421
8422         * bufferparams.h:
8423         * bufferparams.C: add param for tracking
8424
8425         * bufferview_funcs.C: output change info in minibuffer
8426
8427         * Makefile.am:
8428         * changes.h:
8429         * changes.C: add change-tracking structure
8430
8431         * debug.h:
8432         * debug.C: add CHANGES debug flag
8433
8434         * lyxfind.h:
8435         * lyxfind.C: add code for finding the next change piece
8436
8437         * lyxrc.h:
8438         * lyxrc.C: add user_name and user_email
8439
8440         * lyxrow.h:
8441         * lyxrow.C: add a metric for the top of the text line
8442
8443         * lyxtext.h:
8444         * text.C: implement accept/rejectChange()
8445
8446         * lyxtext.h:
8447         * text.C: paint changebars. Paint new/deleted text in the chosen
8448         colours. Strike through deleted text.
8449
8450         * paragraph.h:
8451         * paragraph.C:
8452         * paragraph_pimpl.h:
8453         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8454           in the current change to the insert functions. Rework erase to
8455           mark text as deleted, adding an eraseIntern() and a range-based
8456           erase(). Implement per-paragraph change lookup and
8457           accept/reject.
8458
8459         * paragraph_funcs.C: Fixup paste for change tracking.
8460
8461         * tabular.C: mark added row/columns as new.
8462
8463         * text.C: fix rowLast() to never return -1. Don't allow
8464           spellchecking of deleted text. Track transpose changes. Don't
8465           allow paragraph break or merge where appropriate.
8466
8467         * text2.C: leave cursor at end of selection after a cut.
8468
8469 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8470
8471         * text.C (getLengthMarkerHeight):
8472         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8473         visible on screen too.
8474
8475 2003-02-07  John Levon  <levon@movementarian.org>
8476
8477         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8478
8479 2003-02-05  Angus Leeming  <leeming@lyx.org>
8480
8481         * lyxserver.C (read_ready): revert my patch of 11 September last year
8482         as it sends PC cpu through the roof. Presumably this means that
8483         the lyxserver will no longer run on an Alpha...
8484
8485 2003-01-30  Angus Leeming  <leeming@lyx.org>
8486
8487         * factory.C (createInset): create an InsetCommandParam of type "index"
8488         and use it to 'do the right thing'.
8489
8490         * text2.C (getStringToIndex): ensure that cursor position is always
8491         reset to the reset_cursor position.
8492
8493 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8494
8495         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8496         disabled.
8497
8498 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8499
8500         * bufferview.C:
8501         * lyxcb.C:
8502         * lyxfunc.C: Output messages with identical spelling, punctuation,
8503         and spaces
8504
8505 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8506
8507         * MenuBackend.C (expandFormats): List only viewable export formats
8508         in "View" menu
8509
8510         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8511         message
8512
8513         * lyxfunc.C (getStatus): Make sure that formats other than
8514         "fax" can also be disabled
8515
8516 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8517
8518         * text3.C (dispatch): put the lfuns that insert insets in 3
8519         groups, and call doInsertInset with appropriate arguments.
8520         (doInsertInset): new function, that creates an inset and inserts
8521         it according to some boolean parameters.
8522
8523 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8524
8525         * buffer.C (readFile): remember to pass on 'par' when calling
8526         readFile recursively.
8527
8528 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8529
8530         * MenuBackend.C (expandFormats): add "..." to import formats.
8531
8532 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8533
8534         * paragraph.C (asString): Remove XForms RTL hacks.
8535
8536 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8537         * buffer.C: fix typo
8538
8539 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8540
8541         * Makefile.am (LIBS): delete var
8542         (lyx_LDADD): add @LIBS@ here instead.
8543
8544 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8545
8546         * Clarify the meaning of "wheel mouse jump"
8547
8548 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8549
8550         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8551         tabular in a float
8552
8553 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8554
8555         * importer.C (Loaders): do not preallocate 3 elements in the
8556         vector, since one ends up with 6 elements otherwise
8557
8558 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8559
8560         * DepTable.C (write): write the file name as last element of the
8561         .dep file (because it may contain spaces)
8562         (read): read info in the right order
8563
8564 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8565
8566         * paragraph_pimpl.C (simpleTeXBlanks):
8567         (simpleTeXSpecialChars):
8568         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8569
8570         * tabular.C (latex): add some missing case statements. Reindent.
8571
8572         * MenuBackend.C (expandToc): remove unused variable.
8573
8574 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8575
8576         * LColor.C:
8577         * LaTeX.C:
8578         * LyXAction.C:
8579         * MenuBackend.C:
8580         * buffer.C:
8581         * exporter.C:
8582         * lyxfunc.C:
8583         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8584         and the like.
8585
8586 2003-01-05  John Levon  <levon@movementarian.org>
8587
8588         * BufferView.h:
8589         * BufferView.C: add getEncoding()
8590
8591         * kbsequence.h:
8592         * kbsequence.C: do not store last keypress
8593
8594         * lyxfunc.h:
8595         * lyxfunc.C: store last keypress here instead. Pass encoding
8596           to getISOEncoded()
8597
8598 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8599
8600         * lyx_main.C (init): remove annoying error message when following
8601         symbolic links (bug #780)
8602
8603 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8604
8605         * text.C (insertChar):
8606         * lyxrc.C (getDescription): remove extra spaces
8607
8608 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8609
8610         * lyxrc.C (getDescription): remove extra spaces
8611
8612 2002-12-20  John Levon  <levon@movementarian.org>
8613
8614         * text3.C: hack fix for page up/down across tall rows
8615
8616 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8617
8618         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8619         not been invoked
8620
8621 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8622
8623         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8624         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8625         thesaurus is not compiled in
8626
8627 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8628
8629         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8630
8631 2002-12-16  Angus Leeming  <leeming@lyx.org>
8632
8633         * lyxrc.[Ch]:
8634         * lyx_main.C (init): remove override_x_deadkeys stuff.
8635
8636 2002-12-12  John Levon  <levon@movementarian.org>
8637
8638         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8639           insert. Only remove shift modifier under strict
8640           circumstances.
8641
8642 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8643
8644         * MenuBackend.C (expandToc): fix crash.
8645
8646 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8647
8648         * MenuBackend.C (expandToc): gettext on float names.
8649
8650 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8651
8652         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8653         implement bool empty() [bug 490]
8654
8655 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8656
8657         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8658
8659 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8660
8661         * several files: ws changes
8662
8663 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8664
8665         * text2.C (setCounter): clean up a bit, use boost.format.
8666         (updateCounters): initialize par upon declaration.
8667
8668         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8669         if the layout exists. We do not just store the layout any more.
8670         (SwitchLayoutsBetweenClasses): use boost.format
8671
8672 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8673
8674         * converter.C (convert): if from and to files are the same, use a
8675         temporary files as intermediary
8676
8677 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8678
8679         * commandtags.h:
8680         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8681
8682 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8683
8684         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8685
8686 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8687
8688         * tabular.C (asciiPrintCell): use string(size, char) instead of
8689         explicit loop.
8690
8691         * sgml.C (openTag): fix order of arguments to string constructor
8692         (closeTag): ditto
8693
8694         * lyxfunc.C (dispatch): use boost.format
8695
8696         * lots of files: change "c" -> 'c'
8697
8698 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8699
8700         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8701
8702 2002-11-25  Angus Leeming  <leeming@lyx.org>
8703
8704         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8705
8706         * lyx_main.C (init): compile fix.
8707
8708 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8709
8710         * lyx_cb.C (start): boost.formatify
8711         do not include <iostream>
8712
8713         * lengthcommon.C: ws only
8714
8715         * boost-inst.C,BoostFormat.h: add more explict instantations
8716
8717 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8718
8719         * lots of files: handle USE_BOOST_FORMAT
8720
8721 2002-11-21  John Levon  <levon@movementarian.org>
8722
8723         * pspell.C: fix compile
8724
8725 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8726
8727         * lyxfunc.C (dispatch): use boost::format
8728         (open): ditto
8729         (doImport): ditto
8730
8731         * lyxfont.C (stateText): use boost::format
8732
8733         * lyx_main.C (LyX): use boost::format
8734         (init): ditto
8735         (queryUserLyXDir): ditto
8736         (readRcFile): ditto
8737         (parse_dbg): ditto
8738         (typedef boost::function): use the recommened syntax.
8739
8740         * importer.C (Import): use boost::format
8741
8742         * debug.C (showLevel): use boost::format
8743
8744         * converter.C (view): use boost::format
8745         (convert): ditto
8746         (move): ditto
8747         (scanLog): ditto
8748
8749         * bufferview_funcs.C (currentState): use boost::format
8750
8751         * bufferlist.C (emergencyWrite): use boost::format
8752
8753         * buffer.C (readLyXformat2): use boost::format
8754         (parseSingleLyXformat2Token): ditto
8755
8756         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8757
8758         * LaTeX.C (run): use boost::format
8759
8760         * Chktex.C (scanLogFile): use boost::format
8761
8762         * BufferView_pimpl.C (savePosition): use boost::format
8763         (restorePosition): ditto
8764         (MenuInsertLyXFile): ditto
8765
8766         * BoostFormat.h: help file for explicit instation.
8767
8768 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8769
8770         * tabular.C (latex): Support for block alignment in fixed width
8771         columns.
8772
8773 2002-11-17  John Levon  <levon@movementarian.org>
8774
8775         * BufferView_pimpl.C:
8776         * lyx_cb.C:
8777         * lyxfunc.C: split filedialog into open/save
8778
8779 2002-11-08  Juergen Vigna  <jug@sad.it>
8780
8781         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8782         by my last patch (hopefully).
8783
8784 2002-11-08  John Levon  <levon@movementarian.org>
8785
8786         * iterators.h:
8787         * iterators.C:
8788         * buffer.h:
8789         * buffer.C:
8790         * paragraph.h:
8791         * paragraph.C:
8792         * toc.h:
8793         * toc.C: ParConstIterator, and use it (from Lars)
8794
8795 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8796
8797         * lyxtextclass.[Ch]: revise and add doxygen comments
8798
8799 2002-11-07  John Levon  <levon@movementarian.org>
8800
8801         * text.C: fix progress value for spellchecker
8802
8803         * toc.C: fix navigate menu for insetwrap inside minipage
8804
8805         * paragraph_funcs.C: added FIXME for suspect code
8806
8807 2002-11-07  John Levon  <levon@movementarian.org>
8808
8809         * BufferView_pimpl.C: fix redrawing of insets
8810           on buffer switch
8811
8812 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8813
8814         * text2.C (updateCounters): fix bug 668
8815
8816 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8817
8818         * text3.C (dispatch): Do not make the buffer dirty when moving the
8819         cursor.
8820
8821 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8822
8823         * vc-backend.C: STRCONV
8824         (scanMaster): ditto
8825
8826         * text2.C (setCounter): STRCONV
8827
8828         * paragraph.C (asString): STRCONV
8829
8830         * lyxlength.C (asString): STRCONV
8831         (asLatexString): ditto
8832
8833         * lyxgluelength.C (asString): STRCONV
8834         (asLatexString): ditto
8835
8836         * lyxfunc.C (dispatch): STRCONV
8837         (open): ditto
8838
8839         * lyxfont.C (stateText): STRCONV
8840
8841         * importer.C (Import): STRCONV
8842
8843         * counters.C (labelItem): STRCONV
8844         (numberLabel): ditto
8845         (numberLabel): remove unused ostringstream o
8846
8847         * chset.C: STRCONV
8848         (loadFile): ditto
8849
8850         * bufferview_funcs.C (currentState): STRCONV
8851
8852         * buffer.C (readFile): STRCONV
8853         (asciiParagraph): ditto
8854         (makeLaTeXFile): ditto
8855
8856         * Spacing.C (writeEnvirBegin): STRCONV
8857
8858         * LaTeXFeatures.C (getLanguages): STRCONV
8859         (getPackages): ditto
8860         (getMacros): ditto
8861         (getBabelOptions): ditto
8862         (getTClassPreamble): ditto
8863         (getLyXSGMLEntities): ditto
8864         (getIncludedFiles): ditto
8865
8866         * LaTeX.C: STRCONV
8867         (run): ditto
8868         (scanAuxFile): ditto
8869         (deplog): ditto
8870
8871         * LString.h: add the STRCONV macros
8872
8873         * BufferView_pimpl.C (savePosition): STRCONV
8874         (restorePosition): ditto
8875         (MenuInsertLyXFile): ditto
8876
8877         * vc-backend.C (scanMaster): change from submatch[...] to
8878         submatch.str(...)
8879
8880         * funcrequest.C: include config.h
8881
8882         * factory.C: include config.h
8883
8884         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8885
8886         * box.C: include config.h
8887
8888         * LaTeX.C (scanAuxFile): change from submatch[...] to
8889         submatch.str(...)
8890         (deplog): ditto
8891
8892 2002-10-25  Angus Leeming  <leeming@lyx.org>
8893
8894         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8895
8896         * ispell.[Ch] (setError): new method.
8897         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8898         Use setError() insetead of goto END.
8899
8900         * lyx_cb.C (AutoSave): move out child process into new class
8901         AutoSaveBuffer.
8902
8903 2002-10-30  John Levon  <levon@movementarian.org>
8904
8905         * text3.C: make start appendix undoable
8906
8907 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8908
8909         * lyxlength.C (inPixels): Fix returned value.
8910
8911         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8912         environment.
8913
8914 2002-10-24  Angus Leeming  <leeming@lyx.org>
8915
8916         * lyxgluelength.h: no need to forward declare BufferParams
8917         or BufferView, so don't.
8918
8919 2002-10-21  John Levon  <levon@movementarian.org>
8920
8921         * BufferView.C: menuUndo ->undo, redo
8922
8923         * BufferView.h: document, remove dead, make some methods private
8924
8925         * paragraph_funcs.h:
8926         * paragraph_funcs.C:
8927         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8928
8929         * buffer.h:
8930         * buffer.C:
8931         * sgml.h:
8932         * sgml.C: move sgml open/close tag into sgml.C
8933
8934         * bufferview_funcs.h: unused prototype
8935
8936         * lyxfunc.h:
8937         * lyxfunc.C: remove unused
8938
8939         * lyxtext.h:
8940         * text.C: remove unused
8941
8942 2002-10-21  John Levon  <levon@movementarian.org>
8943
8944         * BufferView.h:
8945         * BufferView.C:
8946         * BufferView_pimpl.h:
8947         * BufferView_pimpl.C: fix mouse wheel handling based on
8948           patch from Darren Freeman
8949
8950 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8951
8952         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8953
8954 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8955
8956         * lyxlength.C (inPixels): Fix hanfling of negative length.
8957         Fix LyXLength::MU case.
8958
8959 2002-10-16  John Levon  <levon@movementarian.org>
8960
8961         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8962
8963 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8964
8965         * converter.C (view): add support for $$i (file name) and $$p
8966         (file path) for the viewer command. If $$i is not specified, then
8967         it is appended to the command (for compatibility with old syntax)
8968
8969 2002-10-14  Juergen Vigna  <jug@sad.it>
8970
8971         * undo_funcs.C (textHandleUndo): alter the order in which the
8972         new undopar is added to the LyXText, as we have to set first
8973         the right prev/next and then add it as otherwise the rebuild of
8974         LyXText is not correct. Also reset the cursor to the right paragraph,
8975         with this IMO we could remove the hack in "redoParagraphs()".
8976
8977 2002-10-09  Angus Leeming  <leeming@lyx.org>
8978
8979         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8980         to turn off an optimisation if a new inset is to be inserted.
8981
8982 2002-10-11 André Pönitz <poenitz@gmx.net>
8983
8984         * lyxtext.h: make some functions public to allow access
8985         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8986
8987 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8988
8989         * text3.C (dispatch): when changing layout, avoid an infinite loop
8990         [bug #652]
8991
8992 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8993
8994         * lyxrc.C (read): treat a viewer or converter command of "none" as
8995         if it were empty.
8996
8997         * MenuBackend.C (expandFormats): for an update, also allow the
8998         formats that are not viewable
8999
9000         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
9001         script if it is newer than the lyxrc.defaults in user directory
9002
9003 2002-10-07 André Pönitz <poenitz@gmx.net>
9004
9005         * text.C: Vitaly Lipatov's small i18n fix
9006
9007 2002-09-25  Angus Leeming  <leeming@lyx.org>
9008
9009         * ispell.h: doxygen fix.
9010
9011 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
9012
9013         * buffer.h (readFile): Add a new argument to the method, to allow
9014         reading of old-format templates.
9015
9016 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
9017
9018         * toc.C (getTocList): Get TOC from InsetWrap.
9019
9020 2002-09-16  John Levon  <levon@movementarian.org>
9021
9022         * lyxfunc.C: check tabular for cut/copy too
9023
9024 2002-09-12  John Levon  <levon@movementarian.org>
9025
9026         * LyXAction.C: tidy
9027
9028         * factory.h:
9029         * factory.C: add header
9030
9031         * paragraph_funcs.h:
9032         * paragraph_funcs.C: cleanup
9033
9034 2002-09-11  John Levon  <levon@movementarian.org>
9035
9036         * PrinterParams.h: odd/even default to true
9037
9038 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
9039
9040         * PrinterParams.h: update printer parameters for new xforms dialog
9041
9042 2002-09-11  Angus Leeming  <leeming@lyx.org>
9043
9044         * lyxserver.C (read_ready): re-write to make it more transparent
9045         and to make it work in coherent fashion under Tru64 Unix.
9046
9047 2002-09-11  André Pönitz <poenitz@gmx.net>
9048
9049         * commandtags.h:
9050         * LyXAction.C:
9051         * text3.C: implement LFUN_WORDSEL
9052
9053 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9054
9055         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
9056         make floatlist_ a boost::shared_ptr<FloatList>
9057
9058         * lyxtextclass.C: include FloatList.h
9059         (LyXTextClass): initialize floatlist_
9060         (TextClassTags): add TC_NOFLOAT
9061         (Read): match "nofloat" to TC_NOFLOAT and use it.
9062         (readFloat): modify call to floatlist_
9063         (floats): ditto
9064         (floats): ditto
9065
9066         * FloatList.[Ch] (FloatList): remove commented out float
9067         initialization.
9068         (erase): new function
9069
9070 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9071
9072         * MenuBackend.C (expandToc): fix crash when there is no document
9073         open
9074
9075 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
9076
9077         * many files: Add insetwrap.
9078
9079 2002-09-09  John Levon  <levon@movementarian.org>
9080
9081         * text2.C: remove confusing and awkward depth wraparound
9082
9083 2002-09-09  John Levon  <levon@movementarian.org>
9084
9085         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9086
9087         * buffer.h:
9088         * buffer.C: remove getIncludeonlyList()
9089
9090         * paragraph.C:
9091         * lyxfunc.C: remove headers
9092
9093 2002-09-09  Juergen Vigna  <jug@sad.it>
9094
9095         * text.C (getColumnNearX): fix form Michael this is most
9096         probably a cut&paste bug.
9097
9098 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9099
9100         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9101
9102         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9103         references, ws changes.
9104
9105         * text2.C (init): update counters after init
9106         (insertParagraph): no need to set counter on idividual paragraphs.
9107         (setCounter): access the counters object in the textclass object
9108         on in the buffer object.
9109         (updateCounters): ditto
9110
9111         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9112         shared_ptr<Counters> to avoid loading counters.h in all
9113         compilation units.
9114         (LyXTextClass): initialize ctrs_
9115         (TextClassTags): add TC_COUNTER, and ...
9116         (Read): use it here.
9117         (CounterTags): new tags
9118         (readCounter): new function
9119         (counters): new funtion
9120         (defaultLayoutName): return a const reference
9121
9122         * counters.C (Counters): remove contructor
9123         (newCounter): remove a couple of unneeded statements.
9124         (newCounter): simplify a bit.
9125         (numberLabel): some small formatting changes.
9126
9127         * buffer.[Ch]: remove all traces of counters, move the Counters
9128         object to the LyXTextClass.
9129
9130 2002-09-06  Alain Castera  <castera@in2p3.fr>
9131
9132         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9133         package to set the horizontal alignment on fixed width columns.
9134
9135         * lyx_sty.C:
9136         * lyx_sty.h: added tabularnewline macro def.
9137
9138         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9139
9140 2002-09-06  John Levon  <levon@movementarian.org>
9141
9142         * LyXAction.C: tooltips for sub/superscript
9143
9144         * MenuBackend.C: a bit more verbose
9145
9146         * lyxfunc.C: tiny clean
9147
9148         * undo_funcs.C: document undo_frozen
9149
9150 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9151
9152         * counters.C (Counters): add missing algorithm counter.
9153
9154         * text2.C (setCounter): lookup the counter with layouts latexname
9155         instead of by section number.
9156         (setCounter): use a hackish way to lookup the correct enum
9157         counter.
9158         a float name->type change
9159         reset enum couners with counter name directly instead of depth value.
9160
9161         * counters.C (Counters): remove the push_backs, change to use the
9162         float type not the float name.
9163         (labelItem): remove unused string, float name->type change
9164
9165         * counters.h: don't include vector, loose the enums and sects vectors
9166
9167 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9168
9169         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9170         (Read): add float->TC_FLOAT to textclassTags
9171         (Read): and handle it in the switch
9172         (readFloat): new function
9173
9174         * FloatList.C (FloatList): comment out the hardcoded float
9175         definitions.
9176
9177         * lyxlayout.h: ws change.
9178
9179 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9180
9181         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9182
9183 2002-09-03  Angus Leeming  <leeming@lyx.org>
9184
9185         * BufferView_pimpl.h: qualified name is not allowed in member
9186         declaration: WorkArea & Pimpl::workarea() const;
9187
9188         * factory.C: added using std::endl directive.
9189
9190         * text3.C: added using std::find and std::vector directives.
9191
9192 2002-08-29  André Pönitz <poenitz@gmx.net>
9193
9194         * lyxtext.h:
9195         * text2.C: remove unused member number_of_rows
9196
9197         * Makefile.am:
9198         * BufferView2.C: remove file, move contents to...
9199         * BufferView.C: ... here
9200
9201         * BufferView_pimpl.C:
9202         * factory.C: move more inset creation to factory
9203
9204         * vspace.C: avoid direct usage of LyXText, ws changes
9205
9206         * BufferView.[Ch]:
9207                 don't provide direct access to WorkArea, use two simple
9208                 acessors haveSelction() and workHeight() instead
9209
9210
9211 2002-08-29  John Levon  <levon@movementarian.org>
9212
9213         * BufferView_pimpl.C (dispatch): do not continue when
9214           no buffer
9215
9216 2002-08-28  André Pönitz <poenitz@gmx.net>
9217
9218         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9219
9220         * BufferView.h:
9221         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9222
9223 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9224
9225         * buffer.C: increment LYX_FORMAT to 221
9226
9227         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9228         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9229
9230         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9231
9232         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9233
9234 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9235
9236         * factory.C (createInset): use LyXTextClass::floats
9237
9238         * MenuBackend.C (expandFloatListInsert):
9239         (expandFloatInsert):
9240         (expandToc):
9241
9242         * text2.C (setCounter):
9243
9244         * LaTeXFeatures.C (useFloat):
9245         (getFloatDefinitions):
9246
9247         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9248
9249         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9250         floatlist_, with accessor floats().
9251
9252         * FloatList.h: remove global FloatList
9253
9254 2002-08-26  André Pönitz <poenitz@gmx.net>
9255
9256         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9257
9258         * BufferView.h:
9259         * BufferView2.C:
9260         * BufferView_pimpl.C:
9261         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9262
9263 2002-08-25  John Levon  <levon@movementarian.org>
9264
9265         * LyXAction.C: fix margin note description
9266
9267 2002-08-24  John Levon  <levon@movementarian.org>
9268
9269         * buffer.C:
9270         * bufferlist.C:
9271         * bufferview_funcs.C:
9272         * lyxfont.C:
9273         * undo_funcs.C: cleanups
9274
9275         * lyxfunc.C: disable CUT/COPY when no selection
9276
9277 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9278
9279         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9280         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9281
9282         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9283         Add backward compatibility to "mono", "gray" and "no".
9284
9285 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9286
9287         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9288         (and file_format >= 200).
9289
9290 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9291
9292         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9293
9294 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9295
9296         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9297
9298 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9299
9300         * BufferView_pimpl.C:
9301         * LyXAction.C:
9302         * buffer.C:
9303         * commandtags.h:
9304         * lyxfunc.C:
9305         * paragraph.[Ch]:
9306         * text2.C:
9307         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9308         inset and code to make it  work with the paragraph code. The inset
9309         can be anywhere in the paragraph, but will only do the expected
9310         thing in LaTeX if the layout file contains the parameter line
9311                         OptionalArgs    1
9312         (or more generally, a nonzero value) for that layout.
9313
9314 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9315
9316         * paragraph.h: remove the declaration of undefined counters class
9317         function.
9318
9319 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9320
9321         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9322         Dr. Richard Hawkins.
9323
9324 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9325
9326         * paragraph_funcs.h: remove some unneeded includes
9327
9328         * text.C (backspace): pasteParagraph now in global scipe
9329
9330         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9331         (pasteSelection): ditto
9332
9333         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9334         * paragraph_funcs.C (pasteParagraph): ... here
9335
9336 2002-08-20  André Pönitz <poenitz@gmx.net>
9337
9338         * commandtags.h: new LFUNs for swapping/copying table row/colums
9339
9340         * LyXAction.C:
9341         * lyxfunc.C: support for new lfuns
9342
9343 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9344
9345         * tabular.C:
9346         * buffer.[Ch]: remove NO_COMPABILITY stuff
9347
9348 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9349
9350         * boost.C (throw_exception): new file, with helper function for
9351         boost compiled without exceptions.
9352
9353         * paragraph.h:
9354         * lyxlength.C:
9355         * buffer.C:
9356         * ParameterStruct.h:
9357         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9358
9359         * bufferlist.C (emergencyWriteAll): use boost bind
9360
9361         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9362
9363         * text.C: include paragraph_funcs.h
9364         (breakParagraph): breakParagraph is now in global scope
9365
9366         * paragraph_funcs.[Ch]: new files
9367
9368         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9369         global scope
9370
9371         * buffer.C: include paragraph_funcs.h
9372         (insertStringAsLines): breakParagraph is now in global scope
9373
9374         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9375         paragraph_funcs.C
9376
9377         * CutAndPaste.C: include paragraph_funcs.h
9378         (cutSelection): breakParagraphConservative is now in global scope
9379         (pasteSelection): ditto
9380
9381         * buffer.h: declare oprator== and operator!= for
9382         Buffer::inset_iterator
9383
9384         * bufferlist.C (emergencyWrite): don't use fmt(...)
9385
9386         * text3.C: add using std::endl
9387
9388         * BufferView.C (moveCursorUpdate): remove default arg
9389
9390 2002-08-20  André Pönitz <poenitz@gmx.net>
9391
9392         * buffer.[Ch]: move inline functions to .C
9393
9394         * BufferView2.C:
9395         * BufferView_pimpl.C:
9396         * text.C:
9397         * buffer.[Ch]: use improved inset_iterator
9398
9399         * buffer.C:
9400         * paragraph.[Ch]: write one paragraph at a time
9401
9402 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9403
9404         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9405         style if style is not specified.
9406
9407 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9408
9409         * text2.C (setCounter): when searching for right label for a
9410         caption, make sure to recurse to parent insets (so that a caption
9411         in a minipage in a figure float works) (bug #568)
9412
9413 2002-08-20  André Pönitz <poenitz@gmx.net>
9414
9415         * text3.C: new file for LyXText::dispatch() and helpers
9416
9417         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9418
9419         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9420
9421 2002-08-19  André Pönitz <poenitz@gmx.net>
9422
9423         * lyxtext.h:
9424         * text.C: new LyXText::dispatch()
9425
9426         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9427
9428 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9429
9430         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9431
9432         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9433         Hebrew text.
9434
9435 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9436
9437         * Makefile.am: use $(variables) instead of @substitutions@
9438
9439 2002-08-15  André Pönitz <poenitz@gmx.net>
9440
9441         * lyxfunc.C:
9442         * BufferView_pimpl.C: streamlining mathed <-> outer world
9443         interaction
9444
9445         * commandtags.h:
9446         * LyXAction.C: remove unused LFUN_MATH
9447
9448 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9449
9450         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9451
9452 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9453
9454         * paragraph.C (Paragraph): reformat a bit
9455         (cutIntoMinibuffer): use builtin InsetList function instad of
9456         doing it manually.
9457         (getInset): ditto
9458
9459         * buffer.C: include boost/bind.hpp, add using std::for_each
9460         (writeFileAscii): use ParagraphList iterators
9461         (validate): use for_each for validate traversal of paragraphs
9462         (getBibkeyList): use ParagraphList iterators
9463         (resizeInsets): use for_each to resizeInsetsLyXText for all
9464         paragraphs.
9465         (getParFromID): use ParagraphList iterators
9466
9467         * BufferView2.C (lockInset): use paragraph list and iterators
9468
9469 2002-08-14  John Levon  <levon@movementarian.org>
9470
9471         * lyxserver.C: remove spurious xforms include
9472
9473 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9474
9475         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9476
9477 2002-08-13  André Pönitz <poenitz@gmx.net>
9478
9479         * LyXAction.[Ch]:
9480         * lyxfunc.C: further cleaning
9481
9482 2002-08-13  André Pönitz <poenitz@gmx.net>
9483
9484         * funcrequest.h: new constructor
9485
9486         * funcrequest.C: move stuff here from .h
9487
9488         * Makefile.am:
9489         * BufferView_pimpl.C:
9490         * LyXAction.C:
9491         * toc.C:
9492         * lyxfunc.C: subsequent changes
9493
9494         * lyxfunc.h: new view() member function
9495
9496         * lyxfunc.C: subsequent changes
9497
9498 2002-08-13  Angus Leeming  <leeming@lyx.org>
9499
9500         * BufferView2.C:
9501         * BufferView_pimpl.C:
9502         * buffer.C:
9503         * converter.C:
9504         * importer.C:
9505         * lyxfunc.C:
9506         * lyxvc.C:
9507         * toc.C:
9508         * vc-backend.C:
9509         changes due to the changed LyXView interface that now returns references
9510         to member variables not pointers.
9511
9512 2002-08-13  Angus Leeming  <leeming@lyx.org>
9513
9514         * WordLangTuple (word, lang_code): return references to strings,
9515         not strings.
9516
9517         * BufferView.h:
9518         * SpellBase.h:
9519         * lyxtext.h: forward-declare WordLangTuple.
9520
9521         * BufferView2.C:
9522         * ispell.C:
9523         * pspell.C:
9524         * text.C: #include "WordLangTuple.h".
9525
9526         * lyxtext.h:
9527         * text.C: (selectNextWordToSpellcheck): constify return type.
9528
9529 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9530
9531         * buffer.C:
9532         * buffer.h:
9533         * lyxtext.h:
9534         * paragraph.C:
9535         * paragraph_pimpl.h:
9536         * text.C:
9537         * text2.C:
9538         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9539         suggested by Angus.
9540         Made updateCounter always count from start of buffer, and removed
9541         second argument (par).
9542         Reverted floats number display to '#'. Perhaps I'll try again when the
9543         code base is sanitized a bit.
9544
9545 2002-08-12  Angus Leeming  <leeming@lyx.org>
9546
9547         * buffer.[Ch] (getLabelList): constify.
9548
9549 2002-08-07  André Pönitz <poenitz@gmx.net>
9550
9551         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9552
9553         * funcrequest.h: extension to keep mouse (x,y) position
9554
9555 2002-08-12  Juergen Vigna  <jug@sad.it>
9556
9557         * BufferView2.C (insertErrors): forbid undo when inserting error
9558         insets.
9559
9560         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9561
9562 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9563
9564         * ParagraphList.[Ch]: new files
9565
9566         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9567
9568         * BufferView2.C (lockInset): ParagraphList changes
9569         * toc.C: ditto
9570         * text2.C: ditto
9571         * bufferlist.C: ditto
9572         * buffer.h: ditto
9573         * buffer.C: ditto
9574
9575 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9576
9577         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9578         unused class variable counter_,
9579
9580         * paragraph.[Ch] (getFirstCounter): delete unused function
9581
9582         * counters.C: include LAssert.h
9583         (reset): add a new function with no arg, change other version to
9584         not have def. arg and to not allow empty arg.
9585
9586         * text2.C (setCounter): remove empty arg from call to Counters::reset
9587
9588 2002-08-11  John Levon  <levon@movementarian.org>
9589
9590         * Makefile.am: add WordLangTuple.h
9591
9592 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9593
9594         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9595         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9596
9597         * insets/insettext.C: InsetList changes
9598
9599         * graphics/GraphicsSupport.C (operator()): InsetList changes
9600
9601         * toc.C (getTocList): InsetList changes
9602
9603         * paragraph_pimpl.[Ch]: InsetList changes
9604
9605         * paragraph.[Ch]: InsetList changes
9606
9607         * buffer.C (inset_iterator): InsetList changes
9608         (setParagraph): ditto
9609         * buffer.h (inset_iterator): ditto
9610         * iterators.C (operator++): ditto
9611         * iterators.h: ditto
9612
9613         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9614
9615         * InsetList.[Ch]: new files, most InsetList handling moved out of
9616         paragraph.C.
9617
9618         * BufferView2.C (removeAutoInsets): InsetList changes
9619         (lockInset): ditto
9620         (ChangeInsets): ditto
9621
9622 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9623
9624         * paragraph_pimpl.h (empty): new function
9625
9626         * paragraph.[Ch] (empty): new function
9627
9628         * other files: use the new Paragraph::empty function
9629
9630 2002-08-09  John Levon  <levon@movementarian.org>
9631
9632         * lyxtext.h: remove unused refresh_height
9633
9634 2002-08-09  John Levon  <levon@movementarian.org>
9635
9636         * Makefile.am:
9637         * sgml.h:
9638         * sgml.C:
9639         * buffer.C:
9640         * paragraph.h:
9641         * paragraph.C: move sgml char escaping out of paragraph
9642
9643         * paragraph.h:
9644         * paragraph.C: remove id setter
9645
9646         * buffer.C:
9647         * paragraph.C:
9648         * paragraph_pimpl.C: remove dead tex_code_break_column
9649
9650         * bufferview_funcs.C: small cleanup
9651
9652         * lyxfunc.C: remove dead proto
9653
9654         * lyxtext.h: make some stuff private. Remove some dead stuff.
9655
9656         * lyxgluelength.C: make as[LyX]String() readable
9657
9658 2002-08-08  John Levon  <levon@movementarian.org>
9659
9660         * LyXAction.h:
9661         * LyXAction.C:
9662         * MenuBackend.C:
9663         * ToolbarDefaults.C:
9664         * lyxfunc.C:
9665         * lyxrc.C:
9666         * toc.C: lyxaction cleanup
9667
9668 2002-08-08  John Levon  <levon@movementarian.org>
9669
9670         * BufferView2.C: small cleanup
9671
9672         * lyxfind.h:
9673         * lyxfind.C: move unnecessary header into the .C
9674
9675 2002-08-08  John Levon  <levon@movementarian.org>
9676
9677         * funcrequest.h: just tedious nonsense
9678
9679         * lyx_main.h:
9680         * lyx_main.C: cleanups
9681
9682         * buffer.C:
9683         * vspace.C: remove dead header lyx_main.h
9684
9685 2002-08-07  Angus Leeming  <leeming@lyx.org>
9686
9687         * Paragraph.[Ch]:
9688         * paragraph_pimpl.h:
9689         Forward declare class Counters in paragraph.h by moving the ctrs member
9690         variable into Paragraph::Pimpl.
9691         (counters): new method, returning a reference to pimpl_->ctrs.
9692
9693         * text2.C: ensuing changes.
9694
9695 2002-08-07  John Levon  <levon@movementarian.org>
9696
9697         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9698
9699         * BufferView_pimpl.C: announce X selection on double/triple
9700           click
9701
9702         * lyx_main.C: use correct bool in batch dispatch
9703
9704         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9705
9706 2002-08-07  André Pönitz <poenitz@gmx.net>
9707
9708         * funcrequest.h: new class to wrap a kb_action and its argument
9709
9710         * BufferView.[Ch]:
9711         * BufferView_pimpl[Ch]:
9712         * LaTeX.C:
9713         * LyXAction.[Ch]:
9714         * lyxfunc.[Ch]:
9715         * lyxrc.C: subsequent changes
9716
9717
9718 2002-08-07  John Levon  <levon@movementarian.org>
9719
9720         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9721           document options change.
9722
9723 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9724
9725         * counters.[Ch]
9726         * text2.C
9727         * paragraph.[Ch]
9728         * makefile.am: move counters functionality over from
9729         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9730
9731 2002-08-06  John Levon  <levon@movementarian.org>
9732
9733         * WordLangTuple.h: new file for word + language code tuple
9734
9735         * SpellBase.h:
9736         * pspell.h:
9737         * pspell.C:
9738         * ispell.h:
9739         * ispell.C:
9740         * lyxtext.h:
9741         * text.C:
9742         * text2.C:
9743         * BufferView.h:
9744         * BufferView2.C: use WordLangTuple
9745
9746         * layout.h:
9747         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9748
9749 2002-08-06  John Levon  <levon@movementarian.org>
9750
9751         * lyx_main.C: fix cmdline batch handling
9752
9753 2002-08-06  André Pönitz <poenitz@gmx.net>
9754
9755         * lyxrc.C: set default for show_banner to true
9756
9757 2002-08-06  John Levon  <levon@movementarian.org>
9758
9759         * pspell.C: fix a crash, and allow new aspell to work
9760
9761 2002-08-06  John Levon  <levon@movementarian.org>
9762
9763         * lyxfunc.C:
9764         * kbmap.C: small cleanup
9765
9766         * vspace.h:
9767         * vspace.C: add const
9768
9769 2002-08-05  John Levon  <levon@movementarian.org>
9770
9771         * LyXAction.C: back to tabular-insert
9772
9773 2002-08-04  John Levon  <levon@movementarian.org>
9774
9775         * BufferView.h:
9776         * BufferView.C: cosmetic change
9777
9778         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9779
9780         * bufferlist.C:
9781         * buffer.h:
9782         * buffer.C:
9783         * lyxcb.h:
9784         * lyxcb.C:
9785         * lyxserver.C:
9786         * lyxvc.C:
9787         * vc-backend.C:
9788         * BufferView2.C: purge all "Lyx" not "LyX" strings
9789
9790         * lyxcursor.h:
9791         * lyxcursor.C: attempt to add some documentation
9792
9793         * lyxfunc.C:
9794         * commandtags.h:
9795         * LyXAction.C:
9796         * ToolbarDefaults.C:
9797         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9798           merge with LFUN_TABULAR_INSERT
9799
9800         * Makefile.am:
9801         * SpellBase.h:
9802         * ispell.h:
9803         * ispell.C:
9804         * pspell.h:
9805         * pspell.C: split up i/pspell implementations into separate
9806           files, many cleanups
9807
9808         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9809
9810         * text2.C: some cleanup
9811
9812         * lyxfunc.C: don't check for isp_command == "none" any more, it
9813           didn't make any sense
9814
9815 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9816
9817         * counters.[Ch]
9818         * text2.C
9819         * paragraph.[Ch]
9820         * makefile.am: move counters functionality over
9821         from text2.C/paragraph.[Ch] to counters.[Ch], and
9822         make proper C++.
9823 2002-08-02  John Levon  <levon@movementarian.org>
9824
9825         * buffer.C: s/lyxconvert/lyx2lyx/
9826
9827 2002-08-02  Angus Leeming  <leeming@lyx.org>
9828
9829         * lyxlex.C: revert John's change as it breaks reading of the user
9830         preamble.
9831
9832 2002-08-02  Angus Leeming  <leeming@lyx.org>
9833
9834         * importer.C (Import):
9835         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9836         changes due to LyXView::view() now returning a boost::shared_ptr.
9837
9838 2002-08-02  John Levon  <levon@movementarian.org>
9839
9840         * lyxlex.C: small cleanup
9841
9842 2002-08-02  John Levon  <levon@movementarian.org>
9843
9844         * text2.C (status): small cleanup, no logic change
9845
9846 2002-08-01  John Levon  <levon@movementarian.org>
9847
9848         * buffer.h:
9849         * buffer.C (writeFile): don't output alerts, caller
9850           handles this
9851
9852         * bufferlist.C:
9853         * lyx_cb.C: from above
9854
9855         * lyxfunc.C: allow to open non-existent files
9856
9857 2002-07-31  John Levon  <levon@movementarian.org>
9858
9859         * lyxserver.C: don't let incidental errors get
9860           in the way (errno)
9861
9862 2002-07-30  John Levon  <levon@movementarian.org>
9863
9864         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9865
9866 2002-07-30  John Levon  <levon@movementarian.org>
9867
9868         * lyxserver.h:
9869         * lyxserver.C: remove I/O callback too
9870
9871 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9872
9873         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9874         log.
9875
9876 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9877
9878         * many files: strip,frontStrip -> trim,ltrim,rtrim
9879
9880 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9881
9882         * PrinterParams.h: remove extern containsOnly, and include
9883         support/lstrings.h instead.
9884
9885         * LaTeX.C (scanAuxFile): modify because of strip changes
9886         (deplog): ditto
9887         * buffer.C (makeLaTeXFile): ditto
9888         * bufferparams.C (writeFile): ditt
9889         * lyxfont.C (stateText): ditto
9890         * lyxserver.C (read_ready): ditto
9891         * vc-backend.C (scanMaster): ditto
9892
9893         * BufferView_pimpl.h: ws changes
9894
9895         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9896
9897 2002-07-26  André Pönitz <poenitz@gmx.net>
9898
9899         * kb_sequence.C: remove unnedred usings
9900
9901 2002-07-26  Juergen Vigna  <jug@sad.it>
9902
9903         * lyxfind.C (LyXReplace): we have to check better if the returned
9904         text is not of theLockingInset()->getLockingInset().
9905
9906 2002-07-25  Juergen Vigna  <jug@sad.it>
9907
9908         * lyxfind.C (LyXReplace): don't replace if we don't get the
9909         right LyXText.
9910
9911         * undo_funcs.C (createUndo): remove debugging code.
9912
9913 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9914
9915         * buffer.C (parseSingleLyXformat2Token): Use default placement
9916         when reading old floats.
9917
9918         * FloatList.C (FloatList): Change the default placement of figure
9919         and tables to "tbp".
9920
9921 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9922
9923         * MenuBackend.C: using std::max
9924
9925 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9926
9927         * MenuBackend.C (expandToc):
9928         (expandToc2): code moved from xforms menu frontend. It is now
9929         generic and TOCs are transparent to menu frontends.
9930
9931 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9932
9933         * toc.C (getTocList): protect against buf=0
9934
9935         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9936         Menu as first parameter. Now, this calls itself recursively to
9937         expand a whole tree (this will be useful for TOC handling)
9938         (expandFloatInsert): remove 'wide' version of floats
9939
9940         * MenuBackend.h (submenuname): returns the name of the submenu.
9941         (submenu): returns the submenu itself, provided it has been
9942         created by MenuBackend::expand
9943
9944 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9945
9946         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9947         insets which have noFontChange == true. (bug #172)
9948
9949 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9950
9951         * BufferView_pimpl.C: add connection objects and use them...
9952         (Pimpl): here.
9953
9954 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9955
9956         * MenuBackend.C (expandLastfiles):
9957         (expandDocuments):
9958         (expandFormats):
9959         (expandFloatListInsert):
9960         (expandFloatInsert):
9961         (expand): split expand in parts
9962
9963 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9964
9965         * lyx_gui.C: use lyx_gui::exit()
9966
9967 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9968
9969         * LyXAction.C: show the failing pseudo action
9970
9971 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9972
9973         * buffer.C (readFile): Run the lyxconvert script in order to read
9974         old files.
9975
9976 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9977
9978         * LyXAction.C:
9979         * commandtags.h:
9980         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9981
9982 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9983
9984         * LyXAction.C:
9985         * commandtags.h:
9986         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9987
9988 2002-07-22  Herbert Voss  <voss@lyx.org>
9989
9990         * lengthcommon.C:
9991         * lyxlength.[Ch]: add support for the vertical lengths
9992
9993 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9994
9995         * toc.[Ch]: std:: fixes
9996
9997 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9998
9999         * lyxrc.C: do not include lyx_main.h
10000
10001         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
10002         for layouts
10003
10004         * lyxrc.C:
10005         * encoding.C:
10006         * bufferlist.C:
10007         * BufferView2.C: include "lyxlex.h"
10008
10009         * tabular.h:
10010         * bufferparams.h: do not #include "lyxlex.h"
10011
10012         * lyxtextclasslist.C (Add): remove method
10013         (classlist): renamed to classlist_
10014
10015         * paragraph_pimpl.C:
10016         * paragraph.C:
10017         * text2.C:
10018         * CutAndPaste.C:
10019         * bufferview_funcs.C:
10020         * bufferlist.C:
10021         * text.C:
10022         * LaTeXFeatures.C:
10023         * buffer.C:
10024         * toc.C (getTocList): use BufferParams::getLyXTextClass
10025
10026         * toc.C (getTocList): use InsetFloat::addToToc
10027
10028         * toc.[Ch]: new files, containing helper functions to handle table
10029         of contents
10030
10031         * lyxfunc.C (dispatch): no need to remove spaces around command
10032         given as a string
10033         (getStatus): handle LFUN_SEQUENCE by returning the status of the
10034         first command of the sequence; it is not very clever, but I do not
10035         have a better idea, actually
10036
10037         * LyXAction.C (LookupFunc): make sure to remove space at the
10038         beginning and end of the command
10039
10040 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10041
10042         * MenuBackend.C (getMenubar): new method: return the menubar of
10043         this menu set
10044         (read): treat differently reading of menu and menubar (in
10045         particular, the menubar has no name now)
10046         (Menu::menubar): remove
10047
10048         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
10049         saving is finished
10050
10051 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10052
10053         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
10054         a bibitem inset in a RTL paragraph.
10055
10056 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
10057
10058         * paragraph_pimpl.C: constify
10059
10060         * BufferView_pimpl.C:
10061         * LaTeX.C:
10062         * lyxfunc.C: fix dispatch in a nicer way
10063
10064 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10065
10066         * lyxfunc.C (dispatch):
10067         * BufferView_pimpl.C:
10068         * BufferView_pimpl.h:
10069         * BufferView.C:
10070         * BufferView.h: rename Dispatch() to dispatch()
10071
10072         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
10073
10074         * lyxlayout.C (Read): honor DependsOn tag
10075
10076         * lyxlayout.[Ch] (depends_on): new method
10077
10078         * version.C.in: update lyx_docversion
10079
10080         * LaTeXFeatures.C (getMacros): only define \LyX when needed
10081
10082         * paragraph.C (validate): remove from here...
10083         * paragraph_pimpl.C (validate): ... and move here
10084         (isTextAt): make it const
10085
10086         * buffer.C (getLists): ws cleanup
10087
10088 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
10089
10090         * language.C (read): Use iso8859-1 encoding in latex_lang
10091         (this prevents LyX from crashing when using iso10646-1 encoding).
10092
10093 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10094
10095         * text2.C (toggleInset): if cursor is inside an inset, close the
10096         inset and leave cursor _after_ it
10097
10098 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10099
10100         * lyxfunc.C: move minibuffer completion handling out of here
10101
10102 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10103
10104         * BufferView_pimpl.C:
10105         * LaTeX.C: fix dispatch calls
10106
10107 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10108
10109         * text.C (drawChars): Fix Arabic text rendering.
10110
10111 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10112
10113         * LyXAction.C:
10114         * commandtags.h:
10115         * lyxfunc.C: remove message-push/pop
10116
10117         * lyxserver.C:
10118         * lyxfunc.h:
10119         * lyxfunc.C: rationalise some code by removing verboseDispatch
10120           in favour of a bool argument to dispatch()
10121
10122 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10123
10124         * lyx_main.C (init): make sure to read symlinks as absolute paths
10125
10126 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10127
10128         * lyxfunc.h:
10129         * lyxfunc.C: no need for commandshortcut to be a member
10130
10131 2002-07-15  André Pönitz <poenitz@gmx.net>
10132
10133         * converter.C: add support for $$s (scripts from lib/scripts dir)
10134         * lyx_main.C: white space
10135
10136 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10137
10138         * bufferlist.C:
10139         * lyxrc.h:
10140         * lyxrc.C: remove second exit confirmation
10141
10142 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10143
10144         * BufferView.h:
10145         * BufferView.C:
10146         * BufferView2.C:
10147         * BufferView_pimpl.h:
10148         * BufferView_pimpl.C:
10149         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10150
10151 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10152
10153         * MenuBackend.C (expand): add numeric shortcuts to document menu
10154
10155         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10156
10157 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10158
10159         * lyxfont.C (setLyXFamily):
10160         (setLyXSeries):
10161         (setLyXShape):
10162         (setLyXSize):
10163         (setLyXMisc):
10164         (lyxRead):
10165         * debug.C (value):
10166         * buffer.C (asciiParagraph): use ascii_lowercase
10167
10168 2002-07-15  Mike Fabian  <mfabian@suse.de>
10169
10170         * lyxlex_pimpl.C (search_kw):
10171         * lyxlex.C (getLongString):
10172         * converter.h (operator<):
10173         * converter.C (operator<):
10174         * buffer.C (parseSingleLyXformat2Token):
10175         (asciiParagraph):
10176         * ToolbarDefaults.C (read):
10177         * MenuBackend.C (checkShortcuts):
10178         (read):
10179         * LColor.C (getFromGUIName):
10180         (getFromLyXName): use the compare_ascii_no_case instead of
10181         compare_no_case, because in turkish, 'i' is not the lowercase
10182         version of 'I', and thus turkish locale breaks parsing of tags.
10183
10184 2002-07-16  Angus Leeming  <leeming@lyx.org>
10185
10186         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10187         now takes a Buffer const & argument.
10188
10189 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10190
10191         * BufferView.C (resize): check there's a buffer to resize
10192
10193 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10194
10195         * lyxfunc.C: remove dead code
10196
10197         * lyxserver.h:
10198         * lyxserver.C: use lyx_guii::set_read_callback
10199
10200 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10201
10202         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10203         an inset in a RTL paragraph.
10204
10205 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10206
10207         * lyxfunc.C: repaint after a font size update
10208
10209 2002-07-15  André Pönitz <poenitz@gmx.net>
10210
10211         * lyxlength.C: inBP should be able to return negative values
10212
10213 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10214
10215         * lyxfunc.C: use lyx_gui::update_fonts()
10216
10217 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10218
10219         * lyxfunc.C: use lyx_gui::update_color()
10220
10221 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10222
10223         * bufferlist.C:
10224         * lyxfunc.h:
10225         * lyxfunc.C:
10226         * lyxrc.h:
10227         * lyxrc.C: remove file->new asks for name option, and let
10228           buffer-new take an argument
10229
10230 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10231
10232         * BufferView_pimpl.C: remove unneeded extra repaint()
10233
10234 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10235
10236         * LyXAction.C: allow command-sequence with NoBuffer
10237
10238         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10239
10240 2002-07-10  Angus Leeming  <leeming@lyx.org>
10241
10242         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10243
10244 2002-07-09  Angus Leeming  <leeming@lyx.org>
10245
10246         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10247
10248 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10249
10250         * lengthcommon.h: whitespace
10251
10252         * lyxfunc.C: update scrollbar after goto paragraph
10253
10254         * lyxtext.h: factor out page break drawing, and fix it so
10255           page break/added space paints as selected nicely
10256
10257 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10258
10259         * BufferView_pimpl.C: add FIXMEs, clean up a little
10260
10261 2002-07-09  André Pönitz <poenitz@gmx.net>
10262
10263         * lyxfont.[Ch]: support for wasy symbols
10264
10265 2002-07-08  André Pönitz <poenitz@gmx.net>
10266
10267         * BufferView_pimpl.C: apply John's patch for #93.
10268
10269 2002-07-05  Angus Leeming  <leeming@lyx.org>
10270
10271         * BufferView_pimpl.C (buffer): generate previews if desired.
10272
10273         * LColor.h: add "preview" to the color enum.
10274
10275         * LColor.C (LColor): add a corresponding entry to the items array.
10276
10277         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10278         with this buffer.
10279
10280 2002-07-05  Angus Leeming  <leeming@lyx.org>
10281
10282         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10283         The body of the code is now in the method that is passed an ostream &
10284         rather than a file name.
10285         Pass an additional only_preamble parameter, useful for the forthcoming
10286         preview stuff.
10287
10288 2002-07-03  André Pönitz <poenitz@gmx.net>
10289
10290         * lyxfunc.C: simplify getStatus() a bit for math stuff
10291
10292 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10293
10294         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10295
10296 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10297
10298         * text.C (changeRegionCase): do not change case of all the
10299         document when region ends at paragraph end (bug #461)
10300
10301 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10302
10303         * paragraph.C (startTeXParParams):
10304         (endTeXParParams): add \protect when necessary
10305
10306 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10307
10308         * BufferView_pimpl.C (workAreaExpose): remove warning
10309
10310 2002-06-27  Angus Leeming  <leeming@lyx.org>
10311
10312         * Makefile.am: add lyxlayout_ptr_fwd.h.
10313
10314 2002-06-26  André Pönitz <poenitz@gmx.net>
10315
10316         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10317
10318 2002-06-25  Angus Leeming  <leeming@lyx.org>
10319
10320         * lyxfunc.C (dispatch): Comment out the call to
10321         grfx::GCache::changeDisplay. The method no longer exists now that the
10322         pixmap generation part of the graphics loader has been moved into
10323         InsetGraphics.
10324
10325 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10326
10327         * text2.C: layout as layout
10328
10329         * text.C: layout as layout
10330
10331         * tabular.C (OldFormatRead): layout as layout
10332
10333         * paragraph_pimpl.C (TeXDeeper): layout as layout
10334         (realizeFont): layout as layout
10335
10336         * paragraph.C (writeFile): layout as layout
10337         (validate): layout as layout
10338         (getFont): layout as layout
10339         (getLabelFont): layout as layout
10340         (getLayoutFont): layout as layout
10341         (breakParagraph): layout as layout
10342         (stripLeadingSpaces): layout as layout
10343         (getEndLabel): layout as layout
10344         (getMaxDepthAfter): layout as layout
10345         (applyLayout): layout as layout
10346         (TeXOnePar): layout as layout
10347         (simpleTeXOnePar): layout as layout
10348         (TeXEnvironment): layout as layout
10349         (layout): layout as layout
10350         (layout): layout as layout
10351
10352         * lyxtextclass.C (compare_name): new functor to work with
10353         shared_ptr, layout as layout
10354         (Read): layout as layout
10355         (hasLayout): layout as layout
10356         (operator): layout as layout
10357         (delete_layout): layout as layout
10358         (defaultLayout): layout as layout
10359
10360         * lyxlayout_ptr_fwd.h: new file
10361
10362         * lyxlayout.C (Read): layout as layout
10363
10364         * lyx_cb.C (MenuInsertLabel): layout as layout
10365
10366         * bufferlist.C (newFile): layout as layout
10367
10368         * buffer.C (readLyXformat2): layout as layout
10369         (parseSingleLyXformat2Token): layout as layout
10370         (insertStringAsLines): layout as layout
10371         (asciiParagraph): layout as layout
10372         (latexParagraphs): layout as layout
10373         (makeLinuxDocFile): layout as layout
10374         (simpleLinuxDocOnePar): layout as layout
10375         (makeDocBookFile): layout as layout
10376         (simpleDocBookOnePar): layout as layout
10377         (getLists): layout as layout
10378
10379         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10380
10381         * CutAndPaste.C (cutSelection): layout as layout
10382         (pasteSelection): layout as layout
10383         (SwitchLayoutsBetweenClasses): layout as layout
10384
10385         * BufferView_pimpl.C (Dispatch): layout as layout
10386         (smartQuote): layout as layout
10387
10388         * BufferView2.C (unlockInset): layout as layout
10389
10390 2002-06-24  André Pönitz <poenitz@gmx.net>
10391
10392         * lyxfunc.C: fix #487
10393
10394 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10395
10396         * lyxrc.h:
10397         * lyxrc.C:
10398         * lyxfunc.C: remove display_shortcuts, show_banner
10399
10400 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10401
10402         * Buffer_pimpl.C: oops, update on resize
10403
10404 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10405
10406         * buffer.C:
10407         * converter.C:
10408         * exporter.C:
10409         * lyxfunc.C:
10410         * BufferView.h:
10411         * BufferView.C: use repaint()
10412
10413         * BufferView_pimpl.h:
10414         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10415           as it's a clearer description. Remove superfluous
10416           redraws.
10417
10418 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10419
10420         * text.C: fix bug 488. Not ideal, but getting
10421           getWord() to work properly for the insets that
10422           matter is more difficult ...
10423
10424 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10425
10426         * BufferView_pimpl.C:
10427         * LyXAction.C:
10428         * commandtags.h:
10429         * lyxfunc.C: remove the six million index lyxfuncs to just
10430           one, and DTRT (bug 458)
10431
10432 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10433
10434         * BufferView.h:
10435         * BufferView.C:
10436         * BufferView_pimpl.h:
10437         * BufferView_pimpl.C: clean up resize() stuff,
10438           and unnecessary updateScreen()s
10439
10440 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10441
10442         * BufferView.h:
10443         * BufferView.C:
10444         * BufferView_pimpl.h:
10445         * BufferView_pimpl.C:
10446         * lyxfind.h:
10447         * lyxfind.C:
10448         * minibuffer.C: remove focus management of workarea,
10449           not needed. Use screen's greyOut()
10450
10451 2002-06-17  Herbert Voss  <voss@lyx.org>
10452
10453         * converter.C: (convert) do not post a message, when converting
10454         fails, let the calling function decide what to do in this case
10455
10456 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10457
10458         * lyxfunc.C: tidy up a little
10459
10460 2002-06-16    <alstrup@diku.dk>
10461
10462         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10463         Got rid of FORMS_H_LOCATION include. Now we are
10464         GUII.
10465
10466 2002-06-15  LyX Development team  <lyx@rilke>
10467
10468         * buffer.[Ch] (sgmlOpenTag):
10469         (sgmlCloseTag): Added support for avoiding pernicious mixed
10470         content. Return number of lines written.
10471
10472         (makeLinuxDocFile):
10473         (makeDocBookFile): Fixed calls to sgml*Tag.
10474         Simple white space clean.
10475
10476         (simpleDocBookOnePar): Simple white space clean.
10477
10478         * tabular.[Ch] (docBook): Renamed to docbook and got another
10479         argument to related with the pernicious mixed content.
10480
10481         (docbookRow): Fixed calls for docbook inset method.
10482
10483 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10484
10485         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10486         so it's X11 independent.
10487
10488         * kb*.[Ch]: ditto.
10489
10490         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10491
10492 2002-06-15  Lyx Development team  <lyx@electronia>
10493
10494         * intl.h: Renamed getTrans to getTransManager.
10495
10496 2002-06-14  Angus Leeming  <leeming@lyx.org>
10497
10498         * Makefile.am: nuke forgotten stl_string_fwd.h.
10499
10500 2002-06-12  Angus Leeming  <leeming@lyx.org>
10501
10502         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10503
10504 2002-06-13  Angus Leeming  <leeming@lyx.org>
10505
10506         * LaTeX.C:
10507         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10508
10509 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10510
10511         * kbmap.C (getiso): add support for cyrillic and greek
10512
10513 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10514
10515         * BufferView.h:
10516         * BufferView.C:
10517         * BufferView_pimpl.h:
10518         * BufferView_pimpl.C: move bogus scrolling logic
10519           to xforms
10520
10521 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10522
10523         * lyxfunc.C:
10524         * BufferView_pimpl.C: view->resize() change
10525
10526 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10527
10528         * BufferView_pimpl.C: topCursorVisible
10529           prototype change
10530
10531 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10532
10533         * Makefile.am:
10534         * lyx_gui.h:
10535         * lyx_gui.C: move to frontends/
10536
10537         * main.C:
10538         * lyx_main.h:
10539         * lyx_main.C: changes from above
10540
10541 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10542
10543         * intl.C:
10544         * intl.h:
10545         * kbmap.C:
10546         * kbsequence.C:
10547         * lyx_cb.C:
10548         * lyx_main.C: minor tidy
10549
10550 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10551
10552         * BufferView_pimpl.h:
10553         * BufferView_pimpl.C:
10554         * BufferView.h:
10555         * BufferView.C: make painter() const,
10556           remove dead code
10557
10558         * BufferView2.C: use screen() accessor
10559
10560         * lyx_main.h:
10561         * lyx_main.C: some minor cleanup
10562
10563 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10564
10565         * BufferView_pimpl.h:
10566         * BufferView_pimpl.C: remove enter/leaveView,
10567           use workHeight()
10568
10569 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10570
10571         * BufferView.h:
10572         * BufferView.C:
10573         * BufferView2.C:
10574         * BufferView_pimpl.h:
10575         * BufferView_pimpl.C: only construct screen once,
10576           rename
10577
10578         * lyxrc.C: remove pointless comment
10579
10580 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10581
10582         * BufferView.h:
10583         * BufferView.C: remove active() and belowMouse()
10584
10585         * BufferView_pimpl.h:
10586         * BufferView_pimpl.C: use workarea() not workarea_,
10587           and make it use a scoped_ptr instead
10588
10589 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10590
10591         * lyx_gui.C: add debug message on BadWindow
10592
10593 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10594
10595         * sp_spell.C: fdopen is not part of the C++ standard.
10596
10597         * paragraph.C (InsetIterator): use >= instead of ==
10598
10599 2002-06-07  Angus Leeming  <leeming@lyx.org>
10600
10601         Fixes needed to compile with Compaq cxx 6.5.
10602         * BufferView_pimpl.C:
10603         * DepTable.C:
10604         * buffer.C:
10605         * converter.C:
10606         * encoding.C:
10607         * lyx_gui.C:
10608         * lyx_main.C:
10609         * lyxtextclasslist.C:
10610         * minibuffer.C:
10611         * sp_spell.C:
10612         * tabular_funcs.C:
10613         * vc-backend.C:
10614         all c-library variables have been moved into namespace std. Wrap
10615         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10616
10617         * lyxlength.C:
10618         * tabular-old.C:
10619         * tabular.C:
10620         Add a using std::abs declaration.
10621
10622         * kbmap.h (modifier_pair):
10623         * paragraph.h (InsetTable, InsetList):
10624         * lyxfont.h (FontBits):
10625         type definition made public.
10626
10627         * bufferlist.C (emergencyWriteAll): the compiler complains that
10628         there is more than one possible lyx::class_fun template to choose from.
10629         I re-named the void specialisation as lyx::void_class_fun.
10630
10631         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10632
10633         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10634         the compiler is is unable to find tostr in write_attribute.
10635
10636 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10637
10638         * buffer.C (sgmlError): hide #warning
10639
10640 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10641
10642         * xtl/*: get rid of xtl, which is not in use anyway
10643
10644         * LyXAction.C (init):
10645         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10646         were unimplemented xtl experimentation
10647
10648 2002-06-04  André Pönitz <poenitz@gmx.net>
10649
10650         * lyxfunc.C: disable array operation on simple formulae
10651
10652 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10653
10654         * converter.C: constify a bit
10655
10656 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10657
10658         * lyx_gui.C: check xforms version correctly
10659
10660 2002-04-30  Herbert Voss  <voss@lyx.org>
10661
10662         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10663         "keep" option
10664
10665 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10666
10667         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10668           attempt to register it with a VCS)
10669
10670 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10671
10672         * lyx_main.C (init): honor variables LYX_DIR_13x and
10673         LYX_USERDIR_13x
10674
10675 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10676
10677         * buffer.h:
10678         * buffer.C:
10679         * lyx_main.C: fix a crash on bad command line,
10680           and give a useful exit status on error
10681
10682         * lyxfunc.C (doImport): allow -i lyx to work
10683
10684 2002-03-30  André Pönitz <poenitz@gmx.net>
10685
10686         * lyxfunc.C: mathed font changes
10687
10688 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10689
10690         * LaTeX.C:
10691         * importer.h:
10692         * importer.C:
10693         * lyx_sty.h:
10694         * lyx_sty.C:
10695         * lyxlex.C:
10696         * lyxrow.h:
10697         * lyxtext.h:
10698         * paragraph.h:
10699         * paragraph.C:
10700         * texrow.h:
10701         * texrow.C:
10702         * text.C:
10703         * trans_mgr.h: srcdocs, and some minor cleanups
10704
10705 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10706
10707         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10708         call getFont all the time)
10709
10710 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10711
10712         * switch from SigC signals to boost::signals
10713
10714 2002-05-29  André Pönitz <poenitz@gmx.net>
10715
10716         * paragraph_pimpl.C (getChar): don't call size() too often...
10717
10718 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10719
10720         * paragraph_pimpl.C (insertChar): do not try to update tables when
10721         appending (pos == size())
10722
10723         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10724         in order to reduce drastically the number of comparisons needed to
10725         parse a large document
10726
10727 2002-05-29  André Pönitz <poenitz@gmx.net>
10728
10729         * text.C:
10730         * text2.C:
10731         * lyxtextclass.C:
10732         * sp_pspell.h:
10733         * textclasslist.[Ch]:
10734         * sp_ispell.h: whitespace change
10735
10736 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10737
10738         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10739         lyxaction directly now.
10740
10741 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10742
10743         * trans.C:
10744         * lyxfont.C:
10745         * lyxvc.C: remove unused headers
10746
10747 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10748
10749         * Makefile.am:
10750         * buffer.h:
10751         * undostack.h:
10752         * undostack.C:
10753         * undo_funcs.h:
10754         * undo_funcs.C: some cleanups. Use shared_ptr
10755           and a template for the undo stacks.
10756
10757 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10758
10759         * BufferView_pimpl.h:
10760         * BufferView_pimpl.C:
10761         * kbmap.h:
10762         * kbmap.C:
10763         * kbsequence.h:
10764         * kbsequence.C:
10765         * lyxfunc.h:
10766         * lyxfunc.C:
10767         * text2.C: use key_state/mouse_state
10768
10769 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10770
10771         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10772         and LSubstring
10773
10774         * chset.C: change include order
10775         (loadFile): use boost regex and get rid of LRegex and LSubstring
10776
10777         * Makefile.am (BOOST_LIBS): new variable
10778         (lyx_LDADD): use it
10779
10780         * LaTeX.C: change include order.
10781         (scanAuxFile): use boost regex and get rid of LRegex and
10782         LSubstring
10783         (deplog): ditto
10784
10785 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10786
10787         * ColorHandler.h:
10788         * ColorHandler.C:
10789         * FontInfo.h:
10790         * FontInfo.C: moved to frontends/xforms/
10791
10792         * FontLoader.h:
10793         * FontLoader.C: moved into frontends for GUIIzation
10794
10795         * Makefile.am:
10796         * lyx_gui.C:
10797         * lyxfont.C:
10798         * lyxfunc.C: changes from above
10799
10800 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10801
10802         * LColor.C: remove spurious X include
10803
10804         * BufferView_pimpl.C:
10805         * Makefile.am:
10806         * font.h:
10807         * font.C:
10808         * text.C:
10809         * text2.C: move font metrics to frontends/
10810
10811 2002-05-24  Juergen Vigna  <jug@sad.it>
10812
10813         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10814         setting the undo_cursor.
10815
10816         * ParagraphParameters.h: include local includes first.
10817
10818 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10819
10820         * BufferView_pimpl.C:
10821         * BufferView_pimpl.h:
10822         * Makefile.am:
10823         * WorkArea.h:
10824         * WorkArea.C:
10825         * screen.C: move WorkArea into frontends/
10826
10827         * lyxscreen.h:
10828         * screen.C:
10829         * text.C:
10830         * BufferView.C:
10831         * BufferView2.C: move LyXScreen into frontends/
10832
10833         * lyxlookup.h:
10834         * lyxlookup.C:
10835         * lyx_gui.C: move lyxlookup into frontends/xforms/
10836
10837 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10838
10839         * BufferView2.C:
10840         * BufferView_pimpl.C:
10841         * FontLoader.C:
10842         * LyXView.h:
10843         * LyXView.C:
10844         * Makefile.am:
10845         * WorkArea.C:
10846         * XFormsView.h:
10847         * XFormsView.C:
10848         * buffer.C:
10849         * bufferlist.C:
10850         * bufferview_funcs.C:
10851         * converter.C:
10852         * importer.C:
10853         * lyx_cb.C:
10854         * lyx_gui.C:
10855         * lyx_main.C:
10856         * lyx_find.C:
10857         * lyxfunc.C:
10858         * lyxvc.C:
10859         * minibuffer.C:
10860         * text.C:
10861         * text2.C:
10862         * trans.C:
10863         * vc-backend.C: move LyX/XFormsView into frontends/
10864
10865 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10866
10867         * Makefile.am:
10868         * PainterBase.C:
10869         * PainterBase.h:
10870         * Painter.C:
10871         * Painter.h:
10872         * WorkArea.C:
10873         * WorkArea.h:
10874         * screen.C:
10875         * tabular.C:
10876         * text.C:
10877         * text2.C: move Painter to frontends/
10878
10879 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10880
10881         * buffer.C: comment out some some code that depend upon lyx_format
10882         < 220
10883
10884         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10885         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10886
10887         * buffer.h (NO_COMPABILITY): turn off compability
10888
10889         * ColorHandler.C: include scoped_array.hpp
10890
10891         * font.C: Use more specific smart_ptr header.
10892         * Painter.C: ditto
10893         * gettext.C: ditto
10894         * ShareContainer.h: ditto
10895         * lyx_main.h: ditto
10896         * kbmap.h: ditto
10897         * FontInfo.h: ditto
10898         * BufferView_pimpl.h: ditto
10899         * ColorHandler.h: ditto
10900
10901         * kbmap.C (defkey): change call to shared_ptr::reset
10902
10903 2002-05-21  Juergen Vigna  <jug@sad.it>
10904
10905         * buffer.C (insertErtContents): fix to insert ert asis if it is
10906         non empty. Skip it completely if it contains only whitespaces.
10907
10908 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10909
10910         * BufferView_pimpl.C:
10911         * BufferView2.C: clear selection on paste (bug 393)
10912
10913 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10914
10915         * DepTable.C: include ctime
10916
10917 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10918
10919         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10920
10921 2002-05-14  Juergen Vigna  <jug@sad.it>
10922
10923         * text.C (breakParagraph): fixed function to honor the keepempty
10924         layout in the right maner and also to permit the right breaking
10925         algorithm on empty or non empyt keepempty paragraphs.
10926
10927         * paragraph.C (breakParagraph): we have to check also if the par
10928         is really empty (!size()) for isempty otherwise we do the wrong
10929         paragraph break.
10930
10931 2002-05-10  Juergen Vigna  <jug@sad.it>
10932
10933         * buffer.[Ch] : The following are only changes to the ert
10934         compatibility read reading old LaTeX layout and font stuff and
10935         convert it to ERTInsets.
10936
10937         * buffer.h: added isErtInset().
10938
10939         * buffer.C (struct ErtComp): add a fromlayout bool to check
10940         if we're inside a LaTeX layout.
10941         (isErtInset): new helper function.
10942         (insertErtContents): look for other ert insets before this one
10943         and insert the contents there, so that we don't have subsequent
10944         ERT insets with nothing between them. This way we create only one
10945         inset with multiple paragraphs. Also check if we don't insert only
10946         spaces ' ' as they are ignored anyway afterwards in the .tex file
10947         so if we have only spaces we will ignore this latex part in the
10948         new file.
10949         (parseSingleLyXformat2Token \\layout): better compatibility when
10950         reading layout-latex stuff.
10951         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10952         language tag.
10953         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10954         stuff after reading the inset only get the information back from
10955         the stack.
10956
10957 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10958
10959         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10960
10961         * LaTeXFeatures.C (getBabelOptions): New method.
10962
10963 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10964
10965         * BufferView_pimpl.C (Dispatch): work around missing argument for
10966         'layout'
10967
10968 2002-05-08  Juergen Vigna  <jug@sad.it>
10969
10970         * text.C (leftMargin): handle paragraph leftindent.
10971
10972         * paragraph.C (writeFile): write the new \\leftindent tag.
10973         (validate): handle leftindent code.
10974         (TeXEnvironment): handle paragraphleftindent code again.
10975
10976         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10977
10978         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10979         for paragrap_extra indent code and new token \\leftindent.
10980         (latexParagraphs): handle the leftindent as environment.
10981
10982         * ParameterStruct.h: added leftindent support.
10983
10984         * ParagraphParameters.C (leftIndent): added support functions for
10985         the paragraph left indent.
10986
10987         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10988         more appropriate.
10989
10990 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10991
10992         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10993         inside insetERT.
10994
10995         * text.C (computeBidiTables): No bidi in insetERT.
10996
10997         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10998         in RTL documents.
10999
11000 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11001
11002         * version.C.in: pre 5
11003
11004 2002-05-02  José Matos  <jamatos@fep.up.pt>
11005         * buffer.C (makeDocBookFile): white space changes, add newline to
11006         command styles.
11007         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
11008
11009         * tabular.C (docBook): fix typo.
11010
11011 2002-05-03  Juergen Vigna  <jug@sad.it>
11012
11013         * screen.C (drawFromTo): recalculate the rowpointer if we had a
11014         change in LyXText as we can not be sure it was not freed.
11015         (drawOneRow): remove unused code.
11016
11017         * text.C (drawInset): redo the calculation of the need_break_row as
11018         it could have a row which was already freed.
11019         (draw): look at the return value of drawInset and return false if
11020         it also returned false.
11021         (paintRowText): look at the return value of draw and return false if
11022         it also returned false.
11023
11024         * lyxtext.h: added bool return type to drawInset() and draw() so that
11025         if we have a change in the row so that the rowbreak has to be redone
11026         we abort drawing as it will be called again.
11027
11028 2002-05-02  Juergen Vigna  <jug@sad.it>
11029
11030         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
11031         a change in the maintext also if we're inside an inset.
11032         (Dispatch): set the cursor again after a break line and after the
11033         screen has been updated as it could be we're in a different row.
11034
11035         * text2.C (fixCursorAfterDelete): check to make sure we don't request
11036         to set the cursor behind the pargraph with > size().
11037         (setCursor): check also for the same paragraph when checking where
11038         to put the cursor if we have a NFR inset.
11039
11040         * buffer.C (parseSingleLyXformat2Token): move the compatibility
11041         parts of layout read further up as it still was in the wrong
11042         position.
11043
11044 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11045
11046         * screen.C (drawFromTo): change sine fullRebreak always return
11047         true.
11048
11049         * buffer.C (parseSingleLyXformat2Token): reindent some
11050
11051         * BufferView_pimpl.C (update): change since fullRebreak always
11052         return true.
11053         (Dispatch): git rid of the last hardcoded "Standard"s.
11054
11055 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11056
11057         * text2.[Ch] (fullRebreak): make it return void now that we always
11058         returned true.
11059
11060 2002-04-30  Juergen Vigna  <jug@sad.it>
11061
11062         * buffer.C (parseSingleLyXformat2Token): reset the font before the
11063         ert compatibility check for "latex" layout.
11064
11065 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
11066
11067         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
11068         minipages: use col% instead of p%, and also use the current font.
11069         (makeLaTeXFile): Fix use babel condition.
11070         (parseSingleLyXformat2Token): Correct font when reading old floats.
11071
11072 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
11073
11074         * BufferView_pimpl.C (Dispatch): Check that float type exists when
11075         inserting list of floats.
11076
11077 2002-04-25  Herbert Voss  <voss@lyx.org>
11078
11079         * MenuBackend.C (expand): don't add the graphics extensions to the
11080         export menu
11081
11082 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11083
11084         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11085         non-existing layout, do not complain if it was the default layout
11086         of the original class (bug #342)
11087
11088 2002-04-24  Juergen Vigna  <jug@sad.it>
11089
11090         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11091         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11092
11093 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
11094
11095         * buffer.C (getBibkeyList): If using \bibliography, return the
11096         option field with the reference itself. Enables us to provide natbib
11097         support when using \bibliography.
11098
11099 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11100
11101         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11102
11103         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11104         natbib is provided by the LaTeX class.
11105
11106 2002-04-23  Juergen Vigna  <jug@sad.it>
11107
11108         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11109         Wakeup functions.
11110
11111         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11112
11113 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11114
11115         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11116
11117         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11118         ensuremath around textordmasculine, textordfeminine and
11119         textdegree.
11120
11121 2002-04-19  Juergen Vigna  <jug@sad.it>
11122
11123         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11124         reinitializing the buffer otherwise row-dimensions may be wrong.
11125         (update): reset also the selection cursors if they do exits otherwise
11126         their x/y positions may be wrong.
11127
11128         * text2.C (cursorDown): don't enter the inset if we came from a row
11129         above and are one row over the inset.
11130
11131         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11132         really leaving an inset.
11133
11134 2002-04-18  Juergen Vigna  <jug@sad.it>
11135
11136         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11137         of the selected paragraph does not have the selected layout also if
11138         the last one had!
11139
11140         * text2.C (setLayout): fixed bug which did not change last selected
11141         paragraph.
11142
11143         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11144         changed the read and substituted \\end_float with \\end_inset!
11145
11146         * BufferView_pimpl.C (cursorPrevious):
11147         (cursorNext): fixed to make it work with rows heigher than the work
11148         area without moving the cursor only the draw of the row.
11149         (workAreaMotionNotify): fix jumping over high rows.
11150
11151 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11152
11153         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11154         Ressler.
11155
11156 2002-04-16  Juergen Vigna  <jug@sad.it>
11157
11158         * text2.C (setCursor): set also the irow().
11159         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11160         (cursorUp):
11161         (cursorDown): support for locking an inset if the x_fix value goes
11162         inside it. That way I can transverse insets too with cursor up/down.
11163
11164         * lyxrow.h: added irow helper function same as other (i) functions.
11165
11166         * BufferView_pimpl.C (cursorPrevious):
11167         (cursorNext): fixed for insets!
11168
11169 2002-04-15  Juergen Vigna  <jug@sad.it>
11170
11171         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11172         position otherwise it is wrong in some cases.
11173
11174         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11175         inside the inset before the call.
11176
11177 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11178
11179         * buffer.[Ch] (getBibkeyList): make it const.
11180
11181 2002-04-12  Juergen Vigna  <jug@sad.it>
11182
11183         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11184
11185         * text2.C (getCursorX): new helper function
11186         (setCursor): compute also ix_
11187         (setCursorFromCoordinates): set also ix.
11188
11189         * lyxcursor.h: added ix_ and helper functions.
11190
11191         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11192
11193         * buffer.C (insertStringAsLines): dont break paragraph if the this
11194         paragraph is inside an inset which does not permit it!
11195
11196         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11197         also with no chars on this paragraph.
11198         (paintRowText): only paint stuff if it's inside the workarea!
11199
11200         * paragraph.C (breakParagraph): honor keepempty flag and break the
11201         paragraph always below not above.
11202
11203         * BufferView2.C (unlockInset): update the paragraph layout on inset
11204         unlock as we changed paragraph in such a case.
11205
11206         * lyxfind.C (LyXFind): clear the former selection if not found!
11207
11208         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11209         again called in insertChar().
11210
11211         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11212         an inset which uses the whole row!
11213         (rightMargin): ditto.
11214         (insertChar): force a rebreak if we inserted an inset!
11215
11216 2002-03-28  Herbert Voss  <voss@lyx.org>
11217
11218         * lyxlength.[Ch]: add inBP() to get the right PS-point
11219         units (BigPoint). With inPixels we have rounding errors
11220
11221 2002-04-11  Juergen Vigna  <jug@sad.it>
11222
11223         * text2.C (setCursorFromCoordinates): set iy to the right value.
11224         (setCursor): add check if row->previous exists!
11225
11226         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11227         an old float_type as this was the case in the old code!
11228
11229         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11230
11231         * BufferView2.C (showLockedInsetCursor): use iy
11232         (fitLockedInsetCursor): ditto
11233
11234         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11235         locked insets as there we have the right value now.
11236
11237         * lyxcursor.C: added iy_ variable and iy functions to set to the
11238         baseline of cursor-y of the locked inset.
11239
11240         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11241         (setCursor): fixed for insets which need a full row.
11242
11243         * text.C (rowLastPrintable): don't ignore the last space when before
11244         an inset which needs a full row.
11245         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11246         as last character of a row when before a inset which needs a full row.
11247
11248 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11249
11250         * version.C.in: update date
11251
11252         * text2.C (fullRebreak): try to always return true and see what
11253         happens...
11254
11255 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11256
11257         * MenuBackend.C (expand): use Floating::listName
11258
11259         * FloatList.C (FloatList): add listName argument to the built-in
11260         floats
11261
11262         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11263         text associated with the float.
11264
11265 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11266
11267         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11268
11269 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11270
11271         * ShareContainer.h: add a couple of missing typenames.
11272
11273 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11274
11275         * lyxrc.C (getDescription): use _() correctly rather than N_().
11276
11277 2002-03-28  Herbert Voss  <voss@lyx.org>
11278
11279         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11280         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11281
11282 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11283
11284         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11285         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11286
11287 2002-03-29  Juergen Vigna  <jug@sad.it>
11288
11289         * lyxfunc.C (dispatch): add a missing fitCursor call.
11290
11291         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11292         it was scrolled by a cursor move, so return the bool status.
11293
11294         * BufferView.C (fitCursor): return the bool flag also to the outside
11295         world as this is needed.
11296
11297         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11298
11299         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11300         call the edit() as it is not needed (and wrong) IMO.
11301         (workAreaButtonPress): set the screen_first variable before evt.
11302         unlock the inset as this may change screen_first and then we have
11303         a wrong y position for the click!
11304
11305 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11306
11307         * MenuBackend.C (expand): another translation that I missed
11308
11309 2002-03-28  Juergen Vigna  <jug@sad.it>
11310
11311         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11312
11313         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11314
11315 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11316
11317         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11318
11319         * MenuBackend.C (expand): fix export/view/update when there is no
11320         document open.
11321
11322 2002-03-27  Herbert Voss  <voss@lyx.org>
11323
11324         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11325         and text%
11326
11327 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11328
11329         * bufferview_funcs.C (currentState): only show paragraph number
11330         for is DEVEL_VERSION is set.
11331
11332         * lyxfunc.C (dispatch): put warning in INFO channel
11333
11334         * MenuBackend.C (expand): translate the name of floats
11335
11336         * FloatList.C (FloatList): mark the float names for translation
11337
11338         * converter.C (convert): use LibScriptSearch
11339
11340 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11341
11342         * MenuBackend.C (defaults): fix default menu (we might as well get
11343         rid of it...)
11344
11345 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11346
11347         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11348         directory.
11349
11350 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11351
11352         * lyxvc.C: reorder includes.
11353
11354 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11355
11356         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11357           properly
11358
11359 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11360
11361         * CutAndPaste.C: change layouts earlier on paste
11362           to avoid crashing when calling getFont()
11363
11364 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11365
11366         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11367         irritating #error.
11368
11369 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11370
11371         * WorkArea.C: remove 'Pending' debug message.
11372
11373         * most files: ws cleanup
11374
11375         * buffer.[Ch]: ws changes
11376
11377         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11378
11379 2002-03-21  Juergen Vigna  <jug@sad.it>
11380
11381         * tabular.C (SetMultiColumn): collapse also the contents of the
11382         cells and set the last border right. Added a Buffer const * param.
11383
11384 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11385
11386         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11387         linking or not.
11388
11389 2002-03-19  Juergen Vigna  <jug@sad.it>
11390
11391         * text2.C (clearSelection): reset also xsel_cache.
11392
11393         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11394         where it needs to be called (John tells us to do so too :)
11395         (selectionLost): reset sel_cache.
11396
11397         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11398
11399 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11400
11401         * text2.C (setCursorIntern): put debuging code in INSETS channel
11402
11403 2002-03-19  André Pönitz <poenitz@gmx.net>
11404
11405         * lyxfunc.C: tiny whitespace change
11406
11407 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11408
11409         * ToolbarDefaults.C (init):
11410         * LyXAction.C (init):
11411         * commandtags.h:
11412         * BufferView_pimpl.C (Dispatch):
11413         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11414
11415 2002-03-19  Allan Rae  <rae@lyx.org>
11416
11417         * exporter.C (Export): removeAutoInsets before doing anything else.
11418         While I've just introduced a dependency on BufferView this really is
11419         the best place to clean the buffer otherwise you need to cleanup in
11420         a dozen places before calling export or cleanup in a dozen functions
11421         that export calls.
11422
11423         * converter.C (runLaTeX):
11424         (scanLog): Better handling of removeAutoInsets and screen updates.
11425
11426         * lyxfunc.C (dispatch): small whitespace changes
11427
11428 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11429
11430         * WorkArea.C (C_WorkAreaEvent): return a value.
11431         (event_cb): return 1 if we handled the event, 0 otherwise.
11432
11433         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11434
11435 2002-03-18  Juergen Vigna  <jug@sad.it>
11436
11437         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11438         (GetAdditionalWidth): ditto.
11439         (RightLine): ditto.
11440         (LeftLine): ditto.
11441
11442         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11443         inset if we're there actually (probably not used right now but this
11444         is the direction to go for unifying code).
11445         (paste): disable code to clear the selection.
11446
11447         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11448         inside an InsetText and move the check further up as it is in the
11449         wrong place.
11450
11451         * text2.C (pasteSelection): set a selection over the pasted text.
11452
11453 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11454
11455         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11456         and libgraphics to build on Cygwin.
11457
11458 2002-03-15  Juergen Vigna  <jug@sad.it>
11459
11460         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11461         inserting an Inset into the paragraph. I know this is not the best
11462         fix but we already use current_view in CutAndPaste so we will remove
11463         all of it's using at the same time.
11464
11465         * buffer.C (sgmlError): deactivated function till it is rewritten in
11466         the right mode, now it can create problems.
11467
11468         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11469         before accessing it.
11470
11471 2002-03-14  Juergen Vigna  <jug@sad.it>
11472
11473         * undo_funcs.C (textHandleUndo): do the right thing when updating
11474         the inset after the undo/redo.
11475
11476         * text2.C (setCursor): just some testcode for #44 not ready yet.
11477
11478         * undo_funcs.C (textHandleUndo): set the next() and previous()
11479         pointers of the paragraph to 0 before deleting otherwise we have
11480         problems with the Paragraph::[destructor].
11481
11482         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11483         on a paragraph insertion.
11484
11485 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11486
11487         * buffer.C (asciiParagraph): use += operator for char append to
11488         string.
11489
11490         * paragraph.C (getFontSettings): compare >= not just >
11491         (highestFontInRange): ditto
11492         (setFont): ditto
11493
11494 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11495
11496         * paragraph.C: change several algorithm to be more appripriate for
11497         the problem domain. This is lookip in FontList and in the InsetList.
11498
11499 2002-03-13  André Pönitz <poenitz@gmx.net>
11500
11501         * commandtags.h:
11502         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11503
11504 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11505
11506         * commandtags.h:
11507         * LyXAction.C:
11508         * lyxfunc.C:
11509         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11510
11511 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11512
11513         * Painter.C (display): anon helper function, adjust code for this
11514         change.
11515         (pixmap): remove function.
11516
11517         * Painter.h: remove private display variable.
11518
11519         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11520
11521 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11522
11523         * WorkArea.[Ch]: remove figinset_canvas cruft.
11524
11525 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11526
11527         * lyxtextclass.C (operator): add one item cache optimization.
11528
11529         * bufferlist.h: doxy changes
11530
11531         * bufferlist.C: ws changes
11532
11533         * DepTable.[Ch] (ext_exist): place const in the right spot.
11534
11535         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11536         call resizeInsets.
11537         (workAreaExpose): call resizeInsets when the with BufferView changes.
11538         (Dispatch): adjust for protectedBlank removal
11539         (specialChar): call updateInset if the insert went ok.
11540
11541         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11542         specialChar instead.
11543
11544         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11545
11546         * BufferView.h: doxy change
11547
11548         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11549
11550         * lyxtextclass.C (operator[]): remove non-const version
11551         (defaultLayout): remove non-const version
11552
11553 2002-03-12  Juergen Vigna  <jug@sad.it>
11554
11555         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11556         did resize the LyXText too.
11557
11558         * buffer.C (readLyXformat2): set layout information on newly allocated
11559         paragraphs.
11560
11561         * tabular.C (OldFormatRead): set layout information on the paragraph.
11562
11563 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11564
11565         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11566
11567 2002-03-11  Juergen Vigna  <jug@sad.it>
11568
11569         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11570         plainly wrong.
11571         (resizeCurrentBuffer): force also the insets to resize themselfes.
11572         (moveCursorUpdate): fixed up for InsetText.
11573
11574 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11575
11576         * commandtags.h:
11577         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11578         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11579         value of Dialogs::tooltipsEnabled().
11580         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11581
11582 2002-03-08  Juergen Vigna  <jug@sad.it>
11583
11584         * BufferView_pimpl.C (updateInset): update inset inside inset also
11585         if it isn't inside theLockingInset().
11586
11587 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11588
11589         * buffer.C (asciiParagraph): redo some of the word and line length
11590         handling.
11591         (getLists): look for Caption instead of caption.
11592
11593 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11594
11595         * buffer.C (Buffer): initialize niceFile to true
11596         (makeLaTeXFile):
11597         (makeLinuxDocFile):
11598         (makeDocBookFile): make sure niceFile is true on exit
11599
11600 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11601
11602         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11603
11604 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11605
11606         * LyXSendto.C: remove.
11607         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11608         * lyx_gui.C: remove now-redundant comment.
11609         * ColorHandler.h: remove forward declaration of class WorkArea.
11610         * lyxfunc.C: remove #include "WorkArea.h".
11611
11612 2002-03-07  Juergen Vigna  <jug@sad.it>
11613
11614         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11615         got moved away with the DEPM and also set the inset_owner always
11616         right which before could have been omitted.
11617
11618 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11619
11620         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11621         wanted layout is not found.
11622
11623 2002-03-07  Juergen Vigna  <jug@sad.it>
11624
11625         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11626
11627 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11628
11629         * paragraph.C (breakParagraph): use default layout not layout of
11630         prev paragraph.
11631         (Paragraph): clear ParagraphParameters.
11632
11633 2002-03-06  Juergen Vigna  <jug@sad.it>
11634
11635         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11636         otherwise it would not be a valid lenght. Fixed a special case in
11637         the minipage compatibility read where we end the document with a
11638         minipage.
11639
11640         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11641         was set as it could be 0 for InsetTexts first entry.
11642
11643 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11644
11645         * paragraph.C (writeFile): if layout is empty write out
11646         defaultLayoutName().
11647
11648         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11649         file without named layout we set layout to defaultLayoutName().
11650
11651 2002-03-06  Juergen Vigna  <jug@sad.it>
11652
11653         * CutAndPaste.C (copySelection): set layout for new paragraph.
11654
11655         * text.C (prepareToPrint): leave ERT inset left aligned
11656         (leftMargin): don't indent paragraphs inside ERT insets
11657
11658 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11659
11660         * paragraph.C (breakParagraph): dont call clear do the work manually
11661
11662         * paragraph.[Ch] (clear): remove function
11663
11664 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11665
11666         * paragraph.C (Paragraph): dont call clear, the work has already
11667         been done.
11668
11669         * lyxtextclass.C (operator): assert if n is empty
11670
11671         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11672         work manually instead.
11673
11674 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11675
11676         * BufferView_pimpl.C: protect selectionLost against text == 0
11677
11678 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11679
11680         * text.C (breakParagraph): fix a setting layout to '0' problem.
11681
11682 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11683
11684         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11685         final location of file, for the included files, and graphics.
11686
11687 2002-03-05  Juergen Vigna  <jug@sad.it>
11688
11689         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11690
11691 2002-03-04  Juergen Vigna  <jug@sad.it>
11692
11693         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11694
11695         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11696         last column of multicolumn cells.
11697         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11698
11699 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11700
11701         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11702         file if it doesn't go to a temporary file.
11703
11704         * buffer.C (sgmlOpenTag):
11705         (sgmlCloseTag):  remove extra newline insertion.
11706
11707 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11708
11709         * text.C (getRowNearY): comment out debug msg
11710
11711 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11712
11713         * text2.C: first -> first_y
11714
11715         * text.C (getRowNearY): add some attemts at a possible
11716         optimization, not working.
11717
11718         * tabular.[Ch]: add BufferParams to several function so that newly
11719         created paragraph can be initialized to he default layotu for the
11720         buffers textclass.
11721
11722         * tabular-old.C (ReadOld): add buf->params to call of Init
11723
11724         * screen.C: rename text->first to text->first_y
11725
11726         * paragraph.C (breakParagraph): always set layout in the broken
11727         paragraph
11728
11729         * lyxtextclass.C (Read): remove lowercase
11730         (hasLayout): ditto
11731         (operator): ditto
11732         (delete_layout): ditto
11733
11734         * lyxtext.h: rename first -> first_y
11735
11736         * lyxlayout.C (Read): remove lowercase
11737         (name): ditto
11738         (setName): ditto
11739         (obsoleted_by): ditto
11740
11741         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11742
11743         * buffer.C (insertErtContents): add params are to InsetERT
11744         (parseSingleLyXformat2Token): add code to check if a paragraphs
11745         layout really exist.
11746         (parseSingleLyXformat2Token): add params to several inset
11747         constructors
11748         (asciiParagraph): remove lowercase, do the layout comparisons with
11749         no_case
11750
11751         * BufferView_pimpl.C (cursorNext): first -> first_y
11752         (resizeCurrentBuffer): first -> first_y
11753         (updateScrollbar): first -> first_y
11754         (scrollCB): first -> first_y
11755         (workAreaMotionNotify): first -> first_y
11756         (workAreaButtonPress): first -> first_y
11757         (checkInsetHit): first -> first_y
11758         (cursorPrevious): first -> first_y
11759         (cursorNext): first -> first_y
11760         (Dispatch): add buffer_->params to severl inset contructors
11761
11762 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11763
11764         * lyxlayout.C (Read): remove some debug info that I forgot.
11765
11766         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11767         clean up the code slightly.
11768         (makeLinuxDocFile): ditto
11769         (makeDocBookFile): ditto
11770
11771         * text2.C: layout as string
11772
11773         * text.C: layout as string
11774
11775         * paragraph_pimpl.C: layout as string
11776
11777         * paragraph.[Ch]: layout as string
11778
11779         * lyxtextclasslist.[Ch]: layout as string
11780
11781         * lyxtextclass.[Ch]: layout as string
11782
11783         * lyxtext.h: layout as string
11784
11785         * lyxlayout.[Ch]: layout as string
11786
11787         * lyx_cb.C: layout as string
11788
11789         * bufferview_funcs.C: layout as string
11790
11791         * bufferparams.C: layout as string
11792
11793         * buffer.C: layout as string
11794
11795         * LyXView.[Ch]: layout as string
11796
11797         * LaTeXFeatures.[Ch]: layout as string
11798
11799         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11800
11801         * BufferView_pimpl.C: change current_layout to string, remove
11802         lyx::layout_type.
11803         (Dispatch):
11804         (smartQuote):
11805         (insertInset):
11806         (workAreaButtonRelease): layout as string
11807
11808         * BufferView2.C (unlockInset): adjust
11809
11810         * vspace.C (asLatexCommand): use an explict temp variable.
11811
11812 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11813
11814         * Makefile.am: use FRONTEND_*
11815
11816 2002-03-01  Juergen Vigna  <jug@sad.it>
11817
11818         * tabular.C (SetWidthOfMulticolCell): changed to something better
11819         I hope but still work in progress.
11820         (recalculateMulticolumnsOfColumn): renamed function from
11821         recalculateMulticolCells as it is more appropriate now.
11822         (SetWidthOfCell): calculate multicols better.
11823
11824 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11825
11826         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11827
11828         * lyxfunc.C (processKeySym): print sequence also if it is
11829         `deleted' (complete)
11830
11831         * kbsequence.C (print): print sequence even if it is deleted
11832         (complete would be a better word, actually).
11833
11834         * lyxfunc.C (dispatch): print complete options after a prefix key
11835
11836         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11837
11838 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11839
11840         * text2.C (setCharFont): eliminate setCharFont code duplication.
11841
11842 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11843
11844         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11845         LFUN_TABULAR_FEATURE (bug #177)
11846
11847 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11848
11849         * Makefile.am: remove figure.h
11850
11851 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11852
11853         * Bufferview_pimpl.C:
11854         * CutAndPasteC:
11855         * LaTeX.C:
11856         * LyXSendto.C:
11857         * buffer.C:
11858         * bufferlist.C:
11859         * converter.C:
11860         * language.C:
11861         * lyxfunc.C:
11862         * lyxvc.C:
11863         * paragraph.C:
11864         * text.C:
11865         * text2.C: remove #include "lyx_gui_misc.h".
11866
11867         * LaTeX.C: added #include <cstdio>
11868
11869 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11870
11871         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11872         that the paragraph following this one can have.
11873
11874         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11875
11876         * vspace.C (asLatexCommand): fix bogus gcc warning
11877
11878         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11879
11880 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11881
11882         * text2.C (setLayout): get rid of redundant code
11883
11884 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11885
11886         * text2.C (incDepth): make sure depth cannot be increased beyond
11887         reasonable values.
11888
11889 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11890
11891         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11892         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11893
11894         * PainterBase.h (image):
11895         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11896         a LyXImage const *.
11897
11898 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11899
11900         * BufferView.C:
11901         * BufferView.h:
11902         * BufferView_pimpl.C:
11903         * BufferView_pimpl.h:
11904         * LaTeXFeatures.C:
11905         * LyXAction.C:
11906         * LyXView.C:
11907         * Makefile.am:
11908         * UpdateList.h:
11909         * UpdateList.C:
11910         * buffer.C:
11911         * figure.h:
11912         * figureForm.C:
11913         * figureForm.h:
11914         * figure_form.C:
11915         * figure_form.h:
11916         * lyx_cb.C:
11917         * lyx_gui.C:
11918         * lyx_gui_misc.C:
11919         * lyxfunc.C:
11920         * sp_base.h:
11921         * sp_ispell.h:
11922         * sp_pspell.h:
11923         * sp_spell.C: remove fig inset, and the crap house of
11924           cards that follows it
11925
11926 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11927
11928         * Makefile.am:
11929         * lyxserver.C:
11930         * os2_defines.h:
11931         * os2_errortable.h:
11932         * nt_defines.h: move .h into support/
11933
11934         * vms_defines.h: remove
11935
11936         * WorkArea.C: add space in debug output
11937
11938         * text2.C:
11939         * paragraph.C:
11940         * buffer.C: add WITH_WARNINGS
11941
11942         * vc-backend.h:
11943         * vc-backend.C:
11944         * bufferlist.C: s/retrive/retrieve/, add docs
11945
11946         * vspace.h:
11947         * vspace.C:
11948         * kbmap.h:
11949         * lyxlength.h:
11950         * lyxgluelength.h:
11951         * length_common.h:
11952         * chset.h:
11953         * chset.C: add docs
11954
11955         * lyxgui.C: add ID to X error handler
11956
11957         * lyxtestclass.c: fix typo
11958
11959 2002-02-26  Juergen Vigna  <jug@sad.it>
11960
11961         * tabular_funcs.C (write_attribute): changed so that some default
11962         attributes are not written at all.
11963         (getTokenValue): set default values before trying to read the
11964         value so we have the return value always set as default if we don't
11965         find the token we search for.
11966
11967         * tabular.C (Write): write bools as bools not as strings!
11968
11969 2002-02-22  Juergen Vigna  <jug@sad.it>
11970
11971         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11972         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11973
11974         * text.C (leftMargin): don't add an indent for paragraphs inside
11975         tabular cells (fix #208).
11976
11977 2002-02-21  José Matos  <jamatos@fep.up.pt>
11978
11979         * tabular.C (docBook): fixed support for long tables.
11980
11981 2002-02-20  Juergen Vigna  <jug@sad.it>
11982
11983         * text2.C (getFont): get the drawing font of the Inset if this
11984         paragraph is inside an inset (only important for InsetERT for now).
11985
11986         * buffer.C (insertErtContents): use new lanugage params in ERT
11987         constructor.
11988
11989         * CutAndPaste.C: commenting out seemingly uneeded code.
11990
11991 2002-02-19  Allan Rae  <rae@lyx.org>
11992
11993         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11994         Iterators might be simple to use but they also get invalidated.
11995         (removeAutoInsets): renamed saved cursor tracking variables and added
11996         some comments to clarify what everything does.
11997
11998 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11999
12000         * Chktex.C:
12001         * LaTeX.C:
12002         * LyXSendto.C:
12003         * converter.C:
12004         * lyx_cb.C:
12005         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
12006         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
12007
12008         * lyxfunc.C:
12009         * vc-backend.h: remove #include "support/syscall.h"
12010
12011         * LaTeX.C:
12012         * LyXSendto.C:
12013         * converter.C: rearrange #includes in Lars' approved fashion.
12014
12015         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
12016         forward declare class Timeout in the header file.
12017
12018         * XFormsView.C: changes due to the above.
12019
12020         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
12021         similar to LyXView.
12022
12023         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
12024         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
12025
12026 2002-02-18  José Matos  <jamatos@fep.up.pt>
12027
12028         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
12029         insets contents.
12030
12031 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12032
12033         * a lot of small ws changes
12034         * add a lot of using std::XXX
12035         * use std construcs some places where approp.
12036         * use some exisint stuff from lyxfunctional where approp.
12037         * Make file changes to use partial linking (lets test this now...)
12038
12039 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12040
12041         * Chktex.C:
12042         * buffer.C:
12043         remove #include "support/syscontr.h" as it's redundant. Always has been.
12044
12045         * Chktex.C:
12046         * LaTeX.C:
12047         * LyXSendto.C:
12048         * converter.C:
12049         * lyx_cb.C:
12050         * vc-backend.C:
12051         change Systemcalls::System to Systemcalls::Wait and
12052         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
12053         No change of functionality, just reflects the stripped down Systemcalls
12054         class.
12055
12056 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
12057
12058         * debug.[Ch]: add a GRAPHICS type to the enum.
12059
12060 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12061
12062         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
12063
12064         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
12065         there is an inset.
12066
12067 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12068
12069         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
12070         match the changes below.
12071
12072         * text2.C (toggleInset): if there is not editable inset at cursor
12073         position, try to see if cursor is _inside_ a collapsable inset
12074         and close it.
12075
12076 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12077
12078         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
12079         document menu has a nice checkbox
12080
12081 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12082
12083         * lyxlength.C (asLatexString): change PW to output as percent of
12084         \textwidth.
12085
12086         * lengthcommon.C: change '%' to 't%'
12087
12088         * lyxfunc.C (dispatch): a few comments from Martin
12089
12090 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
12091
12092         * WorkArea.h:
12093         * WorkArea.C:
12094         * BufferView_pimpl.h:
12095         * BufferView_pimpl.C: clear our selection when X tells us we've lost
12096           the X selection.
12097
12098 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12099
12100         * vspace.C (inPixels): fix compiler warning
12101
12102 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12103
12104         * lyxfunc.C (getStatus): fix status message for disabled commands.
12105
12106 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12107
12108         * BufferView_pimpl.C: fix crash on close buffer
12109         during selection (#227)
12110
12111 2002-01-27  Herbert Voss  <voss@lyx.org>
12112
12113         * buffer.C: link old Figure to new graphic inset
12114
12115 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12116
12117         * FontLoader.C (getFontinfo): Change the latex font names in order
12118         to match the names of type1inst.
12119
12120 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12121
12122         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12123
12124         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12125         (extchanged): ditto
12126         (ext_exist): ditto
12127         (remove_files_with_extension): ditto
12128         (remove_file): ditto
12129         (write): ditto
12130
12131         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12132         document is smaller than the work area height. Do not initialize
12133         static variables to 0.
12134
12135 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12136
12137         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12138
12139         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12140         LFUN_LAYOUT_PARAGRAPHS.
12141
12142         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12143         tabular. It is possible to provide a possible cell, which will
12144         typically be the actcell from the corresponding insettabular
12145
12146         * lyxfunc.C (getStatus): small cleanup; disable
12147         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12148         true
12149
12150 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12151
12152         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12153
12154         * paragraph.C (startTeXParParams):
12155         (endTeXParParams): new methods. The LaTeX code to
12156         start/end paragraph formatting
12157         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12158         empty (fixes bug #200)
12159
12160         * vspace.C (inPixels): adapt to the change below
12161         (inPixels): [later] more cleanups (remove unused variables)
12162
12163         * lyxlength.C (inPixels): change to use a width and a height as
12164         parameter.
12165
12166 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12167
12168         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12169         Replaced with \paperwidth
12170
12171         * DepTable.C (insert): add std:: qualifier
12172
12173 2002-01-18  Allan Rae  <rae@lyx.org>
12174
12175         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12176         updated also?
12177
12178         * text.C (drawInset): Turned out I didn't know enough about how
12179         rebreaking worked.  This fixes most of the redraw problems.  I see
12180         an occasional cursor trail when a line is broken now and the cursor
12181         placement can seem out by a few pixels also after a rebreak.
12182
12183 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12184
12185         * buffer.C (parseSingleLyXformat2Token): update because minipage
12186         width is now a LyXLength
12187
12188         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12189
12190         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12191         math insets
12192
12193 2002-01-17  Juergen Vigna  <jug@sad.it>
12194
12195         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12196
12197         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12198         is set correctly and the inset is updated correctly.
12199
12200 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12201
12202         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12203         the beginning of the loop.
12204
12205 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12206
12207         * lyxrc.C: improve help for use_scalable_fonts
12208
12209 2002-01-17  Allan Rae  <rae@lyx.org>
12210
12211         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12212
12213 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12214
12215         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12216         make sure to set their inset_owner to the right value (bug #171)
12217
12218 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12219
12220         * DepTable.h
12221         * DepTable.C: Implement mtime checking to reduce time spent doing
12222         CRCs.
12223
12224 2002-01-16  Juergen Vigna  <jug@sad.it>
12225
12226         * tabular.C (GetAdditionalHeight): one of error fixed.
12227
12228         * lyxrc.C (output): small fix in writing use_pspell.
12229
12230 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12231
12232         * sp_base.h: #include LString.h
12233
12234 2002-01-16  Allan Rae  <rae@lyx.org>
12235
12236         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12237         Can someone check this please?
12238
12239         * text.C (drawInset): It was possible that p.row would be removed by
12240         breakAgainOneRow upsetting a few other settings.  There may be another
12241         small tweak possible by setting need_break_row = 0 when p.row has been
12242         removed but I don't know enough about the logic here.
12243
12244 2002-01-15  Allan Rae  <rae@lyx.org>
12245
12246         * text.C (insertChar): removed conditional truism.
12247
12248         * BufferView2.C (removeAutoInsets): More tweaks.
12249         cur_par_prev could be a stray pointer.  Check for trailing empty line
12250         in case last line was cur_par and only had an error inset on it.
12251
12252 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12253
12254         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12255         absolute
12256
12257         * vc-backend.C (most methods):
12258         * exporter.C (Export):
12259         * converter.C (convert):
12260         (runLaTeX):
12261         * LyXSendto.C (SendtoApplyCB):
12262         * lyxfunc.C (dispatch):
12263         (menuNew):
12264         (open):
12265         (doImport):
12266         * lyx_cb.C (AutoSave):
12267         (InsertAsciiFile):
12268         * BufferView_pimpl.C (MenuInsertLyXFile):
12269         * buffer.C (runChktex): use Buffer::filePath().
12270
12271         * buffer.h: rename filename to filename_; rename filepath to
12272         filepath_ and make it private
12273         (filePath): new method
12274
12275         * buffer.C (writeFile): use fileName()
12276         (getLatexName):
12277
12278         * lyx_main.C (init): fix starting  of LyX when the binary is a
12279         link from so,ewhere else.
12280
12281         * minibuffer.C: include <cctype> for isprint
12282
12283 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12284
12285         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12286         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12287         name clash with InsetCollapsable's width function.
12288
12289 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12290
12291         * lastfiles.C: include <iterator>
12292
12293 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12294
12295         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12296         std::count.
12297
12298         * buffer.C (makeLaTeXFile): ditto.
12299         Also make loop operation more transparent.
12300
12301 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12302
12303         * ToolbarDefaults.C: remove trailing comma closing namespace.
12304
12305         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12306
12307         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12308         as in WorkArea.
12309
12310         * trans.C (Load): comment out unused variable, allowed.
12311
12312 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12313
12314         * minibuffer.[Ch] (append_char): new method to recieve input from the
12315         drop-down completion browser. If a key was pressed, then recieve this
12316         char and append it to the existing string.
12317         (peek_event): modify the positioning data passed to the completion
12318         browser so that it can be placed above the minibuffer rather than below.
12319 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12320
12321         * LyXAction.C (init): alloe error-next for readonly documents.
12322
12323         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12324         count.
12325
12326 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12327
12328         * bufferlist.C (readFile): create the buffer _after_ checking that
12329         the file exists.
12330
12331         * lyxfunc.C (verboseDispatch): fix handling of arguments
12332
12333         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12334
12335         * lyxrc.C: use string::erase() instead of initializing to "".
12336
12337
12338 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12339
12340         * BufferView_pimpl.h:
12341         * BufferView_pimpl.C:
12342         * WorkArea.h:
12343         * WorkArea.C:
12344         * text2.C: tell X when we have made a selection for copying
12345
12346 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12347
12348         * BufferView_pimpl.C (MenuInsertLyXFile):
12349         * lyxfunc.C (menuNew):
12350         (open):
12351         (doImport): add shortcuts to directory buttons
12352
12353         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12354         open a float)
12355
12356         * lyxfunc.C (setStatusMessage):
12357         (getStatusMessage): new methods
12358         (getStatus):use setStatusMessage instead of setErrorMessage
12359         (dispatch): when function is disabled, set error message here
12360         [instead of in getStatus previously]
12361
12362         * BufferView_pimpl.C (workAreaButtonRelease): update
12363         toolbar/menubar here too.
12364
12365 2002-01-13  Allan Rae  <rae@lyx.org>
12366
12367         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12368         Now seems indestructible.  Remaining task is to audit all other
12369         code affected by deleteEmptyParagraphMechanism.  One small quirk
12370         left is that an empty document with an error in the preamble can
12371         be made to report an error but no error box appears.  I don't know
12372         where it goes.
12373         (removeAutoInsets): Improved comments.
12374
12375 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12376
12377         * Thesaurus.h:
12378         * Thesaurus.C: update for Aiksaurus 0.14
12379
12380 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12381
12382         * text2.C (firstParagraph): removed member function, all uses
12383         replaces with ownerParagraph
12384         (redoParagraphs): here
12385         (updateInset): here
12386         (toggleAppendix): here
12387         * BufferView2.C (insertErrors): here
12388         (setCursorFromRow): here
12389
12390 2002-01-13  Allan Rae  <rae@lyx.org>
12391
12392         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12393         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12394         There is still a way to segfault this although you may have to do this
12395         multiple times: Have an InsetERT with an unknown command in it.
12396         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12397         <down-arrow>, <Enter> again, View->DVI, BANG!
12398
12399         * text2.C (setCursor):
12400         (deleteEmptyParagraphMechanism):
12401         * lyxtext.h (setCursor):
12402         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12403         Making use of the return value may help fix other bugs.
12404
12405 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12406
12407         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12408
12409         * LyXView.C (updateMenubar): call MenuBar::update here
12410         (updateToolbar): but not here
12411         (showState): do not update toolbar/menubar
12412
12413         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12414         should need to care about that.
12415
12416         * lyxfunc.C (verboseDispatch): simplify a bit
12417         (getStatus): have a version which takes a pseudoaction, and
12418         another which requires a (kb_action,string).
12419
12420         * LyXAction.C (retrieveActionArg): make it work also when action
12421         is not a pseudo-action.
12422         (getActionName): simplify a bit
12423         (helpText):
12424
12425 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12426
12427         * lyxfunc.C (verboseDispatch): new families of methods with
12428         several ways to specify a command and a bool to indicate whether
12429         the command name and shortcut should be displayed in minibuffer
12430         (eventually, we could extend that to a finer bitmask like
12431         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12432         (dispatch): the pristine dispatch command which just, well,
12433         dispatchs! Note it still sets its result to minibuffer; I'm not
12434         sure we want that.
12435
12436         * lyxfunc.h: remove setHintMessage
12437
12438         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12439
12440 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12441
12442         * BufferView_pimpl.C (specialChar): delete new inset if we have
12443         not been able to insert it.
12444
12445         * kbmap.C: revert to using int instead of kb_action, since all we
12446         are dealing with is pseudo-actions.
12447
12448         * LyXAction.C (searchActionArg): change to return int instead of
12449         kb_action, since the result is a pseudoaction.
12450
12451 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12452
12453         * buffer.C (insertErtContents): Fix (partially) the font bug.
12454
12455 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12456
12457         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12458         as the other one is broken on my machine!
12459
12460 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12461
12462         * commandtags.h:
12463         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12464
12465 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12466
12467         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12468         reflect their actual use. Provide compatibility code for older lyxrc
12469         files.
12470
12471         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12472         FL_NORMAL_STYLE.
12473         change names of popup font variables in line with the changes to lyxrc.C
12474
12475 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12476
12477         * buffer.C (asciiParagraph): avoid outputing a word twice after
12478         an inset.
12479
12480         * lyxrc.C (getDescription): document that document_path and
12481         template_path can be empty.
12482
12483 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12484
12485         * LaTeXFeatures.C (getMacros):
12486         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12487
12488         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12489
12490         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12491         getPackages.
12492         (getPackages): rename feature "floats" to "float". Use an array to
12493         iterate over 'simple' features (i.e. just a \usepackage). Add
12494         handling of "amsmath" (renamed from "amsstyle").
12495
12496 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12497
12498         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12499         features list.
12500
12501 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12502
12503         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12504         FuncStaus::FuncStatus & FuncStaus::some_method().
12505
12506 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12507
12508         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12509         of the func_satus stuff. Edited and massaged in various ways by
12510         JMarc.
12511
12512         * lyxfunc.C (getStatus): use FuncStatus
12513
12514 2002-01-08  Juergen Vigna  <jug@sad.it>
12515
12516         * text.C (nextBreakPoint): use function Inset::isChar().
12517
12518         * paragraph.C (TeXOnePar): use function
12519         Inset::forceDefaultParagraphs.
12520
12521         * buffer.C (latexParagraphs): use function
12522         Inset::forceDefaultParagraphs.
12523
12524 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12525
12526         * lyx_gui.C (init): set the style of the menu popups to
12527         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12528
12529 2002-01-07  Juergen Vigna  <jug@sad.it>
12530
12531         * text.C (setHeightOfRow): small fix
12532         (prepareToPrint): don't look at alignment if we don't have the place
12533         for doing it.
12534
12535 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12536
12537         * box.C: New file. Move the Box methods and functions out of box.h,
12538         following Lars' suggestion.
12539
12540 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12541
12542         * box.h: #include "support/LOstream.h", needed for inlined function.
12543
12544         * lyxtextclass.C:
12545         * lyxtextclasslist.C: added some using std declarations.
12546
12547 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12548
12549         * box.h: make signed dimensions to allow insets wider than
12550           the screen (bug #162)
12551
12552         * BufferView_pimpl.C: add some insetHit debug
12553
12554 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12555
12556         * vc-backend.C: add FIXME
12557
12558 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12559
12560         * lyxfunc.C (getStatus): enable code for showing math font status
12561         in toolbar/menu.
12562
12563 2002-01-07  Juergen Vigna  <jug@sad.it>
12564
12565         * text.C (nextBreakPoint): removed debug output not needed anymore.
12566
12567 2002-01-06  Juergen Vigna  <jug@sad.it>
12568
12569         * text.C (nextBreakPoint): fixed up this function we had this bug
12570         since ever but now hopefully we break row better.
12571         (insertChar): we have to check if an inset is the next char as it
12572         could now happen that a large inset is causing a break.
12573
12574 2002-01-05  Juergen Vigna  <jug@sad.it>
12575
12576         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12577         if it doesn't like to be drawed.
12578
12579 2002-01-04  Juergen Vigna  <jug@sad.it>
12580
12581         * BufferView2.C (lockInset): forgot to set a cursor.
12582
12583         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12584
12585 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12586
12587         * FormMathsPanel.C:
12588         * FormMathsPanel.h
12589         * MathsSymbols.C:
12590         * form_maths_panel.C:
12591         * form_maths_panel.h:
12592         * form_maths_panel.fd: implemented sub- and super- buttons in math
12593         panel.
12594
12595         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12596         (or ^ space) to be used as in TeX (req'd by André).
12597
12598         * lyxfunc.C: Allow ^ and _ again to be used both as
12599         super/subscript (mathed) and as themselves (in text).
12600
12601 2002-01-03  Allan Rae  <rae@lyx.org>
12602
12603         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12604         "LyX" or the filename of the current buffer if it has one.  This is a
12605         modified form of John Levon's patch.
12606
12607         * XFormsView.C (setWindowTitle): also set icon title.
12608
12609         * LyXView.h (setWindowTitle): signature changed.
12610         * XFormsView.h (setWindowTitle): ditto.
12611
12612 2002-01-02  Juergen Vigna  <jug@sad.it>
12613
12614         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12615
12616 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12617
12618         * screen.C (topCursorVisible): introduce a temp var for
12619         text->cursor.row(), handle the case where this row is null. (kindo
12620         hachish)
12621
12622         * text2.C (setCursor): add a couple of asserts.
12623
12624         * paragraph.h (inset_iterator): add -> operator
12625
12626         * paragraph.[Ch] (autoDeleteInsets): remove member function
12627
12628         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12629         cursor pos correctly and handle inset deletion by itself.
12630         (insertErrors): move iterator declaration out of for expression
12631
12632         * lyxtextclass.C: add <algorithm>
12633
12634         * Makefile.am: added the new files to sources, removed layout.C
12635
12636         * layout.C: removed file
12637
12638         * layout.h: remove LYX_DUMMY_LAYOUT
12639
12640         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12641         layout.
12642
12643         * lyxlayout.[Ch]:
12644         * lyxtextclass.[Ch]:
12645         * lyxtextclasslist.[Ch]: new files
12646
12647         * include order changes to a lot of files, also changes because of
12648         the six new files.
12649
12650 2001-12-27  Juergen Vigna  <jug@sad.it>
12651
12652         * buffer.C (asciiParagraph): more fixes.
12653
12654         * tabular.C (ascii): make ascii export support export of only the
12655         data separated by a column-delimiter.
12656         (ascii): better support for ascii export.
12657
12658         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12659
12660 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12661
12662         * tabular_funcs.C: use a "using std::getline" instead of the
12663         previous fix from Angus (necessary for cxx + lyxstring)
12664
12665 2001-12-24  Juergen Vigna  <jug@sad.it>
12666
12667         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12668
12669         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12670         problems. First check a minipage also if we have some ert-contents
12671         (not only on par->size(), second set the right depth of the paragraph
12672         on the relink to the root-paragraph-list!
12673
12674         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12675         which then did not anymore update the main paragraphs on undo/redo!
12676
12677 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12678
12679         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12680         code. Support all font-changing funcs (even those which are not in
12681         menu currently). Support for reporting font settings in
12682         mathed (disabled until Andre provides a function on mathed's side).
12683
12684         * func_status.h (toggle): small helper function to set toggle
12685         state on a flag.
12686
12687 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12688
12689         * tabular_funcs.C: getline -> std::getline
12690
12691 2001-12-21  Juergen Vigna  <jug@sad.it>
12692
12693         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12694         accessed and could be 0 (I couldn't generate this but it seems
12695         Michael could!).
12696
12697 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12698
12699         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12700         * tabular_funcs.h: here and include iosfwd
12701
12702 2001-12-20  Juergen Vigna  <jug@sad.it>
12703
12704         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12705         inside inset but undo_par was.
12706
12707 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12708
12709         * Thesaurus.C: always include <config.h> in sources.
12710
12711         * Painter.h:
12712         * lyxlookup.h:
12713         * box.h: do not include <config.h> in header files
12714
12715         * text.C (paintLastRow): remove unused variable
12716
12717         * text.C (transformChar):
12718         (insertChar):
12719         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12720
12721         * Painter.C (text):
12722         * font.C (width): rewrite to use uppercase() instead of
12723         islower/toupper.
12724
12725         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12726
12727 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12728
12729         * lyxfind.C: clean up of find failure position change
12730
12731 2001-12-20  Juergen Vigna  <jug@sad.it>
12732
12733         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12734
12735         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12736         (TeXRow): added to LaTeX a single tabular row.
12737         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12738         (Latex): simplified and finally good LT-h/f support.
12739         (various_functions): just small adaptions for LT-h/f support.
12740
12741         * tabular_funcs.[hC]: added and moved here all not classfunctions
12742         of LyXTabular.
12743
12744 2001-12-19  Juergen Vigna  <jug@sad.it>
12745
12746         * tabular.[Ch]: better support for longtabular options (not finished
12747         yet!)
12748
12749 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12750
12751         * text.C (paintLastRow): use the label font instead of the font of
12752         the last character to compute the size of *_BOX. This makes more
12753         sense and avoids a crash with empty paragraphs.
12754         Use Painter::rectangle to draw EMPTY_BOX.
12755
12756 2001-12-19  Juergen Vigna  <jug@sad.it>
12757
12758         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12759         the paragraphs if the replaced paragraph is not the first one!
12760         Tried to delete not used paragraphs but does not work yet so for
12761         now it's inside #ifdef's and by default off!
12762
12763 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12764
12765         * MenuBackend.C: include "lyx_main.h" instead of declaring
12766         lastfiles (actually was declared as LastFiles* instead of a
12767         scoped_ptr).
12768
12769 2001-12-17  Juergen Vigna  <jug@sad.it>
12770
12771         * tabular.C (AppendColumn): applied John's fix
12772
12773 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12774
12775         * BufferView.h:
12776         * BufferView.C:
12777         * BufferView_pimpl.h:
12778         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12779
12780         * Makefile.am:
12781         * box.h: new start of class for above
12782
12783         * lyxfunc.C: ignore space-only minibuffer dispatches.
12784           Show the command name when it doesn't exist
12785
12786         * minibuffer.C: don't add empty lines to the history
12787
12788         * minibuffer.C: add a space on dropdown completion
12789
12790 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12791
12792         * text.C: fix line above/below drawing in insets
12793
12794 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * lyxlength.C (LyXLength): Initialize private variables.
12797
12798 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12799
12800         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12801         when inserting error insets.
12802
12803 2001-12-13  Juergen Vigna  <jug@sad.it>
12804
12805         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12806         actually sometimes the before-paragraph.
12807         (setUndo): don't clear the redostack if we're not actually undoing!
12808
12809 2001-12-06  Juergen Vigna  <jug@sad.it>
12810
12811         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12812         and fixed redoing of main paragraph, so we can use it now ;)
12813
12814         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12815
12816 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12817
12818         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12819         Juergen's request
12820
12821 2001-12-13  André Pönitz <poenitz@gmx.net>
12822
12823         * undostack.[Ch]:
12824         * undo_func.C: minor cleanup
12825
12826 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12827
12828         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12829         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12830         font in urw-fonts package which is marked as -urw-fontspecific and
12831         does not work (incidentally, changing the encoding in the
12832         fonts.dir of this package to -adobe-fontspecific fixes the
12833         problem).
12834
12835         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12836         is a crash when undoing first paragraph (Juergen, please take a
12837         look). THis does not mean the undo fix is wrong, just that it
12838         uncovers problems.
12839
12840         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12841         the (Paragraph*) version when needed instead of duplicating the
12842         code.
12843
12844         * text.C (workWidth): use Inset::parOwner to find out where the
12845         inset has been inserted. This is a huge performance gain for large
12846         documents with lots of insets. If Inset::parOwner is not set, fall
12847         back on the brute force method
12848
12849         * paragraph_pimpl.C (insertInset):
12850         * paragraph.C (Paragraph):
12851         (cutIntoMinibuffer): set parOwner of insets when
12852         inserting/removing them
12853
12854         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12855
12856 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12857
12858         * commandtags.h:
12859         * LyXAction.C:
12860         * lyx_main.C:
12861         * lyxfunc.C:
12862         * mathed/formulabase.C:
12863         * mathed/math_cursor.[Ch]:
12864         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12865
12866
12867 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12868
12869         * lyxlength.[Ch] (operator!=): new function
12870
12871 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12872
12873         * text.C (workWidth): use Inset::parOwner to find out where the
12874         inset has been inserted. This is a huge performance gain for large
12875         documents with lots of insets. If Inset::parOwner is not set, fall
12876         back on the brute force method
12877
12878         * paragraph_pimpl.C (insertInset):
12879         * paragraph.C (Paragraph):
12880         (cutIntoMinibuffer): set parOwner of insets when
12881         inserting/removing them
12882
12883         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12884
12885 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12886
12887         * tabular-old.C (getTokenValue):
12888         * tabular.C (getTokenValue):
12889         (write_attribute): new versions for LyXLength
12890         (everywhere): adjust the use of widths
12891
12892         * tabular.h: change the type of widths from string to LyXLength
12893
12894 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12895
12896         * paragraph.C: fixed missing line number count when exporting
12897         Environments to LaTeX file
12898
12899         * buffer.C: added informational message for checking line numbers.
12900
12901 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12902
12903         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12904         paragraph, do the 'double space' part, but not the 'empty
12905         paragraph' one.
12906
12907         * text.C (workWidth): small optimization
12908         (getLengthMarkerHeight): use minimal size for negative lengths.
12909
12910 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12911
12912         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12913
12914         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12915
12916 2001-12-11  André Pönitz <poenitz@gmx.net>
12917
12918         * FontLoader.C:
12919         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12920
12921 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12922
12923         * text2.C: keep selection on a setFont()
12924
12925 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12926
12927         * lyx_cb.C: another bv->text misuse, from insert label
12928
12929 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12930
12931         * kbsequence.h:
12932         * kbsequence.C: re-instate nmodifier mask
12933
12934 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12935
12936         * lyx_main.h: make lyxGUI private.
12937
12938 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12939
12940         * lyxfind.C: place the cursor correctly on failed search
12941
12942 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12943
12944         * text.C (getLengthMarkerHeight): for small heights, the arrows
12945         are not always on top/bottom of the text
12946         (drawLengthMarker): smaller arrows; take the left margin in
12947         account; draw also vfills.
12948         (paintFirstRow):
12949         (paintLastRow): remove special code for vfill and standard spaces,
12950         since everything is handled in drawLengthMarker now.
12951
12952 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12953
12954         * buffer.C (insertErtContents): try to handle font and language
12955         interaction a bit better.g
12956
12957         * ColorHandler.C (updateColor): change the hash to cover the whole
12958         LColor enum, ws cleanup
12959         (getGCLinepars): ditto
12960         (getGCLinepars): only lookup in the linecache once.
12961
12962 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12963
12964         * iterators.C (operator++): Make the iterator more robust
12965
12966         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12967         (John's patch)
12968         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12969
12970 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12971
12972         * lyxtext.h:
12973         * text.C: better added space drawing
12974
12975 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12976
12977         * LyXView.C:
12978         * BufferView2.C: fix layout combo update on inset unlock
12979
12980 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12981
12982         * Makefile.am: don't compile unused files
12983
12984 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12985
12986         * lyxfunc.C:
12987         * commandtags.h:
12988         * LyXAction.C: remove old LFUN_LAYOUTNO
12989
12990 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12991
12992         * paragraph_pimpl.h:
12993         * paragraph_pimpl.C: isTextAt() doesn't need font param
12994
12995 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12996
12997         * lyxlex.h:
12998         * lyxlex.C: little cleanup
12999
13000 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
13001
13002         * BufferView_pimpl.C: fix insertAscii for insets
13003
13004 2001-12-05  Juergen Vigna  <jug@sad.it>
13005
13006         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
13007         set the right font on the "multi" paragraph paste!
13008
13009 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13010
13011         * trans_decl.h:
13012         * trans_mgr.[Ch]:
13013         * trans.[Ch]:
13014         * lyxgluelength.C:
13015         * lyxlength.C: remove out-commented code.
13016
13017         * BufferView_pimpl:
13018         * CutAndPaste.C:
13019         * DepTable.C:
13020         * buffer.C:
13021         * chset.C:
13022         * lastfiles.C:
13023         * lyxlex.C:
13024         * lyxlex_pimpl.C:
13025         * lyxserver.C:
13026         * screen.C:
13027         * tabular-old.C:
13028         * tabular.C:
13029         * text.C:
13030         * trans_mgr.C:
13031         * vc-backend.C: change "while(" to "while ("
13032
13033         * lyxlength.[Ch]: add zero function to check if length is zero or
13034         not
13035         * lyxgluelength.C: use it
13036
13037 2001-12-05  Allan Rae  <rae@lyx.org>
13038
13039         * lyxlength.C: Attempted a fix for the abs(int) header selection.
13040         Works for 2.95.3, from what I understand of Garst's reports this should
13041         work for other g++ versions.  We're screwed if the abs(int) definition
13042         changed between bugfix releases of gcc.
13043
13044 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13045
13046         * text.C: fix chapter label offset !
13047
13048 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
13049
13050         * lyxtext.h:
13051         * text.C: fix hfill at end of line, clean up
13052
13053 2001-12-04  Juergen Vigna  <jug@sad.it>
13054
13055         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
13056         that we force an update of the inset and it's owners if neccessary.
13057
13058 2001-12-03  Juergen Vigna  <jug@sad.it>
13059
13060         * text.C (rowLast): simplified code
13061
13062 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
13063
13064         * lyxfunc.C: fix show options on timeout
13065
13066 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13067
13068         * screen.C (topCursorVisible): scroll half a page when the cursor
13069         reached top of bottom of screen
13070
13071 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
13072
13073         * minibuffer.C: deactivate on loss of focus
13074
13075 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13076
13077         * vspace.[Ch] (operator!=): add operator.
13078
13079 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
13080
13081         * BufferView_pimpl.C: refuse to open an inset when
13082         there's a selection.
13083
13084 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
13085
13086         * BufferView_pimpl.C: allow to click on RHS of full row insets
13087
13088 2001-11-30  Juergen Vigna  <jug@sad.it>
13089
13090         * tabular.C (LyXTabular): add a same_id to set the same id's in the
13091         insets for undo reasons.
13092
13093 2001-11-28  André Pönitz <poenitz@gmx.net>
13094
13095         * vspace.[Ch]: cosmetical changes
13096
13097 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13098
13099         * LyXAction.h:
13100         * LyXAction.C:
13101         * lyxfunc.h:
13102         * lyxfunc.C:
13103         * kbmap.h:
13104         * kbmap.C:
13105         * lyxrc.C:
13106         * kbsequence.h:
13107         * kbsequence.C: part re-write of old kb code
13108
13109         * Painter.C:
13110         * WorkArea.C: remove Lgb_bug_find_hack
13111
13112 2001-11-30  José Matos <jamatos@fep.up.pt>
13113
13114         * buffer.C (makeDocBookFile): add a comment to point a hack.
13115         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13116         Fixed a double write of labels.
13117
13118 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13119
13120         * LaTeX.C:
13121         * LaTeX.h Fixed bug in LaTeX class where it would not
13122         re-run latex if no depfiles were changed, but the .dvi was removed.
13123
13124 2001-11-28  André Pönitz <poenitz@gmx.net>
13125
13126         * all the files from the change on 2001/11/26:
13127         use lyx::layout_type instead of LyXTextClass::size_type
13128         use lyx::textclass_type instead of LyXTextClassList::size_type
13129
13130 2001-11-29  Juergen Vigna  <jug@sad.it>
13131
13132         * text.C: added support for paragraph::isFreeSpacing()
13133
13134         * buffer.C: same as above
13135
13136         * paragraph.h: inserted isFreeSpacing() function to enable
13137         FreeSpacing inside InsetERT.
13138
13139         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13140         of the paragraph's in the cut/copy buffer to 0!
13141
13142         * text2.C (removeRow): remove the assert as it can!
13143
13144         * lyxtext.h: added helper function firstRow returning firstrow and
13145         made firstrow private again.
13146
13147         * BufferView2.C (lockInset): don't relock if we're already locked!
13148
13149         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13150         the only paragraph.
13151         (removeRow): added Assert::(firstrow)
13152
13153         * debug.C: forgot to add INSETTEXT here.
13154
13155 2001-11-28  Juergen Vigna  <jug@sad.it>
13156
13157         * sp_spell.C (initialize): changed error text to more general
13158         spellchecker command use (not only ispell!)
13159
13160         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13161
13162         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13163
13164 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13165
13166         * vspace.C: initialise lyxgluelength on failure
13167
13168 2001-11-28  Allan Rae  <rae@lyx.org>
13169
13170         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13171         declaration & definition that looks like a function declaration.
13172
13173 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13174
13175         * BufferView2.C (copy):
13176         (copyEnvironment): do not clear the selection when doing a copy.
13177
13178         * text.C (paintFirstRow): compilation fix
13179
13180 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13181
13182         * tabular.C (Latex): correct line count when writing latex.
13183
13184 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13185
13186         * paragraph_pimpl.h:
13187         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13188           bug a bit
13189
13190 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13191
13192         * text.C:
13193         * LColor.h:
13194         * LColor.C: change vfillline->added_space
13195
13196         * text.C: add markers and text for added space
13197
13198         * vspace.C: fix comment
13199
13200 2001-11-28  André Pönitz <poenitz@gmx.net>
13201
13202         * paragraph.C: whitespace changes
13203         * all the other files from the change on 2001/11/26:
13204         change *::pos_type into lyx::pos_type
13205
13206 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13207
13208         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13209         language of the document when inserting error insets.
13210
13211 2001-11-26  André Pönitz <poenitz@gmx.net>
13212
13213         * BufferView_pimpl.[Ch]:
13214         *       CutAndPaste.C:
13215         * buffer.[Ch]:
13216         * lyxcursor.[Ch]:
13217         * lyxfind.C:
13218         * lyxfunc.C:
13219         * lyxrow.[Ch]:
13220         * paragraph.[Ch]:
13221         * paragraph_pimpl.[Ch]:
13222         * sp_spell.C:
13223         * text.C:
13224         * text2.C: reduce header dependencies, introduce type for positions
13225
13226 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13227
13228         * <various>: change to use Alert.h
13229
13230 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13231
13232         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13233         when encountering an unknown token.
13234         (readLyXformat2): Show an error message if there were unknown tokens.
13235
13236 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13237
13238         * BufferView2.C:
13239         * BufferView_pimpl.C:
13240         * buffer.C:
13241         * paragraph.h:
13242         * text.C:
13243         * text2.C: use par->isInset()
13244
13245 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13246
13247         * paragraph_pimpl.h:
13248         * paragraph_pimpl.C: cleanup
13249
13250 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13251
13252         * text2.C (removeRow):
13253         * text.C (setHeightOfRow): remove useless (and costly) call to
13254         getRow.
13255
13256 2001-11-20  Allan Rae  <rae@lyx.org>
13257
13258         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13259         Now need Inset*::checkInsertChar() to return true for appropriate
13260         cases so that the characters in the minibuffer will actually be
13261         inserted.
13262
13263 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13264
13265         * text.C: change the order of the includes.
13266         (workWidth): initialize it at once.
13267         (workWidth): make maxw unsigned
13268         (setHeightOfRow): remove unused variable (inset)
13269         (selectSelectedWord): remove unused variable (inset)
13270         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13271
13272 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13273
13274         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13275         server is not running.
13276         (openConnection):
13277         (closeConnection): add debug info when server is disabled.
13278
13279         * ColorHandler.C (getGCForeground): send debug message to GUI
13280         channel.
13281
13282         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13283
13284         * kbmap.C (bind): modify because return conventions of
13285         kb_sequence::parse have changed.
13286
13287         * kbsequence.C (parse): only ignore spaces and not any stupid
13288         control character. This avoids tests like s[i] <= ' ', which are
13289         guaranteed to fail with 8bit characters and signed chars.
13290         Change return code to string::npos when there have been no error
13291         (0 was a bad idea when error is at first character)
13292
13293 2001-11-14  José Matos  <jamatos@fep.up.pt>
13294
13295         * buffer.h:
13296         * buffer.C (simpleDocBookOnePar): removed unused argument.
13297
13298 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13299
13300         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13301         insets which are part of a word. Paragraph::isLetter takes care of
13302         that now. Use Paragraph::isInset to identify insets.
13303         (selectSelectedWord): do not test for hyphenation break.
13304
13305         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13306         that protected spaces are considered as spaces.
13307
13308         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13309         Inset::isLetter.
13310
13311 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13312
13313         * lyxserver.h:
13314         * lyxserver.C: fix it. and small cleanup.
13315
13316 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13317
13318         * BufferView_pimpl.C: use inline helpers
13319
13320         * LaTeXFeatures.h:
13321         * LaTeXFeatures.C: fix typos
13322
13323         * Spacing.h:
13324         * Spacing.C: move spacing_string into class
13325
13326         * ToolbarDefaults.C: move stuff into namespace anon
13327
13328         * layout.h: update enum
13329
13330         * lyxfunc.C: use better debug
13331
13332         * minibuffer.h: fix typo
13333
13334         * debug.h:
13335         * debug.C:
13336         * WorkArea.C: add and use Debug::WORKAREA
13337
13338         * lyxtext.h:
13339         * text.C:
13340         * text2.C: code re-organisation, inline helpers
13341
13342 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13343
13344         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13345         std::vector.empty().
13346
13347 2001-11-09  Allan Rae  <rae@lyx.org>
13348
13349         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13350         '\n's after tables.  Tabular and ERT inset work now makes this no
13351         longer necessary.
13352
13353 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13354
13355         * minibuffer.h:
13356         * minibuffer.C: fix crash, improve drop-down completion
13357
13358 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13359
13360         * lyxserver.h:
13361         * lyxserver.C: invalidate fd's when doing endPipe()
13362
13363 2001-11-08  José Matos  <jamatos@fep.up.pt>
13364
13365         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13366         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13367
13368         * paragraph.h:
13369         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13370
13371 2001-11-07  José Matos  <jamatos@fep.up.pt>
13372
13373         * buffer.h:
13374         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13375         const qualifier.
13376
13377         * buffer.C (sgmlOpenTag):
13378         * buffer.C (sgmlCloseTag): removed debug info.
13379
13380         * buffer.h (sgmlOpenTag):
13381         * buffer.h (sgmlCloseTag): made public.
13382
13383 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13384
13385         * buffer.C (saveParamsAsDefaults):
13386         * lyx_cb.C (MenuLayoutSave): remove
13387
13388         * LyXAction.C (init):
13389         * commandtags.h:
13390         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13391
13392 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13393
13394         * buffer.C (setPaperStuff): removed from here...
13395
13396         * bufferparams.C (setPaperStuff): ... and moved there.
13397
13398 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13399
13400         * minibuffer.h:
13401         * minibuffer.C:
13402         * XFormsView.C: add support for drop-down completion
13403
13404 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13405
13406         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13407         commands.
13408
13409 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13410
13411         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13412         disabled.
13413
13414 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13415
13416         * lyx_main.C: change ref to known bugs
13417
13418 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13419
13420         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13421         to work around older babel problems.
13422
13423 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13424
13425         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13426
13427 2001-10-24  Juergen Vigna  <jug@sad.it>
13428
13429         * tabular-old.C (ReadOld): below variable changes reflected.
13430
13431         * tabular.[Ch]: added ltType struct for longtable header/footer
13432         defines and changed all instances where they are used. Added
13433         future support for double top/bottom rows.
13434
13435 2001-10-24  José Matos  <jamatos@fep.up.pt>
13436
13437         * buffer.h (docbookHandleCaption):
13438         * buffer.C (docbookHandleCaption): removed unused function.
13439         (makeDocBookFile): moved docbook supported version to v4.1.
13440
13441 2001-10-24  José Matos  <jamatos@fep.up.pt>
13442
13443         * tabular.h:
13444         * tabular.C (docbookRow): new function to export docbook code of a row.
13445         (DocBook): now honors the longtable flags.
13446
13447 2001-10-23  José Matos  <jamatos@fep.up.pt>
13448
13449         * LaTeXFeatures.h:
13450         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13451         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13452
13453         * buffer.C (makeLinuxDocFile):
13454         (makeDocBookFile): reworked the preamble, more clean, and with
13455         support for lyx defined entities. Changed the document declaration
13456         to be more XML friendly.
13457
13458         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13459         if we need to output XML that should be done with a filter.
13460
13461 2001-10-22  Juergen Vigna  <jug@sad.it>
13462
13463         * sp_pspell.h (class PSpell): add alive function needed in the
13464         controller to see if the spellchecker could be started.
13465
13466 2001-10-22  Juergen Vigna  <jug@sad.it>
13467
13468         * buffer.C (insertStringAsLines): modify the font for inserting
13469         chars in certain conditions by calling checkInsertChar(font).
13470
13471 2001-10-19  Juergen Vigna  <jug@sad.it>
13472
13473         * text.C (workWidth): use getRow instead of wrong algorithm.
13474         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13475
13476 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13477
13478         * lyxserver.h:
13479         * lyxserver.C:
13480         * lyx_main.h:
13481         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13482
13483 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13484
13485         * text.C (workWidth): do not search for the exact row when
13486         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13487         optimization for big documents.
13488
13489 2001-10-18  Juergen Vigna  <jug@sad.it>
13490
13491         * text.C (workWidth): new function with added Inset * parameter.
13492
13493 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13494
13495         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13496
13497         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13498         change return type of getColumnNearX.
13499
13500
13501         * text.C (changeRegionCase): use uppercase/lowercase instead of
13502         toupper/tolower.
13503         (leftMargin):
13504         (rightMargin): simplify code by factoring out the uses of
13505         textclasslist.
13506         (labelFill):
13507         (numberOfHfills):
13508         (setHeightOfRow):
13509         (appendParagraph): use Paragraph::size_type
13510
13511 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13512
13513         * vspace.C (asLatexString): add a missing break
13514
13515 2001-10-15  Herbert Voss  <voss@perce.de>
13516
13517         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13518
13519 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13520
13521         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13522         is not available.
13523
13524 2001-10-10  André Pönitz <poenitz@gmx.net>
13525
13526         * lyxfunc.C: removed greek_kb_flag.
13527
13528 2001-10-10  Herbert Voss  <voss@perce.de>
13529
13530         * lyx_main.C: delete global string help_lyxdir.
13531
13532 2001-10-09  Herbert Voss  <voss@perce.de>
13533
13534         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13535
13536         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13537
13538         * lyx_main.C: added global string help_lyxdir.
13539
13540         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13541
13542 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13543
13544         * lyxrc.C (set_font_norm_type): support iso8859-4
13545
13546 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13547
13548         * LaTeX.C (deplog): add another regex for MikTeX
13549
13550 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13551
13552         * lyxrc.C (set_font_norm_type): support iso8859-3
13553
13554 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13555
13556         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13557
13558         * LaTeXFeatures.C: remove special case of french and index
13559
13560         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13561         before \begin{document}). This solves several incompatibilities.
13562
13563 2001-10-03  Garst Reese  <reese@isn.net>
13564
13565         * lyx_cb.C: change CheckTex error msg.
13566
13567 2001-10-03  José Matos  <jamatos@fep.up.pt>
13568
13569         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13570
13571 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13572
13573         * .cvsignore: update
13574
13575         * lyx_main.C (commandLineVersionInfo): use new style version info.
13576
13577         * buffer.C (writeFile):
13578         (makeLaTeXFile):
13579         (makeLinuxDocFile):
13580         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13581
13582         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13583
13584         * version.h: update to use stuff in version.C
13585
13586         * version.C.in: new file. Contains version information determined
13587         at compile time. This is a merging of version.h and
13588         version_info.h.in.
13589
13590 2001-10-03  Juergen Vigna  <jug@sad.it>
13591
13592         * BufferView_pimpl.C (update): don't change "dirty" status in
13593         updateInset call.
13594
13595 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13596
13597         * WorkArea.C (c-tor): re-position version string slightly.
13598
13599 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13600
13601         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13602         revert to previous code.
13603
13604         WorkArea.[Ch]: (show, destroySplash): methods removed.
13605
13606         WorkArea.C: rework code so that it's an amalgam of the codes before and
13607         after the splash screen was moved to WorkArea.
13608
13609 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13610
13611         * lyxrc.C (read):
13612         * vspace.C (inPixels):
13613         (lyx_advance):
13614         * kbmap.C (bind):
13615         * buffer.C (insertStringAsLines):
13616         (asciiParagraph): fix types to be large enough
13617
13618         * lyxlex_pimpl.h: change member status from short to int
13619
13620         * layout.h: fix type of endlabeltype
13621
13622         * kbmap.C (bind):
13623         * kbsequence.C (parse): change return type to string::size_type
13624
13625         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13626         variable
13627
13628         * Bullet.C (bulletSize):
13629         (bulletEntry): do not use short ints as parameters
13630
13631         * BufferView2.C (insertLyXFile): change a char to an int.
13632
13633         * WorkArea.C (WorkArea): remove unneeded floats in computation
13634
13635 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13636
13637         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13638
13639         * paragraph.C (asString): Do not ignore newline/hfill chars when
13640         copying to the clipboard.
13641
13642 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13643
13644         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13645         after a multi-line inset.
13646
13647 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13648
13649         * paragraph.C (validate): Set NeedLyXFootnoteCode
13650
13651 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13652
13653         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13654         and decrease-error to decrease.
13655
13656 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13657
13658         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13659         it more readable (should be equivalent)
13660
13661 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13662
13663         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13664
13665 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13666
13667         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13668         of a cursor (row, etc.) after a character has been deleted
13669         (deleteEmptyParagraphMechanism): call the method above on _all_
13670         cursors held by the LyXText when a double space has been
13671         detected/deleted.
13672
13673 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13674
13675         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13676         pixmap.
13677         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13678
13679         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13680         background. Use greyOut() and the new show() methods to toggle between
13681         the foreground and background. Add code to remove the splash after
13682         its initial showing.
13683
13684         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13685         (create_forms): no longer call Dialogs::showSplash.
13686
13687 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13688
13689         * .cvsignore: add version_info.h
13690
13691 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13692
13693         * version_info.h.in: new file
13694
13695         * Makefile.am: add version_info.h.in
13696
13697         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13698         version_info.h instead of VERSION_INFO
13699
13700 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13701
13702         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13703         The ERT inset now returns string().
13704
13705 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13706
13707         * lyxtext.h, text.C (selectNextWord): renamed as
13708         selectNextWordToSpellcheck.
13709
13710         * text.C (selectNextWordToSpellcheck): Modified to not select
13711         words inside an ERT inset.
13712
13713 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13714
13715         * lyx_cb.C (MenuLayoutSave): change a bit the question
13716
13717         * sp_base.h: include <sys/types.h>
13718
13719 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13720
13721         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13722
13723 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13724
13725         * several files: fix typos in user-visible strings
13726
13727 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13728
13729         * text2.C (pasteSelection): do not set the selection, since it
13730         will be cleared later. Actually, the intent was to fix the way the
13731         selection was set, but I figured rmoving the code was just as good.
13732
13733 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13734
13735         * FontLoader.C (available): Check if font is available without
13736         loading the font.
13737
13738 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13739
13740         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13741
13742 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13743
13744         * lyxrc.[Ch]: added display_graphics variable and associated code.
13745
13746 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13747
13748         * bufferparams.C (hasClassDefaults): new method. Returns true if
13749         the buffer parameters correspond to known class defaults
13750
13751 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13752
13753         * XFormsView.C (show): set minimum size to the main window.
13754
13755 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13756
13757         * text2.C (copySelection):
13758         (cutSelection):
13759         * lyxfind.C (LyXReplace):
13760         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13761         LyXText::selectionAsString.
13762
13763         * paragraph.C (asString): add "label" argument to the second form
13764
13765         * text2.C (selectionAsString): add "label" argument and pass it to
13766         Paragraph::asString.
13767
13768 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13769
13770         * lyx_main.C (commandLineHelp): remove version information
13771
13772 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13773
13774         * lyx_main.C: add -version commandline option
13775
13776 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13777
13778         * paragraph.h: make the optional constructor arg required instead.
13779         some modifications to other files because of this.
13780
13781         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13782
13783         * lyxserver.C (C_LyXComm_callback): make it static
13784
13785         * lyx_main.C (error_handler): make it static
13786
13787         * lyx_gui.C (LyX_XErrHandler): make it static
13788
13789         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13790
13791         * WorkArea.C: make the extern "C" methods static.
13792
13793         * Makefile.am (lyx_LDADD): simplify
13794
13795 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13796
13797         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13798         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13799
13800         * LyXAction.C (init):
13801         * lyxfunc.C (dispatch): associated code removal.
13802
13803 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13804
13805         * lyxfont.h (isSymbolFont): shut off warning
13806
13807         * text.C (setHeightOfRow):
13808         (getVisibleRow): fix crash with empty paragraphs which have a
13809         bottom line
13810
13811 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13812
13813         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13814         code.
13815
13816 2001-09-04  José Matos  <jamatos@fep.up.pt>
13817         * buffer.C
13818         * buffer.h
13819         * tabular.C (docbook): rename docBook method to docbook.
13820
13821 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13822
13823         * Makefile.am: add dependencies to main.o.
13824
13825 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13826
13827         * FontLoader.C (available): Return false if !lyxrc.use_gui
13828
13829 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13830
13831         * FontInfo.C (query):
13832         * converter.C (view):
13833         * importer.C (Import):
13834         * exporter.C (Export): Can not -> cannot.
13835
13836 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13837
13838         * BufferView_pimpl.C: allow to create index inset even if
13839           string is empty
13840
13841 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13842
13843         * buffer.C (getLists): replace boost::tie code with an explicit pair
13844         as boost::tie can break some compilers.
13845
13846         * iterators.h: Added a std:: declaration to the return type of
13847         ParIterator::size.
13848
13849 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13850
13851         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13852           case.
13853
13854 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13855
13856         * iterators.[Ch]: New files. Provide paragraph iterators.
13857
13858         * buffer.C (changeLanguage): Use paragraph iterators.
13859         (isMultiLingual): ditto
13860
13861         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13862
13863 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13864
13865         * FontLoader.C: Support for cmr font.
13866
13867 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13868
13869         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13870         (available): New method.
13871
13872         * FontInfo.C (getFontname): Use scalable fonts even when
13873         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13874         found.
13875
13876 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13877
13878         * converter.C (Formats::view): reverted! Incorrect fix.
13879
13880 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13881
13882         * converter.C (Formats::view): only output the -paper option
13883         if the dvi viewer is xdvi, thereby fixing bug #233429.
13884
13885 2001-08-23  Herbert Voss  <voss@perce>
13886
13887         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13888
13889 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13890
13891         * Spacing.h (Spacing): Set space to Default on in the default
13892         constructor.
13893
13894 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13895
13896         * vc-backend.h (RCS::versionString): add RCS to version
13897         (CVS::versionString): add CVS to version
13898
13899         * vc-backend.C (scanMaster): do not add CVS to version.
13900         (scanMaster): do not add RCS to version
13901
13902         * lyxvc.C (versionString): new method
13903
13904         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13905
13906 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13907
13908         * Spacing.C (set): initialize fval
13909
13910 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13911
13912         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13913         " or \.
13914
13915 2001-08-16  Juergen Vigna  <jug@sad.it>
13916
13917         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13918
13919 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13920
13921         * BufferView_pimpl.C:
13922         * figureForm.C:
13923         * lyxtext.h:
13924         * text2.C: setParagraph takes linespacing now
13925
13926 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13927
13928         * LyxAction.C: add internal LFUN_CITATION_INSERT
13929
13930         * LyXView.C: actually apply fix
13931
13932         * bufferlist.C: fix open non-existent file
13933
13934         * lyxfind.C: fix indentation
13935
13936         * lyxfunc.C: remove unneeded assert, fix typo
13937
13938 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13939
13940         * MenuBackend.C: use "Floatname List"
13941
13942 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13943
13944         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13945         when converting LaTeX layout to insetERT.
13946         Generate a non-collapsed float when reading old float
13947
13948 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13949
13950         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13951         ERT insets.
13952
13953 2001-08-13  Juergen Vigna  <jug@sad.it>
13954
13955         * text.C (fill): return 0 instead of 20 as this seems to be the more
13956         correct value.
13957
13958 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13959
13960         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13961         lyxrc.font_norm.
13962
13963 2001-08-13  Juergen Vigna  <jug@sad.it>
13964
13965         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13966         casesensitive off.
13967         (SearchBackward): comment out the unlocking of the inset_owner this
13968         should not be needed!
13969
13970 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13971
13972         * Many files: Remove inherit_language, and add latex_language
13973
13974         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13975         collapsible insets.
13976
13977 2001-08-10  Juergen Vigna  <jug@sad.it>
13978
13979         * text.C (prepareToPrint): fixed hfill-width in draw!
13980
13981         * BufferView2.C (selectLastWord): save the selection cursor as this
13982         now is cleared in the function LyXText::clearSelection!
13983
13984 2001-08-08  Juergen Vigna  <jug@sad.it>
13985
13986         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13987         BACKSPACE type functions.
13988
13989         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13990         is only cutted from the document but not put in the cut-buffer, where
13991         still the old stuff should be.
13992
13993         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13994
13995         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13996
13997         * tabular.C (SetWidthOfCell): fixed special case where the width
13998         was not updated!
13999         (LeftLine): handle '|' in align_special.
14000         (RightLine): ditto
14001         (LeftAlreadyDrawed): ditto
14002         (SetWidthOfCell): ditto
14003
14004 2001-08-07  Juergen Vigna  <jug@sad.it>
14005
14006         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
14007
14008 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14009
14010         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
14011         * lyxlex.[hC]: ditto
14012
14013 2001-08-06  Juergen Vigna  <jug@sad.it>
14014
14015         * text.C (getVisibleRow): fix up row clearing a bit.
14016
14017 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14018
14019         * minibuffer.C: make sure the X server sees the changes in the input.
14020
14021 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14022
14023         * paragraph.C (getFont): split into...
14024         (getLabelFont): this
14025         (getLayoutFont): and this
14026         * paragraph_pimpl.C (realizeFont): calling this
14027
14028         * text2.C (getFont): split into...
14029         (getLayoutFont): this
14030         (getLabelFont): and this
14031         (realizeFont): all three calling this
14032
14033         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
14034         files where used.
14035
14036 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14037
14038         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
14039
14040 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
14041
14042         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
14043         layouts from the Quote inset insertion.
14044
14045 2001-08-03  Juergen Vigna  <jug@sad.it>
14046
14047         * BufferView_pimpl.C (update): do the fitCursor only at the end!
14048
14049         * screen.C (drawFromTo): don't call fitcursor here and do the loop
14050         only if status not is already CHANGED_IN_DRAW (second level).
14051
14052         * text.C (draw): don't set the need_break_row when inside an
14053         InsetText LyXText.
14054
14055 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14056
14057         * buffer.C (parseSingleLyXformat2Token): handle more latex
14058         conversion cases.
14059
14060         * bufferview_funcs.[hC]: change function names to
14061         begin with small char, adjust other files.
14062
14063 2001-08-02  André Pönitz <poenitz@gmx.net>
14064
14065         * lyxfunc.C:
14066         BufferView_pimpl.C: remove broken special code for math-greek
14067
14068 2001-08-02  Juergen Vigna  <jug@sad.it>
14069
14070         * BufferView_pimpl.C (update): redone this function so that we
14071         update the text again if there was a CHANGE_IN_DRAW.
14072
14073         * screen.C (cursorToggle): removed LyXText parameter and recoded.
14074         (drawFromTo): added a new internal bool which is used by draw() and
14075         redraw() function.
14076         (general): some cursor drawing problems fixed.
14077
14078 2001-08-01  Juergen Vigna  <jug@sad.it>
14079
14080         * lyxfind.C (LyXFind): fixed
14081         (SearchForward): ditto
14082         (SearchBackward): ditto
14083
14084         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14085         spurius drawing of the cursor in the main area.
14086
14087         * text2.C (status): small fix which could lead to a segfault!
14088         (clearSelection): remove unneeded BufferView param.
14089
14090 2001-08-01  André Pönitz <poenitz@gmx.net>
14091
14092         * lyxfunc.C: small change due to changed mathed interface
14093
14094 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14095
14096         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14097
14098 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14099
14100         * lyxfunc.c: fail gracefully if file doesn't exist
14101
14102         * LyXSendto.C:
14103         * buffer.C:
14104         * lyxfunc.C:
14105         * BufferView_pimpl.C: IsDirWriteable() proto changed
14106
14107         * LyXView.C: fix updateWindowTitle() to store the last title
14108
14109 2001-07-31  Juergen Vigna  <jug@sad.it>
14110
14111         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14112         the font (wrong since using of Paragraph::highestFontInRange).
14113
14114         * paragraph.C (highestFontInRange): added a default_size parameter.
14115
14116         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14117         (setHeightOfRow): reformat
14118
14119 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14120
14121         * converter.[hC] + affected files: move to (inital-char)lowercase
14122         function names.
14123
14124         * ParagraphParameters.C (ParagraphParameters): remove commented code
14125
14126         * PainterBase.[Ch]: remove commented code
14127
14128         * LaTeXFeatures.h: add "bool floats" for float.sty
14129
14130         * LaTeXFeatures.C (LaTeXFeatures): init floats
14131         (require): handle float
14132         (getPackages): do it with floats
14133
14134 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14135
14136         * BufferView_pimpl.C (Dispatch): improve handling of
14137         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14138
14139         * commandtags.h: #include lyxfont.h here temporarily to avoid
14140         keybinding bug.
14141
14142         * bufferlist.h: include LString.h here.
14143
14144 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14145
14146         * text2.C (getStringToIndex): new method.
14147
14148 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14149
14150         * *: Reduced header file dependencies all over.
14151
14152 2001-07-30  Baruch Even  <baruch@lyx.org>
14153
14154         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14155
14156 2001-07-29  Baruch Even  <baruch@lyx.org>
14157
14158         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14159
14160 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14161
14162         * ParameterStruct.h (endif): add a default constructor to make
14163         sure that all variables is initialized.
14164
14165         * ParagraphParameters.C (ParagraphParameters): adjust
14166
14167 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14168
14169         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14170         index; also, check that there is something to index, and that it
14171         does not span over several paragraphs.
14172         (doubleClick): use WHOLE_WORD_STRICT for double click.
14173
14174         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14175
14176         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14177         scheme.
14178
14179 2001-07-26  Baruch Even  <baruch@lyx.org>
14180
14181         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14182         an InsetFig figure, backwards compatible reading of old figure code.
14183
14184 2001-07-27  Juergen Vigna  <jug@sad.it>
14185
14186         * text2.C: font.realize function adaption.
14187
14188         * text.C (draw): add a warnings lyxerr text if needed.
14189
14190         * layout.C: font.realize function adaption.
14191
14192         * language.C: add inherit_language and implement it's handlings
14193
14194         * bufferview_funcs.C (StyleReset): remove language parameter from
14195         font creation (should be language_inherit now).
14196
14197         * bufferparams.C (writeFile): handle ignore_language.
14198
14199         * paragraph.C (getFontSettings): the language has to be resolved
14200         otherwise we have problems in LyXFont!
14201
14202         * lyxfont.C (lyxWriteChanges): added document_language parameter
14203         (update): removed unneeded language parameter
14204
14205         * paragraph.C (validate): fixed wrong output of color-package when
14206         using interface colors for certain fonts in certain environments,
14207         which should not seen as that on the final output.
14208
14209 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14210
14211         * BufferView_pimpl.C:
14212         * Thesaurus.h:
14213         * Thesaurus.C:
14214         * Makefile.am:
14215         * commandtags.h:
14216         * LyXAction.C: add thesaurus support
14217
14218         * lyxfind.h:
14219         * lyxfind.C: add "once" parameter, for thesaurus, to not
14220           move to the next match
14221
14222 2001-07-26  Juergen Vigna  <jug@sad.it>
14223
14224         * lyxfont.C (realize): honor ignore_language too!
14225         (resolved): ditto.
14226
14227         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14228
14229         * text.C (draw): one place more for ignore_language to not draw
14230         itself!
14231
14232 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14233
14234         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14235
14236 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14237
14238         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14239         the minipage conversion problem.
14240
14241 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14242
14243         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14244         insert an inset.
14245
14246 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14247
14248         * BufferView.h: don't forward declare WorkArea
14249
14250         * BufferView.C: don't include WorkArea.h
14251
14252 2001-07-25  André Pönitz <poenitz@gmx.net>
14253
14254         * commandtags.h:
14255         * LyXAction.C:
14256         * lyxfunc.C:  new LFUN 'math-space'
14257
14258         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14259
14260 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14261
14262         * text2.C (toggleInset): call open/close
14263
14264 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14265
14266         * lyxfunc.C (dispatch): add debug for the disabled case
14267
14268         * font.C (buttonText): make similar to rectText
14269
14270         * buffer.C (readInset): comment out parsing of insetlist and
14271         insttheorem
14272
14273         * PainterBase.C (rectText): small correction
14274
14275         * BufferView_pimpl.C: comment out insettheorem and insetlist
14276         * LyXAction.C: ditto
14277         * commandtags.h: ditto
14278
14279 2001-07-24  Juergen Vigna  <jug@sad.it>
14280
14281         * text.C (draw): honor the ignore_language.
14282
14283         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14284
14285 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14286
14287         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14288         char inset.
14289
14290 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14291
14292         * lyxtext.h: remove unused (and unimplemented) methods
14293
14294 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14295
14296         * text.C (getVisibleRow): honor background color
14297
14298         * PainterBase.h:
14299         * Painter.h: remove default color argument for fillRectangle
14300
14301         * text.C (backgroundColor): new method
14302
14303 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14304
14305         * text.C (getVisibleRow): adjust
14306
14307         * font.[Ch] (rectText): new method, metrics
14308         (buttonText): new method, metrics
14309
14310         * PainterBase.[hC]: make rectText and buttonText always draw and take
14311         fewer paramteres.
14312
14313 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14314
14315         * ToolbarDefaults.C (read):
14316         * MenuBackend.C (read): allow escaping in all strings
14317
14318         * BufferView_pimpl.C (insertAndEditInset): new method.
14319         (Dispatch): use insertAndEditInset whenever appropriate.
14320
14321         * BufferView_pimpl.C (insertNote): removed
14322
14323         * BufferView_pimpl.C (smartQuote): new method, moved from
14324         BufferView; if an insetquote cannot be inserted, insert a '"'
14325         character instead.
14326
14327         * BufferView2.C: remove insertCorrectQuote();
14328
14329         * lyxfunc.C (getStatus): Add support for all remaingin
14330         inset-insert lfuns.
14331
14332         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14333
14334         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14335         command (necessary to pass " as parameter of self-insert.
14336
14337         * text.C (selectWordWhenUnderCursor):
14338         (selectWord): add word_location parameter
14339         (selectWordWhenUnderCursor): same + remove special code for word
14340         boundary.
14341         (selectNextWord): use kind() to guess type of insetspecialchar,
14342         not latex().
14343
14344         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14345         (insertErtContents): create ert insets as collapsed.
14346         (readInset): better compatibility code for Info inset.
14347
14348 2001-07-20  Juergen Vigna  <jug@sad.it>
14349
14350         * lyxfunc.C (dispatch): use always LyXFind now!
14351
14352         * text2.C (init): add a reinit flag so that the LyXText can be
14353         reinited instead of deleted and reallocated (used in InsetText).
14354
14355         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14356
14357         * text.C: ditto
14358
14359         * text2.C: ditto
14360
14361 2001-07-18  Juergen Vigna  <jug@sad.it>
14362
14363         * text.C (selectNextWord): handle insets inside inset by calling
14364         always the bv->text functions so that we can go up the_locking_inset!
14365
14366         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14367         in strange locations when inside an inset!
14368
14369         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14370         handling to include insets.
14371
14372         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14373
14374 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14375
14376         * LyXAction.C (init):
14377         * commandtags.h:
14378         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14379         LIGATURE_BREAK, since the name is so stupid.
14380
14381 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14382
14383         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14384         InsetInfos.
14385
14386         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14387
14388         * sp_form.[Ch]: remove.
14389
14390         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14391
14392         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14393         InsetInfo.
14394
14395         * src/buffer.C (readInset): ditto.
14396
14397 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14398
14399         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14400         menuSeparator(), endOfSentenceDot(), ldots() and
14401         hyphenationPoint(), which are therefore removed.
14402         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14403
14404         * LyXAction.C (init):
14405         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14406
14407         * paragraph.C (getWord): removed.
14408
14409         * BufferView_pimpl.C (Dispatch): use last word or selection for
14410         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14411
14412         * lyx_main.C (queryUserLyXDir): do not ask before creating
14413         user_dir, except if it has been named explicitely.
14414
14415 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14416
14417         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14418         a document of zero size.
14419
14420 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14421
14422         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14423         approriately in the c-tor and in require().
14424         (getPackages): output the appropriate LaTeX for natbib support.
14425
14426         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14427         variables "use_natbib" and "use_numerical_citations" when reading the
14428         LyX file.
14429         (readInset): read the various natbib cite commands.
14430         (validate): white-space change.
14431
14432         * bufferparams.[Ch]: new variables "bool use_natbib" and
14433         "bool use_numerical_citations".
14434         (writeFile): output them in the LyX file.
14435
14436 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14437
14438         * lyxfunc.C (getStatus): add support for all the inset insertion
14439         commands.
14440
14441         * text2.C (insertInset):
14442         * paragraph.C (insetAllowed):
14443         * BufferView_pimpl.C (insertInset): update to take in account the
14444         renaming of insertInsetAllowed
14445
14446         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14447
14448         * text2.C (getInset): new method. returns inset at cursor position.
14449
14450         * BufferView_pimpl.C (Dispatch): changes because of this.
14451
14452         * LyXAction.C (init): rename open-stuff to inset-toggle.
14453
14454         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14455
14456         * text2.C (toggleInset): renamed from openStuff; use
14457         Inset::open().
14458
14459 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14460
14461         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14462
14463         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14464
14465 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14466
14467         * buffer.C (readLyXformat2): Add filename to the error dialog
14468
14469 2001-07-18  Juergen Vigna  <jug@sad.it>
14470
14471         * tabular.C (GetCellNumber): put an assert here instead of the check!
14472
14473 2001-07-17  Juergen Vigna  <jug@sad.it>
14474
14475         * BufferView_pimpl.C (toggleSelection): adapted too.
14476
14477         * text.C (selectNextWord): adapted for use with insets.
14478         (selectSelectedWord): ditto
14479
14480 2001-07-17  Juergen Vigna  <jug@sad.it>
14481
14482         * sp_spell.C (PSpell): fix initialitation order.
14483
14484 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14485
14486         * paragraph.C: spacing
14487
14488 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14489
14490         * sp_spell.C: repair language selection for pspell
14491
14492 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14493
14494         * lyxfunc.h: change more methods to begin with lower char.
14495
14496 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14497
14498         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14499         for unknown layouts.
14500
14501 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14502
14503         * buffer.C (readLyXformat2): Generate an error dialog if there are
14504         unknown layouts.
14505
14506 2001-07-16  Juergen Vigna  <jug@sad.it>
14507
14508         * sp_spell.C: always compile ISpell part.
14509
14510         * lyxrc.C: added use_pspell entry and it's handling.
14511
14512 2001-07-13  Juergen Vigna  <jug@sad.it>
14513
14514         * sp_spell.C: removed double includes.
14515
14516 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14517
14518         Consistent use of Lsstream.h:
14519         * Lsstream.h: added using std::stringstream for consistencies sake.
14520
14521         * buffer.C: removed using std::stringstream
14522
14523         * lyxfont.C (stateText):
14524         * paragraph.C (asString):
14525         * text.C (selectNextWord, selectSelectedWord):
14526         * text2.C (setCounter):
14527         * vspace.C (asString, asLatexString):
14528         std::ostringstream -> ostringstream.
14529
14530 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14531
14532         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14533         * commandtags.h: add LFUN_HELP_ABOUTLYX
14534         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14535
14536 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14537
14538         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14539         cursorToggle()
14540         * lyx_gui_misc.C: remove spellchecker
14541         * lyxfunc.C: showSpellchecker
14542         * sp_base.h: added
14543         * sp_ispell.h: added
14544         * sp_pspell.h: added
14545         * sp_spell.C: added
14546         * sp_form.[Ch]: removed
14547         * spellchecker.[Ch]: removed
14548
14549 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14550
14551         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14552         is set.
14553         (simpleTeXSpecialChars): Simply print the input character without
14554         any special translation if pass_thru is set.
14555
14556         * layout.h: Added bool pass_thru to layout class for being able to
14557         implement pass through of a paragraph for Literate Programming.
14558
14559         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14560         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14561         * layout.C (Read): add "passthru" to list of layout tags and add
14562         code to set the pass_thru boolean when it is read.
14563
14564 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14565
14566         * trans_decl.h: remove allowed from KmodInfo
14567
14568         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14569         remove allowed code
14570         (Load): adjust
14571
14572         * paragraph_pimpl.C (erase): use boost::prior
14573
14574         * Painter.C (text): use data() instead of c_str() when length is
14575         also provided.
14576         * WorkArea.C (putClipboard): ditto
14577         * font.h (width): ditto
14578
14579         * BufferView2.C: use it-> instead of (*it). for iterators
14580         * texrow.C: ditto
14581         * paragraph_pimpl.C: ditto
14582         * paragraph.C: ditto
14583         * minibuffer.C: ditto
14584         * language.C: ditto
14585         * kbmap.C: ditto
14586         * encoding.C: ditto
14587         * counters.C: ditto
14588         * converter.C: ditto
14589         * chset.C: ditto
14590         * Variables.C: ditto
14591         * TextCache.C: ditto
14592         * MenuBackend.C: ditto
14593         * LyXAction.C: ditto
14594         * LColor.C: ditto
14595         * FloatList.C: ditto
14596         * DepTable.C: ditto
14597         * ColorHandler.C (LyXColorHandler): ditto
14598
14599 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14600
14601         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14602
14603         * text2.C (openStuff): reintroduce this method (which had been
14604         nuked in NEW_INSETS frenzy).
14605
14606         * lyxfunc.C (Dispatch): when an action has not been handled, use
14607         its name in the error message, not its number.
14608
14609         * paragraph.C (inInset): change method name to begin with lowercase.
14610
14611         * undo_funcs.C:
14612         * text2.C: updates because of this.
14613
14614 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14615
14616         * ToolbarDefaults.C (add): add spaces in error message
14617
14618 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14619
14620         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14621         (readLyXformat2): rename return_par to first_par, use lyxlex's
14622         pushToken and remove the manual push handling.
14623         (parseSingleLyXformat2Token): add another ert comp. variable:
14624         in_tabular, rename return_par to first_par. handle newlines better
14625
14626 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14627
14628         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14629
14630 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14631
14632         * text2.C (getParFromID): removed
14633
14634         * buffer.C (getParFromID): new method moved form lyxtext.
14635         * BufferView2.C (insertErrors): adjust
14636         (setCursorFromRow): adjust
14637         * BufferView_pimpl.C (restorePosition): adjust
14638         * lyxfunc.C (Dispatch): adjust
14639         * undo_funcs.C (textUndo): adjust
14640         (textRedo): adjust
14641         (textHandleUndo): adjust
14642         (textHandleUndo): adjust
14643
14644 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14645
14646         * buffer.C: up' the LYX_FORMAT
14647
14648         * lyxfont.h: turn NO_LATEX on as default
14649
14650         * buffer.C (insertErtContents): new methods of tex style compability.
14651         (parseSingleLyXformat2Token): use it several places.
14652         * tabular.C (OldFormatRead): and here
14653
14654 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14655
14656         * text2.C: remove some commented code.
14657         reindent file.
14658
14659         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14660         * trans.C: changes because of the above.
14661
14662 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14663
14664         * text2.C (setCounter): Fix counters bug with bibliography layout.
14665
14666 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14667
14668         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14669         own member functions
14670         (simpleTeXSpecialChars): ditto
14671
14672 2001-07-06  Juergen Vigna  <jug@sad.it>
14673
14674         * a lot of files: changed the access to LyXText::status and the
14675         call of undo-functions.
14676
14677         * undo.[Ch]: added a inset_id to the undo informations.
14678
14679         * undo_funcs.[Ch]: added and moved here all undo functions.
14680
14681         * lyxtext.h: give the status enum a weight, made status_ a private
14682         variable and made accessor functions for it, removed the whole bunch
14683         of undo-functions as they are now in their own file, make some
14684         functions publically available. Added function ownerParagraph with
14685         int parameter.
14686
14687         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14688         made InInset() a const function, added getParFromID() function.
14689
14690         * buffer.[Ch]: added const version for inset_iterator functions,
14691         added getInsetFromID() function.
14692
14693         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14694         changed undo functions for new version.
14695
14696 2001-07-05  Juergen Vigna  <jug@sad.it>
14697
14698         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14699         unknow mechanism does not call the proper constructor but only this
14700         one also if I request the other!?
14701
14702 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14703
14704         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14705
14706         * text2.C (LyXText): use initialization lists.
14707
14708         * lyxtext.h (Selection): initialize set_ and mark_
14709         (init): remove method
14710
14711 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14712
14713         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14714
14715 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14716
14717         * screen.[Ch]: change method names to begin with lowercase
14718
14719         * BufferView_pimpl.C (updateScrollbar): simplify further and
14720         hopefully make it a bit faster.
14721
14722 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14723
14724         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14725         calling directly xforms functions.
14726
14727         * Painter.C (Painter):
14728         * lyx_cb.C (MenuWrite):
14729         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14730         fl_display.
14731
14732         * lyx_gui.C: remove bogus guiruntime extern declaration.
14733
14734 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14735
14736         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14737         in NEW_INSETS
14738         (redoDrawingOfParagraph): ditto
14739         (redoParagraphs): ditto
14740         (cutSelection): don't create a object for CutAndPaste use the
14741         static method directly
14742         (pasteSelection): ditto
14743
14744         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14745         LyXview (+ rename)
14746
14747 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14748
14749         * modifications to some other files because of this.
14750
14751         * Makefile.am (lyx_SOURCES): add XFormsView
14752
14753         * XFormsView.[Ch]: new files
14754
14755         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14756         the main window. Move the gui dependent stuff to XFormsView
14757
14758 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14759
14760         * tabular.C (GetCellInset): update cur_cell also in the row/col
14761         version of this function.
14762
14763         * lyxfunc.C: no need to include figure_form.h here.
14764
14765         * FontLoader.h:
14766         * lyxfunc.h:
14767         * lyxscreen.h:
14768         * text2.C:
14769         * lyxvc.C: no need to include forms.h here.
14770
14771 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14772
14773         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14774
14775         * lyxfunc.C (Dispatch):
14776         * Spacing.C (set):
14777         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14778         constructor argument.
14779
14780 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14781
14782         * paragraph.C (Paragraph): dont't clear, and just set layout.
14783         (makeSameLayout): use params's copy contructor.
14784
14785         * ParagraphParameters.[Ch] (makeSame): delete method
14786
14787 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14788
14789         * Variables.[Ch]: fix indentation, rename set to isSet
14790
14791 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14792
14793         * lyxfunc.C (Dispatch): fix typo
14794
14795 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14796
14797         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14798         upper_bound.
14799
14800         * bufferlist.C: include assert.h for emergencyWrite().
14801
14802 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14803
14804         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14805           give up at last (bug #425202) !
14806
14807 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14808
14809         * lyx_gui_misc.C:
14810         * sp_form.h:
14811         * sp_form.C:
14812         * spellchecker.h:
14813         * spellchecker.C: strip spellchecker options and bring up
14814           preferences tab instead
14815
14816 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14817
14818         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14819         the istringstream constructor
14820
14821 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14822
14823         * paragraph.C (getLayout): fix return value
14824
14825         * paragraph.h: do not declare getLayout as inline.
14826
14827         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14828
14829 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14830
14831         * lyxcursor.h (operator<): new func
14832         (operator>): new func
14833         (operator>=): new func
14834         (operator<=): new func
14835
14836         * text.C (changeCase): use selection.start and selection.end
14837         (changeRegionCase): require from to be <= to. Require par to be a
14838         valid paragraph.
14839
14840         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14841
14842 2001-06-27  Juergen Vigna  <jug@sad.it>
14843
14844         * text.C (cursorLeftOneWord): changed to return the cursor and added
14845         overlay with BufferView * parameter which calls this one.
14846         (getWord): added
14847         (selectWord): use new getWord function.
14848         (changeCase): renamed from changeWordCase as and extended to work
14849         also on selections.
14850
14851         * lyxtext.h: added enum word_location
14852
14853         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14854         changeCase as this operates now also on selections.
14855
14856 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14857
14858         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14859
14860         * many files: send debug output to Debug::INFO instead of
14861         Debug::ANY.
14862
14863         * converter.C (View):
14864         (Convert):
14865         (Move): send debug output to Debug::FILES instead of console.
14866
14867 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14868
14869         * lyxfunc.C (getStatus): use func_status
14870
14871         * func_status.h: new header, describing the results of
14872         LyXFunc::getStatus;
14873
14874         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14875         LFUN_MATH_HALIGN.
14876
14877 2001-06-25  The LyX Project  <jug@sad.it>
14878
14879         * buffer.C (sgmlOpenTag):
14880         (sgmlCloseTag):
14881         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14882
14883 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14884
14885         * text2.C: remove some dead code
14886
14887         * tabular.C (GetCellInset): store the last cell checked (gotten)
14888
14889         * tabular.h: add the helper for the speedup
14890
14891         * lyxtext.h: remove some dead code
14892
14893 2001-06-26  The LyX Project  <Asger>
14894
14895         * paragraph.C: Change export to LaTeX of alignment to
14896         \begin{center} and family for better roundtrip work with reLyX.
14897
14898         * Tune the math drawing a bit.
14899
14900 2001-06-25  The LyX Project  <Asger>
14901
14902         * LColor.C (LColor): New color for math background. New color
14903         for buttons.
14904
14905 2001-06-25  The LyX Project  <jug@sad.it>
14906
14907         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14908
14909         * lyxfunc.C (Open):
14910         * bufferlist.C (newFile): do not restrict to files ending with
14911         .lyx
14912
14913         * BufferView_pimpl.C (MenuInsertLyXFile):
14914
14915 2001-06-24  The LyX Project  <jug@sad.it>
14916
14917         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14918         of compare_no_case
14919
14920 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14921
14922         * lyxtext.h: rename most methods to begin with a small char.
14923         Lots of changes because of this.
14924
14925         * paragraph.C (Paragraph): do not call fitToSize
14926         (erase): call Pimpl::erase
14927         (insertChar): call Pimpl::insertChar
14928         (insertInset): call Pipl::insertInset
14929         (breakParagraph): do not call fitToSize
14930         (breakParagraphConservative): do not call fitToSize
14931         (fitToSize): remove method
14932
14933         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14934
14935 2001-06-24  The LyX Project  <Asger>
14936
14937         * Fix Qt compilation^2
14938
14939 2001-06-24  The LyX Project  <jug@sad.it>
14940
14941         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14942         depthHook(getDepth()-1).
14943
14944         * paragraph.h:
14945         * ParagraphParameters.h:
14946         * ParameterStruct.h: change type of depth to unsigned int ==
14947         depth_type. Many adaptations to other files before of that.
14948
14949 2001-06-24  The LyX Project  <Asger>
14950
14951         * Fix Qt compilation.
14952
14953 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14954
14955         * paragraph.h: renamed several methods to begin with small letter.
14956         several changes to many parts of the code because of this.
14957
14958 2001-06-23  The LyX Project  <jug@sad.it>
14959
14960         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14961         rewritten to discard all double spaces when KeepEmpty is off
14962         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14963         to only handle newlines but not fiddle with spaces and friends.
14964
14965         * lyxfunc.C (MenuNew): when doing 'new from template', use
14966         template_path as default directory
14967
14968 2001-06-23  The LyX Project  <Asger>
14969
14970         * Clean-up of header file includes all over
14971         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14972
14973 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14974
14975         * paragraph.h: renamed from lyxparagraph.h
14976
14977 2001-06-23  Asger  <lyx@violet.home.sad.it>
14978
14979         * Buffer.h: Removed Buffer::resize
14980         * BufferList.h: Removed BufferList::resize
14981         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14982         the document lazily when we change the width, or the font settings.
14983
14984 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14985
14986         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14987
14988 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14989
14990         * buffer.h: remove out of date comment
14991
14992 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14993
14994         * lyxscreen.h:
14995         * screen.C: fix "theoretical" GC leak
14996
14997 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14998
14999         * LaTeX.C (scanAuxFile):
15000         (deplog): remove trailing \r when reading stream (useful under
15001         win32)
15002
15003 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
15004
15005         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
15006         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
15007         and BufferView::theLockingInset(Inset*), so should use them and not
15008         access bv_->text->the_locking_inset directly.
15009
15010         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
15011
15012 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15013
15014         * Makefile.am:
15015         * tex-defs.h: remove old unused file
15016
15017 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
15018
15019         * BufferView_pimpl.C: fix typo, remove minibuffer message
15020           when buffer has loaded
15021
15022 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15023
15024         * lyxfunc.C (Dispatch): use stringstream
15025         (MenuNew): use stringstream
15026         (Open): use stringstream
15027
15028         * importer.C (Import): use stringstream
15029
15030         * bufferview_funcs.C (CurrentState): use stringstream
15031
15032         * LaTeX.C (run): use stringstream
15033
15034         * BufferView_pimpl.C (savePosition): use stringstream
15035         (restorePosition): use stringstream
15036         (MenuInsertLyXFile): use stringstream
15037
15038 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
15039
15040         * BufferView.C:
15041         * Bullet.C:
15042         * ColorHandler.C:
15043         * FontInfo.C:
15044         * FontLoader.C:
15045         * LColor.C:
15046         * LaTeXFeatures.C:
15047         * Painter.C:
15048         * gettext.C:
15049         * lyx_gui_misc.C:
15050         * lyxserver.C:
15051         * vspace.C: removed // -*- C++ -*- as first line.
15052
15053         * lyxfind.h:
15054         * version.h: added // -*- C++ -*- as first line.
15055
15056 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15057
15058         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
15059
15060         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
15061         of string
15062
15063 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15064
15065         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
15066         of floats.
15067
15068 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15069
15070         * gettext.C: include LString.h even when --disable-nls is on.
15071
15072 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
15073
15074         * converter.h (Get): changed argument type from int to
15075         FormatList::size_type to avoid unnecessary conversion.
15076
15077         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15078         before using it.
15079
15080 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15081
15082         * gettext.h: include LString.h even when --disable-nls is on.
15083
15084 2001-06-07  Juergen Vigna  <jug@sad.it>
15085
15086         * text.C (BreakAgain): subst spaces with tabs.
15087
15088         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15089         (resizeInsetsLyXText): set force on resizeLyXText.
15090
15091 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15092
15093         * gettext.h (gettext_init):
15094         (locale_init): use a real definition instead of a macro
15095
15096 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
15097
15098         * Bufferview_pimpl.C:
15099         * LColor.h:
15100         * LColor.C: further lcolor tidies
15101
15102 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15103
15104         * BufferView_pimpl.C (updateScrollbar): simplify.
15105
15106         * BufferView2.C: don't include insets/insetinfo.h, change
15107         prototype for insertInset and call the Pimpl version. let
15108         updateInset call Pimpl version.
15109
15110         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15111         gotoInset to BufferView::Pimpl
15112
15113 2001-06-01  Juergen Vigna  <jug@sad.it>
15114
15115         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15116         inside a LockingInset (is the update needed at all?).
15117
15118 2001-05-31  Juergen Vigna  <jug@sad.it>
15119
15120         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15121         here not the old one otherwise how should we compare it afterwards
15122         if it's the same!
15123
15124 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15125
15126         * lyxfont.C:
15127         * tabular.C:
15128         * tabular-old.C:
15129         * FontInfo.C: bring C functions into global namespace when
15130         necessary
15131
15132 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15133
15134         * LString.h: make sure config.h has been loaded before LString.h.
15135
15136         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15137         (one for each char read by EatLine!).
15138
15139         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15140         variables.
15141
15142 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15143
15144         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15145         to the same as the par we break from
15146
15147 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15148
15149         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15150
15151         * MenuBackend.C (expand): also create menu entries for wide
15152         versions of the floats.
15153
15154         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15155
15156         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15157
15158         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15159         frontends/Makefile.am
15160
15161         * text2.C: adjust
15162         * text.C: adjust
15163
15164
15165         * tabular.C (getTokenValue): add std::
15166
15167         * tabular-old.C (getTokenValue): add std::
15168         (getTokenValue): ditto
15169         (getTokenValue): ditto
15170
15171         * screen.C (ToggleSelection): adjust
15172
15173         * lyxtext.h: put selection cursors inside a Selection struct.
15174
15175         * lyxfunc.C (moveCursorUpdate): adjust
15176
15177         * lyxfont.C (latexWriteStartChanges): add std::
15178
15179         * lyxfind.C: adjust
15180
15181         * font.h: delete with(char const *, LyXFont const &)
15182
15183         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15184
15185         * FontInfo.C (getFontname): add std::
15186
15187         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15188         (workAreaButtonPress): adjust
15189         (tripleClick): adjust
15190         (update): adjust
15191         (moveCursorUpdate): adjust
15192         (Dispatch): adjust
15193
15194         * BufferView2.C (gotoInset): adjust
15195
15196 2001-05-30  Juergen Vigna  <jug@sad.it>
15197
15198         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15199         to check pspell I add this as default as I now have new pspell
15200         libraries and they seem to use this.
15201
15202 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15203
15204         * text2.C (CutSelection): make the cursor valid before the call to
15205         ClearSelection.
15206
15207 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15208
15209         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15210         relied on 0 terminated strings and other horrors. Bug found due to
15211         the new assert in lyxstring!
15212
15213         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15214         KP_ keys.
15215
15216 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15217
15218         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15219         to latinkeys.bind.
15220
15221         * lyxfunc.C (processKeySym): change method of getting to the
15222         self-insert char.
15223
15224         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15225         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15226         * BufferView_pimpl.[Ch]: here as private methods.
15227
15228 2001-05-28  Juergen Vigna  <jug@sad.it>
15229
15230         * text.C (SetHeightOfRow): added the update() call again as it is
15231         needed to initialize inset dimensions!
15232
15233 2001-05-16  Juergen Vigna  <jug@sad.it>
15234
15235         * text2.C (SetCharFont): Add new function with BufferView * and
15236         bool toggleall parameters for setting insets internal fonts.
15237         (SetFont): Freeze the undo as we may change fonts in Insets and
15238         all this change should be inside only one Undo!
15239
15240         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15241         setting font's in insets as for them we have the SetFont function!
15242
15243 2001-05-15  Juergen Vigna  <jug@sad.it>
15244
15245         * text2.C (ClearSelection): to be sure we REALLY don't have any
15246         selection anymore!
15247
15248         * tabular.C (TeXCellPreamble): fixed the left border problem for
15249         multicolumn cells.
15250
15251 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15252
15253         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15254         dependancy file
15255
15256 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15257
15258         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15259         LFUN_BREAKPARAGRAPH.
15260
15261         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15262         help test to "internal only", similar for LFUN_INSERT_URL
15263
15264         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15265         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15266         auto_region_delete and deadkeys.
15267
15268 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15269
15270         * LColor.h:
15271         * LColor.C: remove some dead entries, tidy a little
15272
15273 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15274
15275         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15276         commented code.
15277         (Dispatch): implement LFUN_ESCAPE
15278
15279         * commandtags.h: add LFUN_ESCAPE
15280
15281         * LyXAction.C (init): add entry for LFUN_ESCAPE
15282
15283         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15284         Remove commented code.
15285         (insertNote): moved here
15286         (open_new_inset): moved here
15287
15288         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15289         BufferView_pimpl
15290
15291 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15292
15293         * kbmap.C (findbinding): clean it up and make it work correctly.
15294
15295         * lyx_main.C (init): do not pass argc and argv as parameters
15296
15297 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15298
15299         * buffer.C: fix path for OS/2 & Win32
15300
15301         * lyx_gui.C:
15302         * lyx_main:
15303         * lyx_main.C: Added os:: class.
15304
15305         * os2_defines.h: update
15306
15307 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15308
15309         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15310         better by trying again with reduced state.
15311
15312 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15313
15314         * lyxrc.C (read): print error about invalid key sequence only when
15315         debugging (because not all latinX keysyms are known to some X
15316         servers)
15317
15318         * kbsequence.C (getiso): add a few std:: qualifiers
15319         (getiso): comment out extra return statement.
15320
15321 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15322
15323         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15324         handling.
15325         (Dispatch): enhance the accent inset a bit. (not perfect)
15326
15327 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15328
15329         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15330
15331 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15332
15333         * bufferlist.C (emergencyWrite): fix assert() call
15334
15335 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15336
15337         * text.C (InsertChar): Added trivial patch to only send the "you
15338         can not do multiple spaces this way" message once during a
15339         session.
15340
15341 2001-05-08  Baruch Even  <baruch@lyx.org>
15342
15343         * Makefile.am: Changed order of libraries to get LyX to link properly
15344         with the gnome frontend.
15345
15346 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15347
15348         * LaTeXFeatures.h: add a std:: qualifier
15349
15350 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15351
15352         * paragraph.C (String): use stringstream
15353
15354 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15355
15356         * paragraph.C (writeFile): remove footflag arg
15357
15358         * buffer.C (makeLaTeXFile): use stringstream
15359         (latexParagraphs): remove footnot gurba
15360
15361         * LaTeXFeatures.C (getPackages): use stringstream
15362         (getMacros): likewise
15363         (getTClassPreamble): likewise
15364         (getFloatDefinitions): new method
15365
15366         * paragraph.C (writeFile): reindent
15367         (Erase): reindent
15368
15369         * WorkArea.h: revert the xpos + etc changes.
15370
15371         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15372
15373         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15374
15375         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15376         (pasteSelection): likewise
15377         * text2.C (CreateUndo): likewise
15378
15379 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15380
15381         * minibuffer.C (peek_event): temporarily reduce the functionality
15382         of the minibuffer (to allow args on lfuns)
15383
15384         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15385         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15386
15387         * buffer.C (readInset): add compability reading of old float
15388         lists, add reading of new style float list.
15389         (readInset): avoid reevaluation of inscmd.getCmdName()
15390         (getLists): reindent
15391
15392         * MenuBackend.C (MenuItem): implement parsing of
15393         md_floatlistinsert and md_floatinsert.
15394         (expand::LastFiles): move initalizaton of iterators out of loop,
15395         avoid reevaluation.
15396         (expand::Documents): introduce typdedef vector<string> Strings,
15397         and use it.
15398         (expand::ExportFormats): introduce typedef vector<Format const *>
15399         Formats, and use it.
15400         (expand): implement FloatListInsert and FloatInsert.
15401
15402         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15403         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15404         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15405
15406         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15407         handling.
15408         (Dispatch::LFUN_FLOAT_LIST): implement
15409
15410 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15411
15412         * LaTeX.C (run): Fix problem with --export code.
15413
15414 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15415
15416         * BufferView.[Ch] (workarea): removed.
15417         (getClipboard) new method; wrapper for workarea()->getClipboard()
15418
15419         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15420         bug.
15421
15422         * WorkArea.h (width, height, xpos, ypos): These methods all
15423         returned the dimensions of the work_area sub-area of WorkArea,
15424         resulting in a position error if the WorkArea were resized. Now
15425         return the dimensions of the entire WorkArea.
15426
15427         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15428
15429 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15430
15431         * LaTeX.C (deplog): correct the syntax of regex reg1
15432
15433 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15434
15435         * undo.C: remove !NEW_INSETS cruft
15436
15437 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15438
15439         * text2.C: remove !NEW_INSETS cruft
15440
15441         * text.C: remove !NEW_INSETS cruft
15442
15443         * tabular.C: remove !NEW_INSETS cruft
15444
15445         * spellchecker.C: remove !NEW_INSETS cruft
15446
15447         * lyxtext.h: remove !NEW_INSETS cruft
15448
15449         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15450
15451         * lyxfunc.C: remove !NEW_INSETS cruft
15452
15453         * lyxfind.C: remove !NEW_INSETS cruft
15454
15455         * lyx_cb.C: remove !NEW_INSETS cruft
15456
15457         * figureForm.C: remove  !NEW_INSETS cruft
15458
15459         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15460
15461         * buffer.[Ch]: remove !NEW_INSETS cruft
15462
15463         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15464
15465         * CutAndPaste.C: remove !NEW_INSETS cruft
15466
15467         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15468
15469         * BufferView2.C: remove !NEW_INSETS cruft
15470
15471         * BufferView.h: remove !NEW_INSETS cruft
15472
15473 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15474
15475         * Lsstream.h: include LString.h before the sstream headers to
15476         fix problem with gcc 2.95.3 and lyxstring
15477
15478 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15479
15480         * lyx_main.C: add using directives when needed for C functions
15481         declared in std:: namespace.
15482
15483 2001-04-27  Juergen Vigna  <jug@sad.it>
15484
15485         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15486         (SetHeightOfRow): comment out the update call should not be needed!
15487
15488 2001-04-13  Juergen Vigna  <jug@sad.it>
15489
15490         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15491         (LyXTabular): tried to minimize operator= operations (and realized
15492         hopfully Lars wish).
15493
15494 2001-04-27  Juergen Vigna  <jug@sad.it>
15495
15496         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15497
15498 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15499
15500         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15501
15502         * buffer.C (readInset): hack to make listof algorithm work
15503
15504         * BufferView_pimpl.C: hack to make listof algorithm work
15505
15506 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15507
15508         * LyXAction.C: removed all !NEW_INSETS cruft
15509         (init): moved lfun_item in method
15510
15511         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15512
15513 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15514
15515         * BufferView2.C (theLockingInset): white space.
15516
15517 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15518
15519         * minibuffer.C: include <iostream>
15520
15521         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15522
15523         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15524
15525         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15526
15527         * text.[Ch] (TransposeChars): new method
15528
15529 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15530
15531         * call message directly through LyXView instead of through LyXFunc
15532         * BufferView2.C: adjust
15533         * BufferView_pimpl.C: adjust
15534         * FontLoader.C: adjust
15535         * buffer.C: adjust
15536         * bufferview_funcs.C: adjust
15537         * converter.C: adjust
15538         * figureForm.C: adjust
15539         * importer.C: adjust
15540         * lyx_cb.C: adjust
15541         * lyx_gui_misc.C: adjust
15542         * lyxfunc.C: adjust
15543         * lyxvc.C: adjust
15544         * text2.C: adjust
15545         + more files in subdirs
15546
15547         * lyxparagraph.h (size): move up int file
15548         (GetLayout): ditto
15549
15550         * adjust all uses of Assert to lyx::Assert.
15551
15552         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15553         lyxfunctional in namespace lyx
15554         * layout.C (hasLayout): ditto
15555         (GetLayout): ditto
15556         (GetLayout): ditto
15557         (delete_layout): ditto
15558         (NumberOfClass): ditto
15559         * converter.C (GetFormat): ditto
15560         (GetNumber): ditto
15561         (Add): ditto
15562         (Delete): ditto
15563         (SetViewer): ditto
15564         * bufferlist.C (getFileNames): ditto
15565         (emergencyWriteAll): ditto
15566         (exists): ditto
15567         (getBuffer): ditto
15568         * MenuBackend.C (hasSubmenu): ditto
15569         (hasMenu): ditto
15570         (getMenu): ditto
15571         * BufferView_pimpl.C (getInsetByCode): ditto
15572
15573 2001-04-18  Juergen Vigna  <jug@sad.it>
15574
15575         * vspace.C (asLatexString): fixed the 100% problem.
15576
15577 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15578
15579         * lyxfunc.C (Dispatch):
15580         * minibuffer.C:
15581         * minibuffer.h: add a few std:: qualifiers
15582
15583 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15584
15585         * minibuffer.[Ch]: reimplement so that commands is initiated and
15586         run from lyxfunc, simplified som handling, and made the completion
15587         and history code for complete. wip.
15588
15589         * lyxfunc.C (processKeySym): call message
15590         (miniDispatch): new temporary method
15591         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15592         (LFUN_MESSAGE): implement
15593         (LFUN_MESSAGE_PUSH): implement
15594         (LFUN_MESSAGE_POP): implement
15595         (initMiniBuffer): the initial/defualt minibuffer message.
15596
15597         * lyxfont.[Ch]: inline some more getters
15598
15599         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15600
15601         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15602
15603         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15604         (AutoSave): use LFUN_MESSAGE
15605         (Reconfigure): ditto
15606
15607         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15608
15609         * figureForm.C: use LFUN_MESSAGE
15610
15611         * converter.C (runLaTeX): use LFUN_MESSAGE
15612
15613         * bufferview_funcs.C: use LFUN_MESSAGE
15614         (Melt): ditto
15615         (changeDepth): ditto
15616
15617         * bufferparams.h: use boost::
15618
15619         * bufferlist.h: inherit privately from noncopyable
15620
15621         * bufferlist.C (loadLyXFile): remove some commented code.
15622
15623         * buffer.C (runChktex): use LFUN_MESSAGE
15624
15625         * ShareContainer.h: inherit privately from noncopyable
15626
15627         * ParagraphParameters.[hC] (depth): inline it.
15628
15629         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15630         methods.
15631         (message): new method
15632         (messagePush): ditto
15633         (messagePop): ditto
15634         (show): init minibuffer
15635         (showState): direct call
15636
15637         * LaTeX.[Ch]: inherit privately from noncopyable
15638         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15639         instead of WriteStatus.
15640
15641         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15642
15643         * BufferView_pimpl.C (buffer): don't init minibuffer
15644         (workAreaButtonPress): use LFUN_MESSAGE
15645         (workAreaButtonRelease): ditto
15646         (savePosition): ditto
15647         (restorePosition): ditto
15648         (MenuInsertLyXFile): ditto
15649         (workAreaExpose): don't init minibuffer
15650         (update): remove commented code, simplify
15651
15652         * BufferView2.C (openStuff): use LFUN_MESSAGE
15653         (toggleFloat): ditto
15654         (menuUndo): ditto
15655         (menuRedo): ditto
15656         (copyEnvironment): ditto
15657         (pasteEnvironment): ditto
15658         (copy): ditto
15659         (cut): ditto
15660         (paste): ditto
15661         (gotoInset): ditto
15662         (updateInset): remove some commented code
15663
15664         * lastfiles.h: inherit privately from noncopyable
15665         * layout.h: ditto
15666         * lyx_gui.h: ditto
15667         * lyx_main.h: ditto
15668         * lyxlex.h: ditto
15669         * lyxlex_pimpl.h: ditto
15670
15671         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15672         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15673         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15674
15675         * LyXAction.h: inherit privately from noncopyable, add methods
15676         func_begin, func_end, returning iterators to the func map.
15677
15678         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15679         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15680         (func_begin): new method
15681         (func_end): new method
15682
15683         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15684         and not)
15685         (copySelection): ditto
15686         (pasteSelection): ditto
15687
15688         * BufferView.C: whitespace change
15689         * BufferView.h: inherit privately from noncopyable
15690
15691 2001-04-16  Allan Rae  <rae@lyx.org>
15692
15693         * tabular-old.C (l_getline):
15694         * spellchecker.C (sc_check_word):
15695         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15696         an unrecognised preprocessor directive.  So ensure they're wrapped.
15697
15698 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15699
15700         * src/exporter.C (Export): Give an error message when path to file
15701         contains spaces.
15702
15703 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15704
15705         * LaTeX.C (deplog): Always check that foundfile exists.
15706
15707 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15708
15709         * lyx_main.h:
15710         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15711
15712 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15713
15714         * tabular.[Ch] (getLabelList): implement new method
15715
15716         * minibuffer.h: comment ouf setTiimer
15717
15718         * minibuffer.C (ExecutingCB): constify res
15719         (peek_event): constify s
15720         (Set): constify ntext
15721         (Init): constify nicename
15722
15723         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15724
15725         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15726         (savePosition): use two params to Minibuffer::Set
15727         (restorePosition): ditto
15728
15729 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15730
15731         * lyx_main.C: include language.h
15732
15733         * Makefile.am (lyx_main.o): add language.h
15734
15735 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15736
15737         * exporter.C:
15738         * paragraph.C:
15739         * screen.C:
15740         * tabular.C:
15741         * CutAndPaste.C: include gettext.h
15742
15743         * lyxfont.h: remove old hack with ON and OFF.
15744
15745         * lyxparagraph.h:
15746         * lyxfont.h: do not include language.h...
15747
15748         * BufferView2.C:
15749         * LaTeXFeatures.C:
15750         * Painter.C:
15751         * bufferview_funcs.C:
15752         * font.C:
15753         * lyxfont.C:
15754         * text.C:
15755         * text2.C:
15756         * trans_mgr.C:
15757         * paragraph.C: ... but do it here instead
15758
15759 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15760
15761         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15762
15763         * tabular.C: small reformat
15764
15765         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15766         NEW_INSETS version
15767         (GetChar): ditto
15768         (BreakParagraph): ditto
15769         (SetOnlyLayout): ditto
15770         (SetLayout): ditto
15771
15772         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15773         with one arg less.
15774
15775         * lastfiles.C: removed most using decl, add std:: where needed
15776
15777         * buffer.C: ws changes
15778
15779         * MenuBackend.C (class compare_format): put into anon namespace
15780         (expand): constify label, names, action, action2
15781         (expand):
15782
15783         * text.C (SingleWidth): constify font
15784         (IsBoundary): constify rtl2
15785         (GetVisibleRow): constify ww
15786
15787         * LaTeX.C (deplog): constify logfile
15788
15789         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15790         start_x, end_x
15791         (workAreaExpose): constify widthChange, heightChange
15792
15793         * lyxrow.C (par): moved
15794         (height): moved
15795         (next): moved
15796         * lyxrow.h: as inlines here
15797
15798         * lyxfont.h (shape): moved from lyxfont.C
15799         (emph): moved from lyxfont.C
15800
15801         * lyxfont.C (LyXFont): use initialization list for all
15802         constructors
15803         (shape): move to lyxfont.h as inline
15804         (emph): move to lyxfont.h as inline
15805
15806
15807 2001-04-04  Juergen Vigna  <jug@sad.it>
15808
15809         * vspace.C: had to include stdio.h for use of sscanf
15810
15811 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15812
15813         * BufferView.h:
15814         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15815         independent of xforms.
15816
15817 2001-04-02  Juergen Vigna  <jug@sad.it>
15818
15819         * spellchecker.C: fixed namespace placing!
15820
15821 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15822
15823         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15824         the LyXParagraph * is 0.
15825
15826 2001-03-29  Juergen Vigna  <jug@sad.it>
15827
15828         * vspace.C: added support for %, c%, p%, l%.
15829         (stringFromUnit): added helper function.
15830         (asLatexString): changed to give right results for the %-values.
15831
15832         * buffer.C: convert the widthp in a width%.
15833
15834 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15835
15836         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15837         figureForm.[Ch].
15838
15839         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15840         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15841
15842         * lyx_cb.[Ch]: see above.
15843
15844         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15845         form1.[Ch].
15846
15847         * form1.[Ch]:
15848         * lyx.[Ch]: replaced by figure_form.[Ch].
15849
15850         * lyx_gui.C:
15851         * lyx_gui_misc.C:
15852         * lyxfunc.C: changed headers associated with above changes.
15853
15854 2001-03-27  Juergen Vigna  <jug@sad.it>
15855
15856         * BufferView_pimpl.C: set the temporary cursor right!
15857
15858 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15859
15860         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15861
15862 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15863
15864         * LString.h: removed "using std::getline"!
15865
15866         * BufferView_pimpl.C (Dispatch): changes due to changes in
15867         InsetInclude::Params.
15868
15869         * buffer.C (tag_name): removed redundant break statements as they were
15870         producing lots of warnings with my compiler.
15871
15872 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15873
15874         * LString.h: add "using std::getline" when using the real <string>.
15875
15876 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15877
15878         * buffer.C: removed bitset usage.
15879         PAR_TAG moved to an anonymous name space.
15880         (tag_name): new funtion, also in the anonymous namespace.
15881         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15882         (makeDocBookFile): clean code. Completed transition from string arrays
15883         to string vectors.
15884         (SimpleDocBookOnePar): code clean.
15885
15886 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15887
15888         * tabular.C: add some comments.
15889
15890 2001-03-22  Juergen Vigna  <jug@sad.it>
15891
15892         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15893         compatibility read a bit and fixed bug with minipage in different
15894         depth.
15895
15896 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15897
15898         * buffer.C (pop_tag): removed.
15899         (push_tag): removed.
15900         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15901         array replaced with vector. Added support for CDATA sections.
15902         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15903         at any nest level.
15904         (makeDocBookFile): XML conformant declaration of CDATA section,
15905         fixed bug related to <emphasis> in the first paragraph char.
15906         (sgmlOpenTag): exclude empty tags.
15907         (sgmlCloseTag): ditto.
15908
15909         * buffer.h (pop_tag): removed.
15910         (push_tag): removed.
15911
15912 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15913
15914         * language.h (Languages): added size_type and size().
15915
15916 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15917
15918         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15919         response on compability reading of minipages. One probliem is that
15920         the old usage of minipages was «flertydig»
15921
15922         * several files here and in subdirs: don't use static at file
15923         scope use anon namespaces instead.
15924
15925 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15926
15927         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15928         LaTeX output. This is necessary for Literate document
15929         processing.
15930
15931 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15932
15933         * buffer.C: insert hfill when needed.
15934
15935         * tabular.C (l_getline): use string::erase, small whitespace change.
15936
15937         * BufferView_pimpl.C: try the anon namespace.
15938         * WorkArea.C: ditto
15939
15940 2001-03-16  Juergen Vigna  <jug@sad.it>
15941
15942         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15943         otherwise it won't open options-dialogs.
15944
15945         * buffer.C: honor pextraWidth(p) on converting minipages.
15946
15947         * tabular.C (l_getline): changed the functions to strip trailing \r.
15948
15949 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15950
15951         * BufferView_pimpl.C:
15952         * minibuffer..C: added "using SigC::slot" declaration.
15953
15954 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15955
15956         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15957
15958         * text2.C: ditto
15959
15960         * text.C: ditto
15961
15962         * paragraph.C: ditto
15963
15964         * lyxtext.h: NO_PEXTRA
15965
15966         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15967
15968         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15969         * ParameterStruct.h: ditto
15970         * ParagraphParameters.h: ditto
15971         * lyxparagraph.h: ditto
15972
15973 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15974
15975         * buffer.C: add compability for minipage alignment.
15976         (latexParagraphs): remove unwanted pextra check.
15977
15978         * several files: remove CXX_WORKING_NAMESPACES
15979
15980         * buffer.C (pop_tag): tie is in namespace boost
15981
15982         * BufferView.h: noncopyable is in namespace boost
15983         * lyxlex.h: ditto
15984         * lyx_main.h: ditto
15985         * lyx_gui.h: ditto
15986         * layout.h: ditto
15987         * lastfiles.h: ditto
15988         * bufferlist.h: ditto
15989         * ShareContainer.h: ditto
15990         * LyXView.h: ditto
15991         * LyXAction.h: ditto
15992         * LaTeX.h: ditto
15993
15994 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15995
15996         * Merging changes from BRANCH_MVC back into HEAD.
15997
15998         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15999
16000 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
16001
16002         * BufferView_pimpl.C: change from intl.C
16003
16004         * combox.h:
16005         * combox.C:
16006         * Makefile.am: move combox.*
16007
16008         * form1.h:
16009         * form1.C:
16010         * lyx_gui.C:
16011         * intl.h:
16012         * intl.C: remove dialog (covered by prefs)
16013
16014 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
16015
16016         * lyxfunc.C (Dispatch): removed redundant break statement.
16017
16018 2001-03-14  Juergen Vigna  <jug@sad.it>
16019
16020         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
16021
16022 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16023
16024         * buffer.C: add hack to fix compability reading of minipages.
16025
16026 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
16027
16028         * buffer.C (getLists): Cleanup.
16029
16030 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16031
16032         * lyxfont.C (update): don't honor toggleall on font size.
16033
16034 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
16035
16036         * bmtable.c:
16037         * bmtable.h:
16038         * Makefile.am: moved to frontends/xforms/
16039
16040         * lyx_gui_misc.C:
16041         * lyxfunc.C:
16042         * BufferView_pimpl.C: changes for moved mathpanel
16043
16044 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16045
16046         * gettext.h: fix gettext_init() in --disable-nls
16047
16048 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16049
16050         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
16051
16052 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
16053
16054         * lyx.C:
16055         * lyx.h: strip external form
16056
16057 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16058
16059         * BufferView_pimpl.C: add comment, destroySplash()
16060
16061 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
16062
16063         * BufferView_pimpl.C:
16064         * LyXAction.C:
16065         * buffer.C:
16066         * commandtags.h:
16067         * lyxfunc.C: use re-worked insetinclude
16068
16069 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16070
16071         * buffer.C: add using std::stringstream.
16072
16073         * lyx_cb.C: readd using std::ios.
16074
16075         * buffer.C: add using std::map.
16076
16077         * BufferView_pimpl.C: add using std::vector.
16078
16079         * ShareContainer.h: add std:: to swap.
16080
16081         * buffer.h: add some typedefs
16082         * buffer.C (getLists): use them
16083         (getLists): renamed from getTocList.
16084         add a counter for the different float types and use it in the
16085         generated string.
16086         (getLists): use the same counter for the NEW_INSETS and the "non"
16087         NEW_INSETS
16088
16089         * lyx_cb.h: remove unused items, includes, using etc.
16090
16091         * ShareContainer.h: remove some commented code, add more comments
16092         and "documentation".
16093
16094 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16095
16096         * buffer.C (getTocList): make the list also when NEW_INSETS is
16097         defined.
16098
16099         * buffer.h: remove TocType
16100
16101         * buffer.C (getTocList): change to return a map<string,
16102         vector<TocItem> >, implement for dynamic number of list.
16103
16104         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16105         * text2.C (PasteSelection): adjust
16106         * CutAndPaste.C (pasteSelection): adjust
16107
16108         * FloatList.C (FloatList): update from the new_insets branch.
16109         * Floating.[Ch]: ditto
16110         * LaTeXFeatures.C: ditto
16111         * buffer.C: ditto
16112         * lyxlex_pimpl.C: ditto
16113
16114         * paragraph.C (Last): remove when NEW_INSETS is defined.
16115
16116         * other file: changes because of the above.
16117
16118 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16119
16120         * lyxparagraph.h: rename next to next_, previous to previous_,
16121         make them private for NEW_INSETS. Rename Next() to next(),
16122         Previous() to previous().
16123
16124         * other files: changes because of the above.
16125
16126 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16127
16128         * BufferView.h:
16129         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16130         problem.
16131
16132 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16133
16134         * main.C (main): pass lyx_localedir to gettext_init().
16135
16136         * gettext.h: remove locale_init and gettext_init macros
16137
16138         * gettext.C (locale_init): new function
16139         (gettext_init): new function
16140
16141         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16142         setlocale().
16143
16144 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16145
16146         * Moved credits to frontends:
16147         * credits.[Ch]: removed
16148         * credits_form.[Ch]: removed
16149         * lyx_gui_misc.C: remove credits stuff
16150         * Makefile.am:
16151
16152 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16153
16154         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16155
16156         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16157         unneeded destructor.
16158
16159         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16160         a standalone pointer again.
16161
16162         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16163
16164 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16165
16166         * Makefile.am:
16167         * filedlg.h:
16168         * filedlg.C:
16169         * LyXAction.C:
16170         * ToolbarDefaults.C:
16171         * bufferlist.C:
16172         * commandtags.h:
16173         * form1.C:
16174         * form1.h:
16175         * lyx_cb.C:
16176         * lyx_cb.h:
16177         * lyxfunc.h:
16178         * lyxfunc.C:
16179         * BufferView_pimpl.C: use new file dialog in GUII
16180
16181         * lyx_cb.h:
16182         * lyx_cb.C: remove LayoutsCB to Toolbar
16183
16184 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16185
16186         * ShareContainer.h (get): add std:: qualifier
16187
16188 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16189
16190         * ShareContainer.h: define a proper ShareContainer::value_type
16191         type (and use typename to please compaq cxx)
16192
16193 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16194
16195         * lyxparagraph.h: move serveral local vars to
16196         ParameterStruct/ParagraphParameters., use ShareContainer in
16197         FontTable., make vars in FontTable private and add getter and
16198         setter.
16199
16200         * paragraph.C: changes because of the above.
16201
16202         * lyxfont.h: remove copy constructor and copy assignment. (the
16203         default ones is ok), move number inside FontBits. move inlines to
16204         lyxfont.C
16205
16206         * lyxfont.C: add number to initializaton of statics, move several
16207         inlines here. constify several local vars. some whitespace
16208         cleanup. Dont hide outerscope variables.
16209
16210         * Spacing.h: add two new constructors to match the set methods.
16211
16212         * ShareContainer.h: new file, will perhaps be moved to support
16213
16214         * ParameterStruct.h: new file
16215
16216         * ParagraphParameters.h: new file
16217
16218         * ParagraphParameters.C: new file
16219
16220         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16221         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16222
16223         * BufferView_pimpl.C: ParagraphParameter changes.
16224         * buffer.C: Likewise.
16225         * bufferview_funcs.C: Likewise.
16226         * text.C: Likewise.
16227         * text2.C: Likewise.
16228
16229 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16230
16231         * lyxfind.C (LyXReplace): do not redefine default argument in
16232         implementation.
16233         (IsStringInText): ditto
16234         (SearchForward): ditto
16235         (SearchBackward): ditto
16236
16237 2001-03-06  Juergen Vigna  <jug@sad.it>
16238
16239         * lyxfind.C (IsStringInText): put parentes around expressions.
16240
16241 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16242
16243         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16244
16245 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16246
16247         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16248
16249         * stl_string_fwd.h: add comment
16250
16251         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16252
16253         * tabular.h:
16254         * tabular.C: remove unused DocBook methods
16255
16256         * intl.C:
16257         * language.C:
16258         * paragraph.C:
16259         * buffer.C:
16260         killed DO_USE_DEFAULT_LANGUAGE
16261
16262 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16263
16264         * lyx_gui.C: do not include language.h.
16265
16266         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16267         arguments in function implementation.
16268
16269 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16270
16271         * BufferView_pimpl.C: add <ctime>
16272
16273 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16274
16275         * BufferView_pimpl.C: add using std::find_if
16276
16277 2001-02-27  José Matos  <jamatos@fep.up.pt>
16278
16279         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16280         by OnlyPath.
16281
16282 2001-02-11  José Matos  <jamatos@fep.up.pt>
16283
16284         * buffer.C (makeDocBookFile): command styles now have a parameter as
16285         "title" by default.
16286
16287 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16288
16289         * layout_forms.[Ch]: removed
16290         * lyx_cb.[Ch]: out character
16291         * lyx_gui.C: out character
16292         * lyx_gui_misc.C: out character
16293         * bufferview_funcs.C: : out character,
16294         added toggleall as parameter in ToggleAndShow
16295
16296 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16297
16298         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16299
16300         * text2.C (SetCurrentFont): Disable number property at boundary.
16301
16302 2001-02-26  Juergen Vigna  <jug@sad.it>
16303
16304         * lyxfunc.C (getStatus): added a string argument override function so
16305         that this is correctly called from LyXFunc::Dispatch if it contains a
16306         do_not_use_argument which is used!
16307         (Dispatch): added check for "custom" export and call appropriate func.
16308
16309 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16310
16311         * lyxrc.C: Add language_command_local, language_use_babel and
16312         language_global_options.
16313
16314         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16315
16316         * buffer.C (makeLaTeXFile): Use language_use_babel and
16317         language_global_options.
16318
16319 2001-02-23  Juergen Vigna  <jug@sad.it>
16320
16321         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16322         which works with LyXText and putted it inside BufferView. Here now we
16323         only call for that part the BufferView::Dispatch() function.
16324
16325         * BufferView.C (Dispatch): added.
16326
16327         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16328         functions which needs to use a LyXText over from LyXFunc.
16329         (MenuInsertLyXFile): added
16330         (getInsetByCode): added
16331         (moveCursorUpdate): added
16332         (static TEXT): added
16333
16334 2001-02-22  Juergen Vigna  <jug@sad.it>
16335
16336         * BufferView_pimpl.C (update): call a status update to see if LyXText
16337         needs it.
16338
16339 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16340
16341         * vc-backend.C (revert): implement for CVS
16342         (getLog): implement for CVS
16343
16344 2001-02-20  Juergen Vigna  <jug@sad.it>
16345
16346         * text2.C (ClearSelection): added BufferView param for inset_owner call
16347
16348         * lyxfunc.C (TEXT): added this function and use it instead of
16349         directly owner->view()-text of getLyXText().
16350
16351 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16352
16353         * src/layout_forms.C: out preamble
16354         * src/layout_forms.h: out preamble
16355         * src/lyx_cb.C: out preamble
16356         * src/lyx_cb.h: out preamble
16357         * src/lyx_gui.C: out preamble
16358         * src/lyx_gui_misc.C: out preamble
16359         * src/lyxfunc.C: connect with guii preamble
16360
16361 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16362
16363         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16364
16365 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16366
16367         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16368         whether to run bibtex.
16369
16370 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16371
16372         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16373
16374 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16375
16376         * Makefile.am (lyx_SOURCES): removed bibforms.h
16377
16378         * vspace.h: doxygen
16379
16380         * text.C (GetVisibleRow): make several local vars const
16381
16382         * tabular.C: small cleanup.
16383
16384         * lyxserver.C (callback): use compare instead of strncmp
16385
16386         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16387         inlines to after class or to paragraph.C
16388
16389         * lyxfont.h: remove friend operator!=
16390
16391         * converter.h: move friend bool operator< to non friend and after
16392         class def.
16393
16394         * combox.h: small cleanup
16395
16396         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16397         to inlines after class def.
16398
16399         * buffer.C (pop_tag): use string operations instead of strcmp
16400
16401         * bmtable.c: doxygen, small cleanup
16402
16403         * LaTeX.h: remove friend operator==
16404
16405 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16406
16407         * screen.C:
16408         * lyxrc.[Ch]:
16409         * lyxfunc.C:
16410         * lyxfont.[Ch]:
16411         * lyx_cb.C:
16412         * intl.[Ch]:
16413         * commandtags.h:
16414         * buffer.C:
16415         * WorkArea.[Ch]:
16416         * LyXAction.C:
16417         * BufferView_pimpl.C:
16418         * BufferView.[Ch]: remove cruft
16419
16420 2001-02-14  Juergen Vigna  <jug@sad.it>
16421
16422         * lyxfunc.C: removed #if 0 unused code
16423
16424         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16425
16426         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16427
16428         * text2.C (SetSelection): added a BufferView * parameter
16429
16430 2001-02-13  Juergen Vigna  <jug@sad.it>
16431
16432         * lyxfunc.C (Dispatch): fixed protected blank problem.
16433         * BufferView2.C (protectedBlank): added LyxText * parameter.
16434
16435         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16436         (AppendColumn): same as above for column_info.
16437
16438         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16439         (moveCursorUpdate): use a LyXText param for support of InsetText.
16440
16441         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16442         (tripleClick): ditto
16443
16444         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16445
16446         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16447
16448         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16449
16450         * text2.C (SetSelection): set correct update status if inset_owner
16451         (ToggleFree): ditto
16452
16453 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16454
16455         * tabular.C: remove some commented code.
16456
16457 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16458
16459         * BufferView_pimpl.C: call hideSplash()
16460
16461         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16462
16463         * include_form.h:
16464         * bibforms.h: remove
16465
16466         * lyxfunc.C:
16467         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16468           add LFUN_CHILD_CREATE
16469
16470         * counters.h: fix tiny typo
16471
16472         * lyx_cb.C:
16473         * lyx.h:
16474         * lyx_gui.C:
16475         * lyx.C: move splash to frontends/xforms/
16476
16477         * lyx_gui_misc.C: move Include and Bibform to frontends
16478
16479         * lyxvc.h: clarify comment
16480
16481         * vspace.C: tiny housekeeping
16482
16483 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16484
16485         * text.C (PrepareToPrint): RTL Fix.
16486
16487         * paragraph.C (GetUChar): New method.
16488         (String):  Use GetUChar.
16489
16490         * buffer.C (asciiParagraph): Use GetUChar.
16491
16492 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16493
16494         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16495
16496 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16497
16498         * buffer.h:
16499         * buffer.C: rename to getLogName(), handle
16500           build log / latex log nicely
16501
16502 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16503
16504         * MenuBackend.C:
16505         * MenuBackend.h: remove support for reference menuitem type.
16506
16507 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16508
16509         * BufferView_pimpl.C: housekeeping
16510         * BufferView_pimpl.h:
16511         * LyXView.h:
16512         * Makefile.am:
16513         * Timeout.C:
16514         * Timeout.h:
16515         * minibuffer.h: move Timeout GUI-I
16516
16517 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16518
16519         * lyxrc.C (read): Update converters data-structures.
16520
16521 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16522
16523         * LaTeX.h (operator!=): add operator != for Aux_Info
16524
16525 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16526
16527         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16528
16529         * LaTeXLog.C: deleted, useful code moved to Buffer
16530
16531         * buffer.h:
16532         * buffer.C: new function getLatexLogName()
16533
16534         * lyx_gui_misc.C:
16535         * lyx_gui.C:
16536         * lyxvc.C:
16537         * lyxvc.h:
16538         * lyxfunc.C: use frontends for LaTeX and VC logs
16539
16540 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16541
16542         * LaTeX.h: yet another std:: that Allan forgot.
16543
16544         * Variables.C (set): renamed from isset(), because this clashes
16545         with some HP-UX macros (grr).
16546
16547 2001-02-06  Allan Rae  <rae@lyx.org>
16548
16549         * LaTeX.h: Another bug fix.  Missing std:: this time.
16550
16551 2001-02-04  Allan Rae  <rae@lyx.org>
16552
16553         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16554         floats problem. I've left it commented out because it's not quite
16555         correct.  It should also test that the current object is a table or
16556         figure inset.  But I haven't gotten around to figuring out how to do
16557         that.  I *think* it'll be something like: "table" == inset.type()
16558
16559         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16560         bool.
16561
16562 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16563
16564         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16565         all the citation/databases/styles in the auxilary file.
16566         (run): Rerun latex if there was a babel language error.
16567
16568 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16569
16570         * text.C (Backspace): Preserve the font when changing newline char
16571         with a space.
16572         (BreakParagraph): If the cursor is before a space, delete the space.
16573
16574         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16575
16576 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16577
16578         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16579         new argument (code).
16580         (ChangeCitationsIfUnique): New method.
16581
16582         * paragraph.C (GetPositionOfInset): Handle bibkey.
16583
16584 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16585
16586         * BufferView_pimpl.h: change type of Position::par_pos to
16587         LyXParagraph::size_type.
16588
16589 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16590
16591         * BufferView_pimpl.C (savePosition, restorePosition): Write
16592         messages to minibuffer.
16593
16594 2001-01-28  José Matos  <jamatos@fep.up.pt>
16595
16596         * buffer.C (makeDocBookFile): adds support for document language.
16597         A silly restriction on the name of LatexCommand types where removed.
16598         Added support for CDATA sections, allows to chars unescaped, used
16599         among others in code, to avoid escape < and >.
16600
16601 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16602
16603         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16604         saved positions instrad of a stack. Furthermore, a position is
16605         stored using paragraph id/paragraph position.
16606
16607         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16608         Remove LFUN_REF_BACK.
16609
16610 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16611
16612         * converter.C (dvipdfm_options): New method.
16613
16614 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16615
16616         * vspace.C (isValidLength): Fix for empty input string.
16617
16618 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16619
16620         * LyXAction.C (init): change description of LFUN_FIGURE to
16621         "Insert Graphics"
16622
16623 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16624
16625         * LaTeX.C: add using directive
16626
16627 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16628
16629         * MenuBackend.C (expand): Fix the sorting of the formats.
16630
16631 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16632
16633         * lyx_main.C: tiny error message fix
16634
16635 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16636
16637         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16638         calling fl_initialize(). This fixes the problem with ',' as
16639         decimal separator in text files.
16640
16641 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16642
16643         * trans.C (process): Fix the keymap bug.
16644
16645 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16646
16647         * LaTeX.C (scanAuxFiles): New method. Provides support for
16648         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16649         (scanLogFile) Scan for "run BibTeX" messages.
16650
16651         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16652         OT1 font encoding. Also, load the aecompl package if the ae
16653         package is loaded.
16654
16655         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16656
16657 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16658
16659         * texrow.C (increasePos): turn two error messages into debug
16660         messages.
16661
16662 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16663
16664         * LaTeX.C (scanAux): Handle the \@input macro.
16665         (runBibTeX): Use scanAux().
16666
16667         * language.C (latex_options_): New field.
16668
16669         * LaTeXFeatures.C (getMacros): Add language macros.
16670
16671         * buffer.C (makeLaTeXFile): Small fix.
16672
16673 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16674
16675         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16676
16677         * text2.C: add a using directive.
16678
16679 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16680
16681         * BufferView2.C:
16682         * lyx_gui_misc.h:
16683         * lyxfr1.C:
16684         * lyxfunc.C: kill LyXBell.
16685
16686 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16687
16688         * text.C (IsBoundary): Remove the error message
16689
16690         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16691
16692         * lyxrc.C (setDefaults): Correct initialization value for
16693         font_norm_type.
16694
16695 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16696
16697         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16698         gotoError().
16699
16700         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16701         and GotoNextNote().
16702
16703         * src/LyXAction.C: Added reference-next.
16704
16705         * text.C (InsertChar): Use contains instead of strchr.
16706
16707         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16708
16709 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16710
16711         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16712         alignment commands (when needed).
16713
16714         * text.C (InsertChar): Add ':' to number separator chars.