]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
44351a0565c096015b4ebae3bbf5acdacf263415
[lyx.git] / src / ChangeLog
1 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * broken_headers.h: remove
4         
5         * Makefile.am (lyx_SOURCES): remove broken_headers.h
6
7 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
8
9         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
10         offset_ref accessors
11
12         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
13         top_y_, merge fitcursor with update
14         (updateScrollbar, scrollDocView, fitCursor, center, update): new
15         coord scheme
16         (metrics): introduce
17         (workAreaDispatch): adapt to new coord scheme
18         (redoCurrentBuffer): remove
19
20         * FontIterator.[Ch]: Use Paragraph & instead of pit_type 
21
22         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
23         CurStatus enum.
24         
25         * coordcache.[Ch]: add paragraph cache and helpers
26
27         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
28         adjust everywhere
29
30         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
31         (targetX, setTargetX): introduce
32
33         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
34         baseline -> ascent, as the rest of lyx
35
36         * lyxtext.h: remove redoParagraphs, updateParPositions,
37         fullRebreak, redoParagraphInternal. move dist to anon namespace in
38         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
39         have ascent/descent (ascent is ascent of first par)
40
41         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
42         step of BufferView
43
44         * paragraph.[Ch]: unify dimension handling with the rest of lyx
45
46         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
47
48         * pariterator.C: fix infinite loop introduced in par->pit renaming
49
50         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
51         in insets and LyXText, draw two off-screen paragraphs using
52         NullPainter, and adapt to new coord scheme
53
54         * text.C: 
55         * text2.C: 
56         * text3.C: adapt lfun handlers to the new coord scheme, which
57         means: there's only guaranteed coord information for onscreen pars
58         plus one above and one below. This implies that one can do search
59         from y coordinates in the range [-1,workHeight]
60
61 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
62
63         * rename a lot of InsetOld to InsetBase
64
65 2004-11-25  Angus Leeming  <leeming@lyx.org>
66
67         * BufferView_pimpl.C:
68         * lyx_cb.C:
69         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
70
71 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
72
73         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
74         call BufferView::getStatus if LCursor::getStatus did nothing
75         (setStatusMessage, getStatusMessage): removed.
76
77         * FuncStatus.C (message): new methods. Used to provide an error
78         message indicating why a command is disabled.
79         (clear, |=, FuncStatus): update for message.
80
81 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
82
83         * lyxfunc.C (dispatch): always call sendDispatchMessage
84
85 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
86
87         * BufferView.C:
88         * BufferView_pimpl.C:
89         * CutAndPaste.C:
90         * FontIterator.C:
91         * buffer.C:
92         * cursor.C:
93         * cursor_slice.[Ch]:
94         * dociterator.[Ch]:
95         * lyxfind.C:
96         * paragraph_funcs.C:
97         * pariterator.C:
98         * rowpainter.C:
99         * text.C:
100         * text2.C:
101         * text3.C:
102         * undo.C: par->pit renaming
103
104 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
105
106         * tabular.C (cellstruct): use initialization, store a shared_ptr
107         to insettext instead of the insettext directly, adjust to fit.
108         (operator=):  new function
109         (swap): new function
110         (rowstruct): use initialization
111         (columnstruct): use initialization
112         (ltType): use initialization
113
114
115         * lyxlength.h (swap): new function
116
117         * LColor.[Ch] (operator=): use the common semantics
118
119 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
120
121         * lyxfind.C (findNextChange): update the bufferview after setting
122         the selection.
123
124 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
125
126         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
127         number of InsetOptArgs has already been inserted.
128
129         * output_latex.C (latexOptArgInsets): new method. This outputs all
130         the optarg insets, up to the limit defined in the layout file.
131         (optArgInset): removed
132         (TeXOnePar): call latexOptArgInsets; correctly update texrow
133
134 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
135
136         * paragraph.C (isLetter): remove special spellchecker-related
137         code; return true also for digits
138         (isWord, isKomma): remove
139
140         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
141         * lyxfind.C (MatchString()): use isLetter instead of isWord
142
143 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
144
145         * pariterator.h (operatir=): comment out un-implemented member
146         function.
147
148         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
149         static cast.
150
151 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
152
153         * lyxfont.h: include LColor.h to satisfy concept checks.
154
155 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
156
157         * pariterator.h: add typdefs for value_type, difference_type,
158         pointer and reference to satisfy concept checks. Also add default
159         constructor for same reason.
160
161         * pariterator.C (operator++): add post-increment operator to
162         satisfy concept checks.
163
164         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
165         checks.
166
167         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
168
169         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
170         checks. Also rename base_type to BaseType to follow naming
171         standard better.
172
173         * FloatList.h: include Floating.h to satisfy concept checks.
174
175 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
176
177         * lyxfunc.C (getStatus): when the origin of the request is menu or
178         toolbar, and the LyXView does not have focus, do as if there was
179         no buffer (bug 1720)
180
181         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
182         FuncRequest to individual entries of LFUN_SEQUENCE
183
184 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
185
186         * output_latex.C (TeXOnePar): override runparams.moving_arg
187         according to the needprotect value of the current paragraph (bug
188         1739)
189
190         * paragraph.C (simpleTeXOnePar): no need to override
191         runparams.moving_args here
192
193 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
194
195         * vspace.C: fix off-by-one-error, related to fix #1682
196
197 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
198
199         * lengthcommon.C: a more general fix for bug 1682
200
201 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
202
203         * text.C (backspace): fix crash
204
205 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
206
207         * format.[Ch] (getFormatFromFile): new method
208         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
209
210 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
211
212         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
213
214 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
215
216         * lyxfunc.C (dispatch): remove the verbose argument
217         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
218         instead
219
220         * kbmap.C (defkey): set the origin of func to KEYBOARD
221
222         * MenuBackend.C (MenuItem):
223         * ToolbarBackend.C (add): set the origin of func to UI
224
225         * funcrequest.[Ch]: add origin member, which indicates which part
226         of LyX requests an action
227
228 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
229
230         * converter.C (move): don't lie in the error message
231         * converter.h (isReachable, move): document
232
233 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
234
235         * buffer.C: remove unused using lyx::support::atoi
236         * paragraph_funcs.C: ditto
237
238 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
239
240         * bufferlist.C (exists): use bind and equal_to instead of
241         compare_memfun
242         (getBuffer): ditto
243         * lyxtextclasslist.C (NumberOfClass): ditto
244
245         * cursor.C (insert): use for_each instead of explicit for loop
246
247         * bufferlist.C (getFileNames): use std::transform and
248         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
249
250         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
251         for loop
252
253         * buffer.C (changeLanguage): use for_each instead of explicit for
254         loop
255         (hasParWithID): implement using getParFromID
256
257         * LaTeXFeatures.C: ws change only
258
259         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
260         to cleanup a bit.
261
262         * BufferView_pimpl.C (trackChanges): use for_each instead of
263         expilicit for loop
264
265 2004-11-04  André Pönitz  <poenitz@gmx.net>
266
267         * undo.h:
268         * undo.C (textUndoOrRedo): fix crash when creating undo information.
269
270         * dociterator.C (asDocIterator): use hard assert again.
271
272 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
273
274         * lyxlength.C (asLatexString): rewrite so that it does not use
275         snprintf anymore
276
277 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
278
279         * text3.C (specialChar, dispatch): make sure cursor moves to the
280         right after inserting an inset
281
282 2004-11-02  José Matos  <jamatos@lyx.org>
283
284         * output_docbook.C (docbook):
285         * paragraph.C (getID):
286         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
287         garantee that the output is always legal.
288
289         * tabular.C (docbook):
290         * outputprams.[Ch]: remove mixed contents.
291
292 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
293
294         * text2.C (setCounter): prevent endless loop
295
296 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
297
298         * exporter.C (copyFile): use the mover instead of support::copy()
299         * exporter.C (Export): pass format and latex name to copyFile()
300         * exporter.h (addExternalFile): document
301         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
302
303 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
304
305         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
306
307 2004-10-30  José Matos  <jamatos@lyx.org>
308
309         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
310         text and no inset or font change. This allows to use CDATA
311         sections just for the whole paragraph.
312
313 2004-10-30  José Matos  <jamatos@lyx.org>
314
315         * paragraph.C (getFirstWord): remove unused variable.
316
317 2004-10-30  José Matos  <jamatos@lyx.org>
318
319         * paragraph.C (getFirstWord): the content should always be escaped
320         there.
321         (simpleDocBookOnePar):
322         * output_docbook.C (makeEnvironment): replace reference to CDATA
323         to style pass_thru.
324
325 2004-10-30  José Matos  <jamatos@lyx.org>
326
327         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
328
329 2004-10-30  José Matos  <jamatos@lyx.org>
330
331         * output_docbook.C (makeParagraphs):
332         * paragraph.[Ch] (emptyTag): for docbook and company, if the
333         standard paragraph has only a given type of content drop the wrapper.
334
335 2004-10-29  José Matos  <jamatos@lyx.org>
336
337         * output_docbook.C (makeEnvironment):
338         * sgml.C (openTag):
339         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
340
341 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
342
343         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
344         (cleanID): sanitize any id.
345
346 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
347
348         * buffer.C, lyxlex_pimpl.C:
349         * lyxlex_pimpl.C (setFile):
350         s/getExtFromContents/getFormatFromContents/
351
352 2004-10-28  José Matos  <jamatos@lyx.org>
353
354         * output_docbook.C (makeEnvironment): move id to broadest possible
355         scope.
356
357         * sgml.C (openTag): apply substitution of <> for all attributes.
358
359 2004-10-28  José Matos  <jamatos@lyx.org>
360
361         * buffer.C (makeLinuxDocFile, makeDocBookFile):
362         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
363         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
364
365         * sgml.[Ch]: new version for open and closeTag for paragraph and
366         for strings. Now they handle the ids of paragraphs.
367
368 2004-10-26  Angus Leeming  <leeming@lyx.org>
369
370         * Makefile.am: add mover.[Ch].
371
372         * converter.C (convert, move): use the new Movers to move external
373         files to the temp directory.
374
375         * lyx_main.C (init): ensure that the global system_movers data
376         is initialised.
377
378         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
379         preferences file.
380
381         * mover.[Ch]: new files, defining a Mover as a utility to move an
382         external file between directories and, if necessary, manipulate this
383         file using a helper script.
384
385 2004-10-25  José Matos  <jamatos@lyx.org>
386
387         * output_docbook.C (makeCommand): merge two if's that tested the
388         same condition.
389
390 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
391
392         * sgml.C (escapeString): fix warning in a better way
393
394 2004-10-25  José Matos  <jamatos@lyx.org>
395
396         * sgml.C (escapeString): import the require boosts header file for
397         tie, and avoid a signed unsigned comparison.
398
399 2004-10-25  José Matos  <jamatos@lyx.org>
400
401         * sgml.h: add #include <string>
402
403 2004-10-25  José Matos  <jamatos@lyx.org>
404
405         * sgml.[Ch] (escapeString): new function to escape all the string.
406
407 2004-10-24  José Matos  <jamatos@lyx.org>
408
409         * paragraph.[Ch] (getFirstWord): new function to get the first
410         word. Useful for description.
411         (simpleDocBookOnePar): remove depth argument, add another that
412         says where to start the paragraph.
413
414         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
415         use the new functions to fix cleanly the support for descriptions.
416
417 2004-10-24  José Matos  <jamatos@lyx.org>
418
419         * buffer.C (makeLinuxDocFile, makeDocBookFile):
420         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
421         * output_linuxdoc.C (linuxdocParagraphs):
422         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
423         add buffer as argument.
424
425 2004-10-24  José Matos  <jamatos@lyx.org>
426
427         * output_docbook.C (makeEnvironment, searchEnvironment): place
428         CDATA inside paragraphs and fix scope for listitems.
429
430 2004-10-24  José Matos  <jamatos@lyx.org>
431
432         * output_docbook.C: remove using statement for stack.
433
434 2004-10-23  José Matos  <jamatos@lyx.org>
435
436         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
437         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
438         docbook. The new scheme is recursive and makes use of iterators, the
439         same as latex export works.
440         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
441         directly with the paragraph contents. This code was moved up to
442         output_docbook.C (docbookParagraphs).
443         * sgml.C (openTag, closeTag): removed unneeded newlines.
444         (closeEnvTags) removed.
445
446 2004-10-23  André Pönitz  <poenitz@gmx.net>
447
448         * undo.C (textUndoOrRedo):
449         * dociterator.C (asDocIterator): work around crash
450
451         * cursor.C (getStatus): replace ASSERT by more verbose error message
452           and manual correction of the problem. Should increase stability
453           while providing more sensible information.
454
455 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
456
457         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
458
459         * bufferlist.C (previous, next): new methods
460
461         * lfuns.h:
462         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
463
464 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
465
466         * buffer.C (makeDocBookFile): add dsssl stylesheet control
467         entities to preamble.
468
469 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
470
471         * messages.C (Pimpl): strip off translation context information
472
473 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
474
475         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
476         the cursor is correct (bug 1694)
477
478 2004-10-13  José Matos  <jamatos@lyx.org>
479
480         * output_docbook.C (docbookParagraphs): fix closing tags in the
481         end of the document.
482
483 2004-10-09  José Matos  <jamatos@lyx.org>
484
485         * buffer.C: format up to 237.
486         * bufferparams.C (write): use tostr to convert booleans to strings.
487
488 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
489
490         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
491
492 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
493
494         * LaTeX.C: implement use of babel language in xindy.
495
496 2004-10-05  José Matos  <jamatos@lyx.org>
497
498         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
499         Add new translators to help reading and writing the lyx file.
500
501 2004-10-05  José Matos  <jamatos@lyx.org>
502
503         * ParagraphParameters.C (read):
504         * text.C (readParToken): replace nexToken by more appropriate lex
505         methods.
506
507 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
508
509         * LaTeX.C (runMakeIndex):
510         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
511         (usually 'makeindex') configurable.
512
513         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
514         with a variable rather than with a number.
515
516 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
517
518         * output_latex.C (TeXOnePar): make sure font setting is the first
519         thing that gets output (and the last at the end). Should fix bug
520         1404.
521
522 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
523
524         * pch.h: use proper signal include
525
526         * LaTeX.h: Use preferred calling of Boost.Signal
527         * buffer.h: ditto
528
529 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
530
531         * pch.h: dont include <boost/function/function0.hpp>
532
533         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
534
535         * paragraph_pimpl.h: remove usage of ShareContainer
536
537         * paragraph_pimpl.C: remove initialization of ShareContainer.
538
539 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
540
541         Fix bug #1666
542
543         * BufferView.C (putSelectionAt): change the semantics when
544         backwards == true: now, this just swaps cursor and anchor wrt the
545         forward case
546
547         * BufferView.h (putSelectionAt): add some documentation
548
549         * lyxfind.C (findBackwards): rewrite using while(). In particular,
550         make sure backwardChar is done at least once (to avoid getting
551         stuck)
552         (findNextChange): use putSelectionAt in the forward direction
553         (operator()): use Paragraph::isWord
554
555 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
556
557         * Spacing.C (set): c_str fix
558
559 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
560
561         * lyx_cb.C (Reconfigure): quote the name of configure script in
562         case it contains spaces
563
564 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
565
566         * client: new dir
567
568         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
569         (BOOST_LIBS): use top_buildir when looking for the file
570
571 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
572
573         * pch.h: do not use include boost/format.hpp, multiple symbols
574                 will result (gcc bug)
575
576
577 2004-08-23  José Matos  <jamatos@lyx.org>
578
579         * bufferparams.C (readToken): fix reading of the author field.
580
581 2004-08-20  José Matos  <jamatos@lyx.org>
582
583         * lyxrc.C: remove support/translator.h inclusion since it is not used.
584
585 2004-08-20  José Matos  <jamatos@lyx.org>
586
587         * lyxlex.[Ch] (findToken): remove function.
588
589         * ParagraphParameters.C (findToken):
590         * bufferparams.C (findToken): replace call for previous function
591         with local copy. This local function has one more argument, the
592         read string argument.
593
594 2004-08-16  José Matos  <jamatos@lyx.org>
595
596         * ParagraphParameters.C (write):
597         * Spacing.C (writeFile):
598         * bufferparams.C (writeLaTeX):
599         * lyx_cb.C (Reconfigure):
600         * paragraph.C (write):
601         * tabular.C (write): remove unnecessary space at end of line.
602
603
604 2004-08-16  José Matos  <jamatos@lyx.org>
605
606         * text.C (readParagraph): remove debug message.
607
608 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
609
610         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
611         crash
612
613         * output_plaintext.C (asciiParagraph): set depth correctly
614
615         * outputparams.h: add member depth
616
617         * paragraph_funcs.C (ownerPar): remove.
618
619         * text2.C (setCounter): remove first_pit; comment out some
620         non-working code that uses ownerPar
621
622         * BufferView.C (getParentLanguage): remove. Not used anymore, and
623         uses ownerPar
624
625 2004-08-16  José Matos  <jamatos@lyx.org>
626
627         * text.C (readParToken, readParagraph, read): report all unknown tokens.
628         For the same level of importance use the same chanel to report problems.
629         (read): add code to deal with \begin_body and \end_body.
630
631
632 2004-08-15  José Matos  <jamatos@lyx.org>
633
634         * lyxlex.C (getString): fix comment, buffer::readBody is now
635         buffer:readDocument.
636
637         * tex-strings.C (string_papersize): Default -> default,
638         Custom -> custom, for consistency with other options.
639
640 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
641
642         * pch.h: new file
643
644         * Makefile.am: support pch
645
646 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
647
648         * text.C (readParToken): remove the static LyXFont variable and
649         pass it as a parameter instead. This fixes a nasty bug where an
650         inset will be inserted with a bad font in some situations
651         (readParagraph): adapt
652
653         * text2.C (setCounter): reduce number of calls to pars_[pit]
654
655         * text.C (singleWidth): add an assert, fix a test
656
657         * rowpainter.C (paintText): reduce number of calls to singleWidth
658
659         * paragraph.C (isHfill):
660         (isNewline): ws only
661
662 2004-08-14  André Pönitz  <poenitz@gmx.net>
663
664         * text.C:
665         * text2.C:
666         * rowpainter.C:
667         * lyxtext.h (several functions): use a Paragraph & argument
668         instead of par_type
669
670 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
671
672         * metricsinfo.h: add a new field ltr_pos to PainterInfo
673
674         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
675
676         * text.C (singleWidth): remove useless test
677
678 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
679
680         * tabular.h: remove bogus comments
681
682         * tabular.C (getDescentOfRow):
683         (isPartOfMultiColumn): add assertions
684
685         * lyxlength.C (inPixels): remove #warning
686
687 2004-08-14  André Pönitz  <poenitz@gmx.net>
688
689         * paragraph.h: inline getChar()
690
691         * BufferView.h: remove unused declarations
692
693 2004-08-14  José Matos  <jamatos@lyx.org>
694
695         * Buffer.[Ch] (readDocument): new name for old readBody.
696         * Buffer.C: new file format, new keywords: \begin_document,
697         \begin_header, \begin_body, \end_body.
698
699         * bufferparams.C (readToken): replace all calls to lex.nextToken
700         by lex.next(). Do the same to eatLine except where really needed.
701
702         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
703         line when writing to the lyx file.
704
705         * output_plaintext.C (asciiParagraph): fix Bibliography style
706         handling.
707
708         * text.C (read): fix end of file handling.
709
710 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
711
712         * MenuBackend.C (Menu::operator[]): new method to access
713         individual menu items
714         (Menu::hasFunc): new method. search for an item that corresponds
715         to a given func
716         (MenuBackend::specialMenu): new method
717         (MenuBackend::expand): if a special menu has been set, skip
718         entries whose func() appears in this menu
719
720 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
721
722         * text3.C: use Debug::DEBUG a bit more
723
724         * text.C (leftMargin): try to simplify a tiny bit change var x to
725         l_margin. Dont output the wide margins always.
726         (rightMargin): no margin in inner texts
727
728         * rowpainter.h (nestMargin): new func
729         (changebarMargin): new func
730         (rightMargin): new func
731
732         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
733         now functions.
734         (paintLast): ditto
735
736         * factory.C (createInset): modify setDrawFrame
737
738         * cursor.C: use Debug::DEBUG a bit more
739
740 2004-08-14  André Pönitz  <poenitz@gmx.net>
741
742         * coordcache.[Ch]:
743         * Makefile.am: new files to accomodate an 'external' (x,y)-position
744         cache for all insets in (at least partially) visible (top-level)
745         paragraphs.
746
747         * BufferView_pimpl.C: reset external coord cache before every update.
748         This means the coord cache only contains valid entries.
749
750 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
751
752         bug 1096
753         * BufferView_pimpl.C (getInsetByCode): move function out of class
754         and change in to a template in anon namespace. Also fix to do what
755         suits us better.
756
757 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
758
759         bug 1305
760         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
761         of char
762         (breakParagraph): rename par to par_offset and use a local
763         reference. Add code to keep the language over a rebreak.
764         (breakParagraphConservative): rename par to par_offset, use a
765         local reference
766         (mergeParagraph): ditto
767         (outerHook): ditto
768         (isFirstInSequence): ditto
769         (outerFont): rename pit to par_offset
770
771         * paragraph.C: ws change
772         * paragraph.h: ditto
773         * text3.C: ditto
774         * text.C: ditto
775
776 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
777
778         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
779         treatment for ']'
780
781         * paragraph.C (simpleTeXOnePar): when we have a \item with
782         optional argument, enclose the argument with curly brackets (in
783         case it contains a closing square bracket)
784
785         * text2.C (editXY):
786         * text2.C (editXY):
787         * text3.C (checkInsetHit): constify
788
789 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
790
791         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
792         documents (bug 1629)
793
794 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
795
796         Fix toggling of collapsable insets with the mouse (bug 1558)
797
798         * lyxfunc.C (dispatch): adapt to LCursor changes
799
800         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
801         make sure that dispatch is not invoked twice
802
803         * cursor.C (needsUpdate): new method
804         (dispatch): return void
805         (result): new method, to access the DispatchResult of the cursor.
806
807 2004-08-13  José Matos  <jamatos@lyx.org>
808
809         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
810
811 2004-08-13  André Pönitz  <poenitz@gmx.net>
812
813         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
814
815         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
816           multiple cells
817
818 2004-08-12  André Pönitz  <poenitz@gmx.net>
819
820         * text3.C: take out the 'cursor right' form insertInset and only
821         do it in those places when it is really needed. Fixes crash on
822         C-m...
823
824 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
825
826         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
827
828         * BufferView_pimpl.C (setBuffer): initialize the current font of
829         the underlying LyXText
830
831 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
832
833         * kbsequence.C (print): use UI native formatting for menu
834         shortcuts
835
836         * text.C (insertChar): call Paragraph::insertChar with a font
837         argument (cosmetic)
838
839         * paragraph.C (insertInset, insertChar): the version that takes a
840         LyXFont argument is now a wrapper around the other one (the
841         opposite used to be true).
842
843         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
844         argument. Font setting is done in Paragraph now.
845
846 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
847
848         * outputparams.h: add new members intitle and lang.
849
850         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
851         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
852
853 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
854
855         * text3.C (dispatch): remove special handling of button 4 and 5,
856         it is now taken care of in the frontend code.
857
858 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
859
860         * Spacing.h: add <string> (STLPort compile fix)
861
862 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
863
864         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
865
866 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
867
868         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
869         to bool.
870
871         * converter.C (showMessage): inherit from unary_function, make
872         operator() const.
873
874         * buffer.C (writeFile): initialize retval
875
876         * InsetList.h: rename private variable list to list_
877         * InsetList.[Ch]: adjust accordingly.
878
879 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
880
881         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
882         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
883         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
884         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
885         * ParagraphParameters.C, LaTeXFeatures.C: replace
886         "support/std_sstream.h" with <sstream>
887
888 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
889
890         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
891         * lyxsocket.C (LyXServerSocket): ditto
892         (serverCallback): ditto
893
894 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
895
896         * LaTeXFeatures.C: check release date when loading jurabib.
897
898 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
899
900         * lyxserver.C (startPipe): call register_socket_callback
901         (endPipe): call unregister_socket_callback
902
903 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
904
905         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
906         (LyXServerSocket): register the callback
907         (LyXServerSocket): unregister the callback
908         (fd): delete function
909         (serverCallback): improve error checking and setup the callbacks.
910         (dataCallback): change arg to fd.
911         (writeln): new func (copied fro the client socket) used for server
912         write to client.
913         (LyXDataSocket): simplify
914         (~LyXDataSocket): close ann unregiser callback
915         (server): delete function
916         (fd): delete function
917         (readln): small changes, improve some std::string usage
918         (writeln): constify a bit
919
920 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
921
922         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
923         Qt frontend
924
925 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
926
927         * BufferView_pimpl.C (setBuffer): set the layout combox value only
928         after it has been populated
929
930 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
931
932         * text2.C (insertInset): move cursor when inserting inset.
933
934 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
935
936         * kbmap.C (findbindings): a couple of new methods. returns a
937         container of kb_sequence objects. The real work is done by the
938         private recursive version
939         (printbindings): uses findbindings to print out a bracketed list
940         of bindings (renamed from findbinding).
941
942         * MenuBackend.C (binding): use kb_keymap::findbindings
943
944         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
945
946 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
947
948         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
949
950 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
951
952         * paragraph.C (isWord): return true on insets that report
953         isLetter().
954
955         * text.C (getWord): use Paragraph::isWord to decide what is in a
956         word and what is not; fix bug 1609.
957
958 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
959
960         * tex-strings.C: add "none" to string_paperpackages[], fixes
961         off-by-one-error in the paperpackage selection.
962
963         * lyxlex.[Ch]:
964         * tex-strings.[Ch]: char const * string[n]
965         -> char const * const string[]
966
967 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
968
969         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
970         command, return early.
971
972 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
973
974         * debug.h: add DEBUG to enum and fix size of ANY.
975
976         * debug.C: add support for Debug::DEBUG
977         (showTags): cast errorTags.level to unsigned int
978
979         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
980         (redoCurrentBuffer): ditto
981         (updateScrollbar): ditto
982         * cursor.C (dispatch): ditto
983         * text2.C (setLayout): ditto
984         (setFont): ditto
985         (updateCounters): ditto
986         (editXY): ditto
987         (deleteEmptyParagraphMechanism): ditto
988
989 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
990
991         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
992         annotations to cleanup the Makefile slightly.
993
994 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
995
996         * lyxrc.C: do not set user_email to a default value but use empty
997         instead. The entry used to be translated, which does not work
998         since at the point where lyxrc is constructed there is no
999         translation service available
1000
1001         * messages.C (getLocaleDir): remove and use directly
1002         lyx_localedir() instead
1003
1004 2004-06-02  Angus Leeming  <leeming@lyx.org>
1005
1006         Fix crash caused by dereferencing null pointer 'exportdata' in
1007         OutputParams by creating a new ExportData variable on the heap,
1008         storing it in a boost::shared_ptr.
1009         The crash was triggered when generating an Instant Preview
1010         of an external inset.
1011
1012         * Makefile.am: add outputparams.C
1013
1014         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1015         (c-tor): allocate memory to it.
1016
1017         * exporter.C (c-tor): associated changes.
1018
1019 2004-06-01  Angus Leeming  <leeming@lyx.org>
1020
1021         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1022         contains data before calling isInset(0). (Bug 1513.)
1023
1024 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1025
1026         * exporter.C (checkOverwrite): new method
1027         * exporter.C (copyFile): new method
1028         * exporter.C (Export): copy referenced files to the document dir
1029         * exporter.[Ch]: new class ExportedFile
1030         * exporter.[Ch]: new class ExportData. Contains currently the
1031         names of referenced external files
1032         * outputparams.h: add exportdata member.
1033
1034 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
1035
1036         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1037         version.C-tmp
1038
1039 2004-05-19  Angus Leeming  <leeming@lyx.org>
1040
1041         * LaTeXFeatures.C:
1042         * ToolbarBackend.C:
1043         * bufferparams.C:
1044         * lyxfunc.C: small changes due to the introduction of namespace
1045         lyx::frontend and the moving of namespace biblio to lyx::biblio.
1046
1047 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
1048
1049         * text3.C (dispatch): supress update when only moving the cursor
1050         * cursor.C (selHandle): remove commented code
1051
1052 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1053
1054         * paragraph.C (startTeXParParams): correct column count
1055         * CutAndPaste.C (pasteSelection): remove const_cast
1056         * output_docbook.C (docbookParagraphs): remove const_cast
1057         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1058         const_cast and return ParagraphList::const_iterator
1059         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1060         * output_plaintext.C (writeFileAscii): remove const_cast
1061         * paragraph.[Ch] (simpleTeXOnePar): make const
1062         * paragraph_funcs.C (outerPar): use const iterators
1063         * paragraph_pimpl.C (validate): use const iterators
1064         * text.C (setHeightOfRow): use const iterators
1065
1066 2004-05-17  Angus Leeming  <leeming@lyx.org>
1067
1068         * lfuns.h:
1069         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1070
1071         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1072         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1073         if the citation engine has changed.
1074
1075 2004-05-14  José Matos  <jamatos@lyx.org>
1076
1077         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1078         if the textclass does not provide it. Have it different for sgml and
1079         xml.
1080         support the language of document.
1081         * output_docbook.C (docbookParagraphs):
1082         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1083         first anchor as the id of the paragraph, remove special case code.
1084         * sgml.C (escapeChar): escape only < & >.
1085
1086 2004-05-14  Angus Leeming  <leeming@lyx.org>
1087
1088         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1089         dependencies on src/frontends/controllers/biblio.h. Define a
1090         CiteEngine_enum wrapper class to enable the enum to be forward
1091         declared.
1092
1093 2004-05-12  Angus Leeming  <leeming@lyx.org>
1094
1095         * buffer.C: up LYX_FORMAT to 234.
1096         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1097         use_numerical_citations with a single biblio::CiteEngine cite_engine
1098         variable.
1099         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1100
1101 2004-05-13  José Matos  <jamatos@lyx.org>
1102
1103         * converter.h:
1104         * converter.C (Converter, readFlags): add xml member.
1105         * outputparams.h: add XML flavor.
1106         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1107
1108 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1109
1110         * lyxfunc.C (dispatch):
1111         (getStatus): fix handling of LFUN_SEQUENCE
1112
1113 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1114
1115         * debug.C (showLevel): do not forget the end-of-line marker
1116
1117 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1118
1119         * kbmap.C (read): do not stop parsing a bind file when an error
1120         occurs (bug 1575)
1121
1122 2004-04-29  Angus Leeming  <leeming@lyx.org>
1123
1124         * cursor.C:
1125         * factory.C:
1126         * pariterator.C:
1127         * text2.C: wrap a bunch of #warning statements
1128         inside #ifdef WITH_WARNINGS blocks.
1129
1130 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1131
1132         * buffer.C: increment format to 233.
1133
1134 2004-04-28  Angus Leeming  <leeming@lyx.org>
1135
1136         * BufferView_pimpl.C:
1137         * lyxfunc.C:
1138         * text3.C:
1139         s/updateToolbar()/updateToolbars()/
1140         s/Toolbar.h/Toolbars.h/
1141
1142 2004-04-28  Angus Leeming  <leeming@lyx.org>
1143
1144         * BufferView.[Ch] (c-tor):
1145         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1146         No longer passes these data to the WorkArea generator.
1147
1148 2004-04-28  Angus Leeming  <leeming@lyx.org>
1149
1150         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1151
1152 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1153
1154         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1155
1156 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1157
1158         * output_latex.C (TeXEnvironment): make sure that there is a line
1159         break before \end{foo} for the last paragraph of a document
1160         (TeXOnePar): if the paragraph is at the end of the document (or
1161         inset) and the language has to be reset, then make sure that the
1162         line break is _before_ the language command, not after (fixes bug
1163         1225); also make sure that the language reset command is the first
1164         thing after the paragraph (to ensure proper nesting of
1165         environments and thus fix bug 1404)
1166
1167 2004-04-21  John Levon  <levon@movementarian.org>
1168
1169         * ToolbarBackend.h:
1170         * ToolbarBackend.C: make "name" be a programmatic name
1171         and a gui_name field.
1172
1173         * lyxfunc.C: display the minibuffer on M-x
1174
1175 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1176
1177         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1178         (bug 1526)
1179
1180 2004-04-19  Angus Leeming  <leeming@lyx.org>
1181
1182         * BufferView_pimpl.C (setBuffer): changed preview interface.
1183
1184         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1185         possible values.
1186
1187 2004-04-19  John Levon  <levon@movementarian.org>
1188
1189         * BufferView_pimpl.C:
1190         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1191
1192 2004-04-05  Angus Leeming  <leeming@lyx.org>
1193
1194         * text.C (redoParagraphs): add call to updateCounters(), thereby
1195         fixing the missing "Figure #:" label from the caption of a
1196         figure float.
1197
1198 2004-04-13  Angus Leeming  <leeming@lyx.org>
1199
1200         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1201         cursor is clicked out of an inset.
1202
1203 2004-04-13  Angus Leeming  <leeming@lyx.org>
1204
1205         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1206         than an InsetOld one.
1207
1208 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1209
1210         * format.[Ch]: add editor to Format
1211         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1212         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1213
1214 2004-04-08  André Pönitz  <poenitz@gmx.net>
1215
1216         * metricsinfo.h: remove PainterInfo::width member
1217
1218 2004-04-08  Angus Leeming  <leeming@lyx.org>
1219
1220         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1221         "\providecommand" rather than "\newcommand", thereby preventing
1222         clashes with packages that define "\boldsymbol" themselves.
1223         Eg, beamer.
1224
1225 2004-04-08  Angus Leeming  <leeming@lyx.org>
1226
1227         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1228         thereby squashing an unnecessary warning.
1229
1230 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1231
1232         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1233         setBuffer()
1234
1235 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1236
1237         * BufferView.C (setCursor): call redoParagraph (some insets could
1238         have been opened)
1239         (putSelectionAt): remove the 'double update' trick
1240
1241         * BufferView_pimpl.C (fitCursor): call refreshPar
1242         (workAreaDispatch): remove an uneeded update call
1243         (dispatch): remove some manual update calls
1244
1245         * cursor.[Ch]: remove cached_y_, updatePos
1246         (selHandle): set noUpdate when appropriate
1247
1248         * lyxfunc.C (dispatch): track if we need an update
1249
1250         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1251
1252         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1253         (paintSelection): cheap optimization, do not call cursorX when not
1254         needed
1255         (paintPars): change signature
1256         (refreshPar): add
1257         (paintText): adjust
1258         (paintTextInset): adjust
1259
1260         * text.C: adjust
1261
1262 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1263
1264         * lengthcommon.C: compilation fix: remove explicit array size from
1265         unit_name[] and friends
1266
1267 2004-04-05  Angus Leeming  <leeming@lyx.org>
1268
1269         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1270
1271         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1272         present only for the preferences dialog.
1273         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1274
1275 2004-04-05  Angus Leeming  <leeming@lyx.org>
1276
1277         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1278         to enable the frontends to export changes to lyxrc correctly.
1279
1280         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1281
1282 2004-04-07  André Pönitz  <poenitz@gmx.net>
1283
1284         * cursor.[Ch] (selClear, adjust): remove math
1285
1286         * cursor_slice.C: more agressive assert
1287
1288         * lyxfunc.C:
1289         * BufferView_pimpl.C: rework mouse event dispatch
1290
1291         * dociterator.C:
1292         * paragraph.C:
1293         * text2.C:
1294         * text3.C: adjust
1295
1296 2004-04-05  André Pönitz  <poenitz@gmx.net>
1297
1298         * cursor.[Ch] (valign, halign...): remove unneeded functions
1299
1300 2004-04-05  Angus Leeming  <leeming@lyx.org>
1301
1302         * lyxlength.[Ch] (unit_name et al.): const-correct.
1303
1304 2004-04-05  Angus Leeming  <leeming@lyx.org>
1305
1306         * BufferView_pimpl.C:
1307         * buffer.C:
1308         * counters.C:
1309         * cursor.C:
1310         * lyxfunc.C
1311         * paragraph.C:
1312         * pariterator.C:
1313         * text.C:
1314         * text2.C:
1315         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1316
1317 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1318
1319         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1320
1321 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1322
1323         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1324         * BufferView_pimpl.[Ch] (getStatus)
1325         * BufferView.[Ch] (getStatus): add
1326         * lyxfunc.C (getStatus): move lfuns handled in
1327         BufferView::dispatch to te function above
1328         * Cursor.C (setSelection): set selection() = true
1329
1330 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1331
1332         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1333
1334 2004-03-31  Angus Leeming  <leeming@lyx.org>
1335
1336         * lyxfunc.C (dispatch): Fall through to the generic
1337         Dialogs::show("preamble").
1338
1339 2004-03-31  Angus Leeming  <leeming@lyx.org>
1340
1341         * lyxfunc.C (dispatch): Fall through to the generic
1342         Dialogs::show("spellchecker").
1343
1344 2004-03-31  Angus Leeming  <leeming@lyx.org>
1345
1346         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1347         preferences dialog.
1348
1349 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1350
1351         * BufferView.C
1352         * cursor.[Ch]
1353         * dociterator.[Ch]:
1354         * insetiterator.[Ch]:
1355         * lyxfind.C:
1356         * lyxfunc.C:
1357         * pariterator.[Ch]:
1358         * text2.C:
1359         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1360
1361 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1362
1363         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1364         insets where we are putting the cursor.
1365
1366 2004-03-31  Angus Leeming  <leeming@lyx.org>
1367
1368         * lfuns.h:
1369         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1370
1371         * lyxrc.[Ch] (read, write): overloaded member functions taking
1372         a std::[io]stream arguments.
1373
1374         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1375
1376 2004-03-31  Angus Leeming  <leeming@lyx.org>
1377
1378         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1379         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1380
1381         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1382         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1383
1384 2004-03-31  Angus Leeming  <leeming@lyx.org>
1385
1386         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1387         the LFUN_ALL_INSETS_TOGGLE code.
1388
1389 2004-03-30  Angus Leeming  <leeming@lyx.org>
1390
1391         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1392         has died. Fall through to the generic Dialogs::show("document").
1393
1394 2004-03-30  Angus Leeming  <leeming@lyx.org>
1395
1396         * lfuns.h:
1397         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1398         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1399
1400         * lyxfunc.C (getStatus, dispatch): define the actions for these
1401         lfuns. Little more than a cut and pste job from ControlDocument.C
1402
1403         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1404
1405 2004-03-30  Angus Leeming  <leeming@lyx.org>
1406
1407         * lfuns.h:
1408         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1409         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1410
1411         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1412         open/closed state of ollapsable insets. Usage:
1413
1414         all-inset-toggle <state> <name>, where
1415         <state> == "open" || "closed" || "toggle" and
1416         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1417
1418         * lyxtext.h, text2.C (toggleInset): removed.
1419
1420         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1421         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1422         now passes LFUN_INSET_TOGGLE to the found inset.
1423
1424         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1425         is now invoked as "all-insets-toggle toggle branch".
1426
1427 2004-03-30  Angus Leeming  <leeming@lyx.org>
1428
1429         * dociterator.C:
1430         * insetiterator.C:
1431         * pariterator.[Ch]: added/corrected header blurb.
1432
1433 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1434
1435         * dociterator.[Ch]: add an inset_ member
1436         (backwardPos): implemented
1437         (backwardPos, forwardPos): use inset_ when the stack is empty.
1438         (doc_iterator_begin, doc_iterator_end): implemented
1439         * pariterator.[Ch]: adjust, add begin, end
1440         * insetiterator.[Ch]: adjust, add begin, end
1441         * cursor.C:
1442         * document.C:
1443         * BufferView.C:
1444         * BufferView_pimpl.C:
1445         * CutAndPaste.C: adjust
1446
1447 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1448
1449         * buffer.C: increment file format to 232.
1450         * LaTeXFeatures.C: add bibtopic package.
1451         * bufferparams.[Ch]: param \use_bibtopic.
1452
1453         * lyxrc.[Ch]: add lyxrc bibtex_command
1454         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1455
1456         * buffer.C: increment file format to 231.
1457
1458 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1459
1460         * dociterator.C: implement forwardPar
1461         * iterators.[Ch]: remove, replaced by
1462         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1463         * BufferView.C:
1464         * BufferView_pimpl.C:
1465         * CutAndPaste.C:
1466         * buffer.C:
1467         * bufferview_funcs.C:
1468         * cursor.C:
1469         * lyxfind.C
1470         * lyxfunc.C
1471         * paragraph_funcs.C
1472         * toc.C:
1473         * Makefile.am: adjust
1474
1475 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1476
1477         * CutAndPaste.C (pasteSelection): fix 2 crashes
1478         (eraseSelection): fix a crash
1479         * paragraph_funcs.C: remove a warning
1480
1481 2004-03-28  Angus Leeming  <leeming@lyx.org>
1482
1483         * lfuns.h:
1484         * LyXAction.C (init): new LFUN_PRINT.
1485
1486         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1487
1488 2004-03-27  Angus Leeming  <leeming@lyx.org>
1489
1490         * lfuns.h:
1491         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1492
1493         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1494
1495 2004-03-27  Angus Leeming  <leeming@lyx.org>
1496
1497         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1498         insetlist always contains non-null pointers to insets.
1499
1500 2004-03-26  Angus Leeming  <leeming@lyx.org>
1501
1502         * src/BufferView_pimpl.C:
1503         * src/CutAndPaste.C:
1504         * src/buffer.C:
1505         * src/iterators.C:
1506         * src/output_plaintext.C:
1507         * src/outputparams.h:
1508         * src/paragraph_funcs.C:
1509         * src/rowpainter.C:
1510         * src/text.C:
1511         * src/text2.C:
1512         * src/frontends/controllers/ControlErrorList.C:
1513         * src/frontends/gtk/FileDialogPrivate.C:
1514         * src/frontends/gtk/GPainter.C:
1515         * src/frontends/gtk/GToolbar.C:
1516         * src/frontends/qt2/QRef.C:
1517         * src/mathed/math_scriptinset.C: squash compiler warnings.
1518
1519 2004-03-26  Angus Leeming  <leeming@lyx.org>
1520
1521         * ispell.C (LaunchIspell::start):
1522         * lyx_cb.C (AutoSaveBuffer::start):
1523         invoke run(DontWait) rather than runNonBlocking().
1524
1525 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1526
1527         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1528
1529 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1530
1531         * kbsequence.C (print): adjust
1532
1533         * kbmap.C (printKeySym): rename and change signature
1534         (printKey): use LyXKeySym::print()
1535
1536 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1537
1538         * undo.C: add using std::advance to compile for stlport
1539
1540 2004-03-24  Angus Leeming  <leeming@lyx.org>
1541
1542         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1543         it leads to a crash when no buffer is present.
1544
1545 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1546             Martin Vermeer  <martin.vermeer@hut.fi>
1547
1548         * lyxfunc.C (dispatch):
1549         * bufferparams.C (readToken): use the new LColor::setColor
1550
1551         * LColor.[Ch] (setColor): new version that takes two strings as
1552         argument and creates a new color entry if necessary
1553
1554 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1555
1556         * buffer.C (makeLaTeXFile): if the main latex file that is
1557         processed is usually a subdocument of some master, then pretend
1558         for a while that it is actually the master
1559
1560 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1561
1562         * buffer.C (getLabelList):
1563         (getBibkeyList): use getMasterBuffer()
1564         (getMasterBuffer): new method. Returns the main document in the
1565         case where one is using included documents.
1566
1567 2004-03-25  André Pönitz  <poenitz@gmx.net>
1568
1569         * Makefile.am:
1570         * iterators.[Ch]:
1571         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1572
1573         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1574
1575         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1576         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1577
1578         * ParameterStruct.h: merge with ParagraphParameters
1579
1580         * lyxtext.h: remove LyXText::parOffset() and getPar()
1581
1582         * text3.C: Remove all 'manual' update calls. We do now one per user
1583         interaction which is completely sufficient.
1584
1585         * Bidi.C:
1586         * BufferView.[Ch]:
1587         * BufferView_pimpl.C:
1588         * FontIterator.[Ch]:
1589         * MenuBackend.C:
1590         * ParagraphParameters.[Ch]:
1591         * buffer.C:
1592         * buffer.h:
1593         * bufferlist.C:
1594         * cursor.[Ch]:
1595         * cursor_slice.[Ch]:
1596         * dociterator.[Ch]:
1597         * errorlist.[Ch]:
1598         * factory.C:
1599         * lfuns.h:
1600         * lyxfind.C:
1601         * lyxfunc.C:
1602         * output_docbook.[Ch]:
1603         * output_latex.[Ch]:
1604         * output_linuxdoc.[Ch]:
1605         * output_plaintext.[Ch]:
1606         * paragraph.[Ch]:
1607         * paragraph_funcs.[Ch]:
1608         * paragraph_pimpl.[Ch]:
1609         * rowpainter.C:
1610         * tabular.[Ch]:
1611         * text.C:
1612         * text2.C:
1613         * toc.C:
1614         * undo.[Ch]: adjust
1615
1616         * frontends/controllers/ControlDocument.C:
1617         * frontends/controllers/ControlErrorList.C:
1618         * frontends/controllers/ControlSpellchecker.C:
1619         * insets/inset.C:
1620         * insets/inset.h:
1621         * insets/insetbase.h:
1622         * insets/insetbibitem.C:
1623         * insets/insetbox.C:
1624         * insets/insetbranch.C:
1625         * insets/insetcaption.C:
1626         * insets/insetcharstyle.C:
1627         * insets/insetcharstyle.h:
1628         * insets/insetcollapsable.C:
1629         * insets/insetcollapsable.h:
1630         * insets/insetert.C:
1631         * insets/insetfloat.C:
1632         * insets/insetfoot.C:
1633         * insets/insetmarginal.C:
1634         * insets/insetnote.C:
1635         * insets/insetoptarg.C:
1636         * insets/insettabular.C:
1637         * insets/insettext.C:
1638         * insets/insettext.h:
1639         * insets/insetwrap.C:
1640         * mathed/math_mboxinset.C:
1641         * mathed/math_nestinset.C:
1642         * mathed/math_scriptinset.C:
1643         * mathed/math_scriptinset.h:
1644         * support/types.h:
1645
1646 2004-03-24  Angus Leeming  <leeming@lyx.org>
1647
1648         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1649         deal with any child processes that have finished but are waiting to
1650         communicate this fact to the rest of LyX.
1651
1652 2004-03-24  Angus Leeming  <leeming@lyx.org>
1653
1654         64-bit compile fixes.
1655
1656         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1657         (c-tor): pass lyx::pos_types rather than ints.
1658
1659         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1660         lyx::pos_type.
1661
1662         * text.C (Delete): compile fix.
1663         (getPar): ensure that function declaration is the same as that in
1664         the header file.
1665
1666 2004-03-23  Angus Leeming  <leeming@lyx.org>
1667
1668         * ispell.C (LaunchIspell):
1669         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1670         a boost::shred_ptr rather than a std::auto_ptr.
1671
1672 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1673
1674         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1675         handle LFUN_FILE_INSERT_*
1676
1677         * lyxrc.C (setDefaults, getDescription, output, read):
1678         * lyxrc.h: remove ps_command
1679
1680 2004-03-22  Angus Leeming  <leeming@lyx.org>
1681
1682         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1683         Ensure that error_handler is processed once only and that all data
1684         is saved before attempting to output any warning messages.
1685
1686         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1687
1688 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1689
1690         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1691
1692 2004-03-19  André Pönitz  <poenitz@gmx.net>
1693
1694         * cursor.[Ch] (reset): take main text inset as argument
1695
1696         * BufferView: adjust
1697         * BufferView_pimpl.C: adjust
1698
1699         * paragraph.[Ch]: fix completely broken operator=()
1700
1701 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1702
1703         * LColor.C (getFromLyXName): make sure that the color name is used
1704         as lowercase.
1705
1706 2004-03-17  Angus Leeming  <leeming@lyx.org>
1707
1708         * lfuns.h:
1709         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1710
1711         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1712         dialog and to kill a forked process.
1713
1714 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1715
1716         * text2.C (setCursorFromCoordinates): fix font problem
1717
1718 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1719
1720         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1721         bogus "rebuild cursor" code
1722
1723 2004-03-11  André Pönitz  <poenitz@gmx.net>
1724
1725         * buffer.[Ch]: use InsetText instead of LyXText as container for
1726         the main lyx text.
1727
1728         * dociterator.[Ch]: drop the BufferView * member which is not needed
1729         anymore after the change to buffer.C
1730
1731         * paragraph_funcs.C:
1732         * text.C:
1733         * text2.C:
1734         * BufferView.[Ch]:
1735         * BufferView_pimpl.[Ch]:
1736         * cursor.[Ch]:
1737         * cursor_slice.[Ch]: adjust
1738
1739         * text3.C: fix bug in mathDispatch
1740
1741 2004-03-08  André Pönitz  <poenitz@gmx.net>
1742
1743         * undo.[Ch]: use 'StableDocumentIterator' as base for
1744         the Undo struct.
1745
1746 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1747
1748         * LaTeXFeatures.C:
1749         * bufferparams.[Ch]: add jurabib support and param.
1750
1751         * LaTeX.C: add FIXME/comment.
1752
1753 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1754
1755         * buffer.C: increment file format to 230.
1756
1757 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1758
1759         * cursor.C (dispatch): avoid infinite loops
1760
1761 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1762
1763         * rowpainter.C (paintSelection): fix x coordinates
1764
1765 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1766
1767         * text.C (rowBreakPoint): fix breaking before displayed insets
1768
1769 2004-03-01  André Pönitz  <poenitz@gmx.net>
1770
1771         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1772
1773         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1774
1775         * Makefile.am:
1776         * BufferView.C:
1777         * BufferView_pimpl.C:
1778         * buffer.C:
1779         * lyxfind.C:
1780         * lyxfunc.C:
1781         * text.C:
1782         * text2.C:
1783         * text3.C: adjust
1784
1785 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1786
1787         * lyxtext.h:
1788         * text.C:
1789         * text2.C:
1790         * rowpainter.C:
1791         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1792         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1793
1794 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1795
1796         * Bidi.[Ch] (computeTables): const correctness
1797         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1798         fill_hfill, fill_label_hfill and x from Row
1799         * lyxtext.h: prepareToPrint returns a RowMetrics
1800         * rowPainter.C: adjust
1801         * text.C (prepareToPrint): use width, not textWidth. adjust
1802         (redoParagraphInternal, cursorX): adjust
1803         * text2.C (getColumnNearX): adjust
1804         (init): put a default value to the top LyXText::width
1805
1806 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1807
1808         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1809
1810 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1811
1812         * lyxtext.h: add FontIterator class
1813
1814         * text.C (FontIterator, operator*, operator->, operator++): add
1815         (rowBreakPoint, setRowWidth): adjust (fixing a
1816         rebreaking bug)
1817
1818 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1819
1820         * BufferView_pimpl.C (workAreaDispatch): allow also
1821         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1822
1823 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1824
1825         * text.C (rowBreakPoint): fix a bug showing with very large insets
1826
1827 2004-02-25  André Pönitz  <poenitz@gmx.net>
1828
1829         * text3.C:
1830         * cursor.[Ch]: move some mathed specific code to mathed
1831
1832 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1833
1834         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1835         use_tempdir in preferences
1836         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1837         tempfile creation
1838         * lyx_main.C: ensure that tempdir is valid
1839         * lyxlex.h: correct typo
1840         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1841         * paragraph.[Ch] (isMultiLingual): make const
1842         * cursor.[Ch] (openable): make const
1843
1844 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1845
1846         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1847
1848 2004-02-20  André Pönitz  <poenitz@gmx.net>
1849
1850         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1851
1852         * cursor.[Ch]: prepare for localized getStatus()
1853
1854         * lyxtext.h:
1855         * tabular.C:
1856         * text.C:
1857         * text2.C:
1858         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1859
1860 2004-02-20  André Pönitz  <poenitz@gmx.net>
1861
1862         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1863
1864 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1865
1866         * text2.C (setCursorFromCoordinates): switch to absolute coords
1867         (cursorUp): adjust
1868         (cursorDown): adjust
1869         * text3.C (dispatch): adjust
1870
1871 2004-02-16  André Pönitz  <poenitz@gmx.net>
1872
1873         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1874           insets/ChangeLog)
1875
1876         * cursor_slice.[Ch]: remove unneeded acessor function
1877
1878         * lyxtext.h: rename rtl() to isRTL()
1879
1880         * rowpainter.C:
1881         * tabular.C:
1882         * text.C:
1883         * text2.C:
1884         * text3.C: adjust
1885
1886 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1887
1888         * rowpainter.C (paintSelection): coord fix
1889
1890 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1891
1892         * Spacing.C: compile fix
1893
1894 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1895
1896         * cursor.C (dispatch): restore current_ before returning
1897
1898 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1899
1900         * text2.C (cursorUp, cursorDown): fix coords
1901         (moveUp): fix crash
1902
1903 2004-02-12  André Pönitz  <poenitz@gmx.net>
1904
1905         * lyxtext.h:
1906         * text.C:
1907         * text2.C:
1908         * text3.C: add LCursor & parameter to most cursor movement functions
1909           remove usage of LyXText::cursorRow() and cursorPar()
1910
1911         * cursor.[Ch]: add textRow() needed members
1912
1913         * BufferView.C:
1914         * BufferView_pimpl.C:
1915         * paragraph.[Ch]:
1916         * BufferView.C:
1917         * BufferView_pimpl.C: adjust
1918
1919 2004-02-11  André Pönitz  <poenitz@gmx.net>
1920
1921         * lyxfunc.C:
1922         * BufferView.[Ch]:
1923         * BufferView_pimpl.C: shift undo/redo handling
1924
1925         * cursor.[Ch]: fix mathed crash
1926
1927         * lyxfind.C:
1928         * lyxtext.h: move selectionAsText to LCursor
1929
1930         * output_latex.C:
1931         * paragraph.C:
1932         * text.C:
1933         * text2.C:
1934         * text3.C: adjust
1935
1936         * rowpainter.C: fix excessive drawing
1937
1938 2004-02-06  André Pönitz  <poenitz@gmx.net>
1939
1940         * BufferView.[Ch]:
1941         * BufferView_pimpl.[Ch]:
1942         * text3.C: move some text specific LFUN handling
1943
1944 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1945
1946         * text3.C (checkInsetHit): adjust coords
1947         * text2.C (getColumnNearX): adjust coords
1948         (edit): adjust coords
1949         * text.C (getRowNearY): add two asserts
1950
1951 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1952
1953         * converter.C:
1954         * format.C: add using std::distance to compile on gcc 2.95/stlport
1955
1956 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1957
1958         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1959
1960 2004-02-04  André Pönitz  <poenitz@gmx.net>
1961
1962         * BufferView.[Ch] (insertInset):
1963         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1964
1965         * text2.C:
1966         * text3.C: adjust
1967
1968 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1969
1970         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1971         on the default clause of the switch
1972         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1973         wasn't catched by LCursor::dispatch
1974
1975 2004-02-03  André Pönitz  <poenitz@gmx.net>
1976
1977         * BufferView.C:
1978         * cursor.[Ch]: some additional asserts
1979
1980         * undo.[Ch]: remove LyXText dependency in interface
1981
1982         * lyxfunc.C: adjust
1983
1984         * lyxtext.h (firstPar, lastPar): remove dead functions
1985
1986         * text.C:
1987         * text2.C:
1988         * text3.C:
1989         * paragraph.[Ch]: adjust
1990
1991 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1992
1993         * lyxfind.C (find): fix argument order in call to ::find
1994
1995 2004-02-02  André Pönitz  <poenitz@gmx.net>
1996
1997         * cursor.[Ch]: remove direct access to anchor
1998
1999         * text.C: remove findText() hack
2000
2001 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2002
2003         * iterators.[Ch] (lockPath): remove in favour of...
2004         * BufferView.[Ch] (setCursor): this addition
2005         * BufferView.C (putSelectionAt): adjust
2006         * undo.C (performUndoOrRedo): adjust
2007         * lyxfunc.C (dispatch): adjust
2008
2009 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
2010
2011         * iterators.C (lockPath): add a missing slice
2012         * undo.C (performUndoOrRedo): remove redundant positioning code
2013
2014 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
2015
2016         * vc-backend.C (scanMaster): ";" -> ';'
2017
2018 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
2019
2020         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2021         std::binary_function
2022
2023         * lyxtextclass.C (compare_name): rename to...
2024         (LayoutNamesEqual): ...this
2025
2026         * lyxlex_pimpl.C (compare_tags): inherit from
2027         std::binary_function, put back into anon namespace
2028
2029         * lyxfind.C (MatchString): inherig from std::binary_function
2030         (findChange): use empty() istead of !size()
2031
2032         * format.C (FormatNamesEqual): new functor
2033         (getFormat): use it
2034         (getNumber): use it
2035         (add): use it
2036         (erase): use it
2037         (setViewer): use it
2038
2039         * converter.C (compare_Converter): rename to...
2040         (ConverterEqual): ...this, and fixup a bit.
2041         (getConverter): use it, and make function const
2042         (getNumber): use it, and make function const
2043         (add): use it
2044         (erase): use it:
2045
2046         * bufferlist.C: add using boost::bind
2047
2048         * MenuBackend.C (MenuNamesEqual): new functor
2049         (hasMenu): use it, and make function const
2050         (hasSubmenu): use nested bind to get rid of compare_memfun.
2051
2052 2004-01-30  André Pönitz  <poenitz@gmx.net>
2053
2054         * BufferView_pimpl.C:
2055         * cursor.C:
2056         * cursor.h:
2057         * cursor_slice.[Ch]:
2058         * lyxfunc.C:
2059         * lyxtext.h:
2060         * paragraph_funcs.C:
2061         * paragraph_funcs.h:
2062         * rowpainter.C:
2063         * text.C:
2064         * text2.C:
2065         * text3.C: move some of the edit(x,y) handling to the insets
2066         some coordinate changes.
2067
2068 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2069
2070         * text.C: add using statements for std::advance and std::distance
2071
2072         * paragraph.C: add using statement for std::distance
2073
2074         * lyxfind.C: add using statement for std::advance
2075
2076         * cursor.C (region): remove std:: from swap
2077         (openable): use nucleus in stead of operator->
2078
2079         * BufferView.C: add using statements for std::distance and std::swap
2080
2081 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2082
2083         * iterators.C: Remove the pimple, move the needed structures to
2084         the header file. Create accessor for the positions stack.
2085         (asPosIterator): remove function
2086
2087         * PosIterator.C (PosIterator): move constructors to top of file
2088         (PosIterator): reimplement the constructor taking a ParIterator in
2089         terms of setFrom.
2090         (setFrom): new function
2091         (operator!=): inline it
2092
2093 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2094
2095         * lyxfind.C (replaceAll): use std::advance
2096
2097         * iterators.h: inherit from std::iterator.
2098
2099         * PosIterator.C (advance, distance): remove
2100         * PosIterator.h: interit from std::iterator.
2101
2102 2004-01-26  André Pönitz  <poenitz@gmx.net>
2103
2104         * BufferView.[Ch]:
2105         * BufferView_pimpl.[Ch]:
2106         * InsetList.[Ch]:
2107         * PosIterator.[Ch]:
2108         * buffer.h:
2109         * bufferview_funcs.C:
2110         * cursor.[Ch]:
2111         * cursor_slice.h:
2112         * factory.[Ch]:
2113         * iterators.[Ch]:
2114         * lyxfind.C:
2115         * lyxfunc.C:
2116         * lyxtext.h:
2117         * output_docbook.C:
2118         * output_latex.C:
2119         * output_linuxdoc.C:
2120         * output_plaintext.C:
2121         * paragraph.[Ch]:
2122         * paragraph_funcs.[Ch]:
2123         * paragraph_pimpl.[Ch]:
2124         * rowpainter.C:
2125         * tabular.C:
2126         * tabular.h:
2127         * text.C:
2128         * text2.C:
2129         * text3.C: more IU:  dumps most of the rest of the mathcursor
2130     implementation into cursor.[Ch]; "globalize" a bit of it.
2131
2132 2004-01-25  Angus Leeming  <leeming@lyx.org>
2133
2134         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2135
2136 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2137
2138         * LaTeXFeatures.h: add nice_ and nice() const
2139         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2140
2141 2004-01-20  André Pönitz  <poenitz@gmx.net>
2142
2143         * BufferView.[Ch]:
2144         * BufferView_pimpl.C:
2145         * PosIterator.C:
2146         * bufferview_funcs.C:
2147         * cursor.[Ch]:
2148         * cursor_slice.[Ch]:
2149         * factory.C:
2150         * iterators.C:
2151         * lyx_cb.C:
2152         * lyxfind.C:
2153         * lyxfunc.C:
2154         * lyxtext.h:
2155         * rowpainter.C:
2156         * text.C:
2157         * text2.C:
2158         * text3.C:
2159         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2160           LCursor and mathcursor parts to LCursor and InsetBase.
2161
2162 2004-01-15  André Pönitz  <poenitz@gmx.net>
2163
2164         * cursor_slice.[Ch]: add a few covienience functions
2165
2166         * funcrequest.[Ch]: remove BufferView * member
2167
2168         * BufferView_pimpl.C:
2169         * cursor.C:
2170         * factory.[Ch]:
2171         * lyxfind.[Ch]:
2172         * lyxfunc.C:
2173         * lyxtext.h:
2174         * text3.C:
2175         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2176
2177 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2178
2179         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2180         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2181
2182 2004-01-13  André Pönitz  <poenitz@gmx.net>
2183
2184         * textcursor.[Ch]:
2185         * lyxtext.h: hide cursor and selection anchor behind accessor function
2186
2187         * BufferView.C:
2188         * BufferView_pimpl.[Ch]:
2189         * PosIterator.C:
2190         * bufferview_funcs.C:
2191         * cursor.h:
2192         * lyxfind.C:
2193         * lyxfunc.C:
2194         * text.C:
2195         * text2.C:
2196         * text3.C:
2197         * undo.C: adjust
2198
2199         * cursor.h:
2200         * cursor_slice.[Ch]: some integer type changes for inset unification
2201
2202         * lyxcursor.[hC]: remove, it's CursorSlice now.
2203
2204         * Makefile.am:
2205         * BufferView_pimpl.[Ch]:
2206         * bufferview_funcs.C:
2207         * cursor_slice.C:
2208         * lyxtext.h:
2209         * text.C:
2210         * text2.C:
2211         * text3.C:
2212         * textcursor.[Ch]: adjust
2213
2214 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2215
2216         * text2.C (undoSpan): add and use
2217         * text.C (breakParagraph): use undoSpan (fix bug 578)
2218         * lyxtext.h: adjust
2219
2220 2004-01-08  Angus Leeming  <leeming@lyx.org>
2221
2222         * BufferView_pimpl.C (MenuInsertLyXFile):
2223         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2224         * lyxfunc.C (menuNew, open, doImport):
2225         FileFilterList change to the FileDialog open and save functions.
2226
2227 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2228
2229         * ShareContainer.h: make isEqual and isUnique adaptable
2230
2231         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2232
2233 2004-01-07  Angus Leeming  <leeming@lyx.org>
2234
2235         * LyXAction.C:
2236         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2237
2238         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2239
2240         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2241         functions replacing find, replace and replaceAll.
2242
2243         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2244         LFUN_WORDFIND(FORWARD|BACKWARD).
2245
2246 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2247
2248         * text.C (breakParagraph): remove an outdated #warning
2249
2250 2004-01-07  André Pönitz  <poenitz@gmx.net>
2251
2252         * lyxfind.C: somewhat clearer logic
2253
2254         * text.C: prevent crash in cursorX on unitialized row cache
2255
2256 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2257
2258         * lyxcursor.[Ch] (operator>): add
2259         * textcursor.C (selStart, selEnd): use std::min and std::max
2260
2261 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2262
2263         * Chktex.C: include boost/format.hpp
2264
2265 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2266
2267         * InsetList.C: replace functor MathcIt with adaptable functor
2268         InsetTablePosLess
2269         (insetIterator): modify accordingly
2270
2271         * BranchList.h: move the BranchNamesEqual functor here from...
2272         * BranchList.C: ... to here
2273
2274         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2275         SameName and match.
2276         (add): replace a finding loop with std::find_if.
2277
2278 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2279
2280         * output_docbook.C: moving LatexParam functionality into
2281         .layout files
2282
2283 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2284
2285         * buffer.C: increment format to 229.
2286
2287 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2288
2289         * LaTeXFeatures.C:
2290         * lyx_sty.[Ch]: remove minipageindent_def
2291
2292         * LyXAction.C:
2293         * factory.C:
2294         * lfuns.h:
2295         * lyxfunc.C:
2296         * text3.C: remove LFUN_INSET_MINIPAGE
2297
2298 2003-12-28  Angus Leeming  <leeming@lyx.org>
2299
2300         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2301
2302 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2303
2304         * text2.C (setParagraph): fix off-by-one crash
2305
2306 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2307
2308         * output_docbook.C: header stuff for AGU
2309
2310 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2311
2312         * text2.C (redoCursor): remove
2313         * text.C:
2314         * text3.C:
2315         * BufferView_pimpl.C: remove calls to redoCursor and
2316         setCursor(cursor.par(), cursor.pos()) all around
2317
2318 2003-12-15  Angus Leeming  <leeming@lyx.org>
2319
2320         * buffer.C: up the format to 228.
2321
2322 2003-12-15  André Pönitz  <poenitz@gmx.net>
2323
2324         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2325         slices
2326
2327         * Makefile.am:
2328
2329         * BufferView_pimpl.C:
2330         * cursor.[Ch]:
2331         * lyxcursor.[Ch]:
2332         * rowpainter.[Ch]:
2333         * lyxtext.h:
2334         * text.C:
2335         * text2.C:
2336         * text3.C: adjust
2337
2338 2003-12-15  Angus Leeming  <leeming@lyx.org>
2339
2340         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2341         than getFromGUIName to manipulate the color.
2342
2343 2003-12-14  Angus Leeming  <leeming@lyx.org>
2344
2345         * BranchList.[Ch]: minimize the API.
2346         (Branch::getBranch, getColor): now return a 'const &'.
2347         (Branch::setSelected) now returns a bool set to true if the
2348         selection status changes.
2349         (BranchList::clear, size, getColor, setColor, setSelected,
2350         allBranches, allSelected, separator): removed.
2351         (BranchList::find): new functions, returning the Branch with
2352         the given name.
2353         (BranchList::add, remove): return a bool indicating that
2354         the operation was successful.
2355
2356         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2357         new InsetBranch::isBranchSlected member function.
2358
2359         * LColor.[Ch]: mimimize the API.
2360         (fill): renamed as addColor and made private.
2361         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2362         versions of these functions taking a string arg have been removed.
2363
2364         * bufferparams.C (readToken):
2365         * lyxfunc.C (dispatch):
2366         * lyxrc.C (read): changes due to the altered BranchList and
2367         LColor APIs.
2368
2369         * factory.C (createInset, readInset): changes due to altered
2370         InsetBranch c-tor.
2371
2372 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2373
2374         * factory.C:
2375         * lyxfunc.C: remove insetminipage. "minipage-insert"
2376         now produces a frameless minipage box inset.
2377
2378 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2379
2380         * textcursor.[Ch] (selStart,selEnd): add new methods
2381         remove selection::start, end, use LyXCursor::operator<
2382         * lyxcursor.[Ch] (operator<): add
2383         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2384         * BufferView.[Ch] (unsetXSel): add
2385         * text2.C (clearSelection): use unsetXSel,adjust
2386         * text.C: adjust
2387         * text3.C: adjust
2388         * rowpainter.C: adjust
2389         * bufferview_funcs.C (put_selection_at): adjust
2390
2391 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2392
2393         * BufferView_pimpl.C: small coord. correction
2394
2395 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2396
2397         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2398         dragging over the splash screen.
2399
2400 2003-12-11  Angus Leeming  <leeming@lyx.org>
2401
2402         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2403         as it is now handled in LyXText::dispatch.
2404
2405         * text3.C (doInsertInset): remove a level of nesting.
2406
2407 2003-12-11  Angus Leeming  <leeming@lyx.org>
2408
2409         * factory.C (createInset): changes due to the changed interface to
2410         InsetCommandMailer::string2params.
2411
2412 2003-12-10  Angus Leeming  <leeming@lyx.org>
2413
2414         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2415         'dialog-show-new-inset <inset name>'
2416
2417 2003-12-10  Angus Leeming  <leeming@lyx.org>
2418
2419         * buffer.C: up the format to 227.
2420
2421         * factory.C: the box inset is now identified simply by 'Box'.
2422
2423 2003-12-10  Angus Leeming  <leeming@lyx.org>
2424
2425         * buffer.C: up the format to 226.
2426
2427         * factory.C: the note inset is now identified simply by 'Note'.
2428
2429 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2430
2431         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2432         when a pit is enough. Standarize a couple of loops.
2433
2434 2003-12-05  Angus Leeming  <leeming@lyx.org>
2435
2436         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2437         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2438         data to the re-worked "log" dialog.
2439
2440 2003-12-03  André Pönitz  <poenitz@gmx.net>
2441
2442         * PosIterator.C:
2443         * iterators.C:
2444         * lyxtext.h:
2445         * output_latex.C:
2446         * paragraph_funcs.C:
2447         * text.C:
2448         * text2.C: use Inset::getText instead of Inset::getParagraph
2449
2450 2003-12-03  André Pönitz  <poenitz@gmx.net>
2451
2452         * buffer.[Ch]:
2453         * lyxtext.h:
2454         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2455         InsetText::read() as LyXText::read()
2456
2457 2003-12-02  Angus Leeming  <leeming@lyx.org>
2458
2459         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2460         type. Add a comment in the implementation that the function uses
2461         the stream's bad() function rather than fail() as the std::streams
2462         would do.
2463
2464 2003-12-02  André Pönitz  <poenitz@gmx.net>
2465
2466         * lyxlex.[Ch]: make interface more similar to std::stream
2467
2468         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2469
2470 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2471
2472         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2473
2474 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2475
2476         * vspace.[Ch]: remove VSpace::NONE
2477
2478 2003-12-01  André Pönitz  <poenitz@gmx.net>
2479
2480         * buffer.[Ch]:
2481         * lyxtext.h: move ParagraphList member to LyXText
2482         rename LyXText::ownerParagraphs to LyXText::paragraph
2483
2484         * CutAndPaste.C:
2485         * bufferview_funcs.C:
2486         * iterators.[Ch]:
2487         * lyx_cb.C:
2488         * paragraph.C:
2489         * rowpainter.C:
2490         * tabular.C:
2491         * text.C:
2492         * text2.C:
2493         * text3.C: adjust
2494
2495         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2496
2497         * undo.C: fix cursor positioning
2498
2499 2003-12-01  John Levon  <levon@movementarian.org>
2500
2501         * BufferView_pimpl.C: fix a crash on exit with
2502         a buffer open
2503
2504 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2505
2506         * BranchList.C: fix setSelected() method.
2507
2508 2003-11-28  André Pönitz  <poenitz@gmx.net>
2509
2510         * ParagraphParameters.[Ch]:
2511         * ParameterStruct.h: remove space above/below from Paragraph to
2512          InsetVSpace
2513
2514         * BufferView_pimpl.C:
2515         * factory.C:
2516         * lyxfunc.C:
2517         * lyxtext.h:
2518         * output_latex.C:
2519         * paragraph.C:
2520         * paragraph_funcs.C:
2521         * rowpainter.[Ch]:
2522         * text.C:
2523         * text2.C:
2524         * text3.C: adjust
2525
2526 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2527
2528         * factory.C: Syntax change for CharStyles
2529
2530 2003-11-28  André Pönitz  <poenitz@gmx.net>
2531
2532         * BufferView.[Ch]:
2533         * BufferView.[Ch]:
2534         * buffer.[Ch]:
2535         * buffer.[Ch]: move LyXText member
2536
2537 2003-11-28  André Pönitz  <poenitz@gmx.net>
2538
2539         * BufferView.[Ch]: make LyXText * text a private member
2540
2541         * BufferView_pimpl.C:
2542         * cursor.C:
2543         * iterators.C:
2544         * lyx_cb.C:
2545         * lyxfind.C:
2546         * lyxtext.h:
2547         * rowpainter.[Ch]:
2548         * text.C:
2549         * text2.C:
2550         * undo.C: adjust
2551
2552         * output_plaintext.C: cleanup
2553
2554 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2555
2556         * buffer.C:
2557         * lyxtextclass.[Ch]: parametrize SGML document header
2558
2559 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2560
2561         * converter.[Ch]:
2562         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2563         getFlavor().
2564
2565 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2566
2567         * text2.C (setFont): rework using PosIterator (no more recursive)
2568         (setCharFont): no more needed
2569         (setLayout): no more selection cursors fiddling (done by redoCursor)
2570         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2571         destroy remaining ones)
2572
2573 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2574
2575         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2576         * lyxtext.h: ditto
2577         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2578         selection cursors
2579         * lyxfunc.C: adjust
2580         * text3.C: adjust + re-allow multi par depth changes
2581         * textcursor.C: simplify a bit
2582
2583 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2584
2585         * src/buffer.C:
2586         * src/lyxlayout.C:
2587         * src/lyxlayout.h:
2588         * src/lyxtext.h:
2589         * src/output_docbook.C:
2590         * src/output_latex.C:
2591         * src/paragraph.C:
2592         * src/paragraph.h:
2593         * src/sgml.C:
2594         * src/sgml.h:
2595         * src/text2.C: Introducing a number of tags parametrizing various
2596         XML formats that we may want to support
2597
2598 2003-11-25  André Pönitz  <poenitz@gmx.net>
2599
2600         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2601
2602         * lyxtext.h (leftMargin/rightMargin): simplify interface
2603
2604         * rowpainter.C:
2605         * text.C:
2606         * text2.C:
2607         * text3.C: adjust
2608
2609 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2610
2611         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2612         master file to any child files. Fixes bug 546.
2613
2614 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2615
2616         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2617
2618 2003-11-24  André Pönitz  <poenitz@gmx.net>
2619
2620         * rowpainter.C: simplification
2621
2622         * text2.C (updateCounters): remove call to redoParagraph on
2623         changed labels as this is far too expensive.
2624
2625 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2626
2627         * converter.C (convert): fix a crash: this function gets
2628         called with buffer == 0 from importer code.
2629
2630 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2631
2632         * text3.C (cursorPrevious): make sure that we do not compare
2633         iterators form different containers.
2634         (cursorNext): ditto
2635
2636         * rowpainter.C (paintSelection): make sure that we do not compare
2637         iterators from different containers.
2638
2639         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2640         iterators from different ParagraphList containers.
2641         [NEXT] ditto
2642
2643         * text2.C (LyXText): change order of initialization slightly
2644         (operator=): new function. copy all variables except cache_par_
2645         (moveUp): make sure that we do not compare iterators from
2646         different ParagraphList constainers.
2647         (moveDown): ditto
2648
2649         * text.C (firstPar): new function
2650         (lastPar): new function
2651         (endPar): new function
2652
2653         * lyxtext.h: move things around and group public functions, public
2654         variables, private functions, private variables
2655
2656 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2657
2658         * factory.C: change call to InsetERT constructor to avoid
2659         additional invocation of method status
2660         * text2.C (toggleInset): remove redundant update() call
2661         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2662         instead of a Bufferview pointer
2663
2664 2003-11-21  André Pönitz  <poenitz@gmx.net>
2665
2666         * rowpainter.C: simplification
2667
2668 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2669
2670         * text3.C (dispatch): make possible to extend a word/row selection
2671         with the mouse
2672
2673 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2674
2675         * lyxtext.h: x0_,y0_ -> xo_,yo_
2676         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2677         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2678         * rowpainter.C (paintRows): paint full paragraphs
2679
2680 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2681
2682         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2683         screen coordinates)
2684
2685 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2686
2687         * lyxtext.h: add x0_, y0_
2688         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2689         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2690
2691 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2692
2693         * text2.C (setCursorIntern): move the x_target update here *
2694         * text3.C: change some bv() to true/false in calls to
2695         cursorUp/Down/Right/Left
2696         * cursor.C: use helper function.
2697
2698 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2699
2700         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2701         * paragraph_funcs.[Ch]: correct comment
2702         * rowpainter.C: do not paint selections away from bv->cursor()
2703         Fix a long standing selection painting bug.
2704         * text3.C: generalize mouse-selection code to LyXTexts other that
2705         top one
2706         * textcursor.C: do not use y coords if we can use par offsets
2707
2708 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2709
2710         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2711         cursor position after e.g. inset insert)
2712
2713 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2714
2715         * lyxfind.C (replace): adjust to locking removal + some
2716         code simplification
2717
2718 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2719
2720         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2721         of the path
2722
2723 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2724
2725         * lyxlayout.[Ch]:
2726         * output_docbook.C: XML sanitation: new layout
2727         parameters InnerTag and CommandDepth
2728
2729 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2730
2731         * BufferView_pimpl.C:
2732         * factory.C:
2733         * text3.C: Fix the insertion and modification of button-style
2734         insets
2735
2736 2003-11-13  André Pönitz  <poenitz@gmx.net>
2737
2738         * InsetList.[Ch]: remove deleteLyXText
2739
2740         * paragraph.[Ch]: cache beginOfBody position
2741
2742         * Bidi.C:
2743         * text.C:
2744         * text2.C:
2745         * text3.C: remove superfluous update() calls
2746
2747         * vspace.C: cleanup
2748
2749 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2750
2751         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2752         * BufferView.C (fitLockedInsetCursor): remove
2753         * cursor.[Ch] (getDim): add
2754         * text.C (getRowNearY): add faster version
2755         * text3.C: remove some update calls
2756
2757 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2758
2759         * LaTeXFeatures.C:
2760         * LyXAction.C:
2761         * MenuBackend.C:
2762         * MenuBackend.h:
2763         * dispatchresult.h:
2764         * factory.C:
2765         * lfuns.h:
2766         * lyxfunc.C:
2767         * lyxtextclass.C:
2768         * lyxtextclass.h:
2769         * text3.C: The Character Style /XML short element patch.
2770
2771 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2772
2773         * text3.C:
2774         * factory.C: Small step to solving 'unable to insert some insets'
2775         problem
2776
2777 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2778
2779         * cursor.[Ch] (updatePos): new function for updating the y
2780         position of the tip inset
2781         * bufferview_funcs.C (put_selection_at):
2782         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2783
2784 2003-11-11  André Pönitz  <poenitz@gmx.net>
2785
2786         * text.C: remove big comment on invalid Paragraph pointers as it is
2787         not valid anymore
2788
2789 2003-11-11  André Pönitz  <poenitz@gmx.net>
2790
2791         * text_funcs.[Ch]: merge with ...
2792
2793         * text.C: ... this
2794
2795         * lyxtext.h:
2796         * text2.C:
2797         * text3.C: adjust
2798
2799         * Makefile.am: remove text_funcs.[Ch]
2800
2801 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2802
2803         * cursor.C (getPos): return absolute cached y coord
2804
2805         * BufferView_pimpl.C (fitCursor): new simplistic code
2806         (workAreaDispatch): add a fitCursor call
2807
2808 2003-11-10  André Pönitz  <poenitz@gmx.net>
2809
2810         * BufferView.[Ch]:
2811         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2812
2813 2003-11-10  André Pönitz  <poenitz@gmx.net>
2814
2815         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2816         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2817         indicate that the cursor needs to leave an inset
2818
2819         * lyxtext.h: remove inset locking
2820
2821         * cursor.[Ch]: re-implement functionality provided by inset locking
2822
2823         * BufferView.[Ch]:
2824         * BufferView_pimpl.[Ch]:
2825         * LyXAction.C:
2826         * bufferview_funcs.[Ch]:
2827         * factory.C:
2828         * funcrequest.[Ch]:
2829         * iterators.C:
2830         * lyx_cb.C:
2831         * lyxfind.C:
2832         * lyxfunc.C:
2833         * text.C:
2834         * text2.C:
2835         * text3.C:
2836         * undo.C: adjust
2837
2838 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2839
2840         * PosIterator.[Ch]: replace the stack with a vector, add inset
2841         accesor
2842         * iterators.[C]: adjust
2843
2844 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2845
2846         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2847         replaced
2848         * paragraph_funcs.C (readParToken): put the correct id in the
2849         error item, not the id of the top paragraph
2850
2851 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2852
2853         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2854         * bufferview_funcs.C (put_selection_at): use the above
2855
2856 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2857
2858         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2859
2860 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2861
2862         * output_linuxdoc.h:
2863         * output_plaintext.h:
2864         * output.h:
2865         * output_docbook.h: add #include statements
2866
2867 2003-11-05  José Matos  <jamatos@lyx.org>
2868
2869         * output_docbook.[Ch]:
2870         * output_latex.[Ch]:
2871         * output_linuxdoc.[Ch]:
2872         * output_plaintext.[Ch]: New files for output formats.
2873         * output.[Ch]: New file for helper functions.
2874
2875         * buffer.[Ch]:
2876         * paragraph_funcs.[Ch]: output functions moved to new files.
2877
2878         * outputparams.h: rename of latexrunparams.h
2879
2880         * LaTeX.[Ch]:
2881         * buffer.[Ch]:
2882         * bufferlist.[Ch]:
2883         * converter.[Ch]:
2884         * exporter.C:
2885         * paragraph.[Ch]:
2886         * paragraph_funcs.[Ch]:
2887         * paragraph_pimpl.[Ch]:
2888         * tabular.[Ch]: rename ascii to plaintext
2889         and LatexRunParams to OutputParams.
2890
2891 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2892
2893         * iterators.[Ch] (text): require bv argument
2894         * undo.C (recordUndo):
2895         * lyxfunc.C (dispatch):
2896         * bufferview_funcs.C (put_selection_at): adjust
2897
2898 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2899
2900         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2901
2902 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2903
2904         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2905         nestings
2906
2907 2003-11-04  André Pönitz  <poenitz@gmx.net>
2908
2909         * cursor.[Ch]: restructure
2910
2911         * BufferView.[Ch]:
2912         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2913
2914         * iterators.[Ch] (asCursor): remove
2915
2916         * lfuns.h: remove LFUN_INSET_EDIT
2917
2918         * lyxfunc.C:
2919         * tabular.C:
2920         * text.C:
2921         * text2.C:
2922         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2923
2924 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2925
2926         * lyxfind.[Ch]: complete overhaul
2927         * BufferView_pimpl.C:
2928         * lyxfunc.C: adjust
2929         * paragraph.[Ch] (insert): add
2930
2931 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2932
2933         * BufferView.[Ch]:
2934         * lyxtext.h:
2935         * text.C: remove dead spellcheck code
2936
2937 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2938
2939         * dispatchresult.h: add a val setter
2940
2941         * cursor.C (dispatch): use a tempvar for data_[i]
2942
2943 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2944
2945         * PosIterator.[Ch]: compile fix
2946
2947 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2948
2949         * text.C (cursorPar): deactivate the cursor cache
2950
2951 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2952
2953         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2954
2955 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2956
2957         * text3.C (dispatch): adjust for new DisptchResult semantics.
2958
2959         * lyxfunc.C (dispatch): handle update when return from
2960         Cursor::dispatch, adjust for new DispatchResult semantics.
2961
2962         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2963         DispatchResult(true) mean to not update. Add class functions for
2964         setting dispatched and update, as well as reading.
2965
2966         * cursor.C (dispatch): don't handle update here
2967
2968 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2969
2970         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2971         * trans_mgr.C: adjust
2972
2973         * paragraph_funcs.C (readParToken): exception safety
2974
2975         * lyxvc.h: store the vcs pointer in a scoped_ptr
2976         * lyxvc.C: adjust
2977
2978         * lyxsocket.C (serverCallback): exception safety
2979
2980         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2981
2982         * ispell.C (clone): make it return a auto_ptr
2983
2984         * factory.C (createInset): exception safety
2985         (readInset): exception safety
2986
2987         * bufferlist.C (newBuffer): exception safety
2988
2989         * Thesaurus.C (Thesaurus): use initialization for aik_
2990
2991         * MenuBackend.C (expandToc): exception safety.
2992
2993 2003-11-03  André Pönitz  <poenitz@gmx.net>
2994
2995         * buffer.C:
2996         * buffer.h:
2997         * bufferview_funcs.C: remove getInsetFromId()
2998
2999         * lyxcursor.[Ch]:
3000         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3001
3002         * lyxfunc.C:
3003         * text2.C:
3004         * text3.C: adjust
3005
3006 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
3007
3008         * PosIterator.C (distance, advance): new
3009         * bufferview_funcs.[Ch] (put_selection_at): new
3010         * iterators.[Ch] (lockPath): new
3011
3012 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
3013
3014         * iterators.[Ch] (asPosIterator): added
3015         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3016         * PosIterator.[Ch]: added
3017
3018 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3019
3020         * text3.C:
3021         * lyxfunc.C:
3022         * cursor.C (dispatch):
3023         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3024
3025         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3026         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3027         contructor, add a class function dispatched. Remove operator>=
3028
3029 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3030
3031         * debug.C: only use the default constructor for debugstream
3032         (lyxerr) here.
3033
3034         * main.C (main): include debug.h and setup the lyxerr streambuf
3035         here.
3036
3037 2003-10-31  José Matos  <jamatos@lyx.org>
3038
3039         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3040
3041         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3042         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3043         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3044         * paragraph_pimpl.C (simpleTeXSpecialC):
3045         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3046         add LatexRunParams argument.
3047
3048         * exporter.C (Export): change call accordingly.
3049
3050         * latexrunparams.h: add new member to take care of the other backends.
3051 2003-10-30  José Matos  <jamatos@lyx.org>
3052
3053         * buffer.C (makeLinuxDocFile, makeDocBookFile):
3054         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3055         factorise code for paragraph output.
3056         * buffer.[Ch]:
3057         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3058         move functions.
3059
3060 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3061
3062         * text3.C (dispatch):
3063         * lyxfunc.C (dispatch):
3064         * cursor.C (dispatch):
3065         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3066
3067         * dispatchresult.h: make the dispatch_result_t ctor explicit
3068
3069 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3070
3071         * sgml.[Ch]:
3072         * buffer.C: small refactoring of docbook stuff
3073
3074 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3075
3076         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3077         meaning.
3078
3079 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3080
3081         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3082         operator dispatch_result_t, and operators for == != and >=
3083
3084         * cursor.C (dispatch): adjust for operator dispatch_result_t
3085         removal. comment out call to update
3086
3087         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3088
3089 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3090
3091         * text3.C:
3092         * text2.C:
3093         * text.C:
3094         * lyxtext.h:
3095         * lyxfunc.C:
3096         * cursor.C:
3097         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3098         (dispatch):
3099
3100         * dispatchresult.h: new file, DispatchResult broken out of
3101         insets/insetbase.h
3102
3103         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3104
3105 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3106
3107         * text.C (rowBreakPoint): put a hack inside #if 0
3108
3109 2003-10-28  André Pönitz  <poenitz@gmx.net>
3110
3111         * lyxtext.h:
3112         * metricsinfo.C:
3113         * paragraph_funcs.C:
3114         * rowpainter.C:
3115         * text.C:
3116         * text2.C: general cleanup (lots of small stuff)
3117
3118 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3119
3120         * text2.C (cursorEnd): simple fix to the "end key goes to one
3121         before the end on last row" bug
3122
3123 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3124
3125         * text.C (backspace): fix the "zombie characters"
3126
3127 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3128
3129         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3130
3131 2003-10-27  André Pönitz  <poenitz@gmx.net>
3132
3133         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3134
3135         * factory.C: handle new InsetPagebreak, InsetLine
3136
3137         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3138         and move handling into new InsetPagebreak, InsetLine
3139
3140         * BufferView_pimpl.C:
3141         * LyXAction.C:
3142         * ParagraphParameters.C:
3143         * ParameterStruct.h:
3144         * lyxfunc.C:
3145         * lyxtext.h:
3146         * paragraph.C:
3147         * paragraph.h:
3148         * paragraph_funcs.C:
3149         * paragraph_pimpl.C:
3150         * rowpainter.C:
3151         * text.C:
3152         * text2.C:
3153         * text3.C: adjust
3154
3155 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3156
3157         * text.C:
3158         * lyxrow_funcs.[Ch]:
3159         * Bidi.C:
3160         * paragraph.C:
3161         * lyxtext.h:
3162         * rowpainter.C:
3163         * text2.C:
3164         * text3.C: remove lastPos uses in favour of Row::endpos
3165
3166 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3167
3168         * undo.C (performUndoOrRedo): fix two crashes by setting a
3169         cursor by hand and reordering some calls. Use bv->lockInset instead
3170         of inset->edit because the latter loses cursor information
3171
3172 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3173
3174         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3175         by Martin
3176         (rowBreakPoint): fix width. change point to point + 1.
3177         Add a missing check.
3178
3179 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3180
3181         * MenuBackend.C:
3182         * lyxfunc.C: fix (at least partly) the problems
3183         with the Nav menu and headers inside branch insets
3184         reported by Kayvan
3185
3186 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3187
3188         * paragraph.C (getChar): add strong asserts
3189
3190         * lyxrow_funcs.C (lastPos): remove hideous hack
3191
3192         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3193         (fill): adjust to that (avoid an infinite loop)
3194
3195 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3196
3197         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3198
3199 2003-10-23  André Pönitz  <poenitz@gmx.net>
3200
3201         * RowList_fwd.h: change list<> to vector<> to gain speed
3202         after suggestion from Alfredo
3203
3204 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3205
3206         * lyxtext.h: move the bidi stuff from here...
3207         * text.C: and here
3208         * text2.C: and here
3209         * Bidi.[Ch]: ... to here
3210
3211 2003-10-23  André Pönitz  <poenitz@gmx.net>
3212
3213         * lyxtext.h:
3214         * text.C (isLastRow, isFirstRow): new functions
3215
3216         * paragraph.h: new width cache member
3217
3218         * rowpainter.C: replace RowList::iterator with Row & where possible
3219
3220         * lyxfunc.C: replace several view()->text with a single call
3221
3222         * toc.C: fix 'unused' warning
3223
3224 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3225
3226         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3227         when woring with stream::pos_type
3228         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3229
3230 2003-10-22  André Pönitz  <poenitz@gmx.net>
3231
3232         * lyxtext.h:
3233         * text.C: use Row & instead of RowList::iterator
3234
3235         * lyxrow.h: rename end() to endpos()
3236
3237         * rowpainter.C:
3238         * text.C:
3239         * text2.C: adjust
3240
3241 2003-10-22  Angus Leeming  <leeming@lyx.org>
3242
3243         * buffer.[Ch] (fully_loaded): new member function, returning true
3244         only when the file has been loaded fully.
3245         Used to prevent the premature generation of previews and by the
3246         citation inset to prevent computation of the natbib-style label.
3247
3248         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3249         templates are all set up.
3250
3251         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3252
3253 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3254
3255         * text.C: fixed an "oops" in the "is a bit silly"
3256         bug fix
3257
3258 2003-10-21  André Pönitz  <poenitz@gmx.net>
3259
3260         * FuncStatus.[Ch]: small stuff, whitespace
3261
3262         * lyxfont.[Ch]: operator<<() for debug reasons
3263
3264         * lyxfunc.C:
3265         * lyxrow_funcs.C:
3266         * lyxtext.h: whitespace, spelling
3267
3268         * paragraph.C: naming of variables
3269
3270         * text.C:
3271         * text2.C: small stuff
3272
3273
3274 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3275
3276         * text.C: (1) finish off the inset display() work;
3277         (2) fix the "is a bit silly" bug (accessing char
3278         past end of par).
3279
3280 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3281
3282         * text.C: re-introduce display() for insets, fixing the
3283         various bugs (stretch of line above, math inset
3284         positioning, ...)
3285
3286 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3287
3288         * text.C (rightMargin): remove spurious semicolon
3289
3290         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3291         1415)
3292
3293 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3294
3295         * text3.C: fix one crash due to wrong cursor def
3296
3297 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3298
3299         * vc-backend.C (scanMaster): make the regex static
3300
3301         * LaTeX.C (scanAuxFile): make the regexs static
3302
3303         * text3.C (doInsertInset, dispatch, dispatch):
3304         * text2.C (cursorUp, cursorDown):
3305         * text.C (selectNextWordToSpellcheck):
3306         * BufferView_pimpl.C (dispatch):
3307         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3308
3309 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3310
3311         * lyxsocket.C: include <cerrno>
3312
3313 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3314
3315         * lyxfunc.C (dispatch): remove textcache stuff
3316
3317         * bufferlist.C (release): remove textcache stuff
3318         (closeAll): ditto
3319
3320         * TextCache.C: delete file
3321         * TextCache.h: delete file
3322
3323         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3324
3325         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3326         delete of the bv_->text.
3327         (resizeCurrentBuffer): remove texcache stuff
3328         (workAreaResize): ditto
3329
3330 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3331
3332         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3333         action.
3334
3335 2003-10-16  André Pönitz  <poenitz@gmx.net>
3336
3337         * lyxrow.[Ch]:
3338         * paragraph.h:
3339         * rowpainter.C:
3340         * text.C:
3341         * text2.C:
3342         * text3.C: speed up by storing y positions per paragraph plus per-row
3343         offset instead of having a 'full' y position in the row.
3344
3345 2003-10-15  André Pönitz  <poenitz@gmx.net>
3346
3347         * iterators.[Ch]:
3348         * iterators.[Ch]:
3349         * undo.[Ch]: make undo aware of inner insets
3350
3351 2003-10-14  Angus Leeming  <leeming@lyx.org>
3352
3353         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3354         static member functions LyX::ref() and LyX::cref.
3355         (lastfiles): new accessor functions for the new lastfiles_ member var.
3356         (addLyXView, views_): add a new LyXView to the list of views_.
3357         (updateInset): loop over all LyXViews to call their own updateInset
3358         member function, returning a pointer to the Buffer owning the inset.
3359
3360         * BufferView_pimpl.C (loadLyXFile):
3361         * MenuBackend.C (expandLastfiles):
3362         * bufferlist.C (MenuWrite, QuitLyX):
3363         lastfiles is no longer a global variable.
3364         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3365
3366         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3367         static function. Access through LyX::cref().emergencyCleanup().
3368
3369 2003-10-14  André Pönitz  <poenitz@gmx.net>
3370
3371         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3372
3373         * undo.[Ch]: restoring part of 'undo in insets'
3374
3375         * Makefile.am:
3376         * undo_funcs.[Ch]: merge with undo.[Ch]
3377
3378         * tabular.C: small cleansing stuff
3379
3380 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3381
3382         * paragraph_funcs.C (readParToken): report unknown insets as error
3383         boxes. Use the outer paragraph as location (also for unknown
3384         tokens).
3385
3386         * factory.C (readInset): do not abort on reading an unknown inset.
3387         Eat it and return 0.
3388
3389 2003-10-13  Angus Leeming  <leeming@lyx.org>
3390
3391         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3392
3393         * lyxrc.C: displayTranslator is now a function,
3394         declared in GraphicsTypes.h.
3395
3396 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3397
3398         * format.C: new placeholder $$a to pass the socket address.
3399
3400         * bufferlist.[Ch]: new function getBufferFromTmp.
3401
3402         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3403           files in the temporary dir.
3404
3405 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3406
3407         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3408
3409         * Makefile.am: add lyxsocket.[Ch].
3410
3411         * lyx_main.C (error_handler): handle SIGPIPE.
3412
3413 2003-10-13  André Pönitz  <poenitz@gmx.net>
3414
3415         * BufferView_pimpl.C:
3416         * lyxtext.h:
3417         * text.C:
3418         * text2.C:
3419         * text3.C:
3420         * undo_funcs.[Ch]: use paroffset_type instead of
3421           ParagraphList::iterators to prevent multiple conversion
3422           (and get a more robust interface)
3423
3424 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3425
3426         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3427         * lyxtext.h: ditto
3428         * text3.C (dispatch): ditto
3429
3430 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3431
3432         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3433         move the onlyfile, use onlyfile instead of foundfile in a couple
3434         of places.
3435
3436         * DepTable.C (update): flush the error stream a bit more
3437
3438 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3439
3440         * lyxserver.C (callback): adjust
3441
3442         * lyxfunc.C (getStatus): add a missing brace in commented code
3443         (ensureBufferClean): reindent
3444         (dispatch): delete version taking a string
3445
3446 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3447
3448         * LaTeX.C (deplog): move found file handlig from here...
3449         (handleFoundFile): .. to new function here.
3450         (deplog): make sure to discover several files mentioned on the
3451         same log line.
3452
3453 2003-10-10  André Pönitz  <poenitz@gmx.net>
3454
3455         * lyxfunc.C:
3456         * lyxtext.h:
3457         * tabular.C:
3458         * text.C:
3459         * text2.C:
3460         * text3.C: fix some of the tabular crashes
3461
3462 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3463
3464         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3465
3466         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3467
3468 2003-10-09  André Pönitz  <poenitz@gmx.net>
3469
3470         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3471
3472         * BufferView.C:
3473         * BufferView_pimpl.C:
3474         * bufferview_funcs.C:
3475         * lyx_cb.C:
3476         * lyxcursor.C:
3477         * lyxfind.C:
3478         * lyxfunc.C:
3479         * lyxtext.h:
3480         * text.C:
3481         * text2.C:
3482         * text3.C:
3483         * text_funcs.[Ch]:
3484         * textcursor.[Ch]:
3485         * undo_funcs.C: adjust
3486
3487 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3488
3489         * text2.C (incrementItemDepth): new function, use a backtracking
3490         algorithm to discover the correct item depth.
3491         (resetEnumCounterIfNeeded): new function, use a backtracking
3492         algorithm to discover if counter reset is needed.
3493         (setCounter): use them. Simplify a bit. Add different labels for
3494         different item depths for itemize.
3495
3496         * paragraph.C (Paragraph): remove initialization of enumdepth
3497         (operator=): ditto
3498
3499         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3500         enumerate and itemize. Change the type of itemdepth to signed char.
3501
3502 2003-10-08  André Pönitz  <poenitz@gmx.net>
3503
3504         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3505           thing assignable.
3506         * text.C:
3507         * text2.C: adjust
3508
3509         * tabular.[Ch]: fix crash after 'row-insert'
3510
3511 2003-10-08  Angus Leeming  <leeming@lyx.org>
3512
3513         Fix doxygen warnings.
3514
3515         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3516         Remove CutAndPaste:: prefix from header file declaration.
3517
3518         * LColor.h (fill): remove LColor:: prefix from declaration.
3519
3520         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3521         use lyx::depth_type rather than Paragraph::depth_type so that
3522         header file and .C file match.
3523
3524         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3525
3526         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3527         * aspell.C: \file aspell_local.C -> \file aspell.C
3528         * gettext.C: \file gettext.C -> \file src/gettext.C
3529         * gettext.h: \file gettext.h -> \file src/gettext.h
3530         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3531         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3532         * text.C: \file text.C -> \file src/text.C
3533
3534         * toc.C: move comment so that doxygen is not confused.
3535
3536 2003-10-07  Angus Leeming  <leeming@lyx.org>
3537
3538         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3539
3540 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3541
3542         * aspell.C:
3543         * aspell_local.h: add forgotten std::string's.
3544
3545 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3546
3547         * LaTeXFeatures.C:
3548         * LyXAction.C:
3549         * factory.C:
3550         * lfuns.h:
3551         * lyxfunc.C:
3552         * text3.C: The Box patch. Fancybox support, minipage, parbox
3553
3554 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3555
3556         * CutAndPaste.h:
3557         * DepTable.h:
3558         * FloatList.h:
3559         * LaTeXFeatures.h:
3560         * ParagraphParameters.h:
3561         * TextCache.h:
3562         * Thesaurus.h:
3563         * bufferlist.h:
3564         * exporter.h:
3565         * importer.h:
3566         * lastfiles.h:
3567         * lyxfind.h:
3568         * lyxfont.h:
3569         * lyxlex.h:
3570         * lyxtextclasslist.h:
3571         * messages.h:
3572         * paragraph.h:
3573         * paragraph_pimpl.C:
3574         * textcursor.h: add <string> and other small fixes to make Lars'
3575         std::string patch compile with STLport.
3576
3577 2003-10-06  Angus Leeming  <leeming@lyx.org>
3578
3579         * LColor.h: Add missing #include <string>.
3580
3581 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3582
3583         * All most all file in all subdirs: Make <string> be the prefered
3584         way of getting to std::string, add using declarations.
3585
3586 2003-10-06  André Pönitz  <poenitz@gmx.net>
3587
3588         * metricsinfo.C: initialize LyXFont before changing attribute.
3589         (fixes the 'math in \emph is upright' bug)
3590
3591 2003-10-06  André Pönitz  <poenitz@gmx.net>
3592
3593         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3594
3595 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3596
3597         * graph.C:
3598         * paragraph_pimpl.C: Small fixes to build using STLport
3599
3600 2003-10-02  André Pönitz  <poenitz@gmx.net>
3601
3602         * lyxfunc.C:
3603         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3604
3605 2003-10-01  André Pönitz  <poenitz@gmx.net>
3606
3607         * factory.C: assert early
3608
3609 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3610
3611         * lyx_main.C: remove the global debug object
3612
3613         * debug.h: adjust for new debugstream
3614
3615         * debug.C: adjust for new debugstream and keep the global debug
3616         object here.
3617
3618 2003-09-22  Angus Leeming  <leeming@lyx.org>
3619
3620         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3621         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3622         an incomplete class LyXFont.
3623
3624 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3625
3626         * factory.C: bug fix in branches
3627
3628 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3629
3630         * lyxfunc.C (processKeySym): adjust
3631         (dispatch): adjust
3632         (dispatch): change arg name from ev to func, adjust
3633         (sendDispatchMessage): ditto
3634
3635         * lyx_main.C (defaultKeyBindings): adjust keybindings
3636         (deadKeyBindings): ditto
3637
3638         * kbsequence.C (addkey): return a FuncRequest
3639
3640         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3641
3642         * kbmap.C (bind): take a FuncRequest as arg, adjust
3643         (read): adjust
3644         (lookup): adjust
3645         (defkey): change to take a FuncRequest as arg, adjust
3646         (findbinding): take a FuncRequest as arg, adjust.
3647
3648         * funcrequest.h (operator=): added
3649
3650         * funcrequest.C (FuncRequest): default kb_action changed from
3651         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3652
3653         * buffer.C (dispatch): simplify
3654         (dispatch): adjust to take a FuncRequest as arg, adjust
3655
3656         * boost.C (assertion_failed): change assertion message slightly
3657
3658         * ToolbarBackend.C (read): simplify
3659
3660         * MenuBackend.C (binding): adjust call to findbinding, add a
3661         message if no binding is found.
3662         (read): simplify
3663         (expandToc): correct by adding a empty FuncRequest
3664
3665         * LyXAction.C: include <boost/assert.hpp>
3666         (isPseudoAction): delete function
3667         (LookupFunc): change name to...
3668         (lookupFunc): this. change return type to FuncRequest.
3669         (getActionName): take kb_action as arg, simplify
3670         (funcHasFlag): add an assert, simplify.
3671
3672 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3673
3674         * toc.C (action): return a FuncRequest, simplify
3675
3676         * lyxfunc.C (processKeySym): adjust
3677         (getStatus): delete version that takes an int.
3678         (getStatus): adjust
3679         (dispatch): delete version that takes action as int
3680         (dispatch): adjust
3681         (sendDispatchMessage): simplify and adjust
3682
3683         * funcrequest.C (getArg): take unsigned int as arg
3684
3685         * ToolbarBackend.C (read): adjust
3686         (add): delete version that takes func as a string.
3687         (getIton): take a FuncRequest as arg
3688
3689         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3690         action.
3691
3692         * MenuBackend.C (MenuItem): add a new construct that only takes a
3693         Kind, simplify the constructor use for submenus.
3694         (add): adjust
3695         (expandLastfiles): adjust
3696         (expandDocuments): adjust
3697         (expandFormats): adjust
3698         (expandFloatListInsert): adjust
3699         (expandFloatInsert): adjust
3700         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3701
3702         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3703         Remove class variables lyx_pseudo_map and lyx_arg_map
3704
3705         * LyXAction.C (searchActionArg): delete function
3706         (getPseudoAction): delete function
3707         (retrieveActionArg): delete function
3708         (LookupFunc): make it return kb_action, simplify.
3709         (getActionName): simplify
3710
3711         * factory.C (createInset): fix new bug
3712
3713 2003-09-19  Angus Leeming  <leeming@lyx.org>
3714
3715         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3716         masterFilename_ parameter in the include inset.
3717
3718         * factory.C (createInset): changes due to the changes to InsetInclude.
3719
3720 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3721
3722         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3723
3724 2003-09-18  Angus Leeming  <leeming@lyx.org>
3725
3726         * buffer.C:
3727         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3728         Inset::fillWithBibKeys.
3729         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3730
3731 2003-09-18  Angus Leeming  <leeming@lyx.org>
3732
3733         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3734         variables.
3735         (ctor): pass and store a 'Buffer const &'
3736         (buffer): new member function.
3737
3738         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3739         '*this' to the LaTeXFeatures ctor.
3740
3741 2003-09-18  Angus Leeming  <leeming@lyx.org>
3742
3743         * LColor.h:
3744         * lyxfont.C:
3745         * lyxfont.h:
3746         * lyxtext.h:
3747         * text.C: rename EnumLColor as LColor_color.
3748
3749 2003-09-18  Angus Leeming  <leeming@lyx.org>
3750
3751         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3752         remove #include "insets/insetbase.h" from cursor.h.
3753
3754 2003-09-18  Angus Leeming  <leeming@lyx.org>
3755
3756         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3757         InsetOld_code to remove #include "inset.h".
3758
3759         * iterators.C: add #include "insets/inset.h"
3760
3761 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3762
3763         * BufferView.C: remove more locking stuff that apparently doesn't
3764         do anything sensible.
3765
3766 2003-09-16  André Pönitz  <poenitz@gmx.net>
3767
3768         * paragraph.[Ch]:
3769         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3770           performance boost.
3771
3772 2003-09-16  Angus Leeming  <leeming@lyx.org>
3773
3774         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3775
3776         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3777         arg/return type.
3778
3779         * paragraph.h: remove #include "lyxfont.h". Forward declare
3780         LyXFont_size.
3781
3782 2003-09-16  Angus Leeming  <leeming@lyx.org>
3783
3784         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3785         of support/textutils.h.
3786         (isWord): move the contents of support/textutils.h's IsWordChar here.
3787
3788         * buffer.C:
3789         * lyxfind.C:
3790         * rowpainter.C:
3791         * text.C:
3792         * text2.C: add #include "paragraph.h".
3793
3794         * rowpainter.C:
3795         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3796
3797 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3798
3799         * main.C:
3800         * lyx_main.C:
3801         * lyx_cb.C:
3802         * buffer.C:
3803         * LaTeX.C: use namespace alias for lyx::support::os
3804
3805 2003-09-16  Angus Leeming  <leeming@lyx.org>
3806
3807         * bufferparams.C:
3808         * bufferview_funcs.C:
3809         * factory.C:
3810         * lyxfunc.C:
3811         * paragraph_pimpl.C:
3812         * rowpainter.C:
3813         * text.C: add #include "LColor.h".
3814
3815 2003-09-16  Angus Leeming  <leeming@lyx.org>
3816
3817         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3818         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3819         return LyXFont &.
3820         Store the FontBits::color variable as an int rather than as an
3821         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3822         file.
3823
3824         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3825         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3826         string calls together.
3827
3828         * lyxrc.C: add #include "LColor.h".
3829
3830 2003-09-15  Angus Leeming  <leeming@lyx.org>
3831
3832         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3833         a cow_ptr.
3834
3835 2003-09-15  Angus Leeming  <leeming@lyx.org>
3836
3837         * LColor.h: add an EnumLColor wrapper for LColor::color.
3838
3839         * lyxfont.[Ch] (color, setColor, realColor):
3840         * lyxtext.h, text.C (backgroundColor):
3841         pass EnumLColor args to/from the functions, rather than LColor::color
3842         ones.
3843
3844         * lyxfont.h:
3845         * lyxtext.h: forward declare EnumLColor.
3846
3847         * lyx_main.C: add #include "LColor.h".
3848
3849 2003-09-15  Angus Leeming  <leeming@lyx.org>
3850
3851         * .cvsignore: add lyx-gtk.
3852
3853 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3854
3855         * Chktex.C
3856         * LaTeX.C
3857         * LaTeXFeatures.C
3858         * ParagraphParameters.C
3859         * Spacing.C
3860         * buffer.C
3861         * bufferparams.C
3862         * bufferview_funcs.C
3863         * chset.C
3864         * counters.C
3865         * funcrequest.C
3866         * lyxfont.C
3867         * lyxgluelength.C
3868         * lyxlength.C
3869         * paragraph.C
3870         * paragraph_funcs.C
3871         * text3.C
3872         * vc-backend.C: remove usage of STRCONV
3873
3874 2003-09-15  Angus Leeming  <leeming@lyx.org>
3875
3876         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3877         explicitly define the color passed to the painter.
3878
3879 2003-09-15  Angus Leeming  <leeming@lyx.org>
3880
3881         * bufferparams.C (BufferParams): reorder member initializers to avoid
3882         compiler warning.
3883
3884 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3885
3886         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3887         * text.C (updateRowPositions): remove an unusual nop
3888
3889 2003-09-12  André Pönitz  <poenitz@gmx.net>
3890
3891         * BufferView_pimpl.C:
3892         * Bullet.C:
3893         * layout.h:
3894         * lyxfunc.C:
3895         * lyxlayout.[Ch]:
3896         * lyxtextclass.C:
3897         * rowpainter.C:
3898         * text.C:
3899         * text2.C:
3900         * Counters.[Ch]: finish the 'automatic counters' job
3901
3902 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3903
3904         * aspell.C: include <boost/assert.cpp> (compile fix)
3905
3906 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3907
3908         * boost.C (assertion_failed): use lyx::support::abort instead of
3909         assert.
3910
3911 2003-09-10  Angus Leeming  <leeming@lyx.org>
3912
3913         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3914         with their _fwd progeny.
3915
3916 2003-09-09  Angus Leeming  <leeming@lyx.org>
3917
3918         134 files throughtout the source tree: replace 'using namespace abc;'
3919         directives with the appropriate 'using abc::xyz;' declarations.
3920
3921 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3922
3923         * boost.C (emergencyCleanup): moved here from LAssert.c
3924         (assertion_failed): new function, called by BOOST_ASSERT
3925
3926         * several files: change Assert to BOOST_ASSERT
3927
3928 2003-09-09  Angus Leeming  <leeming@lyx.org>
3929
3930         * buffer.[Ch]: Add an Impl class and move Buffer's member
3931         variables into it. As a result move several header files out of
3932         buffer.h.
3933
3934         Add header files to lots of .C files all over the tree as a result.
3935
3936 2003-09-09  Angus Leeming  <leeming@lyx.org>
3937
3938         * buffer.[Ch]: make Buffer's member variables private. Add
3939         accessor functions.
3940
3941         Lots of changes all over the tree as a result.
3942
3943 2003-09-08  Angus Leeming  <leeming@lyx.org>
3944
3945         * graph.C: #include <config.h>.
3946
3947 2003-09-08  Angus Leeming  <leeming@lyx.org>
3948
3949         * BranchList.C:
3950         * BufferView.C:
3951         * BufferView_pimpl.C:
3952         * CutAndPaste.C:
3953         * DepTable.C:
3954         * LaTeX.C:
3955         * LaTeXFeatures.C:
3956         * LyXAction.C:
3957         * MenuBackend.C:
3958         * TextCache.C:
3959         * aspell.C:
3960         * buffer.C:
3961         * bufferlist.C:
3962         * changes.C:
3963         * chset.C:
3964         * converter.C:
3965         * counters.C:
3966         * debug.C:
3967         * graph.C:
3968         * ispell.C:
3969         * lyx_cb.C:
3970         * lyxfind.C:
3971         * lyxfunc.C:
3972         * lyxlex_pimpl.C:
3973         * lyxrc.C:
3974         * lyxrow.C:
3975         * paragraph.C:
3976         * rowpainter.C:
3977         * texrow.C:
3978         * text.C:
3979         * text2.C:
3980         * toc.C: remove redundant using directives.
3981
3982 2003-09-07  Angus Leeming  <leeming@lyx.org>
3983
3984         * LaTeXFeatures.h: remove #include "support/types.h".
3985         * ToolbarBackend.h: remove #include <algorithm>.
3986         * changes.h: remove #include <ctime>.
3987         * debug.h: remove #include <iosfwd>.
3988         * graph.h: remove #include "support/std_string.h".
3989         * lyx_main.h: remove #include <csignal>.
3990         * lyxlex_pimpl.h: remove #include <fstream>.
3991         * sgml.h: remove #include <algorithm>, <utility>.
3992         * toc.h: remove #include "support/std_ostream.h".
3993         Add #include <iosfwd>.
3994
3995 2003-09-07  Angus Leeming  <leeming@lyx.org>
3996
3997         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3998
3999         * converter.h: forward declare LatexRunParams.
4000         * encoding.h: remove #include "lyxrc.h".
4001         * lyxtext.h: remove #include "LColor.h".
4002         * lyxtextclass.h: remove #include "support/types.h".
4003         * trans.h: remove #include "tex-accent.h".
4004         * trans_mgr.h: remove #include "tex-accent.h".
4005         * insets/inset.h: remove #include "support/types.h", <vector>.
4006         * insets/insetcollapsable.h: remove #include "LColor.h".
4007         * insets/insetinclude.h: remove #include "dimension.h".
4008         * insets/insetlatexaccent.h: remove #include "dimension.h".
4009         * insets/insetoptarg.h:: remove #include "insettext.h".
4010         * insets/insettext.h: remove #include "dimension.h",
4011         <boost/shared_ptr.hpp>
4012
4013         * insets/renderers.h: add #include "dimension.h".
4014         * insets/updatableinset.h: add #include "support/types.h".
4015
4016         * many .C files: Associated changes.
4017
4018 2003-09-06  Angus Leeming  <leeming@lyx.org>
4019
4020         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4021         one, inside testInvariant.
4022
4023         * PrinterParams.C: new file.
4024         * PrinterParams.[Ch]: move the function bodies out of line.
4025
4026 2003-09-06  Angus Leeming  <leeming@lyx.org>
4027
4028         * ParagraphParameters.h: forward declare ParameterStruct rather than
4029         including its header file.
4030         (depth): moved out-of-line.
4031
4032 2003-09-06  Angus Leeming  <leeming@lyx.org>
4033
4034         * BufferView_pimpl.h:
4035         * kbmap.h:
4036         * kbsequence.h:
4037         * lyxfunc.h: forward declare LyXKeySym rather than
4038         #include "frontends/LyXKeySym.h".
4039
4040         * BufferView_pimpl.C:
4041         * kbmap.C:
4042         * kbsequence.C:
4043         * lyxfunc.C: associated changes.
4044
4045 2003-09-06  Angus Leeming  <leeming@lyx.org>
4046
4047         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4048         As a result, can remove the #include "insets/inset.h" from BufferView.h
4049
4050 2003-09-06  Angus Leeming  <leeming@lyx.org>
4051
4052         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4053         As a result, can remove the #include "insets/inset.h" from BufferView.h
4054
4055 2003-09-06  Angus Leeming  <leeming@lyx.org>
4056
4057         * buffer_funcs.C:
4058         * buffer.h:
4059         * bufferlist.C:
4060         * BufferView.C:
4061         * bufferview_funcs.C:
4062         * BufferView_pimpl.C:
4063         * CutAndPaste.C:
4064         * lyx_cb.C:
4065         * lyxfunc.C:
4066         * paragraph.h:
4067         * ParagraphParameters.C:
4068         * tabular.C:
4069         * text3.C:
4070         * toc.C:
4071         * undo_funcs.C:
4072         * frontends/controllers/ControlDocument.C:
4073         * insets/insetcaption.C: rearrange the #includes into some sort of
4074         coherent order.
4075
4076         * buffer.h: remove #includes ErrorList.h, undo.h
4077
4078 2003-09-06  Angus Leeming  <leeming@lyx.org>
4079
4080         * support/types.h: add a 'depth_type' typedef, used to store the
4081         nesting depth of a paragraph.
4082
4083         * paragraph.h:
4084         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4085         defining explicitly.
4086
4087         * buffer.h:
4088         * paragraph_funcs.h:
4089         * ParagraphParameters.h:
4090         * sgml.h: use lyx::depth_type rather than Paragraph or
4091         ParameterStruct's depth_type.
4092
4093         * buffer.h
4094         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4095
4096         * BufferView.C:
4097         * BufferView_pimpl.C:
4098         * CutAndPaste.C:
4099         * ParagraphParameters.C:
4100         * buffer_funcs.C:
4101         * bufferlist.C:
4102         * bufferview_funcs.C:
4103         * lyx_cb.C:
4104         * lyxfunc.C:
4105         * tabular.C:
4106         * text3.C:
4107         * toc.C:
4108         * undo_funcs.C:
4109         * frontends/LyXView.C:
4110         * frontends/controllers/ControlDocument.C:
4111         * frontends/controllers/ControlErrorList.C:
4112         * insets/insetbibitem.C:
4113         * insets/insetbranch.C:
4114         * insets/insetcaption.C:
4115         * insets/insetcollapsable.C:
4116         * insets/insetenv.C:
4117         * insets/insetert.C:
4118         * insets/insetfloat.C:
4119         * insets/insetfoot.C:
4120         * insets/insetfootlike.C:
4121         * insets/insetnewline.C:
4122         * insets/insetquotes.C:
4123         * insets/insettabular.C:
4124         * insets/insettext.C:
4125         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4126
4127         * frontends/controllers/ControlChanges.C: #include "changes.h".
4128
4129 2003-09-06  Angus Leeming  <leeming@lyx.org>
4130
4131         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4132         than #including paragraph.h.
4133
4134         * ParagraphList.h:
4135         * RowList.h: deleted. Superfluous.
4136
4137         * CutAndPaste.h:
4138         * iterators.h:
4139         * lyxcursor.h:
4140         * lyxtext.h:
4141         * text_funcs.h:
4142         * undo.h:
4143         * undo_funcs.h:
4144         * insets/inset.h:
4145         * insets/insettext.h: use ParagraphList_fwd.h rather than
4146         ParagraphList.h.
4147
4148         * paragraph.h: don't forward declare ParagraphList.
4149
4150         * buffer.h:
4151         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4152         rather than ParagraphList.h. paragraph.h is still needed for the
4153         Paragraph::depth_type parameters.
4154
4155         * textcursor.h: enable it to compile stand-alone in light of the
4156         above changes.
4157
4158         * bufferview_funcs.C:
4159         * iterators.C:
4160         * lyxfunc.C:
4161         * lyxrow_funcs.C:
4162         * paragraph.C:
4163         * rowpainter.C:
4164         * text.C:
4165         * text2.C:
4166         * text3.C:
4167         * text_funcs.C:
4168         * textcursor.C:
4169         * undo.C:
4170         * frontends/controllers/ControlParagraph.C:
4171         * frontends/controllers/ControlTabular.C:
4172         * insets/insetmarginal.C:
4173         * insets/insetminipage.C:
4174         * insets/insetnote.C:
4175         * insets/insetoptarg.C: add header files needed to compile again.
4176
4177 2003-09-06  Angus Leeming  <leeming@lyx.org>
4178
4179         * RowList_fwd.h: new file, forward-declaring Row rather than
4180         #including lyxrow.h.
4181
4182         * lyxrow_funcs.h:
4183         * lyxtext.h:
4184         * paragraph.h:
4185         * insets/insettext.h: use it instead of RowList.h
4186
4187         * bufferview_funcs.C:
4188         * lyxfunc.C:
4189         * lyxrow_funcs.C:
4190         * paragraph.C:
4191         * rowpainter.C:
4192         * text.C:
4193         * text2.C:
4194         * text3.C: #include "RowList.h".
4195
4196 2003-09-05  Angus Leeming  <leeming@lyx.org>
4197
4198         * factory.C (createInset):
4199         * vspace.C (c-tor): replace sscanf call with an istringstream.
4200         * ispell.C: re-add missing HP/UX headers.
4201         * lyxserver.C: re-add missing  os2 headers.
4202
4203 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4204
4205         * BranchList.C:
4206         * graph.C:
4207         * ispell.C:
4208         * lastfiles.C:
4209         * lyx_cb.C:
4210         * lyxserver.C:
4211         * texrow.C:
4212         * text3.C: re-add missing system headers, needed for 2.95.2.
4213
4214 2003-09-05  Angus Leeming  <leeming@lyx.org>
4215
4216         Changes most place everywhere due to the removal of using directives
4217         from support/std_sstream.h.
4218
4219 2003-09-05  Angus Leeming  <leeming@lyx.org>
4220
4221         Replace LString.h with support/std_string.h,
4222         Lsstream.h with support/std_sstream.h,
4223         support/LIstream.h with support/std_istream.h,
4224         support/LOstream.h with support/std_ostream.h.
4225
4226         Changes resulting throughout the tree.
4227
4228 2003-09-05  Angus Leeming  <leeming@lyx.org>
4229
4230         * sgml.h: ensure that the header file can be compiled stand-alone.
4231         * *.C: strip out redundant #includes. (320 in total.)
4232
4233 2003-09-04  Angus Leeming  <leeming@lyx.org>
4234
4235         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4236         here (from getPackages).
4237
4238         * debug.[Ch]: add a new EXTERNAL tag.
4239
4240 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4241
4242         * text2.C (cursorEnd): simplify
4243         (setCursor): adjust
4244         (getColumnNearX): adjust
4245
4246         * text.C (computeBidiTables): adjust
4247         (fill): adjust
4248
4249         * rowpainter.C (paintChars): adjust
4250         (paintSelection): adjust
4251         (paintChangeBar): adjust
4252         (paintText): adjust
4253
4254         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4255         lastPos instead.
4256         (numberOfSeparators): adjust
4257
4258 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4259
4260         * LyXAction.C:
4261         * box.[Ch]:
4262         * lfuns.h:
4263         * lyxfunc.C:
4264         * text3.C: Restricts the mouse click functionality
4265         of insets like bibtex, include, toc and floatlist to the visible
4266         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4267         up the dialogs. Cursor has to be in front of the inset (i.e.
4268         start of row) for this to function.
4269
4270 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4271
4272         * bufferview_funcs.C (currentState): output row information
4273
4274 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4275
4276         * bufferview_funcs.C (currentState): output paragraph position
4277
4278 2003-09-04  Angus Leeming  <leeming@lyx.org>
4279
4280         * FloatList.h: move out #include "Floating.h".
4281         * LaTeX.h: move out #include "DepTable.h".
4282         * LyXAction.h: move out #include "funcrequest.h".
4283         * buffer.h: move out #include "author.h", "iterators.h".
4284         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4285         * lyx_main.h: move out #include "errorlist.h".
4286         * lyxfunc.h: move out #include "FuncStatus.h".
4287         * lyxtext: move out #include "lyxcursor.h".
4288         * paragraph_pimpl.h: move out #include "counters.h".
4289
4290 2003-09-03  Angus Leeming  <leeming@lyx.org>
4291
4292         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4293         preamble_snippets list, enabling us to add snippets to the preamble
4294         only if the snippet was not there already.
4295
4296 2003-09-04  Angus Leeming  <leeming@lyx.org>
4297
4298         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4299
4300 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4301
4302         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4303         update
4304
4305 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4306
4307         * BranchList.C: point fix, earlier forgotten
4308
4309 2003-09-02  Angus Leeming  <leeming@lyx.org>
4310
4311         * box.C (contains): renamed from 'contained' after a fantastic
4312         amount of hot air.
4313
4314 2003-09-02  John Levon  <levon@movementarian.org>
4315
4316         * BufferView.C:
4317         * lyxcursor.h:
4318         * lyxcursor.C:
4319         * lyxfunc.C:
4320         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4321
4322 2003-09-02  John Levon  <levon@movementarian.org>
4323
4324         * text2.C: simplification of cursorEnd(), including partial
4325         fix for bug 1376
4326
4327 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4328
4329         * buffer.C (readFile): add a space
4330
4331 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4332
4333         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4334
4335 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4336
4337         * buffer.C (readFile): new function, take a filename and a
4338         ParagraphList::iterator
4339         (readFile): adjust
4340         (readFile): adjust, make it private. don't use setStream, make
4341         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4342         always contain the filename.
4343
4344         * BufferView.C (insertLyXFile): simplify and make it work for
4345         gzipped files.
4346
4347 2003-08-30  John Levon  <levon@movementarian.org>
4348
4349         * Makefile.am: fix dist (from Kayvan)
4350
4351 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4352
4353         * most files: change to use const Buffer refs
4354
4355 2003-08-27  André Pönitz  <poenitz@gmx.net>
4356
4357         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4358         on top of ownerPar().
4359
4360 2003-08-27  John Levon  <levon@movementarian.org>
4361
4362         * funcrequest.C: properly initialise POD members
4363
4364 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4365
4366         * lyxtext.h (top_y): move top_y from here
4367         * text.C:
4368         * text2.C:
4369         * text3.C:
4370         * BufferView.[Ch]:
4371         * BufferView_pimpl.[Ch]: to here
4372         * frontends/screen.C:
4373         * insets/insettabular.C:
4374         * insets/insettext.C: adjust
4375         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4376
4377 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4378
4379         * BufferView.[Ch]:
4380         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4381
4382 2003-08-26  André Pönitz  <poenitz@gmx.net>
4383
4384         * paragraph_func.[Ch] (outerPar): new function
4385
4386         * paragraph.C:
4387         * paragraph_funcs.C:
4388         * paragraph_funcs.h:
4389         * paragraph_pimpl.C:
4390         * text2.C: remove Inset::par_owner
4391
4392 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4393
4394         * lyxrow_funcs.C:
4395         * lyxtext.h:
4396         * text.C:
4397         * text2.C: eliminates the needFullRow/display() stuff
4398         altogether, putting the logic in metrics/draw in the insets.
4399
4400 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4401
4402         * text2.C (redoParagraphInternal, redoParagraphs):
4403         * text.C (redoParagraph): add a call to updateRowPositions at the
4404         end of each 'metrics-like' call. Remove all others.
4405         (getRow): remove the 'y-computing' version.
4406         (getRowNearY): do not compute nor return the real y. Solve the
4407         'y < 0' problem and simplify.
4408
4409 2003-08-22  Angus Leeming  <leeming@lyx.org>
4410
4411         * *.[Ch]: clean-up of licence and author blurbs.
4412         Also move config.h out of a few .h files and into a few .C files.
4413
4414 2003-08-22  André Pönitz  <poenitz@gmx.net>
4415
4416         * lyxrow.[Ch]: add x_ and *fill_ members
4417
4418         * lyxtext.h:
4419         * text.C:
4420         * rowpainter.C:
4421         * text2.C: adjust/remove prepareToPrint() calls
4422
4423 2003-08-22  André Pönitz  <poenitz@gmx.net>
4424
4425         * lyxrow.[Ch]: add  end_ member
4426
4427         * lyxrow_funcs.C: use LyXRow::end_
4428
4429         * lyxtext.h (singleWidth): add LyXFont parameter
4430
4431         * rowpainter.C:
4432         * text2.C: adjust LyXText::singleWidth() calls
4433
4434         * text.C (redoParagraph): simplify row breaking logic
4435
4436
4437 2003-08-19  André Pönitz  <poenitz@gmx.net>
4438
4439         * funcrequest.C: initialize button_ member
4440
4441         * text3.C:
4442         * rowpainter.[Ch]: interface consolidation
4443
4444 2003-08-18  André Pönitz  <poenitz@gmx.net>
4445
4446         * BufferView.C:
4447         * BufferView_pimpl.C:
4448         * lyxfind.C:
4449         * paragraph_funcs.C:
4450         * rowpainter.C:
4451         * text3.C: remove LyXScreen::draw() and fitCursor calls
4452
4453         * BranchList.h: remove spurious semicolons
4454
4455         * MenuBackend.C: fix branchlist related crash
4456
4457 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4458
4459         * BranchList.[Ch]:
4460         * InsetList.[Ch]:
4461         * LColor.[Ch]:
4462         * LyXAction.C:
4463         * Makefile.am:
4464         * MenuBackend.[Ch]:
4465         * bufferparams.[Ch]:
4466         * factory.C:
4467         * lfuns.h:
4468         * lyxfunc.C:
4469         * text3.C: implements the 'branch inset'
4470         idea. This allows the output of various versions of a document
4471         from a single source version, selectively outputing or suppressing
4472         output of parts of the text.
4473         This implementation contains a 'branch list editor' in a separate
4474         tab of the document settings dialog. Branches are user definable
4475         and have a "display colour" to distinguish them on-screen.
4476
4477         ColorHandler was somewhat cleaned up.
4478         (1) make possible a dynamically growing LColor list by allowing
4479         the graphic context cache to grow along (vector);
4480         (2) eliminate an IMHO unnecessary step in colour allocation.
4481
4482 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4483
4484         * BufferView_pimpl.C: compile fix
4485
4486 2003-08-15  André Pönitz  <poenitz@gmx.net>
4487
4488         * rowpainter.C: remove extra metrics calls
4489
4490         * lyxtext.h: merge the two constructors into a single one,
4491           pass reference to owner's par list
4492
4493         * BufferView_pimpl.C:
4494         * text.C:
4495         * text2.C: adjust
4496
4497 2003-08-15  André Pönitz  <poenitz@gmx.net>
4498
4499         * lyxrow_funcs.[Ch]:
4500         * lyxtext.h:
4501         * paragraph.h:
4502         * paragraph_funcs.C:
4503         * rowpainter.C:
4504         * text.C:
4505         * text2.C:
4506         * text3.C:
4507         * text_funcs.C: split LyXText::rowlist_ into individual
4508         Paragraph::rows_ chunks
4509
4510         * BufferView.[Ch]:
4511         * BufferView_pimpl.[Ch]:
4512         * lyxfind.C:
4513         * lyxtext.h:
4514         * text3.C: remove toggleSelection()
4515
4516 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4517
4518         * bufferlist.C: beautify two alerts (shorter text of buttons)
4519         * buffer.C: Remove redundant ' ' from message
4520         * tabular.h:
4521         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4522         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4523         rename VALIGN_CENTER to VALIGN_MIDDLE
4524
4525 2003-08-11  André Pönitz  <poenitz@gmx.net>
4526
4527         * lyxtext.h (getPar):
4528         * text.C: new function
4529
4530 2003-08-11  André Pönitz  <poenitz@gmx.net>
4531
4532         * Makefile.am:
4533         * tracer.[Ch]: remove unneeded files
4534
4535         * InsetList.[Ch]: remove resizeInsetsLyXText()
4536
4537         * lyxtext.h:
4538         * text.C:
4539         * text2.C:
4540         * text3.C: merge insertParagraphs() and appendParagraph()
4541         remove breakAgain(), update()
4542
4543         * BufferView_pimpl.[Ch]:
4544         * bufferview_funcs.[Ch]:
4545         * lyxfunc.C:
4546         * paragraph.[Ch]:
4547         * rowpainter.C:
4548         * tabular.C: adjust after text & InsetList changes.
4549
4550 2003-08-08  André Pönitz  <poenitz@gmx.net>
4551
4552         * text.C (insertChar, backspace): replace rowlist fiddling
4553         with rebreak of full par
4554
4555         * lyxtext.h:
4556         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4557         checkParagraph, updateInset): removed
4558
4559 2003-08-07  André Pönitz  <poenitz@gmx.net>
4560
4561         * paragraph.C:
4562         * text3.C: merge some LFUN handlers, remove dead code
4563
4564 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4565
4566         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4567
4568 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4569
4570         * text2.C (DEPM): fix part of bug 1255 and 1256
4571
4572 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4573
4574         * BufferView_pimpl.C (workAreaDispatch): change to use
4575         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4576         that are no mouse related.
4577
4578 2003-08-05  André Pönitz  <poenitz@gmx.net>
4579
4580         * BufferView.[Ch]:
4581         * BufferView_pimpl.[Ch]:
4582         * bufferview_funcs.C:
4583         * text2.C:
4584         * text3.C: rip out "deep update"
4585
4586         * textcursor.[Ch] (last_sel_cursor): remove unused member
4587
4588 2003-08-04  André Pönitz  <poenitz@gmx.net>
4589
4590         * BufferView.[Ch]:
4591         * BufferView_pimpl.[Ch]:
4592         * ParagraphParameters.C:
4593         * bufferview_funcs.C:
4594         * lyx_cb.C:
4595         * lyxfind.C:
4596         * lyxfunc.C:
4597         * text.C:
4598         * text2.C:
4599         * text3.C: replace "complicated" BufferView::update(...) calls with
4600         simpler ones.
4601
4602         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4603
4604 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4605
4606         * Makefile.am (lyx_SOURCES): add paper.h
4607
4608 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4609
4610         * Makefile.am: move things around so that both lyx-qt and
4611         lyx-xforms can be built (according to --with-frontend). Then lyx
4612         is a symbolic link to lyx-[firstfrontend]
4613
4614 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4615
4616         * Always use std::endl with lyxerr
4617
4618 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4619
4620         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4621
4622 2003-08-01  André Pönitz  <poenitz@gmx.net>
4623
4624         * BufferView.[Ch]:
4625         * BufferView_pimpl.[Ch]:
4626         * lyxfunc.C:
4627         * text3.C: merge BufferView::repaint() and BufferView::update()
4628
4629 2003-08-01  José Matos  <jamatos@lyx.org>
4630
4631         * buffer.[Ch]: file_format is no longer a buffer data element.
4632
4633 2003-08-01  André Pönitz  <poenitz@gmx.net>
4634
4635         * BufferView.C:
4636         * lyxtext.h:
4637         * text.C:
4638         * text2.C: make redoParagraph more independent of current cursor
4639
4640         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4641         * text.C:
4642         * text2.C: remove unneeded members
4643
4644 2003-07-30  André Pönitz  <poenitz@gmx.net>
4645
4646         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4647
4648         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4649           create a single function...
4650
4651         * paragraph_funcs.C (moveItem): ... here.
4652
4653         * text.C:
4654           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4655
4656 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4657
4658         * LColor.[Ch]: Add comment and greyedout logical colors.
4659
4660 2003-07-30  André Pönitz  <poenitz@gmx.net>
4661
4662         * tabular.C: don't use Assert too heavily. This crashes where it
4663           shouldn't
4664
4665 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4666
4667         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4668         is disabled (bug 1232)
4669
4670 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4671
4672         * factory.C: limited 'arg' scope
4673
4674 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4675
4676         * factory.C: fixed Note submenu issues
4677
4678 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4679
4680         * factory.C: submenu for Note/Comment/Greyedout
4681
4682 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4683
4684         * lyx_main.C (LyX):
4685         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4686
4687 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4688
4689         * LaTeXFeatures.C:
4690         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4691         greyedout. Patch provided by Jürgen Spitzmüller.
4692
4693 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4694
4695         * kbmap.C (read): fix error message when reading bind files
4696
4697 2003-07-29  Angus Leeming  <leeming@lyx.org>
4698
4699         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4700         certainly does not do what it purports to do. I am doing it, and
4701         us, a favour by killing it.
4702
4703 2003-07-28  José Matos  <jamatos@lyx.org>
4704
4705         * buffer.C (readBody, do_writeFile):
4706         * paragraph.C(readParagraph): \end_document replaces \the_end.
4707
4708 2003-07-29  André Pönitz  <poenitz@gmx.net>
4709
4710         * BufferView.[Ch]:
4711         * BufferView_pimpl.[Ch]:
4712         * lyxfunc.C:
4713         * text2.C:
4714         * text3.C:
4715         * textcursor.[Ch]: remove toggleToggle & Co
4716
4717 2003-07-28  José Matos  <jamatos@fep.up.pt>
4718
4719         * buffer.C (readParagraph):
4720         * params_func (readParToken, readParagraph):
4721         * paragraph.C (write): \layout -> \begin_layout.
4722
4723 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4724
4725         * lyxlex_pimpl.C (setFile): clean up slightly.
4726
4727         * bufferparams.h: add compressed var
4728
4729         * buffer_funcs.C (readFile): adjust for LyXLex change
4730         (newFile): ditto + simplify
4731
4732         * buffer.C (writeFile): handle writing of compressed files
4733
4734         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4735         Check if the file is compressed and set a bufferparm if so.
4736
4737         * Makefile.am (lyx_LDADD): remove explicit -lz
4738
4739 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4740
4741         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4742         makeDocBookFile): put the real LyX version in the first line of
4743         the file
4744
4745         * version.h:
4746         * version.C.in: remove lyx_docversion
4747
4748         * tabular.C (write_attribute): add a template-based version to
4749         write enums properly
4750
4751 2003-07-28  André Pönitz  <poenitz@gmx.net>
4752
4753         * lyxtext.h:
4754         * text.C:
4755         * text2.C:
4756         * text3.C: use doubles again for x-coordinates. They are needed.
4757
4758 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4759
4760         * messages.C (getLocaleDir): use lyx_localedir()
4761
4762         * lyxlex_pimpl.C (setFile): compress stuff
4763
4764         * buffer.C (writeFile): add some compression stuff
4765         (do_writeFile): new func, dont call expliti close... will this
4766         breake anything?
4767
4768         * Makefile.am (lyx_LDADD): add -lz
4769
4770 2003-07-28  José Matos  <jamatos@fep.up.pt>
4771
4772         * buffer.C: increment file format.
4773         * paragraph_funcs (readParagraph, readParToken):
4774         * paragraph.C (readParagraph): add \end_layout.
4775
4776 2003-07-27  Angus Leeming  <leeming@lyx.org>
4777
4778         * Makefile.am: remove special casing for configure-time setting of
4779         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4780
4781         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4782         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4783
4784 2003-07-26  André Pönitz  <poenitz@gmx.net>
4785
4786         * paragraph_func.[Ch]:
4787         * paragraph.C (realizeFont): inline it whereever it is used
4788
4789         * rowpainter.C:
4790         * text.C:
4791         * text2.C:
4792         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4793
4794
4795 2003-07-26  André Pönitz  <poenitz@gmx.net>
4796
4797         *       lyxtext.h:
4798         * text.C:
4799         * text2.C: get rid of LyXText::need_break_row
4800
4801 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4802
4803         * toc.[Ch]: put namespace toc inside namespace lyx
4804
4805         * MenuBackend.C (expandToc2): adjust for lyx::toc
4806         (expandToc): ditto
4807
4808         * lyxfunc.C (dispatch): adjust for lyx::find
4809
4810         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4811         lyx::find instead. Reorganize a bit.
4812         (LyXReplace): rename to replace
4813         (LyXFind): rename to find
4814
4815         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4816         (dispatch): ditto
4817
4818 2003-07-26  André Pönitz  <poenitz@gmx.net>
4819
4820         * text.C (setHeightOfRow): restrict scope of temporary variable
4821
4822         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4823           code (never has been used?)
4824
4825 2003-07-27  Asger Alstrup  <alstrup@local>
4826
4827         * text.C (fill): Optimise algorithm to exploit that we can reuse
4828         the LyXFont for many characters.
4829         (setHeightOfRow): Same thing.
4830         (rowBreakPoint): Same thing.
4831
4832 2003-07-26  Asger Alstrup  <alstrup@local>
4833
4834         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4835
4836         * text.C (singleWidth): Spurious font copying in hot-spot
4837         singleWidth avoided. Reorder tests for arabic for efficiency.
4838
4839         * text.C (fill): handle empty paragraphs better.
4840
4841 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4842
4843         * ispell.C:
4844         * encoding.h: add includes
4845
4846         * lyxrc.C: remove reading of bind files
4847
4848         * lyx_main.C (init): setup bindings and menus only if we have a
4849         gui.
4850
4851         * kbmap.C (read): new method. Do the actual reading of bind
4852         files.
4853
4854         * converter.C (dvipdfm_options):
4855         * bufferparams.C:
4856         * lyxrc.C (read):
4857         (output): adapt PAPER_* enums.
4858
4859         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4860
4861         * bufferparams.h: remove paper-related enums from there
4862
4863         * paper.h: New file. A trivial header file to hold paper-related
4864         enums. It should later expand to contain many paper-related
4865         horrors access.
4866
4867         * lyxrc.C: declare extern displayTranslator
4868
4869 2003-07-27  José Matos  <jamatos@fep.up.pt>
4870
4871         * tabular.[Ch] (linuxdoc): add support for tables and figures
4872         (linuxdoc).
4873
4874 2003-07-27  José Matos  <jamatos@fep.up.pt>
4875
4876         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4877         consistency in both functions.
4878         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4879
4880 2003-07-26  Asger Alstrup  <alstrup@local>
4881
4882         * rowpainter.C (paintRows): Change algorithm to work directly on
4883         the insets rather than asking every character in the document
4884         whether its an inset.
4885
4886 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4887
4888         * buffer.C (openFileWrite): factorize some code
4889
4890 2003-07-26  Angus Leeming  <leeming@lyx.org>
4891
4892         * lyx_cb.C:
4893         * lyx_main.[Ch]: replace occurances of system_tempdir with
4894         os::getTmpDir().
4895
4896 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4897
4898         * rename Inset to InsetOld
4899
4900 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4901
4902         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4903         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4904         which I think is a bit clearer. EDIT is gone, since it was
4905         premature optimisation, and broken for mathed anyway.
4906         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4907         with cursor positioning in insets as well (math insets still do not
4908         work, but that's a different story anyway.) It mysteriously
4909         crashes sometimes with undo in the first paragraph, but I'm fairly
4910         confident that this is a compiler bug.
4911
4912 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4913
4914         * paragraph.C (Paragraph): adjust for new clone return type
4915         (operator==): ditto
4916         (copyIntoMinibuffer): ditto
4917
4918 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4919
4920         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4921         by not having a special case, and always doing a full rebreak of
4922         the document after undo.
4923
4924 2003-07-23  Angus Leeming  <leeming@lyx.org>
4925
4926         * factory.C (createInset): InsetExternal::setParams now takes a
4927         Buffer const * arg.
4928
4929 2003-07-23  Angus Leeming  <leeming@lyx.org>
4930
4931         * factory.C (createInset): changed interface to the external and
4932         graphics mailers' string2params functions.
4933
4934 2003-07-23  Angus Leeming  <leeming@lyx.org>
4935
4936         * factory.C (createInset): pass a
4937         Buffer const * parameter to InsetExternalMailer's string2params.
4938
4939 2003-07-22  John Levon  <levon@movementarian.org>
4940
4941         * Thesaurus.h: include the right aiksaurus header
4942
4943 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4944
4945         * MenuBackend.C (expand): check menu shortcuts unconditionally
4946
4947 2003-07-21  Angus Leeming  <leeming@lyx.org>
4948
4949         * factory.C (createInset): pass a
4950         buffer_path parameter to InsetGraphicsMailer's string2params.
4951
4952 2003-07-21  Angus Leeming  <leeming@lyx.org>
4953
4954         * BufferView_pimpl.C (buffer):
4955         * buffer.C (d-tor):
4956         * lyx_main.C (LyX):
4957         * lyxfunc.C (dispatch):
4958         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4959         rather than the grfx shortcut.
4960
4961 2003-07-21  André Pönitz  <poenitz@gmx.net>
4962
4963         * rowpainter.C: remove unused variables
4964
4965         * tabular_funcs.C:
4966         * tabular_funcs.h: move to tabular.C
4967         * Makefile.am: adjust
4968
4969         * tabular.[Ch]: basic optical cleaning
4970
4971         * author.h: pass references, not values
4972
4973 2003-07-18  André Pönitz  <poenitz@gmx.net>
4974
4975         * lyxtext.h:
4976         * metricsinfo.C:
4977         * metricsinfo.h:
4978         * rowpainter.C:
4979         * text.C:
4980         * text2.C:
4981         * text3.C: two-phase drawing for InsetText and InsetTabular
4982         some float -> int changes.
4983
4984 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4985
4986         * lyx_main.C: fix the fix
4987
4988 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4989
4990         * lyx_main.C: fix a crash in batch mode if no files specified
4991         * converter.C: ws
4992
4993 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4994
4995         * format.[Ch] (papersize): moved to BufferParams
4996         * converter.[Ch] (dvips_options): moved to BufferParams
4997         (dvipdfm_options): moved to anon namespace
4998         * bufferparams.[Ch]: added above functions.
4999
5000 2003-07-17  André Pönitz  <poenitz@gmx.net>
5001
5002         * lyxtext.h:
5003         * rowpainter.C:
5004         * text2.C: don't call inset->update() anymore
5005
5006         * metricsinfo.[Ch]: add convenience constructor
5007
5008 2003-07-16  André Pönitz  <poenitz@gmx.net>
5009
5010         * lyxcursor.[Ch]:
5011         * lyxfunc.[Ch]:
5012         * text.C:
5013         * text2.C: replace the LyXCursor::irow_ member with
5014          on-demand computation of the value
5015
5016 2003-07-16  John Levon  <levon@movementarian.org>
5017
5018         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5019
5020 2003-07-15  André Pönitz  <poenitz@gmx.net>
5021
5022         * text.C:
5023         * text2.C: remove no more needed refresh_row
5024
5025 2003-07-15  André Pönitz  <poenitz@gmx.net>
5026
5027         * lyxtext.h:
5028         * rowpainter.C:
5029         * text2.C:
5030         * text3.C: refresh_status tristate -> need_update bool
5031
5032 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
5033
5034         * lyxtext.h (init): remove reinit argument (act as if always true)
5035         * text2.C: adjust to that
5036
5037 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5038
5039         * bufferview_funcs.[Ch]: introduce function replaceSelection()
5040         * text3.C: use it to delete selections in some cases
5041         (bugs 441, 673, 702, 954).
5042
5043 2003-07-14  André Pönitz  <poenitz@gmx.net>
5044
5045         * rowpainter.[Ch]: reduce interface
5046
5047 2003-07-14  André Pönitz  <poenitz@gmx.net>
5048
5049         * BufferView_pimpl.C:
5050         * text2.C: adjust after removing unused BufferView * argument
5051
5052 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
5053
5054         * text2.C (init): fix a crash fired on resize
5055
5056 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
5057
5058         * buffer.[Ch]: added new closing signal
5059         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5060         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5061         BufferView::Pimpl via the closing the signal
5062
5063 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5064
5065         * buffer.[Ch]: take out all bv-related from buffer
5066         * BufferView.C:
5067         * BufferView_pimpl.[Ch]: connect to new signals
5068         * CutAndPaste.C: removed useless asserts
5069         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5070         * lyxvc.[Ch]:
5071         * vc-backend.[Ch]:
5072         * lyxfunc.C: moved view-related funciontality from vc here
5073         * paragraph.C: removed outdated comments
5074         * text.C: ws
5075
5076 2003-07-10  André Pönitz  <poenitz@gmx.net>
5077
5078         * BufferView_pimpl.C:
5079         * tabular.h:
5080         * tabular_funcs.C:
5081         * text.C:
5082         * text2.C: remove InsetText::InnerCache, clean up consequences
5083
5084 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5085
5086         * ispell.C: fix two typos in error messages
5087
5088 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5089
5090         * Extend Note inset to other forms of annotation like Comment
5091         and Greyedout. Right button click gives dialog.
5092
5093         Files modified or added (+):
5094
5095         * insetnote.[Ch]
5096         * FormNote.[Ch]      +
5097         * ControlNote.[Ch]   +
5098         * form_note.fd       +
5099         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5100         frontends/controllers
5101         * xforms/Dialogs.C
5102         * factory.C
5103
5104 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5105
5106         * aspell.C: add missing namespace lyx::support
5107
5108 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5109
5110         * BufferView.[Ch] (newFile): Add
5111         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5112         * LaTeX.[Ch] (message): added this signal and use it
5113         * buffer.[Ch] (busy, message): added these signals and use them
5114         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5115         * converter.C:
5116         * exporter.C:
5117         * format.C:
5118         * importer.C: use buffer signals instead of direct bv calling
5119         * lyx_cb.[Ch] (ShowMessage): removed
5120         * lyx_main.C:
5121         * lyxfunc.C:
5122         * paragraph_funcs.C:
5123         * text2.C: use buffer signals
5124
5125 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5126
5127         * introduce namespace lyx::graphics
5128
5129 2003-07-02  André Pönitz  <poenitz@gmx.net>
5130
5131         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5132
5133 2003-07-01  André Pönitz  <poenitz@gmx.net>
5134
5135         * text.C:
5136         * text2.C:
5137         * text3.C:
5138         * text_funcs.[Ch]:
5139         * textcursor.h:
5140         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5141           text*.C to text_func.C
5142
5143 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5144
5145         * introduce namespace lyx::support
5146
5147 2003-06-30  André Pönitz  <poenitz@gmx.net>
5148
5149         * Chktex.C:
5150         * funcrequest.C:
5151         * lyxtext.h:
5152         * text.C: re-enable --with-included-string
5153
5154 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5155
5156         * textcursor.C: add <config.h>
5157
5158         * text.C (getWord): remove const from word_location arg
5159
5160         * lyxvc.C (getLogFile): fix const type order
5161
5162         * lyxtext.h: remove const from word_location arg, add arg name
5163
5164         * lyxlayout.h: currect type on labeltype.
5165
5166         * importer.C: correct \file
5167
5168         * converter.C (intToFormat): use std:: on ret val, ws changes
5169
5170         * bufferlist.h: correct \file
5171
5172         * buffer.C (makeLinuxDocFile): fix const type order
5173         (makeDocBookFile): ditto
5174         (fillWithBibKeys): use std:: on stdlib args.
5175
5176         * CutAndPaste.C: fix authors.
5177         (availableSelections): use std:: on return vector
5178
5179 2003-06-27  André Pönitz  <poenitz@gmx.net>
5180
5181         * BufferView_pimpl.C:
5182         * bufferview_funcs.C:
5183         * lyxcursor.C:
5184         * lyxcursor.h:
5185         * lyxfunc.C:
5186         * lyxtext.h:
5187         * rowpainter.C:
5188         * text.C:
5189         * text2.C:
5190         * text3.C: remove LyXCursor::row_ member
5191
5192         * lyxtext.h:
5193         * text.C: rename fullRebreak() to partialRebreak() and implement
5194           a fullRebreak() that really bereks fully
5195
5196         * textcursor.h: new struct for cursor-related data
5197
5198 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5199
5200         * lyx_main.C (LyX): get full path of document loaded on the
5201         command line
5202
5203 2003-06-26  André Pönitz  <poenitz@gmx.net>
5204
5205         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5206           remove unused/broken operator>,<,>=.
5207
5208         *       text.C: remove only use of broken operator<= in an Assert().
5209
5210 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5211
5212         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5213         moved errorlist_.clear to showErrorList
5214
5215 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5216
5217         * converter.C (scanLog, runLaTeX):
5218         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5219         move the bv->showErrorList call to the callers
5220         * lyxfunc.C: i.e. here...
5221         * text2.C: and here
5222         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5223         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5224         namespace, the second to...
5225         * buffer_funcs (BufferFormat, parseErrors): added
5226         * errorlist.C (ErrorList(TeXErrors const &)): removed
5227
5228 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5229
5230         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5231
5232 2003-06-24  "Garst R. Reese" <reese@isn.net>
5233
5234         * debug.C: fix typo
5235
5236 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5237
5238         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5239
5240         * version.C.in: change docversion to 1.4
5241
5242 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5243
5244         * buffer.C: fix a bug just introduced
5245
5246 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5247
5248         * buffer.[Ch]: added the parseError signal and use it, removed
5249         sgmlError
5250         * BufferView.[Ch] (addError): moved to ...
5251         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5252         to the Buffer::parseError signal to catch (guess what) parse errors
5253         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5254
5255 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5256
5257         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5258         ability to create a buffer and to return an existing one from
5259         the list. Moved these functions to...
5260         * buffer_funcs.[Ch]: added
5261         * BufferView.[Ch] (loadLyXFile): added
5262         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5263         job removed from bufferlist::loadLyXFile.
5264         * buffer.C (setReadOnly): make it work without view
5265         (i.e added an if (users))
5266
5267 2003-06-19  Angus Leeming  <leeming@lyx.org>
5268
5269         * lfuns.h:
5270         * LyXAction.C (init):
5271         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5272         with LFUN_DIALOG_SHOW <name> <data>.
5273
5274 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5275
5276         * CutAndPaste.C (availableSelections): small compilation fix for
5277         ancient (gcc 2.9x) compilers
5278
5279 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * text3.C (cursorNext): add tmp var
5282
5283         * text2.C (updateCounters): for function calling out of for clause
5284         (replaceSelectionWithString): ditto
5285         (insertStringAsParagraphs): ditto
5286         (getColumnNearX): add tmp var
5287         (setCursorFromCoordinates): add tmp var
5288         (cursorDownParagraph): add tmp var
5289         (deleteEmptyParagraphMechanism): add tmp var
5290
5291         * text.C (insertChar): add tmp var
5292
5293         * rowpainter.C (paintDepthBar): add tmp var
5294
5295         * CutAndPaste.C (availableSelections): potentially check all
5296         paragraphs in a cut to fill the shown strings.
5297
5298 2003-06-18  André Pönitz  <poenitz@gmx.net>
5299
5300         * kbmap.[Ch]: use vector<> instead of list<>
5301
5302 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5303
5304         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5305         pasteSelection with index
5306
5307         * text2.C (pasteSelection): modify, call pasteSelection with index
5308
5309         * paragraph.C (asString): reimplement version with no interval to
5310         call the one with interval.
5311
5312         * lyxtext.h: add index arg to pasteSelection
5313
5314         * MenuBackend.C (MenuItem): handle PasteRecent
5315         (Menu::read::Menutags): add md_pasterecent
5316         (read): handle it
5317         (expandPasteRecent): new function
5318         (expand): use it
5319
5320         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5321
5322         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5323         the limited stack
5324         (availableSelections): new function
5325
5326 2003-06-17  Angus Leeming  <leeming@lyx.org>
5327
5328         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5329
5330 2003-06-17  Angus Leeming  <leeming@lyx.org>
5331
5332         * lfuns.h:
5333         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5334
5335         * lyxfunc.C (dispatch): invoke it.
5336
5337 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5338
5339         * iterators.C (operator++, ParPosition): reintroduce some
5340         const_cast for the benefit of older compilers.
5341
5342 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5343
5344         * text3.C (dispatch): do not modify clipboard when doing
5345         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5346         LFUN_DELETE_SKIP on a selection selection
5347
5348 2003-06-16  André Pönitz  <poenitz@gmx.net>
5349
5350         * BufferView.C:
5351         * buffer.C:
5352         * buffer.h:
5353         * paragraph.C:
5354         * tabular.[Ch]: IU of clone() and getLabelList();
5355
5356 2003-06-13  André Pönitz  <poenitz@gmx.net>
5357
5358         * tabular.h: compactification
5359
5360 2003-06-12  André Pönitz  <poenitz@gmx.net>
5361
5362         * tabular.C:
5363         * tabular.h:
5364         * tabular_funcs.h: some renaming plus whitespace
5365
5366 2003-06-12  André Pönitz  <poenitz@gmx.net>
5367
5368         * BufferView.C:
5369         * BufferView_pimpl.C:
5370         * CutAndPaste.C:
5371         * buffer.C:
5372         * iterators.[Ch]:
5373         * lyxfunc.C:
5374         * text.C:
5375         * toc.C: Return a Paragraph & for ParIterator::operator*()
5376
5377 2003-06-11  John Levon  <levon@movementarian.org>
5378
5379         * lyx_main.C:
5380         * ToolbarBackend.h:
5381         * ToolbarBackend.C: add "Toolbars" section and
5382         put the flags there
5383
5384 2003-06-10  Angus Leeming  <leeming@lyx.org>
5385
5386         * lfuns.h:
5387         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5388
5389         * lyxfunc.C (dispatch): invoke it.
5390
5391 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5392
5393         * main.C: protect <ios> with HAVE_IOS
5394         (main): protect sync_with_stdio with HAVE_IOS
5395
5396 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5397
5398         * text2.C (cutSelection): adjust
5399         (pasteSelection): adjust
5400
5401         * messages.C: handle get of empty string
5402
5403         * main.C (main): use sync_with_stdio(false)
5404
5405         * lyxfunc.C (dispatch): adjust
5406
5407         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5408         (WriteAs): remove unneeded BufferView arg.
5409
5410         * bufferparams.h: use correct types on papersize, papersize2 and
5411         paperpackage.
5412
5413         * bufferparams.C (readToken): adjust for type
5414         (writeLaTeX): add missing cases to switch.
5415
5416         * bufferlist.C (quitWriteBuffer): adjust
5417         (close): adjust
5418
5419         * buffer.C (asciiParagraph): remove some commented code.
5420
5421         * CutAndPaste.C: remove current_view extern variable.
5422         (cutSelection): add BufferParams arg.
5423         (eraseSelection): add BufferParams arg.
5424         (pasteSelection): add Buffer const & arg
5425
5426 2003-06-07  John Levon  <levon@movementarian.org>
5427
5428         * buffer.C:
5429         * paragraph_funcs.C:
5430         * paragraph_pimpl.C:
5431         * text.C:
5432         * text2.C:
5433         * paragraph.h:
5434         * paragraph.C: allow InsetERT to freely space lines,
5435         and some consolidation of code
5436
5437 2003-06-06  José Matos  <jamatos@fep.up.pt>
5438
5439         * buffer.C (makeDocBookFile): fix bug #821
5440
5441 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5442
5443         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5444
5445 2003-06-04  Angus Leeming  <leeming@lyx.org>
5446
5447         * buffer.C: bump format to 224.
5448
5449 2003-06-05  André Pönitz  <poenitz@gmx.net>
5450
5451         * text2.C (redoParagraphs): remove two const_cast<>
5452
5453 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5454
5455         * ParagraphList.h: remove last remnants of NO_STD_LIST
5456
5457 2003-06-03  Angus Leeming  <leeming@lyx.org>
5458
5459         * factory.C (createInset): small change to the way InsetExternal's params
5460         are set.
5461
5462 2003-06-04  André Pönitz  <poenitz@gmx.net>
5463
5464         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5465
5466         * paragraph_pimpl.h:
5467         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5468
5469         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5470
5471         * undo_funcs.C: make some simple cases of undo work again
5472
5473 2003-06-03  John Levon  <levon@movementarian.org>
5474
5475         * ispell.C: HPUX doesn't have sys/select.h
5476         (from Albert Chin)
5477
5478 2003-06-03  John Levon  <levon@movementarian.org>
5479
5480         * CutAndPaste.C: update tabular and include inset
5481         buffer references
5482
5483         * buffer.h:
5484         * paragraph.h:
5485         * paragraph.C: remove owningBuffer(), don't pass Buffer
5486         to clone()
5487
5488         * factory.C: insetGraphicsParams changed
5489
5490 2003-06-02  John Levon  <levon@movementarian.org>
5491
5492         * LyXAction.C:
5493         * factory.C:
5494         * lfuns.h:
5495         * lyxfunc.C:
5496         * text3.C: remove insetparent
5497
5498 2003-06-02  John Levon  <levon@movementarian.org>
5499
5500         * buffer.h:
5501         * buffer.C: fix inset_iterator.end(), move out of line
5502         (bug 1149)
5503
5504 2003-06-01  John Levon  <levon@movementarian.org>
5505
5506         * text3.C: use a proper cut/paste when doing inset
5507         insert (from Jürgen Spitzmüller)
5508
5509 2003-06-01  John Levon  <levon@movementarian.org>
5510
5511         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5512
5513 2003-05-30  André Pönitz  <poenitz@gmx.net>
5514
5515         * rowpainter.C: unify second drawing phase
5516
5517 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5518
5519         * trans_mgr.C: remove one case of current_view
5520
5521         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5522
5523         * paragraph_funcs.h: remove paragraph.h include
5524
5525         * paragraph.h: delete NO_STD_LIST stuff
5526
5527         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5528
5529         * buffer.h: remove paragraph.h include
5530
5531         * ParagraphList.C: delete file
5532
5533         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5534
5535         * toc.C (getTocList): adjust
5536
5537         * paragraph_pimpl.C (validate): adjust
5538
5539         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5540
5541         * paragraph.C (Paragraph): adjust
5542         (getPositionOfInset): use const_iterator, adjust
5543         (bibitem): use const_iterator, adjust
5544         (setInsetOwner): adjust
5545
5546         * iterators.C (operator++): adjust
5547
5548         * InsetList.[Ch]: Replace selfmade iterator with standard
5549         vector::iterator also introduce const_iterator. Remove getPos,
5550         getInset and setInset from InsetTable. Adjust accordingly.
5551
5552         * BufferView.C (lockInset): adjust
5553         (ChangeInsets): adjust
5554
5555         * tabular.[Ch]: delete commented same_id functions
5556
5557 2003-05-28  John Levon  <levon@movementarian.org>
5558
5559         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5560
5561 2003-05-28  André Pönitz  <poenitz@gmx.net>
5562
5563         * metricsinfo.[Ch]: remove 'fullredraw' member
5564
5565 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5566
5567         * lyxtextclass.C (operator): remove caching.
5568
5569 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5570
5571         * text3.C: adjust
5572
5573         * text2.C (cursorBottom): adjust
5574         (setCounter): use ParagraphList::find, adjust
5575
5576         * text.C (workWidth): use ParagraphList::find, adjust
5577
5578         * lyxcursor.C (LyXCursor): adjust
5579
5580         * buffer.C (inset_iterator): adjust
5581
5582         * ParagraphList.h: make iterator(value_type) private, make
5583         ParagraphList a friend of iterator.
5584
5585         * ParagraphList.C (find): new function
5586
5587         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5588
5589 2003-05-27  André Pönitz  <poenitz@gmx.net>
5590
5591         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5592
5593 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5594
5595         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5596
5597 2003-05-26  John Levon  <levon@movementarian.org>
5598
5599         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5600
5601 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5602
5603         * remove same_id from function signatures, adjust.
5604
5605 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5606
5607         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5608
5609         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5610
5611         * paragraph.C (Paragraph): get rid of same_ids parameter
5612
5613         * ParagraphList.C (insert): adjust
5614         (push_back): adjust
5615
5616 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5617
5618         * paragraph_funcs.C (breakParagraph): adjust
5619         (breakParagraphConservative): adjust
5620
5621         * buffer.C (readParagraph): adjust
5622
5623         * ParagraphList.C (insert): take a reference instead of a pointer
5624         (insert): adjust
5625
5626         * paragraph.[Ch] (id): new function
5627
5628         * bufferlist.C (newFile): adjust
5629
5630         * ParagraphList.C (ParagraphList): adjust
5631         (assign): adjust
5632         (push_back): take a reference instead of a pointer.
5633
5634         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5635
5636         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5637         instead.
5638
5639         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5640         set else use old code.
5641
5642         * ParagraphList.C: remove all NO_NEXT code and only compile this
5643         code of NO_STD_LIST is set.
5644
5645 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5646
5647         * BufferView_pimpl.C:
5648         * TextCache.C:
5649         * TextCache.h:
5650         * bufferlist.C:
5651         * errorlist.h:
5652         * format.C:
5653         * format.h:
5654         * graph.C:
5655         * lyxfunc.C:
5656         * lyxrc.C:
5657         * graphics/GraphicsConverter.C:
5658         * graphics/PreviewLoader.C: header adjustment
5659
5660 2003-05-23  Angus Leeming  <leeming@lyx.org>
5661
5662         * LaTeXFeatures.[Ch] (useBabel): new method.
5663         * bufferparams.C (writeLaTeX): use it.
5664
5665 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * ParagraphList.h (set): remove unused function.
5668
5669 2003-05-23  André Pönitz  <poenitz@gmx.net>
5670
5671         * BufferView.C:
5672         * BufferView_pimpl.C:
5673         * buffer.C:
5674         * buffer.h:
5675         * lyxfunc.C:
5676         * undo_funcs.C: setUndo reworked
5677
5678         * iterators.[Ch]: add access to topmost ParagraphList
5679
5680         * lyxtext.[Ch] (workWidth): add a const
5681
5682 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5683
5684         * texrow.[Ch] (increasePos): remove function
5685         * exporter.C (export): removed unused var and outdated comment
5686
5687 2003-05-23  Angus Leeming  <leeming@lyx.org>
5688
5689         * latexrunparams.h: rename fragile as moving_arg.
5690         * paragraph.C (simpleTeXOnePar): ditto.
5691         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5692
5693 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5694
5695         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5696         (createUndo): ditto
5697         (textUndoOrRedo): comment out a currently unused var.
5698
5699         * paragraph.h (NO_NEXT): enable NO_NEXT
5700
5701         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5702
5703         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5704
5705         * exporter.C (Export): adjust for removeAutoInsets removal.
5706
5707         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5708
5709         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5710
5711         * BufferView.[Ch] (removeAutoInsets): delete function
5712
5713 2003-05-22  Angus Leeming  <leeming@lyx.org>
5714
5715         * latexrunparams.h: add a free_spacing variable.
5716
5717         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5718         to pass moving_arg, as the data is stored in runparams.fragile.
5719
5720         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5721         to Inset::latexOptional or to simpleTeXOnePar.
5722
5723         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5724         free_spacing arg to Inset::latexOptional.
5725
5726         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5727         free_spacing arg.
5728
5729 2003-05-22  Angus Leeming  <leeming@lyx.org>
5730
5731         * latexrunparams.h: add fragile and use_babel variables.
5732
5733         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5734         * buffer.C (makeLaTeXFile): store this returned value in
5735         runparams.use_babel, thus passing it to the inset::latex methods.
5736
5737         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5738         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5739
5740         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5741         longer has a fragile arg, as it is stored in runparams.fragile.
5742
5743         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5744         moving_arg parameter as the data is stored in runparams.fragile.
5745
5746         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5747         a fragile parameter as the data is stored in runparams.fragile.
5748
5749 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5750
5751         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5752
5753 2003-05-22  Angus Leeming  <leeming@lyx.org>
5754
5755         * latexrunparams.h: add a 'bool nice' which defaults to false.
5756
5757         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5758         now encapsulated within runparams.
5759
5760         * bufferlist.C (updateIncludedTeXfiles):
5761         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5762
5763 2003-05-22  Angus Leeming  <leeming@lyx.org>
5764
5765         * latexrunparams.h: new file containing struct LatexRunParams.
5766         * Makefile.am: add new file.
5767
5768         * LaTeX.[Ch] (c-tor, run):
5769         * buffer.[Ch] (makeLaTeXFile):
5770         * bufferlist.[Ch] (updateIncludedTeXfiles):
5771         * converter.C (convert, scanLog):
5772         * converter.[Ch] (runLaTeX):
5773         * exporter.C (Export):
5774         * paragraph.[Ch] (simpleTeXOnePar):
5775         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5776         * paragraph_funcs.[Ch] (latexParagraphs):
5777         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5778         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5779         pass around a LatexRunParams parameter.
5780
5781 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5782
5783         * paragraph.[Ch]: remove unused constructor
5784
5785         * ParagraphList.C (erase): new function, taking two iterators
5786
5787 2003-05-22  André Pönitz  <poenitz@gmx.net>
5788
5789         * undo_funcs.C: remove duplicated code
5790
5791         * iterator.[Ch]: operator=
5792
5793 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5794
5795         * tabular.C (SetMultiColumn): ws changes
5796
5797         * rowpainter.C (paintFirst): get rid of a ->previous
5798
5799         * lyx_cb.C (getPossibleLabel): parlist simplification
5800
5801         * BufferView.C (ChangeInsets): simplify slightly.
5802
5803 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5804
5805         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5806         * lfuns.h: new LFUN_SPACE
5807         * lyxfunc.C: protected space has a new lfun
5808         * paragraph_funcs.C: read new space insets
5809         * text3.C:
5810         * factory.C: handle new space insets
5811
5812 2003-05-22  André Pönitz  <poenitz@gmx.net>
5813
5814         * BufferView.C:
5815         * BufferView_pimpl.C:
5816         * buffer.[Ch]:
5817         * lyxfunc.C:
5818         * undo_funcs.C: return a ParIterator from getParFromID.
5819
5820         * iterators.[Ch]: add two const's
5821
5822 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5823
5824         * toc.C (getTocList): adjust
5825
5826         * iterators.[Ch]: rework for parlist
5827
5828         * buffer.C (par_iterator_begin): adjust
5829         (par_iterator_end): adjust
5830
5831         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5832
5833         * BufferView.C (removeAutoInsets): adjust
5834         (ChangeInsets): adjust
5835
5836 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5837
5838         * text.C (top_y): fix bug 1110
5839
5840 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5841
5842         * errorlist.[Ch]: added
5843         * buffer.C:
5844         * BufferView.[Ch]:
5845         * BufferView_pimpl.C:
5846         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5847         instead
5848
5849 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5850
5851         * Makefile.am: ensure that lyx is relinked upon changes to the
5852         various "convenience" libs.
5853
5854 2003-05-20  Angus Leeming  <leeming@lyx.org>
5855
5856         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5857         files are compiled in alphabetical order again.
5858
5859         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5860
5861 2003-05-19  Angus Leeming  <leeming@lyx.org>
5862
5863         * gettext.[Ch]: remove "char const * _(char const *)".
5864
5865 2003-05-19  André Pönitz  <poenitz@gmx.net>
5866
5867         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5868
5869         * Makefile.am:
5870         * BufferView.C:
5871         * DepTable.h:
5872         * LaTeXFeatures.C:
5873         * buffer.C:
5874         * lyxfont.C:
5875         * lyxlex.h:
5876         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5877
5878 2003-05-19  André Pönitz  <poenitz@gmx.net>
5879
5880         * buffer.C:
5881         * lyxlayout.[Ch]:
5882         * lyxtextclass.[Ch]:
5883         * paragraph.C:
5884         * paragraph_funcs.[Ch]:
5885         * text2.C:
5886         * text3.C: more insetenv work
5887
5888 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5889
5890         * ParagraphParameters.C (params2string): small bug fixed
5891
5892 2003-05-16  André Pönitz  <poenitz@gmx.net>
5893
5894         * debug.C:
5895         * bufferview_funcs.C: patch from Kornel Benko to prevent
5896           crash when _(...) is called twice in a statement
5897
5898 2003-05-16  André Pönitz  <poenitz@gmx.net>
5899
5900         * BufferView.C:
5901         * lyxfunc.C:
5902         * text.C:
5903         * text2.C:
5904         * text3.C:
5905         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5906
5907 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5908
5909         * lyx_main.C (init): remove spurious static_cast
5910
5911 2003-05-14  André Pönitz  <poenitz@gmx.net>
5912
5913         * BufferView.C: fix format string
5914
5915 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5916
5917         * BufferView.[Ch] (insertErrors): removed
5918         * BufferView.[Ch] (showErrorList): added
5919         * buffer.C (runChkTeX):
5920         * converter.C (scanLog): call showErrorList instead of inserterrors
5921
5922 2003-05-13  André Pönitz  <poenitz@gmx.net>
5923
5924         * BufferView_pimpl.C:
5925         * buffer.C:
5926         * bufferview_func.C:
5927         * MenuBackend.C:
5928         * lyxfunc.C:
5929         * lyxrc.C:
5930         * tex-accent.C:
5931         * text3.C:
5932         * toc.C:
5933         * tabular_funcs.h: tostr() from its own header
5934
5935         * ParagraphParameters.C:
5936         * ToolbarBackend.C:
5937         * bufferparams.C:
5938         * format.C:
5939         * lyxlex_pimpl.C:
5940         * text3.C: STRCONV()
5941
5942 2003-05-12  André Pönitz  <poenitz@gmx.net>
5943
5944         * BufferView.C:
5945         * BufferView_pimpl.C:
5946         * CutAndPaste.C:
5947         * LaTeX.C:
5948         * LaTeXFeatures.C:
5949         * ParagraphParameters.C:
5950         * buffer.C:
5951         * bufferlist.C:
5952         * bufferparams.C:
5953         * bufferview_funcs.C:
5954         * converter.C:
5955         * counters.C:
5956         * debug.C:
5957         * exporter.C:
5958         * format.C:
5959         * importer.C:
5960         * lyx_cb.C:
5961         * lyx_main.C:
5962         * lyxfont.C:
5963         * lyxfunc.C:
5964         * lyxvc.C:
5965         * paragraph.C:
5966         * paragraph_funcs.C:
5967         * tabular.C:
5968         * tabular_funcs.C:
5969         * text2.C:
5970         * text3.C:  boost::format -> bformat  all over the place
5971
5972
5973 2003-05-09  André Pönitz  <poenitz@gmx.net>
5974
5975         * LColor.[Ch]: Pimpl the #include <map> away
5976
5977 2003-05-09  John Levon  <levon@movementarian.org>
5978
5979         * bufferlist.C: never remove emergency saves
5980
5981 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5982
5983         * Makefile.am: better lib building
5984
5985 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5986
5987         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5988         instead.
5989         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5990         (simpleTeXSpecialChars): adjust
5991         (simpleTeXSpecialChars): adjust
5992         * paragraph.C (simpleTeXOnePar): adjust
5993         * buffer.C (makeLaTeXFile): adjust
5994
5995         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5996
5997         * text2.C (changeDepth): parlist cleanup
5998         (getColumnNearX): ditto
5999
6000         * rowpainter.C (getLabelFont): parlist cleanup
6001
6002         * bufferlist.C (newFile): parlist cleanup
6003
6004         * CutAndPaste.C (eraseSelection): parlist cleanup
6005
6006         * BufferView_pimpl.C (trackChanges): parlist cleanup
6007         (dispatch): ditto
6008
6009         * BufferView.C (lockInset): parlist cleanup.
6010         (ChangeInsets): ditto
6011
6012 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
6013
6014         * CutAndPaste.h: Update file header.
6015
6016         * CutAndPaste.C: Update file header.
6017         Store the parts cut out of the Document in a limited_stack.
6018         (copySelection): adjust
6019         (pasteSelection): new function, takes the index in the limited stack.
6020         (nrOfParagraphs): adjust
6021         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6022         simplify error inset insertion.
6023         (checkPastePossible): adjust
6024
6025 2003-05-06  John Levon  <levon@movementarian.org>
6026
6027         * text2.C: don't cast wrap inset to float
6028
6029 2003-05-05  André Pönitz  <poenitz@gmx.net>
6030
6031         * iterator.C:
6032         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6033
6034         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6035           few naked Paragraph *.
6036
6037 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
6038
6039         * bufferparams.C: Output warning if a document with missing
6040         TeX document class is loaded
6041         * exporter.C: Disable TeX exports if the document class is missing
6042         * lyxtextclass.C:
6043         * lyxtextclass.h:
6044         * lyxtextclasslist.C: Handle new textclass.lst format; new method
6045         isTeXClassAvailable()
6046
6047 2003-05-03  John Levon  <levon@movementarian.org>
6048
6049         * BufferView.h:
6050         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6051         explicit cursor show/hide
6052
6053         * BufferView_pimpl.h:
6054         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6055         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6056
6057         * lyxfunc.C: hide cursor before dispatching.
6058
6059         * lyx_cb.C:
6060         * lyxfind.C:
6061         * text.C:
6062         * text3.C: remove explicit cursor hides
6063
6064 2003-05-02  André Pönitz  <poenitz@gmx.net>
6065
6066         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6067
6068         * undo_funcs.C:
6069         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6070           linked lists
6071
6072         * text2.C: tiny whitespace
6073
6074 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6075
6076         * undo_funcs.C: almost only ws changes.
6077
6078         * ParagraphList.C (splice): just return if pl is empty.
6079
6080 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6081
6082         * ParagraphList.C (splice): new function.
6083
6084         * CutAndPaste.C (pasteSelection): use it
6085
6086 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6087
6088         * CutAndPaste.C (pasteSelection): remove the last next and
6089         previous from this file.
6090
6091 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6092
6093         * CutAndPaste.C (pasteSelection): more clean up, user proper
6094         ParagraphList functions for pasteing.
6095
6096         * ParagraphList.C (insert): new function, three arg insert
6097
6098 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6099
6100         * ParagraphList.C (insert): new function, three arg insert
6101
6102         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6103         not on paragraphs.
6104
6105 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6106
6107         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6108
6109 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6110
6111         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6112
6113 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6114
6115         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6116         (copySelection): clean up a bit.
6117         (pasteSelection): use make_pair
6118
6119         * ParagraphList.C (ParagraphList): implement copy constructor
6120         (operator=): implement, base on copy constructor.
6121         (assign): new func
6122
6123         * paragraph.C (erase): return a bool
6124
6125         * paragraph_pimpl.C (erasePos): remove function, move contents...
6126         (erase): ... here. Return a bool.
6127         (erase): call erase instead of erasePos.
6128
6129 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6130
6131         * ParagraphList.h: define PitPosPair
6132         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6133         ParagraphList, fix a bug on pasting multiple pars
6134         * text2.C: change interface to C&P
6135
6136 2003-04-30  André Pönitz  <poenitz@gmx.net>
6137
6138         * undo_func.C: revert part of yesterday's patch 2
6139
6140 2003-04-30  John Levon  <levon@movementarian.org>
6141
6142         * LColor.C: s/tabular/table/
6143
6144 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6145
6146         * text3.C (dispatch): do not convert iterator -> pointer
6147         * undo_funcs.C (setCursorParUndo): ditto
6148         * text_funcs.C (transposeChars): ditto
6149
6150         * text2.C (setLayout): ws changes only
6151
6152         * text.C (breakParagraph): do not convert iterator -> pointer
6153         (insertChar): ditto
6154         (acceptChange): ditto
6155         (rejectChange): ditto
6156         (changeCase): ditto
6157         (Delete): ditto
6158         (backspace): ditto
6159
6160         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6161         pointer
6162
6163 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6164
6165         * text3.C (gotoInset): YABG (yet another bad getChar)
6166
6167 2003-04-29  André Pönitz  <poenitz@gmx.net>
6168
6169         * paragraph.h: make operator= private unimplemented as long as
6170           it is unusable
6171
6172         * ParagraphList.C: whitespace
6173
6174         * paragraph.[Ch]:
6175         * paragraph_pimpl.[Ch]:
6176         * paragraph_funcs.C:
6177         * CutAndPaste.C:
6178         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6179
6180         * text2.C:
6181           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6182
6183 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6184
6185         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6186         * paragraph.[Ch] (erase):
6187         * paragraph_pimpl.[Ch] (erase): change return type and value
6188         * text2.C (cutSelection): some rework
6189
6190 2003-04-28  John Levon  <levon@movementarian.org>
6191
6192         * bufferlist.C: changes for unsaved changes dialog
6193
6194 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6195
6196         * bufferlist.C (newFile): set language (messages_) for new
6197         documents also.
6198
6199         * buffer.C (readFile): ws changes only.
6200
6201 2003-04-28  André Pönitz  <poenitz@gmx.net>
6202
6203         * undo_funcs.C:
6204         * lyxfunc.C:
6205         * buffer.[Ch]:
6206         * BufferView_pimpl.C:
6207         * BufferView.C: getParFromID related ParagraphList::iterator changes
6208
6209 2003-04-28  André Pönitz  <poenitz@gmx.net>
6210
6211         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6212           Changes
6213
6214 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6215
6216         * messages.C: remove one more localedir class variable.
6217
6218 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6219
6220         * messages.C (getLocaleDir): singleton generation function
6221         (Pimpl): use it.
6222         (Messages): add a default constructor.
6223
6224         * main.C (main): do not setup localedir here, do not call
6225         gettext_init.
6226
6227         * gettext.C (_): use it.
6228         (gettext_init): delete funciton
6229
6230 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6231
6232         * gettext.C (getLyXMessages): new singleton generating function.
6233
6234         * buffer.C (updateDocLang): adjust
6235
6236         * Makefile.am (messages.o): add target
6237         (main.o): remove target
6238
6239 2003-04-27  John Levon  <levon@movementarian.org>
6240
6241         * bufferlist.C:
6242         * lyx_cb.C:
6243         * lyxfunc.C:
6244         * lyxvc.C: specify cancel button in Alert::prompt
6245
6246 2003-04-26  John Levon  <levon@movementarian.org>
6247
6248         * text3.C:
6249         * lyxfunc.C:
6250         * lfuns.h:
6251         * LyXAction.C: add LFUN_INSET_SETTINGS
6252
6253         * lyxfunc.C: don't enable tabular-feature when there's
6254         just any locking inset
6255
6256 2003-04-26  John Levon  <levon@movementarian.org>
6257
6258         * bufferlist.C: re-add Cancel to buffer close question
6259
6260         * lyxfunc.C: fix import UI a bit
6261
6262 2003-04-25  John Levon  <levon@movementarian.org>
6263
6264         * gettext.C: remove the broken asserts for now
6265
6266 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6267
6268         * messages.C: make case where setlocale cannot comply work better.
6269
6270         * buffer.C (updateDocLang): new function
6271         (changeLanguage): use it
6272         (readFile): use it
6273
6274         * text2.C (setCounter): use B_ a bit.
6275
6276         * lyxlayout.C (Read): be sure to trim the label strings.
6277
6278         * messages.C (Messages): fix typo in comment
6279
6280         * buffer.C (readFile): set message_ after file is loaded.
6281         (makeDocBookFile): remove double return
6282         (changeLanguage): reset message_ upon language change.
6283         (B_): new func, use this to get translated buffer strings.
6284
6285         * main.C: add myself and Jean Marc as authors.
6286
6287 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6288
6289         * messages.[hC]: pimplify Messages, and three different pimpls to be
6290         used in different circumstances.
6291
6292         * gettext.[Ch]: change for use with new message code.
6293
6294 2003-04-24 André Pönitz <poenitz@gmx.net>
6295
6296         * factory.C: support for eqref
6297
6298 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6299
6300         * messages.[Ch]: add missing char
6301
6302         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6303
6304         * messages.[Ch]: New files
6305
6306 2003-04-18  John Levon  <levon@movementarian.org>
6307
6308         * BufferView.h:
6309         * BufferView.C:
6310         * BufferView_pimpl.C:
6311         * lfuns.h:
6312         * LyXAction.C:
6313         * lyxtext.h:
6314         * text2.C: remove layout-copy/paste (bug 778)
6315
6316 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6317
6318         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6319
6320 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6321
6322         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6323         if they succeed. Act accordingly.
6324
6325 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6326
6327         * text2.C (setCharFont): adjust
6328         (setCounter): adjust
6329         (insertStringAsLines): adjust
6330
6331         * text.C (leftMargin): adjust
6332         (setHeightOfRow): adjust
6333
6334         * rowpainter.C (paintFirst): adjust
6335         (paintLast): adjust
6336
6337         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6338         (outerHook): ditto
6339         (isFirstInSequence): ditto
6340         (getEndLabel): ditto
6341         (outerFont): adjust
6342
6343         * paragraph.C (getParLanguage): comment out some hard stuff.
6344
6345         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6346         (sgmlError): ditto
6347         (simpleDocBookOnePar): ditto
6348         (makeDocBookFile): use ParagraphList::iterator
6349
6350         * CutAndPaste.C (pasteSelection): adjust
6351
6352 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6353
6354         * text2.C (getFont): adjust
6355         (getLayoutFont): adjust
6356         (getLabelFont): adjust
6357
6358         * paragraph_funcs.C (TeXOnePar): adjust
6359
6360         * buffer.C (simpleLinuxDocOnePar): adjust
6361         (simpleDocBookOnePar): adjust
6362
6363         * CutAndPaste.C (pasteSelection): adjust
6364
6365         * BufferView.C (getEncoding): adjust
6366
6367         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6368
6369 2003-04-16  John Levon  <levon@movementarian.org>
6370
6371         * lyxfind.C: use parlist stuff for search/changes
6372
6373 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6374
6375         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6376
6377         * text2.C (deleteEmptyParagraphMechanism): adjust
6378
6379         * text2.[Ch] (ownerParagraph): delete func (both of them
6380
6381 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6382
6383         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6384
6385 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6386
6387         * ParagraphList.C: prepare for NO_NEXT
6388
6389 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6390
6391         * text2.C (getFont): adjust
6392         (getLayoutFont): adjust
6393         (getLabelFont): adjust
6394
6395         * paragraph.C (getFont): adjust
6396         (getLabelFont): adjust
6397         (getLayoutFont): adjust
6398
6399         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6400
6401 2003-04-15  John Levon  <levon@movementarian.org>
6402
6403         From Angus Leeming
6404
6405         * lyx_main.C: handle Include in .ui files
6406
6407 2003-04-15  John Levon  <levon@movementarian.org>
6408
6409         * MenuBackend.C: make the doc files length shorter
6410
6411         * ToolbarBackend.h:
6412         * ToolbarBackend.C: handle toolbar placement flags,
6413         Minibuffer
6414
6415 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6416
6417         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6418         adjust
6419
6420         * paragraph_funcs.C (TeXOnePar): adjust
6421
6422         * paragraph.C (getLabelFont): add outerfont arg, adjust
6423         (getLayoutFont): ditto
6424         (simpleTeXOnePar): adjust
6425
6426         * paragraph_pimpl.C (realizeFont): delete func
6427
6428 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6429
6430         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6431         row argument, constify cur argument.
6432
6433 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6434
6435         * text2.C (getFont): adjust
6436         (getLayoutFont): adjust
6437         (getLabelFont): adjust
6438
6439         * paragraph_funcs.C (TeXOnePar): adjust
6440         (outerFont): new func...
6441         (realizeFont): ...moved out from here, changed this to facilitate
6442         transition
6443
6444         * paragraph.C (getFont): take outerfont as arg, adjust
6445         (simpleTeXOnePar): add outerfont arg, adjust
6446
6447         * buffer.C (simpleLinuxDocOnePar): adjust
6448         (simpleDocBookOnePar): adjust
6449
6450         * CutAndPaste.C (pasteSelection): adjust
6451
6452         * BufferView.C (getEncoding): adjust
6453
6454 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6455
6456         * text2.C (setCharFont): adjust
6457         (setCounter): adjust
6458
6459         * text.C (leftMargin): adjust
6460         (setHeightOfRow): adjust
6461
6462         * rowpainter.C (paintFirst): adjust
6463         (paintLast): adjust
6464
6465         * paragraph_pimpl.C (realizeFont): adjust
6466
6467         * paragraph.C (isFirstInSequence): move from here...
6468         * paragraph_funcs.C (isFirstInSequence): ...to here
6469
6470         * paragraph.C (outerHook): move from here...
6471         * paragraph_funcs.C (outerHook): ...to here
6472
6473         * paragraph.C (depthHook): move from here...
6474         * paragraph_funcs.C (depthHook): ...to here
6475
6476         * paragraph.C (getEndLabel): move from here...
6477         * paragraph_funcs.C (getEndLabel): ...to here
6478
6479         * text2.C (realizeFont): move from here...
6480         * paragraph_funcs.C (realizeFont): ...to here
6481
6482 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6483
6484         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6485
6486 2003-04-14  Angus Leeming  <leeming@lyx.org>
6487
6488         * LColor.[Ch]: scrap LColor mathcursor.
6489
6490 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6491
6492         * lyxlex.[Ch] (text): delete function
6493         * trans.C (Load): adjust
6494         * paragraph_funcs.C (readParToken): adjust
6495
6496 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6497
6498         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6499         vector<char> instead of a char[].
6500
6501         * lyxlex_pimpl.C (getString): adjust
6502         (next): adjust
6503         (lex): use getString
6504         (eatLine): adjust
6505         (nextToken): adjust
6506
6507         * lyxlex.C (text): use pimpl_->getString()
6508         (getBool): ditto
6509         (findToken): ditto
6510
6511 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6512
6513         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6514         (makeFontEntriesLayoutSpecific): temp var for par.size()
6515         (setLayout): temp var for ownerParagraphs().end()
6516         (fullRebreak): temp var for rows().end()
6517         (selectionAsString): temp var for boost::next(startpit), realize
6518         that the while really is a regular for loop.
6519         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6520         setCursor in one place.
6521         (setParagraph): temp vr for ownerParagraphs().end()
6522         (updateCounters): make the while loop a for loop
6523         (cutSelection): temp var for ownerParagraphs().end()
6524         (updateInset): make the do {} while() a regular for loop
6525         (getCursorX): use temp vars
6526         (setCurrentFont): use temp vars
6527         (getColumnNearX): use temp vars
6528
6529 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6530
6531         * text.C (transformChar): use temp var for getChar
6532         (computeBidiTables): use temp var for row->par()
6533         (fill): move temp vars for row->par() and pit->layout() earlier in
6534         the function.
6535         (labelFill): use temp var for row->par()
6536         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6537         asc and desc, realize that pit never changes and that firstpit is
6538         just a duplicate and not needed. Exchange rit->par() with pit in a
6539         lot of places.
6540         (breakAgain): use a temp var for boost::next(rit)
6541         (breakAgainOneRow): ditto
6542         (breakParagraph): use a temp var for rows().begin()
6543         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6544         (cursorRightOneWord): use temp var for cursor.par() and
6545         cursor.pos(), remove usage of tmpcursor.
6546         (cursorLeftOneWord): use temp var for cursor.par() and
6547         cursor.pos() only set cur at end of function.
6548
6549 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6550
6551         * text.C, text2.C: exchange all usage of Paragraph::next with
6552         boost::next(ParagraphList::iterator)
6553
6554         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6555
6556         * text2.C (cursorTop): simplify implementation
6557         (cursorBottom): ditto
6558         (setParagraph): use ParagraphList::iterator
6559         (setCurrentFont): adjust
6560         (getColumnNearX): adjust
6561         (cursorRight): adjust
6562         (cursorLeft): remove usage of Paragraph::previous
6563         (cursorUpParagraph): ditto
6564         (deleteEmptyParagraphMechanism): slight cleanup
6565
6566         * text.C (isBoundary): take a Paragraph const & instead of a
6567         pointer as arg.
6568         (addressBreakPoint): ditto
6569         (leftMargin): remove usage of Paragraph::previous.
6570         (setHeightOfRow): ditto
6571         (cursorLeftOneWord): ditto
6572         (selectNextWordToSpellcheck): ditto
6573         (Delete): ditto
6574         (backspace): ditto
6575         (breakParagraph): remove one usage of Paragraph::next
6576         (redoParagraph): ditto
6577         (acceptChange): ditto
6578         (insertChar): adjust
6579         (rowBreakPoint): adjust
6580
6581         * bufferview_funcs.C (toggleAndShow): adjust
6582
6583 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6584
6585         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6586         methods to access it.
6587         * lyxtext.h:
6588         * text.C: Added updateRowPositions to compute all row positions.
6589         Make top_y and getRowNearY() to use the cached y position
6590
6591 2003-04-11  John Levon  <levon@movementarian.org>
6592
6593         * text.C (rowBreakPoint): reintroduce the labelEnd
6594         checks, code copied from the row fill stuff. Deep voodoo.
6595
6596         * text.C (fill): add a comment and debugging for the
6597         next poor soul.
6598
6599 2003-04-11  John Levon  <levon@movementarian.org>
6600
6601         * text.C: make sure fullrow insets get wrapped to the next line,
6602         even when they're in a manual label
6603
6604 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6605
6606         * text2.C (insertParagraph): make it take ParagraphList::iterator
6607         as arg.
6608         (setLayout): make it return ParagraphList::iterator
6609         (redoParagraphs): ditto
6610         (setCounter): ditto
6611         (checkParagraph): ditto
6612
6613         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6614
6615         * text2.C: adjust several funcs.
6616         (realizeFont): take a ParagraphList::iterator as arg.
6617         (getLayoutFont): ditto
6618         (getLabelFont): ditto
6619         (setCharFont): ditto
6620
6621         * text.C: adjust several funcs.
6622
6623 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6624
6625         * text.C (selectNextWordToSpellcheck): don't accidentally
6626         skip insets
6627
6628 2003-04-10  John Levon  <levon@movementarian.org>
6629
6630         * ToolbarBackend.C (getIcon): special handling for
6631         LFUN_MATH_DELIM
6632
6633 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6634
6635         * text2.C (cursorRight): a getChar assert fixed
6636
6637 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6638
6639         * text2.C (getFont): change to take a ParagraphList::iterator
6640         instead of Paragraph*
6641         Adjust several functions.
6642
6643         * text.C (transformChar): change to take a ParagraphList::iterator
6644         instead of Paragraph*
6645         (singleWidth): ditto
6646         Adjust several functions.
6647
6648         * rowpainter.C: adjust several functions
6649         * rowpainter.h:store a ParagraphList::iterator and not a
6650         Paragraph&.
6651
6652
6653 2003-04-09  John Levon  <levon@movementarian.org>
6654
6655         * lyxfunc.C:
6656         * lfuns.h:
6657         * LyXAction.h:
6658         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6659         and the "help" bits as well
6660
6661 2003-04-09  John Levon  <levon@movementarian.org>
6662
6663         * ToolbarBackend.h:
6664         * ToolbarBackend.C: allow multiple toolbars
6665
6666 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6667
6668         * undo_funcs.C (setCursorParUndo): adjust
6669
6670         * text_funcs.C (transposeChars): adjust
6671
6672         * text3.C (gotoNextInset): adjust
6673         (dispatch): adjust
6674
6675         * text2.C (setLayout): adjust
6676         (changeDepth): adjust
6677         (setFont): adjust
6678         (redoParagraphs): adjust
6679         (selectionAsString): adjust
6680         (setParagraph): adjust
6681         (insertInset): adjust
6682         (cutSelection): adjust
6683         (copySelection): adjust
6684         (pasteSelection): adjust
6685         (insertStringAsLines): adjust
6686         (updateInset): adjust
6687         (setCursor): change to take a ParagraphList::iterator parameter
6688         (setCursorIntern): change to take a ParagraphList::iterator parameter
6689         (setCurrentFont): adjust
6690         (cursorLeft): adjust
6691         (cursorRight): adjust
6692         (deleteEmptyParagraphMechanism): adjust
6693
6694         * text.C (breakParagraph): adjust
6695         (insertChar): adjust
6696         (acceptChange): adjust
6697         (rejectChange): adjust
6698         (selectNextWordToSpellcheck): adjust
6699         (changeCase): adjust
6700         (Delete): adjust
6701         (backspace): adjust
6702
6703         * lyxfind.C (SearchForward): adjust
6704         (SearchBackward): adjust
6705         (nextChange): adjust
6706
6707         * lyxcursor.C (par): adjust
6708
6709         * lyxcursor.h: store a ParagraphList::iterator instead of a
6710         Paragraph*
6711
6712         * lyx_cb.C (getPossibleLabel): adjust
6713
6714         * bufferview_funcs.C (toggleAndShow): adjust
6715
6716         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6717         (dispatch): adjust
6718
6719         * BufferView.C (removeAutoInsets): adjust
6720         (lockedInsetStoreUndo): adjust
6721
6722 2003-04-09  John Levon  <levon@movementarian.org>
6723
6724         * ToolbarBackend.C: try icon without argument
6725         if with argument fails
6726
6727 2003-04-08  John Levon  <levon@movementarian.org>
6728
6729         * ToolbarBackend.h:
6730         * ToolbarBackend.C: add getIcon(), handle tooltip,
6731         and change from "Icon" to "Item".
6732
6733 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6734
6735         * BufferView.C (lockInset): another bad getchar crunched
6736
6737 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6738
6739         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6740         again)
6741
6742 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6743
6744         * lyxfind.C (searchForward, searchBackwards): bug 782
6745
6746 2003-04-07  John Levon  <levon@movementarian.org>
6747
6748         * paragraph.C: remove dead comment
6749
6750         * text.C: remove troublesome depth-fiddling code
6751         in leftMargin() and rightMargin() (bug 1017)
6752
6753         * text.C: fix breaking of rows in nested lists
6754         (bug 1004)
6755
6756         * text2.C (updateCounters): fix up depth values
6757         (bug 1013)
6758
6759 2003-04-07  John Levon  <levon@movementarian.org>
6760
6761         * BufferView_pimpl.C: clear message when doc finishes resizing,
6762         and after a mouse event
6763
6764         * lyxfunc.C: clear message after exiting inset
6765
6766 2003-04-07  John Levon  <levon@movementarian.org>
6767
6768         * bufferview_funcs.C: show math status not outside
6769         status in the statusbar
6770
6771 2003-04-07  John Levon  <levon@movementarian.org>
6772
6773         * lyxfunc.C: note status changed after a depth change
6774
6775 2003-04-04  Angus Leeming  <leeming@lyx.org>
6776
6777         * LaTeX.h: move AuxInfo operator==, != out of line.
6778         Remove LaTeX virtual destructor; nothing derives from it.
6779         Move operator()() out of public area and rename it startscript().
6780         Change protected for private.
6781
6782 2003-04-04  Angus Leeming  <leeming@lyx.org>
6783
6784         * lyxfunc.C:
6785         * text2.C: remove unneeded #includes.
6786
6787 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6788
6789         * text2.C (dEPM): fix the heigth of the next row
6790
6791 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6792
6793         * text.C: squashed an invalid getChar requester + some ws changes
6794
6795 2003-04-03  John Levon  <levon@movementarian.org>
6796
6797         * bufferview_funcs.h:
6798         * bufferview_funcs.C:
6799         * lyxfunc.C:
6800         * lyxtext.h:
6801         * text2.C: make getStatus work for the env depth lfuns
6802
6803 2003-04-03  John Levon  <levon@movementarian.org>
6804
6805         * bufferview_funcs.h:
6806         * bufferview_funcs.C:
6807         * lyxfunc.C:
6808         * lyxtext.h:
6809         * text2.C: parlistize decDepth(), by merging it with incDepth()
6810
6811 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6812
6813         * lyxrow.h: store a ParagraphList::iterator instead of a
6814         Paragraph* and adjust other class functions to suit.
6815
6816         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6817         above.
6818
6819 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6820
6821         * text2.C (setCursor): do not anchor to cursor row for the time being
6822
6823 2003-04-02  John Levon  <levon@movementarian.org>
6824
6825         * LyXAction.C:
6826         * lfuns.h:
6827         * lyx_main.C:
6828         * lyxtext.h:
6829         * text.C:
6830         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6831
6832 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6833
6834         * paragraph.h: make ParagraphList and ParagraphList::iterator
6835         friends of Paragraph.
6836
6837         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6838
6839         * ParagraphList.C: Use the private next_ and previous_ from
6840         Paragraph.
6841
6842 2003-04-01  John Levon  <levon@movementarian.org>
6843
6844         * ToolbarBackend.h:
6845         * ToolbarBackend.C:
6846         * Makefile.am: rename, remove defaults gunk
6847
6848         * MenuBackend.h:
6849         * MenuBackend.C: remove defaults gunk
6850
6851         * Languages.h:
6852         * Languages.C: remove defaults gunk
6853
6854         * lyx_main.h:
6855         * lyx_main.C: error out if files couldn't be found.
6856
6857 2003-04-02  John Levon  <levon@movementarian.org>
6858
6859         * text2.C: make incDepth() use parlist
6860
6861 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6862
6863         * undo_funcs.C (firstUndoParagraph): adjust
6864
6865         * text3.C (gotoInset): adjust
6866         (dispatch): adjust, and rewrite loop.
6867
6868         * text2.C (init): adjust, and rewrite loop.
6869         (redoParagraphs): adjust
6870         (updateInset): adjust, and rewrite loop.
6871         (deleteEmptyParagraphMechanism): adjust
6872
6873         * tabular.C (LyXTabular): adjust
6874         (SetMultiColumn): adjust
6875         (TeXRow): adjust
6876
6877         * lyxtext.[Ch] (ownerParagraph): delete function
6878         (ownerParagraphs): new function returns a ParagraphList.
6879
6880         * BufferView.C (removeAutoInsets): adjust
6881         (insertErrors): adjust
6882         (setCursorFromRow): adjust
6883
6884 2003-04-01  Angus Leeming  <leeming@lyx.org>
6885
6886         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6887         in the frontends.
6888
6889 2003-04-02  John Levon  <levon@movementarian.org>
6890
6891         * lyxtext.h:
6892         * text.C:
6893         * Makefile.am:
6894         * text_funcs.h:
6895         * text_funcs.C: make transposeChars a free function
6896
6897         * lyxrow_funcs.C: remove wrong comment
6898
6899 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6900
6901         * lyxtext.h: adjust
6902         * rowpainter.C: adjust
6903         * text.C: adjust
6904         * text2.C: adjust
6905         * text3.C: adjust
6906
6907         * lyxrow_funcs. [Ch]: new files
6908
6909         * lyxrow.[Ch]: remove next and previous pointers
6910         (next,previous): remove accessor functions
6911         (isParEnd): move to lyxrow_funcs
6912         (lastPos): move to lyxrow_funcs
6913         (nextRowIsAllInset): move to lyxrow_funcs
6914         (lastPrintablePos): move to lyxrow_funcs
6915         (numberOfSeparators): move to lyxrow_funcs
6916         (numberOfHfills): move to lyxrow_funcs
6917         (numberOfLabelHfills): move to lyxrow_funcs
6918         (hfillExpansion): move to lyxrow_funcs
6919
6920         * lyxfunc.C: adjust
6921
6922         * bufferview_funcs.C (toggleAndShow): adjust
6923
6924         * RowList.h: Remove class RowList from file leave just a
6925         std::list<Row>.
6926
6927         * RowList.C: delete file
6928
6929         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6930         and lyxrow_funcs.h
6931
6932 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6933
6934         * text3.C (cursorPrevious): adjust
6935         (cursorNext): adjust
6936         (dispatch): adjust
6937
6938         * text2.C (redoHeightOfParagraph): adjust
6939         (redoDrawingOfParagraph): adjust
6940         (setCursor): adjust
6941
6942         * text.C (breakParagraph): adjust
6943         (insertChar): adjust
6944         (backspace): adjust
6945
6946         * rowpainter.C (RowPainter): adjust
6947         (leftMargin): simplify and adjust
6948         (most rowpainter functions): adjust.
6949
6950         * rowpainter.h: store the row as RowList::iterator not as Row*
6951
6952         * lyxcursor.C (row): taka RowList::iterator as arg
6953         (irow): ditto
6954
6955         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6956         of Row*.
6957
6958 2003-04-01  Angus Leeming  <leeming@lyx.org>
6959
6960         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6961         stuff like bool Bool.
6962
6963 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6964
6965         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6966         rewrite a loop
6967
6968 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6969
6970         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6971         RowList::iterator.
6972
6973         * lyxtext.h (rows): drop one version and leve a const variant that
6974         returns a RowList::iterator.
6975
6976 2003-03-31  Angus Leeming  <leeming@lyx.org>
6977
6978         * text.C (fill): ensure that the signature is the same as that in the
6979         header file.
6980
6981 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6982
6983         * text2.C (redoParagraphs): adjust
6984         (updateCounters): adjust
6985         (checkParagraph): adjust
6986         (getColumnNearX): adjust and reformat a bit.
6987
6988         * text.C (top_y): adjust
6989         (workWidth): adjust
6990         (leftMargin): adjust
6991         (prepareToPrint): adjust
6992         (getRow): adjust
6993         (getRowNearY): adjust
6994
6995         * lyxtext.h: make rowlist_ mutable.
6996
6997         * RowList.h: add const_iterator
6998         * RowList.C: adjust for RowList::const_iterator.
6999
7000         * text2.C (getCursorX): make it take a RowList::iterator as arg,
7001         adjust.
7002
7003 2003-03-31  John Levon  <levon@movementarian.org>
7004
7005         * lyxrc.h:
7006         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7007
7008         * lyx_main.C: set default fonts from using lyx_gui funcs
7009
7010         * exporter.C: pdf_mode moved from lyxrc
7011
7012         * lyx_cb.C:
7013         * lyxfunc.C: changes from above
7014
7015 2003-03-31  John Levon  <levon@movementarian.org>
7016
7017         * lyx_main.C: fix to the last fix
7018
7019 2003-03-31  John Levon  <levon@movementarian.org>
7020
7021         * bufferlist.C: "Load original" -> "Load Original"
7022
7023         * converter.C:
7024         * exporter.C:
7025         * importer.C:
7026         * lyx_main.C:
7027         * format.C: more Alert cleanups
7028
7029 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7030
7031         * text2.C (removeParagraph): make it take a RowList::iterator as
7032         arg, adjust.
7033         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7034         (postRowPaint): make it take a RowList::iterator as arg, adjust.
7035
7036         * text.C (anchor_row): make it take a RowList::iterator as arg,
7037         adjust.
7038         (computeBidiTables): make it take a const reference to Row instead
7039         of Row pointer, adjust.
7040         (leftMargin): make it take a RowList::iterator as arg, adjust.
7041         (rowBreakPoint): adjust
7042         (breakAgainOneRow): make it take a RowList::iterator as arg,
7043         adjust.
7044         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7045
7046         * bufferview_funcs.C (toggleAndShow): adjust
7047
7048 2003-03-30  John Levon  <levon@movementarian.org>
7049
7050         * Makefile.am:
7051         * BoostFormat.h:
7052         * boost-inst.C: moved to support
7053
7054         * several files: changes as a result
7055
7056 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
7057
7058         * text2.C (LyXText): adjust.
7059         (init): adjust
7060         (removeRow): make it take a RowList::iterator as arg, adjust.
7061         (fullRebreak): adjust
7062         (deleteEmptyParagraphMechanism): adjust
7063         (clearPaint): adjust
7064         (postPaint): adjust
7065
7066         * text.C (top_y): adjust
7067         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7068         (breakAgain): make it take a RowList::iterator as arg, adjust.
7069         (breakParagraph): adjust
7070         (insertChar): adjust
7071         (backspace): adjust
7072
7073         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7074         need_break_row, and refresh_row.
7075
7076         * text3.C (dispatch): adjust
7077
7078         * text2.C (checkParagraph): adjust
7079         (setCursor): adjust
7080         (setCursorFromCoordinates): adjust
7081
7082         * text.C (top_y): adjust
7083         (workWidth): adjust
7084         (getRow): make it return a RowList::iterator, adjust
7085         (getRowNearY): make it return a RowList::iterator, adjust
7086
7087         * text2.C (init): adjust
7088         (insertRow): remove function
7089         (insertParagraph): adjust
7090         (redoParagraphs): adjust
7091         (fullRebreak): adjust
7092         (updateCounters): adjust
7093
7094         * text.C (top_y): rewrite to use RowList iterators.
7095         (top_y): adjust
7096         (setHeightOfRow): rewrite to sue RowList iterators.
7097         (appendParagraph): adjust
7098         (breakAgain): adjust
7099         (breakAgainOneRow): adjust
7100         (breakParagraph): adjust
7101         (getRow): adjust
7102         (getRowNearY): adjust, and remove commented code.
7103
7104         * lyxtext.h (firstRow): delete function
7105         (lastRow): delete function
7106         (rows): new function (const and non-const versions.)
7107         (insertRow): delete function
7108
7109         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7110
7111 2003-03-29  John Levon  <levon@movementarian.org>
7112
7113         * BufferView_pimpl.C: always update scrollbar top
7114         because pasting text when we're anchored could mean we
7115         miss an update altogether
7116
7117 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7118
7119         * text2.C (init): use rowlist_.end() and not 0.
7120         (insertRow): change to take a RowList::iterator as arg, adjust
7121         for this.
7122         (insertParagraph): change to take a RowList::iterator as arg,
7123         adjust for this.
7124         (redoParagraphs): remove some debug msgs.
7125
7126         * text.C (appendParagraph): change to take a RowList::iterator
7127         arg, adjust for this.
7128         (breakAgain): add an assert
7129         (breakAgainOneRow): ditto
7130
7131 2003-03-29  John Levon  <levon@movementarian.org>
7132
7133         * text2.C: do not clear selection after inc/decDepth
7134         (bug 550)
7135
7136 2003-03-29  John Levon  <levon@movementarian.org>
7137
7138         * BufferView.C:
7139         * buffer.C: fix broken strerrors according to Lars
7140
7141 2003-03-29  John Levon  <levon@movementarian.org>
7142
7143         * converters.C: more Alert cleanups
7144
7145 2003-03-29  John Levon  <levon@movementarian.org>
7146
7147         * bufferview_funcs.C: remove pointless Alert
7148
7149         * buffer.C: fix confusing error message when
7150         a template is chmoded 000
7151
7152 2003-03-29  John Levon  <levon@movementarian.org>
7153
7154         * BufferView.C:
7155         * BufferView.h:
7156         * BufferView_pimpl.C: Alert fixes
7157
7158         * Makefile.am:
7159         * tabular.C:
7160         * tabular-old.C: remove unused table compat reading
7161
7162 2003-03-29  John Levon  <levon@movementarian.org>
7163
7164         * BufferView.C:
7165         * buffer.C:
7166         * lyx_cb.h:
7167         * lyx_cb.C: more Alert cleanups
7168
7169         * lyxfunc.C: don't allow chktex if not latex document
7170
7171 2003-03-29  John Levon  <levon@movementarian.org>
7172
7173         * lyx_cb.C:
7174         * BufferView.C:
7175         * buffer.C: warnings pushed down from support/,
7176         kill err_alert
7177
7178 2003-03-29  John Levon  <levon@movementarian.org>
7179
7180         * lyxfunc.C: safety check for C-r (revert)
7181
7182 2003-03-29  John Levon  <levon@movementarian.org>
7183
7184         * bufferlist.h:
7185         * bufferlist.C: several UI fixes using Alert::prompt.
7186         Fix the pointless looping quit code. Fix stupid revert
7187         behaviour (bug 938)
7188
7189         * lyxvc.h:
7190         * lyxvc.C:
7191         * lyx_cb.C: use Alert::prompt
7192
7193         * lyx_main.C: remove a silly question
7194
7195         * lyxfunc.C: remove a couple of silly questions,
7196         use Alert::prompt
7197
7198 2003-03-28  John Levon  <levon@movementarian.org>
7199
7200         * text2.C: fix bug 974 (End on empty par)
7201
7202 2003-03-28  John Levon  <levon@movementarian.org>
7203
7204         * BufferView_pimpl.C:
7205         * LyXAction.C:
7206         * lfuns.h: remove do-nothing math greek lfuns
7207
7208 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7209
7210         * lyxgluelength.h (isValidGlueLength): add default arg on
7211         parameter 2. Remove default arg from friend in class.
7212
7213         * lyxlength.h (isValidLength): add default arg on parameter 2.
7214         Remove default arg from friend in class.
7215
7216         * text2.C (LyXText): adjust, initialize refresh_row.
7217         (init): adjust
7218         (removeRow): adjust
7219         (insertRow): adjust
7220         (insertParagraph): adjst
7221         (redoParagraphs): adjust
7222         (fullRebreak): adjust
7223         (updateCounters): adjust
7224         (deleteEmptyParagraphMechanism): first attempt at fixing a
7225         crashing bug.
7226
7227         * text.C (top_y): adjust
7228         (setHeightOfRow): adjust
7229         (getRow): adjust
7230         (getRowNearY): adjust
7231
7232         * lyxtext.h: include RowList.h
7233         (~LyXText): not needed anymore, deleted.
7234         (firstRow): modify for RowList
7235         (lastRow): new function
7236         Delete firstrow and lastrow class variables, add a Rowlist
7237         rowlist_ class variable.
7238
7239         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7240         paragraph is empty.
7241
7242         * RowList.C (insert): fix case where it == begin().
7243
7244 2003-03-26  Angus Leeming  <leeming@lyx.org>
7245
7246         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7247         the thesaurus dialog.
7248
7249 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7250
7251         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7252
7253         * RowList.[Ch]: new files
7254
7255         * ParagraphList.C (erase): handle the case where it == begin
7256         correctly.
7257
7258 2003-03-25  John Levon  <levon@movementarian.org>
7259
7260         * Makefile.am:
7261         * aspell_local.h:
7262         * aspell.C: add new aspell support
7263
7264         * lyxrc.h:
7265         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7266         have it accessible.
7267
7268 2003-03-25  Angus Leeming  <leeming@lyx.org>
7269
7270         * lfuns.h:
7271         * LyXAction.C (init): new LFUN_INSET_INSERT.
7272
7273         * BufferView_pimpl.C (dispatch): split out part of the
7274         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7275
7276         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7277         LFUN_INSET_APPLY.
7278
7279 2003-03-25  Angus Leeming  <leeming@lyx.org>
7280
7281         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7282
7283 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7284
7285         * text2.C:
7286         * text3.C: remove useless row->height(0)
7287
7288 2003-03-25  John Levon  <levon@movementarian.org>
7289
7290         * lyxtext.h:
7291         * text2.C:
7292         * text3.C: rename the refreshing stuff to better names
7293
7294 2003-03-24  John Levon  <levon@movementarian.org>
7295
7296         * BufferView_pimpl.h:
7297         * BufferView_pimpl.C: update layout choice on a mouse
7298         press/release
7299
7300 2003-03-23  John Levon  <levon@movementarian.org>
7301
7302         * Makefile.am: fix commandtags.h reference
7303
7304 2003-03-22  John Levon  <levon@movementarian.org>
7305
7306         * BufferView_pimpl.C:
7307         * lyxtext.h:
7308         * rowpainter.C:
7309         * rowpainter.h:
7310         * text.C:
7311         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7312
7313 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7314
7315         * lyxtext.h:
7316         * text.C: take the rtl methods out of line
7317
7318 2003-03-21 André Pönitz <poenitz@gmx.net>
7319
7320         * metricsinfo.[Ch]: new files containing structures to be passed around
7321         during the two-phase-drawing...
7322
7323 2003-03-21 André Pönitz <poenitz@gmx.net>
7324
7325         * lyxtextclass.C: read 'environment' tag.
7326
7327 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7328
7329         * text2.C (removeRow): fix bug 964
7330
7331 2003-03-20  John Levon  <levon@movementarian.org>
7332
7333         * rowpainter.C:
7334         * text.C:
7335         * text2.C: paint cleanups. Inset::update() dropped font
7336         parameter
7337
7338 2003-03-19  John Levon  <levon@movementarian.org>
7339
7340         * lyxfunc.C: only fitcursor/markDirty if available()
7341
7342 2003-03-19  John Levon  <levon@movementarian.org>
7343
7344         * commandtags.h: rename to ...
7345
7346         * lfuns.h: ... this, and renumber / cleanup
7347
7348 2003-03-19  John Levon  <levon@movementarian.org>
7349
7350         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7351         fit the cursor after an lfun
7352
7353         * BufferView.h:
7354         * BufferView.C:
7355         * BufferView_pimpl.h:
7356         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7357
7358         * LyXAction.C: layout-character should have ReadOnly
7359
7360         * ParagraphParameters.C:
7361         * buffer.C:
7362         * bufferview_funcs.C:
7363         * lyx_cb.C:
7364         * lyxfind.C:
7365         * lyxtext.h:
7366         * text.C:
7367         * text2.C:
7368         * text3.C:
7369         * undo_funcs.C: changes from above
7370
7371 2003-03-18  John Levon  <levon@movementarian.org>
7372
7373         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7374         remove it from update()
7375
7376         * lyxfunc.C: update layout choice after an lfun
7377
7378         * text3.C: remove extra updateLayoutChoice()s
7379
7380 2003-03-18  John Levon  <levon@movementarian.org>
7381
7382         * text.C: top_y change means full repaint, fix
7383         a drawing bug with cursor movement
7384
7385 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7386
7387         * lyxtext.h:
7388         * text.C:
7389         * text2.C: anchor row on setCursor
7390
7391 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7392
7393         * lyxtext.h: remove almost all mutable keywords
7394         * text.C:
7395         * text2.C:
7396         * text3.C: remove const keywords accordingly
7397
7398 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7399
7400         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7401         anon namespace
7402         (TeXEnvironment): ditto
7403         (TeXOnePar): ditto
7404
7405 2003-03-17  John Levon  <levon@movementarian.org>
7406
7407         * text.C (rowBreakPoint): remove attempt to fix displayed
7408         math insets inside a manual label
7409
7410 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7411
7412         * lyxtext.h: remove BufferView* as first arg from almost all class
7413         functions.
7414         * other files: adjust.
7415
7416 2003-03-17  John Levon  <levon@movementarian.org>
7417
7418         * lyxtext.h:
7419         * undo_funcs.C:
7420         * text2.C: more paint cleanups
7421
7422         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7423
7424         * rowpainter.h:
7425         * rowpainter.C: remove "smart" background painting code
7426
7427 2003-03-16  John Levon  <levon@movementarian.org>
7428
7429         * lyxtext.h:
7430         * text.C:
7431         * text2.C:
7432         * text3.C: add helper functions for setting refresh_row/y
7433
7434 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7435
7436         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7437         newline inset which *can* get inserted in the pass_thru layouts.
7438         This is primarily for literate documents.
7439
7440 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7441
7442         * buffer.C: increment LYX_FORMAT to 223
7443
7444 2003-03-14 André Pönitz <poenitz@gmx.net>
7445
7446         * textclass.h: prepare for environment handling, ws changes
7447         * lyxlayout.C: read latexheader and latexfooter tags
7448
7449 2003-03-14  John Levon  <levon@movementarian.org>
7450
7451         * text2.C: rewrite ::status() a bit
7452
7453 2003-03-13  John Levon  <levon@movementarian.org>
7454
7455         * lyxtext.h: add some docs
7456
7457 2003-03-13  John Levon  <levon@movementarian.org>
7458
7459         * lyxtext.h:
7460         * text.C:
7461         * text2.C:
7462         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7463
7464 2003-03-13  John Levon  <levon@movementarian.org>
7465
7466         * text3.C: fix appendix redrawing
7467
7468 2003-03-13  John Levon  <levon@movementarian.org>
7469
7470         * text.C (setHeightOfRow):
7471         * rowpainter.h:
7472         * rowpainter.C: make appendix mark have the text
7473           "Appendix" so the user knows what it is
7474
7475         * LColor.h:
7476         * LColor.C: s/appendixline/appendix/ from above
7477
7478 2003-03-13  John Levon  <levon@movementarian.org>
7479
7480         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7481
7482         * text.C: fix a getChar(pos) bug properly
7483
7484 2003-03-13  Angus Leeming  <leeming@lyx.org>
7485
7486         * commandtags.h:
7487         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7488         Probably only temporary. Let's see how things pan out.
7489
7490         * BufferView.C (unlockInset):
7491         * BufferView_pimpl.C (fitCursor):
7492         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7493
7494         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7495         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7496
7497         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7498         new functions that convert ParagraphParameters to and from a string.
7499
7500         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7501         BufferView::Pimpl's dispatch.
7502         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7503
7504 2003-03-13 André Pönitz <poenitz@gmx.net>
7505
7506         * lyxfunc.C:
7507         * text3.C:
7508         * factory.C: make it aware of InsetEnv
7509
7510 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7511
7512         * text2.C (setCursor): never ask for one past last
7513         (setCursor): add some debugging messages.
7514
7515         * text.C (singleWidth): never ask for one past last
7516         (singleWidth): ditto
7517         (leftMargin): ditto
7518         (rightMargin): ditto
7519         (rowBreakPoint): ditto
7520         (setHeightOfRow): ditto
7521         (prepareToPrint): ditto
7522
7523         * rowpainter.C (paintBackground): never ask for one past last
7524         (paintText): never ask for one past last
7525
7526         * paragraph_pimpl.C (getChar): make the assert stricter, never
7527         allow the one past last pos to be taken
7528
7529         * paragraph.C (getChar): ws changes only
7530
7531         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7532         (numberOfSeparators): ditto
7533         (numberOfHfills): ditto
7534
7535 2003-03-12  John Levon  <levon@movementarian.org>
7536
7537         * author.h:
7538         * author.C:
7539         * bufferparams.h:
7540         * bufferparams.C:
7541         * paragraph_funcs.C: fix per-buffer authorlists
7542
7543 2003-03-12  John Levon  <levon@movementarian.org>
7544
7545         * text.C: fix newline in right address
7546
7547 2003-03-12  Angus Leeming  <leeming@lyx.org>
7548
7549         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7550         duplicate those in LyXFunc::dispatch.
7551
7552         * commandtags.h:
7553         * LyXAction.C:
7554         * ToolbarDefaults.C:
7555         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7556         Add LFUN_FONTFREE_UPDATE.
7557
7558         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7559         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7560
7561         * bufferview_func.[Ch]: several new functions to facilliate
7562         transfer of data to and from the character dialog.
7563
7564 2003-03-12  John Levon  <levon@movementarian.org>
7565
7566         * buffer.C:
7567         * paragraph.h:
7568         * paragraph.C:
7569         * paragraph_funcs.C:
7570         * paragraph_pimpl.C:
7571         * sgml.C:
7572         * tabular.C:
7573         * text.C:
7574         * text3.C: remove META_NEWLINE in favour of an inset
7575
7576         * rowpainter.h:
7577         * rowpainter.C: remove paintNewline (done by inset)
7578
7579 2003-03-12  John Levon  <levon@movementarian.org>
7580
7581         * paragraph_pimpl.C: complain about bad getChar()s
7582         for a while at least
7583
7584 2003-03-12  John Levon  <levon@movementarian.org>
7585
7586         * buffer.h:
7587         * buffer.C: move paragraph read into a separate function,
7588         a little renaming to reflect that.
7589
7590         * bufferparams.h:
7591         * bufferparams.C: remove the author_ids map, not necessary now
7592
7593         * factory.h:
7594         * factory.C: moved Buffer::readInset to here
7595
7596         * paragraph_funcs.h:
7597         * paragraph_funcs.C: readParagraph free function moved from
7598         buffer.C
7599
7600         * tabular.C: name change
7601
7602 2003-03-12  John Levon  <levon@movementarian.org>
7603
7604         * buffer.C:
7605         * ParagraphParameters.C: move par params input to
7606         a read() method
7607
7608         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7609         behave like a normal read from the stream wrt reading
7610         a line vs. a \\token
7611
7612 2003-03-12  John Levon  <levon@movementarian.org>
7613
7614         * paragraph.C:
7615         * ParagraphParameters.h:
7616         * ParagraphParameters.C: move output code to a
7617         ::write() method
7618
7619 2003-03-12  John Levon  <levon@movementarian.org>
7620
7621         * BufferView.C (insertLyXFile):
7622         * buffer.h:
7623         * buffer.C:
7624         * tabular.C: use a parlist iterator for creating the
7625           document.
7626
7627 2003-03-12  John Levon  <levon@movementarian.org>
7628
7629         * buffer.C: make current_change static local not
7630           static file-scope
7631
7632 2003-03-12  John Levon  <levon@movementarian.org>
7633
7634         * buffer.C: fix insertStringAsLines for change tracking
7635
7636 2003-03-12  John Levon  <levon@movementarian.org>
7637
7638         * BufferView.C:
7639         * tabular.C:
7640         * buffer.h:
7641         * buffer.C:
7642         * bufferparams.h:
7643         * bufferparams.C: move author list into params. Rename some
7644           functions. Move the header reading into a separate token
7645           loop. Move the header token reading into BufferParams.
7646
7647 2003-03-12  John Levon  <levon@movementarian.org>
7648
7649         * changes.C: put debug inside lyxerr.debugging() checks
7650
7651 2003-03-11 André Pönitz <poenitz@gmx.net>
7652
7653         * factory.C: make it aware of InsetHFill
7654
7655 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7656
7657         * buffer.C (latexParagraphs): move function from here...
7658         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7659         args.
7660
7661 2003-03-10  Angus Leeming  <leeming@lyx.org>
7662
7663         * LyXAction.C (init): fix bug in poplating array with multiple entries
7664         with the same LFUN (spotted by JMarc).
7665
7666 2003-03-10  John Levon  <levon@movementarian.org>
7667
7668         * text.C:
7669         * text2.C: move getColumnNearX() near its
7670         only call site
7671
7672 2003-03-10  John Levon  <levon@movementarian.org>
7673
7674         * text.C: fix break before a minipage
7675
7676 2003-03-10  John Levon  <levon@movementarian.org>
7677
7678         * text.C: fix the last commit
7679
7680 2003-03-09  John Levon  <levon@movementarian.org>
7681
7682         * lyxtext.h:
7683         * text.C:
7684         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7685         bug 365 (don't break before insets unless needed). Don't
7686         return a value > last under any circumstances.
7687
7688 2003-03-09  Angus Leeming  <leeming@lyx.org>
7689
7690         * BufferView_pimpl.C (trackChanges, dispatch): call
7691         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7692
7693 2003-03-09  Angus Leeming  <leeming@lyx.org>
7694
7695         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7696         than Dialogs::showAboutlyx().
7697
7698 2003-03-09  Angus Leeming  <leeming@lyx.org>
7699
7700         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7701         than Dialogs::showTabularCreate().
7702
7703 2003-03-09  John Levon  <levon@movementarian.org>
7704
7705         * lyxtext.h:
7706         * text.C:
7707         * text2.C: 3rd arg to nextBreakPoint was always the same.
7708           Use references.
7709
7710 2003-03-08  John Levon  <levon@movementarian.org>
7711
7712         * lyxrow.C:
7713         * paragraph.C:
7714         * paragraph.h:
7715         * rowpainter.C:
7716         * text.C:
7717         * text2.C: Remove the "main" bit from the "main body"
7718           notion.
7719
7720 2003-03-08  John Levon  <levon@movementarian.org>
7721
7722         * text.C (leftMargin): The left margin of an empty
7723         manual label paragraph should not include the label width
7724         string length.
7725
7726         * text.C (prepareToPrint): don't attempt to measure hfills
7727         for empty manual label paragraphs - the answer should be 0
7728
7729 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * CutAndPaste.C: remove commented code and reindent.
7732
7733 2003-03-08  John Levon  <levon@movementarian.org>
7734
7735         * lyxfunc.h:
7736         * lyxfunc.C: move reloadBuffer()
7737
7738         * BufferView.h:
7739         * BufferView.C: to here
7740
7741         * lyxvc.C: add comment
7742
7743         * vc-backend.h:
7744         * vc-backend.C: call bv->reload() to avoid
7745           getStatus() check on MENURELOAD
7746
7747 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7748
7749         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7750         to an old format .dep file.
7751
7752 2003-03-07  Angus Leeming  <leeming@lyx.org>
7753
7754         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7755         when the LFUN_MOUSE_RELEASE should have been handled by
7756         inset->localDispatch.
7757
7758 2003-03-07  Angus Leeming  <leeming@lyx.org>
7759
7760         * BufferView_pimpl.C (dispatch):
7761         * LyXAction.C (init):
7762         * ToolbarDefaults.C (init):
7763         * commandtags.h:
7764         * lyxfunc.C (getStatus):
7765         remove LFUN_INSET_GRAPHICS.
7766
7767         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7768
7769 2003-03-07  Angus Leeming  <leeming@lyx.org>
7770
7771         * commandtags.h:
7772         * LyXAction.C (init):
7773         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7774
7775         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7776
7777         * commandtags.h:
7778         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7779
7780         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7781         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7782
7783 2003-03-07  Angus Leeming  <leeming@lyx.org>
7784
7785         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7786         remove "ert".
7787
7788 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7789
7790         * ParagraphList.C (front): new function
7791         (back): implement
7792
7793 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7794
7795         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7796         and top_row_offset_. removed var first_y.
7797         * text.C (top_y):
7798         * text2.C (LyXText, removeRow):
7799         * text3.C:
7800         * BufferView_pimpl.C:
7801         use these methods instead of using first_y
7802
7803 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7804
7805         * text2.C (pasteSelection): adjust for checkPastePossible
7806
7807         * CutAndPaste.C: remove Paragraph * buf and replace with
7808         ParagraphList paragraphs.
7809         (DeleteBuffer): delete
7810         (cutSelection): change the tc type to textclass_type
7811         (copySelection): change the tc type to textclass_type
7812         (copySelection): adjust for ParagraphList
7813         (pasteSelection): change the tc type to textclass_type
7814         (pasteSelection): adjust for Paragraphlist
7815         (nrOfParagraphs): simplify for ParagraphList
7816         (checkPastePossible): simplify for ParagraphList
7817         (checkPastePossible): remove unused arg
7818
7819         * ParagraphList.C (insert): handle the case where there are no
7820         paragraphs yet.
7821
7822         * CutAndPaste.h: make CutAndPaste a namespace.
7823
7824         * text3.C (dispatch): adjust
7825
7826         * text.C (breakParagraph): add a ParagraphList as arg
7827
7828         * paragraph_funcs.C (breakParagraph): change to take a
7829         BufferParams and a ParagraphList as args.
7830         (breakParagraphConservative): ditto
7831         (mergeParagraph): ditto
7832         (TeXDeeper): add a ParagraphList arg
7833         (TeXEnvironment): ditto
7834         (TeXOnePar): ditto
7835
7836         * buffer.C (readLyXformat2): adjust
7837         (insertStringAsLines): adjust
7838         (latexParagraphs): adjust
7839
7840         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7841         (cutSelection): adjust
7842         (pasteSelection): adjust
7843
7844         * BufferView_pimpl.C (insertInset): adjust
7845
7846 2003-03-05  Angus Leeming  <leeming@lyx.org>
7847
7848         * commandtags.h:
7849         * LyXAction.C (init):
7850         * BufferView_pimpl.C (dispatch):
7851         * lyxfunc.C (getStatus):
7852         remove LFUN_CHILD_INSERT.
7853
7854         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7855
7856 2003-03-05  Angus Leeming  <leeming@lyx.org>
7857
7858         * commandtags.h:
7859         * LyXAction.C (init):
7860         * src/factory.C (createInset):
7861         * lyxfunc.C (getStatus):
7862         * text3.C (dispatch):
7863         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7864
7865         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7866
7867 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7868
7869         * ParagraphList.C (insert): handle insert right before end()
7870         (erase): fix cases where it can be first or last paragraph.
7871
7872 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7873
7874         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7875         Paragraph::next and Paragraph::previous
7876         (TeXOnePar): ditto
7877
7878         * text.C (breakParagraph): adjust
7879
7880         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7881         BufferParams& as arg.
7882         (breakParagraph): use ParagraphList::insert
7883         (breakParagraphConservative): take a Buffer* instead of a
7884         BufferParams& as arg.
7885         (breakParagraphConservative): use ParagraphList::insert.
7886
7887         * buffer.C (insertStringAsLines): un-const it
7888         (insertStringAsLines): adjust
7889
7890         * ParagraphList.C (insert): new function
7891
7892         * CutAndPaste.C (pasteSelection): adjust
7893
7894         * text.C (backspace): adjust
7895
7896         * tabular.C (SetMultiColumn): adjust
7897
7898         * CutAndPaste.C (cutSelection): adjust
7899         (pasteSelection): adjust
7900
7901         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7902         Buffer const * as arg
7903
7904         * ParagraphList.C (erase): new function
7905         * paragraph_funcs.C (mergeParagraph): use it
7906         (mergeParagraph): make it take a Buffer* instead of a
7907         BufferParams* as arg
7908
7909         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7910         as arg
7911         (breakParagraphConservative): ditto
7912
7913         * paragraph.h: remove the breakParagraph friend
7914
7915         * paragraph.C (eraseIntern): new function
7916         (setChange): new function
7917
7918         * paragraph_funcs.C (mergeParagraph): make it take a
7919         ParagraphList::iterator instead of a Paragraph *, adjust
7920         accordingly.
7921
7922         * paragraph.h: move an #endif so that the change tracking stuff
7923         also works in the NO_NEXT case.
7924
7925 2003-03-04  Angus Leeming  <leeming@lyx.org>
7926
7927         * commandtags.h:
7928         * LyXAction.C: new LFUN_INSET_MODIFY.
7929
7930         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7931         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7932
7933 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7934
7935         * several files: ws changes only
7936
7937         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7938         (TeXEnvironment): ditto
7939         (TeXDeeper): ditto
7940
7941         * buffer.C (makeLaTeXFile): adjust
7942         (latexParagraphs): make it take ParagraphList::iterator as args
7943
7944 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7945
7946         * buffer.C (latexParagraphs): adjust
7947
7948         * paragraph.C (TeXOnePar): move function...
7949         (optArgInset): move function...
7950         (TeXEnvironment): move function...
7951         * paragraph_pimpl.C (TeXDeeper): move function...
7952         * paragraph_funcs.C: ...here
7953
7954         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7955
7956 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7957
7958         * buffer.C (readInset): remove compability code for old Figure and
7959         InsetInfo insets
7960
7961 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7962
7963         * buffer.C: ws changes
7964         (readInset):
7965
7966         * BufferView_pimpl.C: ditto
7967         * author.C: ditto
7968         * buffer.h: ditto
7969         * bufferlist.h: ditto
7970         * changes.h: ditto
7971         * lyxfunc.C: ditto
7972
7973 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7974
7975         * converter.[Ch]: split into itself +
7976         * graph.[Ch]
7977         * format.[Ch]
7978         * Makefile.am: += graph.[Ch] + format.[Ch]
7979         * MenuBackend.C
7980         * buffer.C
7981         * exporter.C
7982         * importer.C
7983         * lyx_main.C
7984         * lyxfunc.C
7985         * lyxrc.C: added #include "format.h"
7986
7987 2003-02-27  Angus Leeming  <leeming@lyx.org>
7988
7989         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7990           a label.
7991
7992         * factory.C (createInset): add "label" to the factory.
7993
7994         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7995           string and do no more.
7996
7997 2003-02-27  Angus Leeming  <leeming@lyx.org>
7998
7999         * commandtags.h:
8000         * LyXAction.C (init):
8001         * factory.C (createInset):
8002         * BufferView_pimpl.C (dispatch):
8003           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8004
8005         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8006
8007         * lyxfunc.C (dispatch):
8008         * text3.C (dispatch): pass name to params2string.
8009
8010 2003-02-26  Angus Leeming  <leeming@lyx.org>
8011
8012         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8013           blocks together.
8014           Rearrange the ~includes. Strip out the unnecessary ones.
8015
8016         * factory.C (createInset): reformat.
8017           create new insets for the various LFUN_XYZ_APPLY lfuns.
8018
8019 2003-02-26  John Levon  <levon@movementarian.org>
8020
8021         * lyxrow.h:
8022         * lyxrow.C: add isParStart,isParEnd helpers
8023
8024         * paragraph.h: make isInserted/DeletedText take refs
8025
8026         * paragraph_funcs.h:
8027         * paragraph_funcs.C: remove #if 0'd code
8028
8029         * lyxtext.h:
8030         * text3.C:
8031         * text2.C:
8032         * text.C: use lyxrow helpers above.
8033           Move draw and paint routines to RowPainter.
8034           Make several methods use refs not pointers.
8035           Make backgroundColor() const.
8036           Add markChangeInDraw(), isInInset().
8037           Merge changeRegionCase into changeCase.
8038           Make workWidth() shouldn't-happen code into an Assert.
8039
8040         * rowpainter.h:
8041         * rowpainter.C: new class for painting a row.
8042
8043         * vspace.h:
8044         * vspace.C: make inPixels take a ref
8045
8046 2003-02-26  Angus Leeming  <leeming@lyx.org>
8047
8048         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8049         LFUN_REF_APPLY.
8050
8051 2003-02-25  John Levon  <levon@movementarian.org>
8052
8053         * ispell.C: give the forked command a more accurate name
8054
8055 2003-02-22  John Levon  <levon@movementarian.org>
8056
8057         * toc.h:
8058         * toc.C: make TocItem store an id not a Paragraph *
8059           (bug #913)
8060
8061 2003-02-21  Angus Leeming  <leeming@lyx.org>
8062
8063         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8064           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8065           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8066           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8067           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8068           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8069
8070         * BufferView_pimpl.C (dispatch):
8071         * LyXAction.C (init):
8072         * factory.C (createInset):
8073         * lyxfunc.C (getStatus, dispatch):
8074         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8075
8076 2003-02-21  Angus Leeming  <leeming@lyx.org>
8077
8078         * BufferView_pimpl.C (MenuInsertLyXFile):
8079         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8080         * lyxfunc.C (menuNew, open, doImport):
8081           no longer pass a LyXView & to fileDlg.
8082
8083 2003-02-21  Angus Leeming  <leeming@lyx.org>
8084
8085         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8086         * LyXAction.C: change, BIBKEY to BIBITEM.
8087         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8088         Change InsetBibKey to InsetBibitem.
8089         Change BIBKEY_CODE to BIBITEM_CODE.
8090         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8091         * factory.C: replace insetbib.h with insetbibitem.h.
8092         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8093         * paragraph.C: replace insetbib.h with insetbibitem.h.
8094         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8095         Change bibkey() to bibitem().
8096         * text.C: remove insetbib.h.
8097         * text2.C: replace insetbib.h with insetbibitem.h.
8098         change bibkey() to bibitem().
8099         * text3.C: remove insetbib.h.
8100         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8101
8102 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8103
8104         * lyxrc.C (output): enclose user email in quotes (in case there are
8105         several words)
8106
8107 2003-02-18  John Levon  <levon@movementarian.org>
8108
8109         * buffer.h: add std::
8110
8111 2003-02-17  John Levon  <levon@movementarian.org>
8112
8113         * SpellBase.h:
8114         * ispell.h:
8115         * ispell.C:
8116         * pspell.h:
8117         * pspell.C: reworking. Especially in ispell, a large
8118           number of clean ups and bug fixes.
8119
8120         * lyxfunc.C: fix revert to behave sensibly
8121
8122 2003-02-17 André Pönitz <poenitz@gmx.net>
8123
8124         * LyXAction.C:
8125         * commandtags.h: new LFUN_INSERT_BIBKEY
8126
8127         * layout.h:
8128         * lyxlayout.C:
8129         * buffer.C:
8130         * factory.C:
8131         * text.C:
8132         * text2.C:
8133         * text3.C:
8134         * paragraph.[Ch]:
8135         * paragraph_func.C: remove special bibkey handling
8136
8137 2003-02-17  John Levon  <levon@movementarian.org>
8138
8139         * text.C (Delete): fix case where delete at the end of
8140           the very first paragraph would not merge the pars
8141
8142 2003-02-17  John Levon  <levon@movementarian.org>
8143
8144         * lyxrow.C: fix lastPrintablePos()
8145
8146 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8147
8148         * bufferparams.C (writeLaTeX): add a std:here
8149
8150         * buffer.C: and remove a using directive there
8151
8152 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8153
8154         * buffer.C (makeLaTeXFile): move the code that generates the
8155           preamble...
8156
8157         * bufferparams.C (writeLaTeX): ... in this new method
8158
8159         * LaTeXFeatures.C (getEncodingSet): make const
8160           (getLanguages): make const
8161
8162         * MenuBackend.C (binding): returns the binding associated to this
8163           action
8164           (add): sets the status of each item by calling getStatus. Adds
8165           some intelligence.
8166           (read): add support for OptSubMenu
8167           (expand): remove extra separator at the end of expanded menu
8168
8169 2003-02-15  John Levon  <levon@movementarian.org>
8170
8171         * BufferView.C:
8172         * BufferView_pimpl.C:
8173         * bufferlist.h:
8174         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8175           inset code that had no actual effect. Remove unneeded status
8176           code.
8177
8178 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8179
8180         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8181           in preamble
8182
8183 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8184
8185         * text.C (drawLengthMarker): also draw an arrow marker for
8186           symbolic lengths (medskip...)
8187
8188 2003-02-14  John Levon  <levon@movementarian.org>
8189
8190         * tabular.h:
8191         * tabular.C: better method names
8192
8193 2003-02-14  John Levon  <levon@movementarian.org>
8194
8195         * BufferView_pimpl.C:
8196         * bufferlist.C:
8197         * buffer.C:
8198         * converter.C:
8199         * lyx_cb.C:
8200         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8201           it's a more accurate name. Remove some pointless uses.
8202
8203 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8204
8205         * text2.C (LyXText): change order of initilizers to shut off
8206           warnings
8207
8208 2003-02-14  John Levon  <levon@movementarian.org>
8209
8210         * buffer.C: use ParIterator for getParFromID()
8211
8212         * paragraph.h:
8213         * paragraph.C:
8214         * paragraph_pimpl.h:
8215         * paragraph_pimpl.C: remove unused getParFromID()
8216
8217 2003-02-14  John Levon  <levon@movementarian.org>
8218
8219         * buffer.C: remove some very old #if 0'd parse code
8220
8221 2003-02-13  John Levon  <levon@movementarian.org>
8222
8223         * text.h:
8224         * text.C:
8225         * text2.C: move hfillExpansion(), numberOfSeparators(),
8226           rowLast(), rowLastPrintable(), numberofHfills(),
8227           numberOfLabelHfills() ...
8228
8229         * lyxrow.h:
8230         * lyxrow.C: ... to member functions here.
8231
8232         * paragraph.h:
8233         * paragraph.C:
8234         * lyxtext.h:
8235         * text.C: remove LyXText::beginningOfMainBody(), and call
8236           p->beginningOfMainBody() directly. Move the check for
8237           LABEL_MANUAL into the latter.
8238
8239         * text.h:
8240         * text.C:
8241         * text2.C:
8242         * vspace.C:
8243         * BufferView.h:
8244         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8245
8246         * text.h:
8247         * text.C:
8248         * text2.C:
8249         * text3.C:
8250         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8251           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8252
8253 2003-02-13  John Levon  <levon@movementarian.org>
8254
8255         * CutAndPaste.C: remove debug
8256
8257 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8258
8259         * paragraph.C (asString): remove two unused variables
8260
8261         * lyxtextclass.C (readTitleType):
8262           (Read):
8263           (LyXTextClass): handle new members titletype_ and titlename_
8264
8265         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8266
8267 2003-02-09  John Levon  <levon@movementarian.org>
8268
8269         * buffer.h:
8270         * buffer.C: replace hand-coded list with a map for the dep clean
8271
8272 2003-02-08  John Levon  <levon@movementarian.org>
8273
8274         * LaTeX.C: consolidate code into showRunMessage() helper
8275
8276 2003-02-08  John Levon  <levon@movementarian.org>
8277
8278         * lyxfind.C:
8279         * lyxtext.h:
8280         * text2.C:
8281         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8282           and pass the size in explicitly
8283
8284         * BufferView_pimpl.h:
8285         * BufferView_pimpl.C:
8286         * BufferView.h:
8287         * BufferView.C: add getCurrentChange()
8288
8289         * BufferView_pimpl.h:
8290         * BufferView_pimpl.C: handle change lfuns
8291
8292         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8293           for changes. Mark pasted paragraphs as new.
8294
8295         * support/lyxtime.h:
8296         * support/lyxtime.C:
8297         * DepTable.C: abstract time_t as lyx::time_type
8298
8299         * LColor.h:
8300         * LColor.C: add colours for new text, deleted text, changebars
8301
8302         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8303           package use "usenames" option.
8304
8305         * commandtags.h:
8306         * lyxfunc.C:
8307         * LyXAction.C: add change lfuns
8308
8309         * Makefile.am:
8310         * author.h:
8311         * author.C: author handling
8312
8313         * buffer.h:
8314         * buffer.C: add a per-buffer author list, with first entry as
8315           current author. Handle new .lyx tokens for change tracking. Output
8316           author list to .lyx file. Output dvipost stuff to .tex preamble.
8317           Bump lyx format to 222.
8318
8319         * bufferlist.h:
8320         * bufferlist.C: add setCurrentAuthor() to reset current author details
8321           in all buffers.
8322
8323         * bufferparams.h:
8324         * bufferparams.C: add param for tracking
8325
8326         * bufferview_funcs.C: output change info in minibuffer
8327
8328         * Makefile.am:
8329         * changes.h:
8330         * changes.C: add change-tracking structure
8331
8332         * debug.h:
8333         * debug.C: add CHANGES debug flag
8334
8335         * lyxfind.h:
8336         * lyxfind.C: add code for finding the next change piece
8337
8338         * lyxrc.h:
8339         * lyxrc.C: add user_name and user_email
8340
8341         * lyxrow.h:
8342         * lyxrow.C: add a metric for the top of the text line
8343
8344         * lyxtext.h:
8345         * text.C: implement accept/rejectChange()
8346
8347         * lyxtext.h:
8348         * text.C: paint changebars. Paint new/deleted text in the chosen
8349         colours. Strike through deleted text.
8350
8351         * paragraph.h:
8352         * paragraph.C:
8353         * paragraph_pimpl.h:
8354         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8355           in the current change to the insert functions. Rework erase to
8356           mark text as deleted, adding an eraseIntern() and a range-based
8357           erase(). Implement per-paragraph change lookup and
8358           accept/reject.
8359
8360         * paragraph_funcs.C: Fixup paste for change tracking.
8361
8362         * tabular.C: mark added row/columns as new.
8363
8364         * text.C: fix rowLast() to never return -1. Don't allow
8365           spellchecking of deleted text. Track transpose changes. Don't
8366           allow paragraph break or merge where appropriate.
8367
8368         * text2.C: leave cursor at end of selection after a cut.
8369
8370 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8371
8372         * text.C (getLengthMarkerHeight):
8373         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8374         visible on screen too.
8375
8376 2003-02-07  John Levon  <levon@movementarian.org>
8377
8378         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8379
8380 2003-02-05  Angus Leeming  <leeming@lyx.org>
8381
8382         * lyxserver.C (read_ready): revert my patch of 11 September last year
8383         as it sends PC cpu through the roof. Presumably this means that
8384         the lyxserver will no longer run on an Alpha...
8385
8386 2003-01-30  Angus Leeming  <leeming@lyx.org>
8387
8388         * factory.C (createInset): create an InsetCommandParam of type "index"
8389         and use it to 'do the right thing'.
8390
8391         * text2.C (getStringToIndex): ensure that cursor position is always
8392         reset to the reset_cursor position.
8393
8394 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8395
8396         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8397         disabled.
8398
8399 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8400
8401         * bufferview.C:
8402         * lyxcb.C:
8403         * lyxfunc.C: Output messages with identical spelling, punctuation,
8404         and spaces
8405
8406 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8407
8408         * MenuBackend.C (expandFormats): List only viewable export formats
8409         in "View" menu
8410
8411         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8412         message
8413
8414         * lyxfunc.C (getStatus): Make sure that formats other than
8415         "fax" can also be disabled
8416
8417 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8418
8419         * text3.C (dispatch): put the lfuns that insert insets in 3
8420         groups, and call doInsertInset with appropriate arguments.
8421         (doInsertInset): new function, that creates an inset and inserts
8422         it according to some boolean parameters.
8423
8424 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8425
8426         * buffer.C (readFile): remember to pass on 'par' when calling
8427         readFile recursively.
8428
8429 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8430
8431         * MenuBackend.C (expandFormats): add "..." to import formats.
8432
8433 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8434
8435         * paragraph.C (asString): Remove XForms RTL hacks.
8436
8437 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8438         * buffer.C: fix typo
8439
8440 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8441
8442         * Makefile.am (LIBS): delete var
8443         (lyx_LDADD): add @LIBS@ here instead.
8444
8445 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8446
8447         * Clarify the meaning of "wheel mouse jump"
8448
8449 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8450
8451         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8452         tabular in a float
8453
8454 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8455
8456         * importer.C (Loaders): do not preallocate 3 elements in the
8457         vector, since one ends up with 6 elements otherwise
8458
8459 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8460
8461         * DepTable.C (write): write the file name as last element of the
8462         .dep file (because it may contain spaces)
8463         (read): read info in the right order
8464
8465 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8466
8467         * paragraph_pimpl.C (simpleTeXBlanks):
8468         (simpleTeXSpecialChars):
8469         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8470
8471         * tabular.C (latex): add some missing case statements. Reindent.
8472
8473         * MenuBackend.C (expandToc): remove unused variable.
8474
8475 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8476
8477         * LColor.C:
8478         * LaTeX.C:
8479         * LyXAction.C:
8480         * MenuBackend.C:
8481         * buffer.C:
8482         * exporter.C:
8483         * lyxfunc.C:
8484         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8485         and the like.
8486
8487 2003-01-05  John Levon  <levon@movementarian.org>
8488
8489         * BufferView.h:
8490         * BufferView.C: add getEncoding()
8491
8492         * kbsequence.h:
8493         * kbsequence.C: do not store last keypress
8494
8495         * lyxfunc.h:
8496         * lyxfunc.C: store last keypress here instead. Pass encoding
8497           to getISOEncoded()
8498
8499 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8500
8501         * lyx_main.C (init): remove annoying error message when following
8502         symbolic links (bug #780)
8503
8504 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8505
8506         * text.C (insertChar):
8507         * lyxrc.C (getDescription): remove extra spaces
8508
8509 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8510
8511         * lyxrc.C (getDescription): remove extra spaces
8512
8513 2002-12-20  John Levon  <levon@movementarian.org>
8514
8515         * text3.C: hack fix for page up/down across tall rows
8516
8517 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8518
8519         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8520         not been invoked
8521
8522 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8523
8524         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8525         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8526         thesaurus is not compiled in
8527
8528 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8529
8530         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8531
8532 2002-12-16  Angus Leeming  <leeming@lyx.org>
8533
8534         * lyxrc.[Ch]:
8535         * lyx_main.C (init): remove override_x_deadkeys stuff.
8536
8537 2002-12-12  John Levon  <levon@movementarian.org>
8538
8539         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8540           insert. Only remove shift modifier under strict
8541           circumstances.
8542
8543 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8544
8545         * MenuBackend.C (expandToc): fix crash.
8546
8547 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8548
8549         * MenuBackend.C (expandToc): gettext on float names.
8550
8551 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8552
8553         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8554         implement bool empty() [bug 490]
8555
8556 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8557
8558         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8559
8560 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8561
8562         * several files: ws changes
8563
8564 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8565
8566         * text2.C (setCounter): clean up a bit, use boost.format.
8567         (updateCounters): initialize par upon declaration.
8568
8569         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8570         if the layout exists. We do not just store the layout any more.
8571         (SwitchLayoutsBetweenClasses): use boost.format
8572
8573 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8574
8575         * converter.C (convert): if from and to files are the same, use a
8576         temporary files as intermediary
8577
8578 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8579
8580         * commandtags.h:
8581         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8582
8583 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8584
8585         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8586
8587 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8588
8589         * tabular.C (asciiPrintCell): use string(size, char) instead of
8590         explicit loop.
8591
8592         * sgml.C (openTag): fix order of arguments to string constructor
8593         (closeTag): ditto
8594
8595         * lyxfunc.C (dispatch): use boost.format
8596
8597         * lots of files: change "c" -> 'c'
8598
8599 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8600
8601         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8602
8603 2002-11-25  Angus Leeming  <leeming@lyx.org>
8604
8605         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8606
8607         * lyx_main.C (init): compile fix.
8608
8609 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8610
8611         * lyx_cb.C (start): boost.formatify
8612         do not include <iostream>
8613
8614         * lengthcommon.C: ws only
8615
8616         * boost-inst.C,BoostFormat.h: add more explict instantations
8617
8618 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8619
8620         * lots of files: handle USE_BOOST_FORMAT
8621
8622 2002-11-21  John Levon  <levon@movementarian.org>
8623
8624         * pspell.C: fix compile
8625
8626 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8627
8628         * lyxfunc.C (dispatch): use boost::format
8629         (open): ditto
8630         (doImport): ditto
8631
8632         * lyxfont.C (stateText): use boost::format
8633
8634         * lyx_main.C (LyX): use boost::format
8635         (init): ditto
8636         (queryUserLyXDir): ditto
8637         (readRcFile): ditto
8638         (parse_dbg): ditto
8639         (typedef boost::function): use the recommened syntax.
8640
8641         * importer.C (Import): use boost::format
8642
8643         * debug.C (showLevel): use boost::format
8644
8645         * converter.C (view): use boost::format
8646         (convert): ditto
8647         (move): ditto
8648         (scanLog): ditto
8649
8650         * bufferview_funcs.C (currentState): use boost::format
8651
8652         * bufferlist.C (emergencyWrite): use boost::format
8653
8654         * buffer.C (readLyXformat2): use boost::format
8655         (parseSingleLyXformat2Token): ditto
8656
8657         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8658
8659         * LaTeX.C (run): use boost::format
8660
8661         * Chktex.C (scanLogFile): use boost::format
8662
8663         * BufferView_pimpl.C (savePosition): use boost::format
8664         (restorePosition): ditto
8665         (MenuInsertLyXFile): ditto
8666
8667         * BoostFormat.h: help file for explicit instation.
8668
8669 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8670
8671         * tabular.C (latex): Support for block alignment in fixed width
8672         columns.
8673
8674 2002-11-17  John Levon  <levon@movementarian.org>
8675
8676         * BufferView_pimpl.C:
8677         * lyx_cb.C:
8678         * lyxfunc.C: split filedialog into open/save
8679
8680 2002-11-08  Juergen Vigna  <jug@sad.it>
8681
8682         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8683         by my last patch (hopefully).
8684
8685 2002-11-08  John Levon  <levon@movementarian.org>
8686
8687         * iterators.h:
8688         * iterators.C:
8689         * buffer.h:
8690         * buffer.C:
8691         * paragraph.h:
8692         * paragraph.C:
8693         * toc.h:
8694         * toc.C: ParConstIterator, and use it (from Lars)
8695
8696 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8697
8698         * lyxtextclass.[Ch]: revise and add doxygen comments
8699
8700 2002-11-07  John Levon  <levon@movementarian.org>
8701
8702         * text.C: fix progress value for spellchecker
8703
8704         * toc.C: fix navigate menu for insetwrap inside minipage
8705
8706         * paragraph_funcs.C: added FIXME for suspect code
8707
8708 2002-11-07  John Levon  <levon@movementarian.org>
8709
8710         * BufferView_pimpl.C: fix redrawing of insets
8711           on buffer switch
8712
8713 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8714
8715         * text2.C (updateCounters): fix bug 668
8716
8717 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8718
8719         * text3.C (dispatch): Do not make the buffer dirty when moving the
8720         cursor.
8721
8722 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8723
8724         * vc-backend.C: STRCONV
8725         (scanMaster): ditto
8726
8727         * text2.C (setCounter): STRCONV
8728
8729         * paragraph.C (asString): STRCONV
8730
8731         * lyxlength.C (asString): STRCONV
8732         (asLatexString): ditto
8733
8734         * lyxgluelength.C (asString): STRCONV
8735         (asLatexString): ditto
8736
8737         * lyxfunc.C (dispatch): STRCONV
8738         (open): ditto
8739
8740         * lyxfont.C (stateText): STRCONV
8741
8742         * importer.C (Import): STRCONV
8743
8744         * counters.C (labelItem): STRCONV
8745         (numberLabel): ditto
8746         (numberLabel): remove unused ostringstream o
8747
8748         * chset.C: STRCONV
8749         (loadFile): ditto
8750
8751         * bufferview_funcs.C (currentState): STRCONV
8752
8753         * buffer.C (readFile): STRCONV
8754         (asciiParagraph): ditto
8755         (makeLaTeXFile): ditto
8756
8757         * Spacing.C (writeEnvirBegin): STRCONV
8758
8759         * LaTeXFeatures.C (getLanguages): STRCONV
8760         (getPackages): ditto
8761         (getMacros): ditto
8762         (getBabelOptions): ditto
8763         (getTClassPreamble): ditto
8764         (getLyXSGMLEntities): ditto
8765         (getIncludedFiles): ditto
8766
8767         * LaTeX.C: STRCONV
8768         (run): ditto
8769         (scanAuxFile): ditto
8770         (deplog): ditto
8771
8772         * LString.h: add the STRCONV macros
8773
8774         * BufferView_pimpl.C (savePosition): STRCONV
8775         (restorePosition): ditto
8776         (MenuInsertLyXFile): ditto
8777
8778         * vc-backend.C (scanMaster): change from submatch[...] to
8779         submatch.str(...)
8780
8781         * funcrequest.C: include config.h
8782
8783         * factory.C: include config.h
8784
8785         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8786
8787         * box.C: include config.h
8788
8789         * LaTeX.C (scanAuxFile): change from submatch[...] to
8790         submatch.str(...)
8791         (deplog): ditto
8792
8793 2002-10-25  Angus Leeming  <leeming@lyx.org>
8794
8795         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8796
8797         * ispell.[Ch] (setError): new method.
8798         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8799         Use setError() insetead of goto END.
8800
8801         * lyx_cb.C (AutoSave): move out child process into new class
8802         AutoSaveBuffer.
8803
8804 2002-10-30  John Levon  <levon@movementarian.org>
8805
8806         * text3.C: make start appendix undoable
8807
8808 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8809
8810         * lyxlength.C (inPixels): Fix returned value.
8811
8812         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8813         environment.
8814
8815 2002-10-24  Angus Leeming  <leeming@lyx.org>
8816
8817         * lyxgluelength.h: no need to forward declare BufferParams
8818         or BufferView, so don't.
8819
8820 2002-10-21  John Levon  <levon@movementarian.org>
8821
8822         * BufferView.C: menuUndo ->undo, redo
8823
8824         * BufferView.h: document, remove dead, make some methods private
8825
8826         * paragraph_funcs.h:
8827         * paragraph_funcs.C:
8828         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8829
8830         * buffer.h:
8831         * buffer.C:
8832         * sgml.h:
8833         * sgml.C: move sgml open/close tag into sgml.C
8834
8835         * bufferview_funcs.h: unused prototype
8836
8837         * lyxfunc.h:
8838         * lyxfunc.C: remove unused
8839
8840         * lyxtext.h:
8841         * text.C: remove unused
8842
8843 2002-10-21  John Levon  <levon@movementarian.org>
8844
8845         * BufferView.h:
8846         * BufferView.C:
8847         * BufferView_pimpl.h:
8848         * BufferView_pimpl.C: fix mouse wheel handling based on
8849           patch from Darren Freeman
8850
8851 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8852
8853         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8854
8855 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8856
8857         * lyxlength.C (inPixels): Fix hanfling of negative length.
8858         Fix LyXLength::MU case.
8859
8860 2002-10-16  John Levon  <levon@movementarian.org>
8861
8862         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8863
8864 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8865
8866         * converter.C (view): add support for $$i (file name) and $$p
8867         (file path) for the viewer command. If $$i is not specified, then
8868         it is appended to the command (for compatibility with old syntax)
8869
8870 2002-10-14  Juergen Vigna  <jug@sad.it>
8871
8872         * undo_funcs.C (textHandleUndo): alter the order in which the
8873         new undopar is added to the LyXText, as we have to set first
8874         the right prev/next and then add it as otherwise the rebuild of
8875         LyXText is not correct. Also reset the cursor to the right paragraph,
8876         with this IMO we could remove the hack in "redoParagraphs()".
8877
8878 2002-10-09  Angus Leeming  <leeming@lyx.org>
8879
8880         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8881         to turn off an optimisation if a new inset is to be inserted.
8882
8883 2002-10-11 André Pönitz <poenitz@gmx.net>
8884
8885         * lyxtext.h: make some functions public to allow access
8886         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8887
8888 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8889
8890         * text3.C (dispatch): when changing layout, avoid an infinite loop
8891         [bug #652]
8892
8893 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8894
8895         * lyxrc.C (read): treat a viewer or converter command of "none" as
8896         if it were empty.
8897
8898         * MenuBackend.C (expandFormats): for an update, also allow the
8899         formats that are not viewable
8900
8901         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8902         script if it is newer than the lyxrc.defaults in user directory
8903
8904 2002-10-07 André Pönitz <poenitz@gmx.net>
8905
8906         * text.C: Vitaly Lipatov's small i18n fix
8907
8908 2002-09-25  Angus Leeming  <leeming@lyx.org>
8909
8910         * ispell.h: doxygen fix.
8911
8912 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8913
8914         * buffer.h (readFile): Add a new argument to the method, to allow
8915         reading of old-format templates.
8916
8917 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8918
8919         * toc.C (getTocList): Get TOC from InsetWrap.
8920
8921 2002-09-16  John Levon  <levon@movementarian.org>
8922
8923         * lyxfunc.C: check tabular for cut/copy too
8924
8925 2002-09-12  John Levon  <levon@movementarian.org>
8926
8927         * LyXAction.C: tidy
8928
8929         * factory.h:
8930         * factory.C: add header
8931
8932         * paragraph_funcs.h:
8933         * paragraph_funcs.C: cleanup
8934
8935 2002-09-11  John Levon  <levon@movementarian.org>
8936
8937         * PrinterParams.h: odd/even default to true
8938
8939 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8940
8941         * PrinterParams.h: update printer parameters for new xforms dialog
8942
8943 2002-09-11  Angus Leeming  <leeming@lyx.org>
8944
8945         * lyxserver.C (read_ready): re-write to make it more transparent
8946         and to make it work in coherent fashion under Tru64 Unix.
8947
8948 2002-09-11  André Pönitz <poenitz@gmx.net>
8949
8950         * commandtags.h:
8951         * LyXAction.C:
8952         * text3.C: implement LFUN_WORDSEL
8953
8954 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8955
8956         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8957         make floatlist_ a boost::shared_ptr<FloatList>
8958
8959         * lyxtextclass.C: include FloatList.h
8960         (LyXTextClass): initialize floatlist_
8961         (TextClassTags): add TC_NOFLOAT
8962         (Read): match "nofloat" to TC_NOFLOAT and use it.
8963         (readFloat): modify call to floatlist_
8964         (floats): ditto
8965         (floats): ditto
8966
8967         * FloatList.[Ch] (FloatList): remove commented out float
8968         initialization.
8969         (erase): new function
8970
8971 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8972
8973         * MenuBackend.C (expandToc): fix crash when there is no document
8974         open
8975
8976 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8977
8978         * many files: Add insetwrap.
8979
8980 2002-09-09  John Levon  <levon@movementarian.org>
8981
8982         * text2.C: remove confusing and awkward depth wraparound
8983
8984 2002-09-09  John Levon  <levon@movementarian.org>
8985
8986         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8987
8988         * buffer.h:
8989         * buffer.C: remove getIncludeonlyList()
8990
8991         * paragraph.C:
8992         * lyxfunc.C: remove headers
8993
8994 2002-09-09  Juergen Vigna  <jug@sad.it>
8995
8996         * text.C (getColumnNearX): fix form Michael this is most
8997         probably a cut&paste bug.
8998
8999 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9000
9001         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9002
9003         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9004         references, ws changes.
9005
9006         * text2.C (init): update counters after init
9007         (insertParagraph): no need to set counter on idividual paragraphs.
9008         (setCounter): access the counters object in the textclass object
9009         on in the buffer object.
9010         (updateCounters): ditto
9011
9012         * lyxtextclass.C: include counters.h, add variable ctrs_ as
9013         shared_ptr<Counters> to avoid loading counters.h in all
9014         compilation units.
9015         (LyXTextClass): initialize ctrs_
9016         (TextClassTags): add TC_COUNTER, and ...
9017         (Read): use it here.
9018         (CounterTags): new tags
9019         (readCounter): new function
9020         (counters): new funtion
9021         (defaultLayoutName): return a const reference
9022
9023         * counters.C (Counters): remove contructor
9024         (newCounter): remove a couple of unneeded statements.
9025         (newCounter): simplify a bit.
9026         (numberLabel): some small formatting changes.
9027
9028         * buffer.[Ch]: remove all traces of counters, move the Counters
9029         object to the LyXTextClass.
9030
9031 2002-09-06  Alain Castera  <castera@in2p3.fr>
9032
9033         * tabular.C: uses \tabularnewline; uses >{...} construct from array
9034         package to set the horizontal alignment on fixed width columns.
9035
9036         * lyx_sty.C:
9037         * lyx_sty.h: added tabularnewline macro def.
9038
9039         * LaTeXFeatures.C: added NeedTabularnewline macro feature
9040
9041 2002-09-06  John Levon  <levon@movementarian.org>
9042
9043         * LyXAction.C: tooltips for sub/superscript
9044
9045         * MenuBackend.C: a bit more verbose
9046
9047         * lyxfunc.C: tiny clean
9048
9049         * undo_funcs.C: document undo_frozen
9050
9051 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9052
9053         * counters.C (Counters): add missing algorithm counter.
9054
9055         * text2.C (setCounter): lookup the counter with layouts latexname
9056         instead of by section number.
9057         (setCounter): use a hackish way to lookup the correct enum
9058         counter.
9059         a float name->type change
9060         reset enum couners with counter name directly instead of depth value.
9061
9062         * counters.C (Counters): remove the push_backs, change to use the
9063         float type not the float name.
9064         (labelItem): remove unused string, float name->type change
9065
9066         * counters.h: don't include vector, loose the enums and sects vectors
9067
9068 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9069
9070         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9071         (Read): add float->TC_FLOAT to textclassTags
9072         (Read): and handle it in the switch
9073         (readFloat): new function
9074
9075         * FloatList.C (FloatList): comment out the hardcoded float
9076         definitions.
9077
9078         * lyxlayout.h: ws change.
9079
9080 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9081
9082         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9083
9084 2002-09-03  Angus Leeming  <leeming@lyx.org>
9085
9086         * BufferView_pimpl.h: qualified name is not allowed in member
9087         declaration: WorkArea & Pimpl::workarea() const;
9088
9089         * factory.C: added using std::endl directive.
9090
9091         * text3.C: added using std::find and std::vector directives.
9092
9093 2002-08-29  André Pönitz <poenitz@gmx.net>
9094
9095         * lyxtext.h:
9096         * text2.C: remove unused member number_of_rows
9097
9098         * Makefile.am:
9099         * BufferView2.C: remove file, move contents to...
9100         * BufferView.C: ... here
9101
9102         * BufferView_pimpl.C:
9103         * factory.C: move more inset creation to factory
9104
9105         * vspace.C: avoid direct usage of LyXText, ws changes
9106
9107         * BufferView.[Ch]:
9108                 don't provide direct access to WorkArea, use two simple
9109                 acessors haveSelction() and workHeight() instead
9110
9111
9112 2002-08-29  John Levon  <levon@movementarian.org>
9113
9114         * BufferView_pimpl.C (dispatch): do not continue when
9115           no buffer
9116
9117 2002-08-28  André Pönitz <poenitz@gmx.net>
9118
9119         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9120
9121         * BufferView.h:
9122         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9123
9124 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9125
9126         * buffer.C: increment LYX_FORMAT to 221
9127
9128         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9129         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9130
9131         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9132
9133         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9134
9135 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9136
9137         * factory.C (createInset): use LyXTextClass::floats
9138
9139         * MenuBackend.C (expandFloatListInsert):
9140         (expandFloatInsert):
9141         (expandToc):
9142
9143         * text2.C (setCounter):
9144
9145         * LaTeXFeatures.C (useFloat):
9146         (getFloatDefinitions):
9147
9148         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9149
9150         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9151         floatlist_, with accessor floats().
9152
9153         * FloatList.h: remove global FloatList
9154
9155 2002-08-26  André Pönitz <poenitz@gmx.net>
9156
9157         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9158
9159         * BufferView.h:
9160         * BufferView2.C:
9161         * BufferView_pimpl.C:
9162         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9163
9164 2002-08-25  John Levon  <levon@movementarian.org>
9165
9166         * LyXAction.C: fix margin note description
9167
9168 2002-08-24  John Levon  <levon@movementarian.org>
9169
9170         * buffer.C:
9171         * bufferlist.C:
9172         * bufferview_funcs.C:
9173         * lyxfont.C:
9174         * undo_funcs.C: cleanups
9175
9176         * lyxfunc.C: disable CUT/COPY when no selection
9177
9178 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9179
9180         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9181         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9182
9183         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9184         Add backward compatibility to "mono", "gray" and "no".
9185
9186 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9187
9188         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9189         (and file_format >= 200).
9190
9191 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9192
9193         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9194
9195 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9196
9197         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9198
9199 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9200
9201         * BufferView_pimpl.C:
9202         * LyXAction.C:
9203         * buffer.C:
9204         * commandtags.h:
9205         * lyxfunc.C:
9206         * paragraph.[Ch]:
9207         * text2.C:
9208         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9209         inset and code to make it  work with the paragraph code. The inset
9210         can be anywhere in the paragraph, but will only do the expected
9211         thing in LaTeX if the layout file contains the parameter line
9212                         OptionalArgs    1
9213         (or more generally, a nonzero value) for that layout.
9214
9215 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9216
9217         * paragraph.h: remove the declaration of undefined counters class
9218         function.
9219
9220 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9221
9222         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9223         Dr. Richard Hawkins.
9224
9225 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9226
9227         * paragraph_funcs.h: remove some unneeded includes
9228
9229         * text.C (backspace): pasteParagraph now in global scipe
9230
9231         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9232         (pasteSelection): ditto
9233
9234         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9235         * paragraph_funcs.C (pasteParagraph): ... here
9236
9237 2002-08-20  André Pönitz <poenitz@gmx.net>
9238
9239         * commandtags.h: new LFUNs for swapping/copying table row/colums
9240
9241         * LyXAction.C:
9242         * lyxfunc.C: support for new lfuns
9243
9244 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9245
9246         * tabular.C:
9247         * buffer.[Ch]: remove NO_COMPABILITY stuff
9248
9249 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9250
9251         * boost.C (throw_exception): new file, with helper function for
9252         boost compiled without exceptions.
9253
9254         * paragraph.h:
9255         * lyxlength.C:
9256         * buffer.C:
9257         * ParameterStruct.h:
9258         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9259
9260         * bufferlist.C (emergencyWriteAll): use boost bind
9261
9262         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9263
9264         * text.C: include paragraph_funcs.h
9265         (breakParagraph): breakParagraph is now in global scope
9266
9267         * paragraph_funcs.[Ch]: new files
9268
9269         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9270         global scope
9271
9272         * buffer.C: include paragraph_funcs.h
9273         (insertStringAsLines): breakParagraph is now in global scope
9274
9275         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9276         paragraph_funcs.C
9277
9278         * CutAndPaste.C: include paragraph_funcs.h
9279         (cutSelection): breakParagraphConservative is now in global scope
9280         (pasteSelection): ditto
9281
9282         * buffer.h: declare oprator== and operator!= for
9283         Buffer::inset_iterator
9284
9285         * bufferlist.C (emergencyWrite): don't use fmt(...)
9286
9287         * text3.C: add using std::endl
9288
9289         * BufferView.C (moveCursorUpdate): remove default arg
9290
9291 2002-08-20  André Pönitz <poenitz@gmx.net>
9292
9293         * buffer.[Ch]: move inline functions to .C
9294
9295         * BufferView2.C:
9296         * BufferView_pimpl.C:
9297         * text.C:
9298         * buffer.[Ch]: use improved inset_iterator
9299
9300         * buffer.C:
9301         * paragraph.[Ch]: write one paragraph at a time
9302
9303 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9304
9305         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9306         style if style is not specified.
9307
9308 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9309
9310         * text2.C (setCounter): when searching for right label for a
9311         caption, make sure to recurse to parent insets (so that a caption
9312         in a minipage in a figure float works) (bug #568)
9313
9314 2002-08-20  André Pönitz <poenitz@gmx.net>
9315
9316         * text3.C: new file for LyXText::dispatch() and helpers
9317
9318         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9319
9320         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9321
9322 2002-08-19  André Pönitz <poenitz@gmx.net>
9323
9324         * lyxtext.h:
9325         * text.C: new LyXText::dispatch()
9326
9327         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9328
9329 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9330
9331         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9332
9333         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9334         Hebrew text.
9335
9336 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9337
9338         * Makefile.am: use $(variables) instead of @substitutions@
9339
9340 2002-08-15  André Pönitz <poenitz@gmx.net>
9341
9342         * lyxfunc.C:
9343         * BufferView_pimpl.C: streamlining mathed <-> outer world
9344         interaction
9345
9346         * commandtags.h:
9347         * LyXAction.C: remove unused LFUN_MATH
9348
9349 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9350
9351         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9352
9353 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9354
9355         * paragraph.C (Paragraph): reformat a bit
9356         (cutIntoMinibuffer): use builtin InsetList function instad of
9357         doing it manually.
9358         (getInset): ditto
9359
9360         * buffer.C: include boost/bind.hpp, add using std::for_each
9361         (writeFileAscii): use ParagraphList iterators
9362         (validate): use for_each for validate traversal of paragraphs
9363         (getBibkeyList): use ParagraphList iterators
9364         (resizeInsets): use for_each to resizeInsetsLyXText for all
9365         paragraphs.
9366         (getParFromID): use ParagraphList iterators
9367
9368         * BufferView2.C (lockInset): use paragraph list and iterators
9369
9370 2002-08-14  John Levon  <levon@movementarian.org>
9371
9372         * lyxserver.C: remove spurious xforms include
9373
9374 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9375
9376         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9377
9378 2002-08-13  André Pönitz <poenitz@gmx.net>
9379
9380         * LyXAction.[Ch]:
9381         * lyxfunc.C: further cleaning
9382
9383 2002-08-13  André Pönitz <poenitz@gmx.net>
9384
9385         * funcrequest.h: new constructor
9386
9387         * funcrequest.C: move stuff here from .h
9388
9389         * Makefile.am:
9390         * BufferView_pimpl.C:
9391         * LyXAction.C:
9392         * toc.C:
9393         * lyxfunc.C: subsequent changes
9394
9395         * lyxfunc.h: new view() member function
9396
9397         * lyxfunc.C: subsequent changes
9398
9399 2002-08-13  Angus Leeming  <leeming@lyx.org>
9400
9401         * BufferView2.C:
9402         * BufferView_pimpl.C:
9403         * buffer.C:
9404         * converter.C:
9405         * importer.C:
9406         * lyxfunc.C:
9407         * lyxvc.C:
9408         * toc.C:
9409         * vc-backend.C:
9410         changes due to the changed LyXView interface that now returns references
9411         to member variables not pointers.
9412
9413 2002-08-13  Angus Leeming  <leeming@lyx.org>
9414
9415         * WordLangTuple (word, lang_code): return references to strings,
9416         not strings.
9417
9418         * BufferView.h:
9419         * SpellBase.h:
9420         * lyxtext.h: forward-declare WordLangTuple.
9421
9422         * BufferView2.C:
9423         * ispell.C:
9424         * pspell.C:
9425         * text.C: #include "WordLangTuple.h".
9426
9427         * lyxtext.h:
9428         * text.C: (selectNextWordToSpellcheck): constify return type.
9429
9430 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9431
9432         * buffer.C:
9433         * buffer.h:
9434         * lyxtext.h:
9435         * paragraph.C:
9436         * paragraph_pimpl.h:
9437         * text.C:
9438         * text2.C:
9439         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9440         suggested by Angus.
9441         Made updateCounter always count from start of buffer, and removed
9442         second argument (par).
9443         Reverted floats number display to '#'. Perhaps I'll try again when the
9444         code base is sanitized a bit.
9445
9446 2002-08-12  Angus Leeming  <leeming@lyx.org>
9447
9448         * buffer.[Ch] (getLabelList): constify.
9449
9450 2002-08-07  André Pönitz <poenitz@gmx.net>
9451
9452         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9453
9454         * funcrequest.h: extension to keep mouse (x,y) position
9455
9456 2002-08-12  Juergen Vigna  <jug@sad.it>
9457
9458         * BufferView2.C (insertErrors): forbid undo when inserting error
9459         insets.
9460
9461         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9462
9463 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9464
9465         * ParagraphList.[Ch]: new files
9466
9467         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9468
9469         * BufferView2.C (lockInset): ParagraphList changes
9470         * toc.C: ditto
9471         * text2.C: ditto
9472         * bufferlist.C: ditto
9473         * buffer.h: ditto
9474         * buffer.C: ditto
9475
9476 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9477
9478         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9479         unused class variable counter_,
9480
9481         * paragraph.[Ch] (getFirstCounter): delete unused function
9482
9483         * counters.C: include LAssert.h
9484         (reset): add a new function with no arg, change other version to
9485         not have def. arg and to not allow empty arg.
9486
9487         * text2.C (setCounter): remove empty arg from call to Counters::reset
9488
9489 2002-08-11  John Levon  <levon@movementarian.org>
9490
9491         * Makefile.am: add WordLangTuple.h
9492
9493 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9494
9495         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9496         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9497
9498         * insets/insettext.C: InsetList changes
9499
9500         * graphics/GraphicsSupport.C (operator()): InsetList changes
9501
9502         * toc.C (getTocList): InsetList changes
9503
9504         * paragraph_pimpl.[Ch]: InsetList changes
9505
9506         * paragraph.[Ch]: InsetList changes
9507
9508         * buffer.C (inset_iterator): InsetList changes
9509         (setParagraph): ditto
9510         * buffer.h (inset_iterator): ditto
9511         * iterators.C (operator++): ditto
9512         * iterators.h: ditto
9513
9514         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9515
9516         * InsetList.[Ch]: new files, most InsetList handling moved out of
9517         paragraph.C.
9518
9519         * BufferView2.C (removeAutoInsets): InsetList changes
9520         (lockInset): ditto
9521         (ChangeInsets): ditto
9522
9523 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9524
9525         * paragraph_pimpl.h (empty): new function
9526
9527         * paragraph.[Ch] (empty): new function
9528
9529         * other files: use the new Paragraph::empty function
9530
9531 2002-08-09  John Levon  <levon@movementarian.org>
9532
9533         * lyxtext.h: remove unused refresh_height
9534
9535 2002-08-09  John Levon  <levon@movementarian.org>
9536
9537         * Makefile.am:
9538         * sgml.h:
9539         * sgml.C:
9540         * buffer.C:
9541         * paragraph.h:
9542         * paragraph.C: move sgml char escaping out of paragraph
9543
9544         * paragraph.h:
9545         * paragraph.C: remove id setter
9546
9547         * buffer.C:
9548         * paragraph.C:
9549         * paragraph_pimpl.C: remove dead tex_code_break_column
9550
9551         * bufferview_funcs.C: small cleanup
9552
9553         * lyxfunc.C: remove dead proto
9554
9555         * lyxtext.h: make some stuff private. Remove some dead stuff.
9556
9557         * lyxgluelength.C: make as[LyX]String() readable
9558
9559 2002-08-08  John Levon  <levon@movementarian.org>
9560
9561         * LyXAction.h:
9562         * LyXAction.C:
9563         * MenuBackend.C:
9564         * ToolbarDefaults.C:
9565         * lyxfunc.C:
9566         * lyxrc.C:
9567         * toc.C: lyxaction cleanup
9568
9569 2002-08-08  John Levon  <levon@movementarian.org>
9570
9571         * BufferView2.C: small cleanup
9572
9573         * lyxfind.h:
9574         * lyxfind.C: move unnecessary header into the .C
9575
9576 2002-08-08  John Levon  <levon@movementarian.org>
9577
9578         * funcrequest.h: just tedious nonsense
9579
9580         * lyx_main.h:
9581         * lyx_main.C: cleanups
9582
9583         * buffer.C:
9584         * vspace.C: remove dead header lyx_main.h
9585
9586 2002-08-07  Angus Leeming  <leeming@lyx.org>
9587
9588         * Paragraph.[Ch]:
9589         * paragraph_pimpl.h:
9590         Forward declare class Counters in paragraph.h by moving the ctrs member
9591         variable into Paragraph::Pimpl.
9592         (counters): new method, returning a reference to pimpl_->ctrs.
9593
9594         * text2.C: ensuing changes.
9595
9596 2002-08-07  John Levon  <levon@movementarian.org>
9597
9598         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9599
9600         * BufferView_pimpl.C: announce X selection on double/triple
9601           click
9602
9603         * lyx_main.C: use correct bool in batch dispatch
9604
9605         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9606
9607 2002-08-07  André Pönitz <poenitz@gmx.net>
9608
9609         * funcrequest.h: new class to wrap a kb_action and its argument
9610
9611         * BufferView.[Ch]:
9612         * BufferView_pimpl[Ch]:
9613         * LaTeX.C:
9614         * LyXAction.[Ch]:
9615         * lyxfunc.[Ch]:
9616         * lyxrc.C: subsequent changes
9617
9618
9619 2002-08-07  John Levon  <levon@movementarian.org>
9620
9621         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9622           document options change.
9623
9624 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9625
9626         * counters.[Ch]
9627         * text2.C
9628         * paragraph.[Ch]
9629         * makefile.am: move counters functionality over from
9630         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9631
9632 2002-08-06  John Levon  <levon@movementarian.org>
9633
9634         * WordLangTuple.h: new file for word + language code tuple
9635
9636         * SpellBase.h:
9637         * pspell.h:
9638         * pspell.C:
9639         * ispell.h:
9640         * ispell.C:
9641         * lyxtext.h:
9642         * text.C:
9643         * text2.C:
9644         * BufferView.h:
9645         * BufferView2.C: use WordLangTuple
9646
9647         * layout.h:
9648         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9649
9650 2002-08-06  John Levon  <levon@movementarian.org>
9651
9652         * lyx_main.C: fix cmdline batch handling
9653
9654 2002-08-06  André Pönitz <poenitz@gmx.net>
9655
9656         * lyxrc.C: set default for show_banner to true
9657
9658 2002-08-06  John Levon  <levon@movementarian.org>
9659
9660         * pspell.C: fix a crash, and allow new aspell to work
9661
9662 2002-08-06  John Levon  <levon@movementarian.org>
9663
9664         * lyxfunc.C:
9665         * kbmap.C: small cleanup
9666
9667         * vspace.h:
9668         * vspace.C: add const
9669
9670 2002-08-05  John Levon  <levon@movementarian.org>
9671
9672         * LyXAction.C: back to tabular-insert
9673
9674 2002-08-04  John Levon  <levon@movementarian.org>
9675
9676         * BufferView.h:
9677         * BufferView.C: cosmetic change
9678
9679         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9680
9681         * bufferlist.C:
9682         * buffer.h:
9683         * buffer.C:
9684         * lyxcb.h:
9685         * lyxcb.C:
9686         * lyxserver.C:
9687         * lyxvc.C:
9688         * vc-backend.C:
9689         * BufferView2.C: purge all "Lyx" not "LyX" strings
9690
9691         * lyxcursor.h:
9692         * lyxcursor.C: attempt to add some documentation
9693
9694         * lyxfunc.C:
9695         * commandtags.h:
9696         * LyXAction.C:
9697         * ToolbarDefaults.C:
9698         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9699           merge with LFUN_TABULAR_INSERT
9700
9701         * Makefile.am:
9702         * SpellBase.h:
9703         * ispell.h:
9704         * ispell.C:
9705         * pspell.h:
9706         * pspell.C: split up i/pspell implementations into separate
9707           files, many cleanups
9708
9709         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9710
9711         * text2.C: some cleanup
9712
9713         * lyxfunc.C: don't check for isp_command == "none" any more, it
9714           didn't make any sense
9715
9716 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9717
9718         * counters.[Ch]
9719         * text2.C
9720         * paragraph.[Ch]
9721         * makefile.am: move counters functionality over
9722         from text2.C/paragraph.[Ch] to counters.[Ch], and
9723         make proper C++.
9724 2002-08-02  John Levon  <levon@movementarian.org>
9725
9726         * buffer.C: s/lyxconvert/lyx2lyx/
9727
9728 2002-08-02  Angus Leeming  <leeming@lyx.org>
9729
9730         * lyxlex.C: revert John's change as it breaks reading of the user
9731         preamble.
9732
9733 2002-08-02  Angus Leeming  <leeming@lyx.org>
9734
9735         * importer.C (Import):
9736         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9737         changes due to LyXView::view() now returning a boost::shared_ptr.
9738
9739 2002-08-02  John Levon  <levon@movementarian.org>
9740
9741         * lyxlex.C: small cleanup
9742
9743 2002-08-02  John Levon  <levon@movementarian.org>
9744
9745         * text2.C (status): small cleanup, no logic change
9746
9747 2002-08-01  John Levon  <levon@movementarian.org>
9748
9749         * buffer.h:
9750         * buffer.C (writeFile): don't output alerts, caller
9751           handles this
9752
9753         * bufferlist.C:
9754         * lyx_cb.C: from above
9755
9756         * lyxfunc.C: allow to open non-existent files
9757
9758 2002-07-31  John Levon  <levon@movementarian.org>
9759
9760         * lyxserver.C: don't let incidental errors get
9761           in the way (errno)
9762
9763 2002-07-30  John Levon  <levon@movementarian.org>
9764
9765         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9766
9767 2002-07-30  John Levon  <levon@movementarian.org>
9768
9769         * lyxserver.h:
9770         * lyxserver.C: remove I/O callback too
9771
9772 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9773
9774         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9775         log.
9776
9777 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9778
9779         * many files: strip,frontStrip -> trim,ltrim,rtrim
9780
9781 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9782
9783         * PrinterParams.h: remove extern containsOnly, and include
9784         support/lstrings.h instead.
9785
9786         * LaTeX.C (scanAuxFile): modify because of strip changes
9787         (deplog): ditto
9788         * buffer.C (makeLaTeXFile): ditto
9789         * bufferparams.C (writeFile): ditt
9790         * lyxfont.C (stateText): ditto
9791         * lyxserver.C (read_ready): ditto
9792         * vc-backend.C (scanMaster): ditto
9793
9794         * BufferView_pimpl.h: ws changes
9795
9796         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9797
9798 2002-07-26  André Pönitz <poenitz@gmx.net>
9799
9800         * kb_sequence.C: remove unnedred usings
9801
9802 2002-07-26  Juergen Vigna  <jug@sad.it>
9803
9804         * lyxfind.C (LyXReplace): we have to check better if the returned
9805         text is not of theLockingInset()->getLockingInset().
9806
9807 2002-07-25  Juergen Vigna  <jug@sad.it>
9808
9809         * lyxfind.C (LyXReplace): don't replace if we don't get the
9810         right LyXText.
9811
9812         * undo_funcs.C (createUndo): remove debugging code.
9813
9814 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9815
9816         * buffer.C (parseSingleLyXformat2Token): Use default placement
9817         when reading old floats.
9818
9819         * FloatList.C (FloatList): Change the default placement of figure
9820         and tables to "tbp".
9821
9822 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9823
9824         * MenuBackend.C: using std::max
9825
9826 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9827
9828         * MenuBackend.C (expandToc):
9829         (expandToc2): code moved from xforms menu frontend. It is now
9830         generic and TOCs are transparent to menu frontends.
9831
9832 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9833
9834         * toc.C (getTocList): protect against buf=0
9835
9836         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9837         Menu as first parameter. Now, this calls itself recursively to
9838         expand a whole tree (this will be useful for TOC handling)
9839         (expandFloatInsert): remove 'wide' version of floats
9840
9841         * MenuBackend.h (submenuname): returns the name of the submenu.
9842         (submenu): returns the submenu itself, provided it has been
9843         created by MenuBackend::expand
9844
9845 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9846
9847         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9848         insets which have noFontChange == true. (bug #172)
9849
9850 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9851
9852         * BufferView_pimpl.C: add connection objects and use them...
9853         (Pimpl): here.
9854
9855 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9856
9857         * MenuBackend.C (expandLastfiles):
9858         (expandDocuments):
9859         (expandFormats):
9860         (expandFloatListInsert):
9861         (expandFloatInsert):
9862         (expand): split expand in parts
9863
9864 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9865
9866         * lyx_gui.C: use lyx_gui::exit()
9867
9868 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9869
9870         * LyXAction.C: show the failing pseudo action
9871
9872 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9873
9874         * buffer.C (readFile): Run the lyxconvert script in order to read
9875         old files.
9876
9877 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9878
9879         * LyXAction.C:
9880         * commandtags.h:
9881         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9882
9883 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9884
9885         * LyXAction.C:
9886         * commandtags.h:
9887         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9888
9889 2002-07-22  Herbert Voss  <voss@lyx.org>
9890
9891         * lengthcommon.C:
9892         * lyxlength.[Ch]: add support for the vertical lengths
9893
9894 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9895
9896         * toc.[Ch]: std:: fixes
9897
9898 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9899
9900         * lyxrc.C: do not include lyx_main.h
9901
9902         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9903         for layouts
9904
9905         * lyxrc.C:
9906         * encoding.C:
9907         * bufferlist.C:
9908         * BufferView2.C: include "lyxlex.h"
9909
9910         * tabular.h:
9911         * bufferparams.h: do not #include "lyxlex.h"
9912
9913         * lyxtextclasslist.C (Add): remove method
9914         (classlist): renamed to classlist_
9915
9916         * paragraph_pimpl.C:
9917         * paragraph.C:
9918         * text2.C:
9919         * CutAndPaste.C:
9920         * bufferview_funcs.C:
9921         * bufferlist.C:
9922         * text.C:
9923         * LaTeXFeatures.C:
9924         * buffer.C:
9925         * toc.C (getTocList): use BufferParams::getLyXTextClass
9926
9927         * toc.C (getTocList): use InsetFloat::addToToc
9928
9929         * toc.[Ch]: new files, containing helper functions to handle table
9930         of contents
9931
9932         * lyxfunc.C (dispatch): no need to remove spaces around command
9933         given as a string
9934         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9935         first command of the sequence; it is not very clever, but I do not
9936         have a better idea, actually
9937
9938         * LyXAction.C (LookupFunc): make sure to remove space at the
9939         beginning and end of the command
9940
9941 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9942
9943         * MenuBackend.C (getMenubar): new method: return the menubar of
9944         this menu set
9945         (read): treat differently reading of menu and menubar (in
9946         particular, the menubar has no name now)
9947         (Menu::menubar): remove
9948
9949         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9950         saving is finished
9951
9952 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9953
9954         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9955         a bibitem inset in a RTL paragraph.
9956
9957 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9958
9959         * paragraph_pimpl.C: constify
9960
9961         * BufferView_pimpl.C:
9962         * LaTeX.C:
9963         * lyxfunc.C: fix dispatch in a nicer way
9964
9965 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9966
9967         * lyxfunc.C (dispatch):
9968         * BufferView_pimpl.C:
9969         * BufferView_pimpl.h:
9970         * BufferView.C:
9971         * BufferView.h: rename Dispatch() to dispatch()
9972
9973         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9974
9975         * lyxlayout.C (Read): honor DependsOn tag
9976
9977         * lyxlayout.[Ch] (depends_on): new method
9978
9979         * version.C.in: update lyx_docversion
9980
9981         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9982
9983         * paragraph.C (validate): remove from here...
9984         * paragraph_pimpl.C (validate): ... and move here
9985         (isTextAt): make it const
9986
9987         * buffer.C (getLists): ws cleanup
9988
9989 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9990
9991         * language.C (read): Use iso8859-1 encoding in latex_lang
9992         (this prevents LyX from crashing when using iso10646-1 encoding).
9993
9994 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9995
9996         * text2.C (toggleInset): if cursor is inside an inset, close the
9997         inset and leave cursor _after_ it
9998
9999 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10000
10001         * lyxfunc.C: move minibuffer completion handling out of here
10002
10003 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
10004
10005         * BufferView_pimpl.C:
10006         * LaTeX.C: fix dispatch calls
10007
10008 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
10009
10010         * text.C (drawChars): Fix Arabic text rendering.
10011
10012 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
10013
10014         * LyXAction.C:
10015         * commandtags.h:
10016         * lyxfunc.C: remove message-push/pop
10017
10018         * lyxserver.C:
10019         * lyxfunc.h:
10020         * lyxfunc.C: rationalise some code by removing verboseDispatch
10021           in favour of a bool argument to dispatch()
10022
10023 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10024
10025         * lyx_main.C (init): make sure to read symlinks as absolute paths
10026
10027 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10028
10029         * lyxfunc.h:
10030         * lyxfunc.C: no need for commandshortcut to be a member
10031
10032 2002-07-15  André Pönitz <poenitz@gmx.net>
10033
10034         * converter.C: add support for $$s (scripts from lib/scripts dir)
10035         * lyx_main.C: white space
10036
10037 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10038
10039         * bufferlist.C:
10040         * lyxrc.h:
10041         * lyxrc.C: remove second exit confirmation
10042
10043 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
10044
10045         * BufferView.h:
10046         * BufferView.C:
10047         * BufferView2.C:
10048         * BufferView_pimpl.h:
10049         * BufferView_pimpl.C:
10050         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10051
10052 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10053
10054         * MenuBackend.C (expand): add numeric shortcuts to document menu
10055
10056         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10057
10058 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10059
10060         * lyxfont.C (setLyXFamily):
10061         (setLyXSeries):
10062         (setLyXShape):
10063         (setLyXSize):
10064         (setLyXMisc):
10065         (lyxRead):
10066         * debug.C (value):
10067         * buffer.C (asciiParagraph): use ascii_lowercase
10068
10069 2002-07-15  Mike Fabian  <mfabian@suse.de>
10070
10071         * lyxlex_pimpl.C (search_kw):
10072         * lyxlex.C (getLongString):
10073         * converter.h (operator<):
10074         * converter.C (operator<):
10075         * buffer.C (parseSingleLyXformat2Token):
10076         (asciiParagraph):
10077         * ToolbarDefaults.C (read):
10078         * MenuBackend.C (checkShortcuts):
10079         (read):
10080         * LColor.C (getFromGUIName):
10081         (getFromLyXName): use the compare_ascii_no_case instead of
10082         compare_no_case, because in turkish, 'i' is not the lowercase
10083         version of 'I', and thus turkish locale breaks parsing of tags.
10084
10085 2002-07-16  Angus Leeming  <leeming@lyx.org>
10086
10087         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10088         now takes a Buffer const & argument.
10089
10090 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10091
10092         * BufferView.C (resize): check there's a buffer to resize
10093
10094 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10095
10096         * lyxfunc.C: remove dead code
10097
10098         * lyxserver.h:
10099         * lyxserver.C: use lyx_guii::set_read_callback
10100
10101 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10102
10103         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10104         an inset in a RTL paragraph.
10105
10106 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10107
10108         * lyxfunc.C: repaint after a font size update
10109
10110 2002-07-15  André Pönitz <poenitz@gmx.net>
10111
10112         * lyxlength.C: inBP should be able to return negative values
10113
10114 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10115
10116         * lyxfunc.C: use lyx_gui::update_fonts()
10117
10118 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10119
10120         * lyxfunc.C: use lyx_gui::update_color()
10121
10122 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10123
10124         * bufferlist.C:
10125         * lyxfunc.h:
10126         * lyxfunc.C:
10127         * lyxrc.h:
10128         * lyxrc.C: remove file->new asks for name option, and let
10129           buffer-new take an argument
10130
10131 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10132
10133         * BufferView_pimpl.C: remove unneeded extra repaint()
10134
10135 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10136
10137         * LyXAction.C: allow command-sequence with NoBuffer
10138
10139         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10140
10141 2002-07-10  Angus Leeming  <leeming@lyx.org>
10142
10143         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10144
10145 2002-07-09  Angus Leeming  <leeming@lyx.org>
10146
10147         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10148
10149 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10150
10151         * lengthcommon.h: whitespace
10152
10153         * lyxfunc.C: update scrollbar after goto paragraph
10154
10155         * lyxtext.h: factor out page break drawing, and fix it so
10156           page break/added space paints as selected nicely
10157
10158 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10159
10160         * BufferView_pimpl.C: add FIXMEs, clean up a little
10161
10162 2002-07-09  André Pönitz <poenitz@gmx.net>
10163
10164         * lyxfont.[Ch]: support for wasy symbols
10165
10166 2002-07-08  André Pönitz <poenitz@gmx.net>
10167
10168         * BufferView_pimpl.C: apply John's patch for #93.
10169
10170 2002-07-05  Angus Leeming  <leeming@lyx.org>
10171
10172         * BufferView_pimpl.C (buffer): generate previews if desired.
10173
10174         * LColor.h: add "preview" to the color enum.
10175
10176         * LColor.C (LColor): add a corresponding entry to the items array.
10177
10178         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10179         with this buffer.
10180
10181 2002-07-05  Angus Leeming  <leeming@lyx.org>
10182
10183         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10184         The body of the code is now in the method that is passed an ostream &
10185         rather than a file name.
10186         Pass an additional only_preamble parameter, useful for the forthcoming
10187         preview stuff.
10188
10189 2002-07-03  André Pönitz <poenitz@gmx.net>
10190
10191         * lyxfunc.C: simplify getStatus() a bit for math stuff
10192
10193 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10194
10195         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10196
10197 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10198
10199         * text.C (changeRegionCase): do not change case of all the
10200         document when region ends at paragraph end (bug #461)
10201
10202 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10203
10204         * paragraph.C (startTeXParParams):
10205         (endTeXParParams): add \protect when necessary
10206
10207 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10208
10209         * BufferView_pimpl.C (workAreaExpose): remove warning
10210
10211 2002-06-27  Angus Leeming  <leeming@lyx.org>
10212
10213         * Makefile.am: add lyxlayout_ptr_fwd.h.
10214
10215 2002-06-26  André Pönitz <poenitz@gmx.net>
10216
10217         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10218
10219 2002-06-25  Angus Leeming  <leeming@lyx.org>
10220
10221         * lyxfunc.C (dispatch): Comment out the call to
10222         grfx::GCache::changeDisplay. The method no longer exists now that the
10223         pixmap generation part of the graphics loader has been moved into
10224         InsetGraphics.
10225
10226 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10227
10228         * text2.C: layout as layout
10229
10230         * text.C: layout as layout
10231
10232         * tabular.C (OldFormatRead): layout as layout
10233
10234         * paragraph_pimpl.C (TeXDeeper): layout as layout
10235         (realizeFont): layout as layout
10236
10237         * paragraph.C (writeFile): layout as layout
10238         (validate): layout as layout
10239         (getFont): layout as layout
10240         (getLabelFont): layout as layout
10241         (getLayoutFont): layout as layout
10242         (breakParagraph): layout as layout
10243         (stripLeadingSpaces): layout as layout
10244         (getEndLabel): layout as layout
10245         (getMaxDepthAfter): layout as layout
10246         (applyLayout): layout as layout
10247         (TeXOnePar): layout as layout
10248         (simpleTeXOnePar): layout as layout
10249         (TeXEnvironment): layout as layout
10250         (layout): layout as layout
10251         (layout): layout as layout
10252
10253         * lyxtextclass.C (compare_name): new functor to work with
10254         shared_ptr, layout as layout
10255         (Read): layout as layout
10256         (hasLayout): layout as layout
10257         (operator): layout as layout
10258         (delete_layout): layout as layout
10259         (defaultLayout): layout as layout
10260
10261         * lyxlayout_ptr_fwd.h: new file
10262
10263         * lyxlayout.C (Read): layout as layout
10264
10265         * lyx_cb.C (MenuInsertLabel): layout as layout
10266
10267         * bufferlist.C (newFile): layout as layout
10268
10269         * buffer.C (readLyXformat2): layout as layout
10270         (parseSingleLyXformat2Token): layout as layout
10271         (insertStringAsLines): layout as layout
10272         (asciiParagraph): layout as layout
10273         (latexParagraphs): layout as layout
10274         (makeLinuxDocFile): layout as layout
10275         (simpleLinuxDocOnePar): layout as layout
10276         (makeDocBookFile): layout as layout
10277         (simpleDocBookOnePar): layout as layout
10278         (getLists): layout as layout
10279
10280         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10281
10282         * CutAndPaste.C (cutSelection): layout as layout
10283         (pasteSelection): layout as layout
10284         (SwitchLayoutsBetweenClasses): layout as layout
10285
10286         * BufferView_pimpl.C (Dispatch): layout as layout
10287         (smartQuote): layout as layout
10288
10289         * BufferView2.C (unlockInset): layout as layout
10290
10291 2002-06-24  André Pönitz <poenitz@gmx.net>
10292
10293         * lyxfunc.C: fix #487
10294
10295 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10296
10297         * lyxrc.h:
10298         * lyxrc.C:
10299         * lyxfunc.C: remove display_shortcuts, show_banner
10300
10301 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10302
10303         * Buffer_pimpl.C: oops, update on resize
10304
10305 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10306
10307         * buffer.C:
10308         * converter.C:
10309         * exporter.C:
10310         * lyxfunc.C:
10311         * BufferView.h:
10312         * BufferView.C: use repaint()
10313
10314         * BufferView_pimpl.h:
10315         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10316           as it's a clearer description. Remove superfluous
10317           redraws.
10318
10319 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10320
10321         * text.C: fix bug 488. Not ideal, but getting
10322           getWord() to work properly for the insets that
10323           matter is more difficult ...
10324
10325 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10326
10327         * BufferView_pimpl.C:
10328         * LyXAction.C:
10329         * commandtags.h:
10330         * lyxfunc.C: remove the six million index lyxfuncs to just
10331           one, and DTRT (bug 458)
10332
10333 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10334
10335         * BufferView.h:
10336         * BufferView.C:
10337         * BufferView_pimpl.h:
10338         * BufferView_pimpl.C: clean up resize() stuff,
10339           and unnecessary updateScreen()s
10340
10341 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10342
10343         * BufferView.h:
10344         * BufferView.C:
10345         * BufferView_pimpl.h:
10346         * BufferView_pimpl.C:
10347         * lyxfind.h:
10348         * lyxfind.C:
10349         * minibuffer.C: remove focus management of workarea,
10350           not needed. Use screen's greyOut()
10351
10352 2002-06-17  Herbert Voss  <voss@lyx.org>
10353
10354         * converter.C: (convert) do not post a message, when converting
10355         fails, let the calling function decide what to do in this case
10356
10357 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10358
10359         * lyxfunc.C: tidy up a little
10360
10361 2002-06-16    <alstrup@diku.dk>
10362
10363         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10364         Got rid of FORMS_H_LOCATION include. Now we are
10365         GUII.
10366
10367 2002-06-15  LyX Development team  <lyx@rilke>
10368
10369         * buffer.[Ch] (sgmlOpenTag):
10370         (sgmlCloseTag): Added support for avoiding pernicious mixed
10371         content. Return number of lines written.
10372
10373         (makeLinuxDocFile):
10374         (makeDocBookFile): Fixed calls to sgml*Tag.
10375         Simple white space clean.
10376
10377         (simpleDocBookOnePar): Simple white space clean.
10378
10379         * tabular.[Ch] (docBook): Renamed to docbook and got another
10380         argument to related with the pernicious mixed content.
10381
10382         (docbookRow): Fixed calls for docbook inset method.
10383
10384 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10385
10386         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10387         so it's X11 independent.
10388
10389         * kb*.[Ch]: ditto.
10390
10391         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10392
10393 2002-06-15  Lyx Development team  <lyx@electronia>
10394
10395         * intl.h: Renamed getTrans to getTransManager.
10396
10397 2002-06-14  Angus Leeming  <leeming@lyx.org>
10398
10399         * Makefile.am: nuke forgotten stl_string_fwd.h.
10400
10401 2002-06-12  Angus Leeming  <leeming@lyx.org>
10402
10403         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10404
10405 2002-06-13  Angus Leeming  <leeming@lyx.org>
10406
10407         * LaTeX.C:
10408         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10409
10410 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10411
10412         * kbmap.C (getiso): add support for cyrillic and greek
10413
10414 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10415
10416         * BufferView.h:
10417         * BufferView.C:
10418         * BufferView_pimpl.h:
10419         * BufferView_pimpl.C: move bogus scrolling logic
10420           to xforms
10421
10422 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10423
10424         * lyxfunc.C:
10425         * BufferView_pimpl.C: view->resize() change
10426
10427 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10428
10429         * BufferView_pimpl.C: topCursorVisible
10430           prototype change
10431
10432 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10433
10434         * Makefile.am:
10435         * lyx_gui.h:
10436         * lyx_gui.C: move to frontends/
10437
10438         * main.C:
10439         * lyx_main.h:
10440         * lyx_main.C: changes from above
10441
10442 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10443
10444         * intl.C:
10445         * intl.h:
10446         * kbmap.C:
10447         * kbsequence.C:
10448         * lyx_cb.C:
10449         * lyx_main.C: minor tidy
10450
10451 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10452
10453         * BufferView_pimpl.h:
10454         * BufferView_pimpl.C:
10455         * BufferView.h:
10456         * BufferView.C: make painter() const,
10457           remove dead code
10458
10459         * BufferView2.C: use screen() accessor
10460
10461         * lyx_main.h:
10462         * lyx_main.C: some minor cleanup
10463
10464 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10465
10466         * BufferView_pimpl.h:
10467         * BufferView_pimpl.C: remove enter/leaveView,
10468           use workHeight()
10469
10470 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10471
10472         * BufferView.h:
10473         * BufferView.C:
10474         * BufferView2.C:
10475         * BufferView_pimpl.h:
10476         * BufferView_pimpl.C: only construct screen once,
10477           rename
10478
10479         * lyxrc.C: remove pointless comment
10480
10481 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10482
10483         * BufferView.h:
10484         * BufferView.C: remove active() and belowMouse()
10485
10486         * BufferView_pimpl.h:
10487         * BufferView_pimpl.C: use workarea() not workarea_,
10488           and make it use a scoped_ptr instead
10489
10490 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10491
10492         * lyx_gui.C: add debug message on BadWindow
10493
10494 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10495
10496         * sp_spell.C: fdopen is not part of the C++ standard.
10497
10498         * paragraph.C (InsetIterator): use >= instead of ==
10499
10500 2002-06-07  Angus Leeming  <leeming@lyx.org>
10501
10502         Fixes needed to compile with Compaq cxx 6.5.
10503         * BufferView_pimpl.C:
10504         * DepTable.C:
10505         * buffer.C:
10506         * converter.C:
10507         * encoding.C:
10508         * lyx_gui.C:
10509         * lyx_main.C:
10510         * lyxtextclasslist.C:
10511         * minibuffer.C:
10512         * sp_spell.C:
10513         * tabular_funcs.C:
10514         * vc-backend.C:
10515         all c-library variables have been moved into namespace std. Wrap
10516         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10517
10518         * lyxlength.C:
10519         * tabular-old.C:
10520         * tabular.C:
10521         Add a using std::abs declaration.
10522
10523         * kbmap.h (modifier_pair):
10524         * paragraph.h (InsetTable, InsetList):
10525         * lyxfont.h (FontBits):
10526         type definition made public.
10527
10528         * bufferlist.C (emergencyWriteAll): the compiler complains that
10529         there is more than one possible lyx::class_fun template to choose from.
10530         I re-named the void specialisation as lyx::void_class_fun.
10531
10532         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10533
10534         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10535         the compiler is is unable to find tostr in write_attribute.
10536
10537 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10538
10539         * buffer.C (sgmlError): hide #warning
10540
10541 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10542
10543         * xtl/*: get rid of xtl, which is not in use anyway
10544
10545         * LyXAction.C (init):
10546         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10547         were unimplemented xtl experimentation
10548
10549 2002-06-04  André Pönitz <poenitz@gmx.net>
10550
10551         * lyxfunc.C: disable array operation on simple formulae
10552
10553 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10554
10555         * converter.C: constify a bit
10556
10557 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10558
10559         * lyx_gui.C: check xforms version correctly
10560
10561 2002-04-30  Herbert Voss  <voss@lyx.org>
10562
10563         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10564         "keep" option
10565
10566 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10567
10568         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10569           attempt to register it with a VCS)
10570
10571 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10572
10573         * lyx_main.C (init): honor variables LYX_DIR_13x and
10574         LYX_USERDIR_13x
10575
10576 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10577
10578         * buffer.h:
10579         * buffer.C:
10580         * lyx_main.C: fix a crash on bad command line,
10581           and give a useful exit status on error
10582
10583         * lyxfunc.C (doImport): allow -i lyx to work
10584
10585 2002-03-30  André Pönitz <poenitz@gmx.net>
10586
10587         * lyxfunc.C: mathed font changes
10588
10589 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10590
10591         * LaTeX.C:
10592         * importer.h:
10593         * importer.C:
10594         * lyx_sty.h:
10595         * lyx_sty.C:
10596         * lyxlex.C:
10597         * lyxrow.h:
10598         * lyxtext.h:
10599         * paragraph.h:
10600         * paragraph.C:
10601         * texrow.h:
10602         * texrow.C:
10603         * text.C:
10604         * trans_mgr.h: srcdocs, and some minor cleanups
10605
10606 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10607
10608         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10609         call getFont all the time)
10610
10611 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10612
10613         * switch from SigC signals to boost::signals
10614
10615 2002-05-29  André Pönitz <poenitz@gmx.net>
10616
10617         * paragraph_pimpl.C (getChar): don't call size() too often...
10618
10619 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10620
10621         * paragraph_pimpl.C (insertChar): do not try to update tables when
10622         appending (pos == size())
10623
10624         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10625         in order to reduce drastically the number of comparisons needed to
10626         parse a large document
10627
10628 2002-05-29  André Pönitz <poenitz@gmx.net>
10629
10630         * text.C:
10631         * text2.C:
10632         * lyxtextclass.C:
10633         * sp_pspell.h:
10634         * textclasslist.[Ch]:
10635         * sp_ispell.h: whitespace change
10636
10637 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10638
10639         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10640         lyxaction directly now.
10641
10642 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * trans.C:
10645         * lyxfont.C:
10646         * lyxvc.C: remove unused headers
10647
10648 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10649
10650         * Makefile.am:
10651         * buffer.h:
10652         * undostack.h:
10653         * undostack.C:
10654         * undo_funcs.h:
10655         * undo_funcs.C: some cleanups. Use shared_ptr
10656           and a template for the undo stacks.
10657
10658 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10659
10660         * BufferView_pimpl.h:
10661         * BufferView_pimpl.C:
10662         * kbmap.h:
10663         * kbmap.C:
10664         * kbsequence.h:
10665         * kbsequence.C:
10666         * lyxfunc.h:
10667         * lyxfunc.C:
10668         * text2.C: use key_state/mouse_state
10669
10670 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10671
10672         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10673         and LSubstring
10674
10675         * chset.C: change include order
10676         (loadFile): use boost regex and get rid of LRegex and LSubstring
10677
10678         * Makefile.am (BOOST_LIBS): new variable
10679         (lyx_LDADD): use it
10680
10681         * LaTeX.C: change include order.
10682         (scanAuxFile): use boost regex and get rid of LRegex and
10683         LSubstring
10684         (deplog): ditto
10685
10686 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10687
10688         * ColorHandler.h:
10689         * ColorHandler.C:
10690         * FontInfo.h:
10691         * FontInfo.C: moved to frontends/xforms/
10692
10693         * FontLoader.h:
10694         * FontLoader.C: moved into frontends for GUIIzation
10695
10696         * Makefile.am:
10697         * lyx_gui.C:
10698         * lyxfont.C:
10699         * lyxfunc.C: changes from above
10700
10701 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10702
10703         * LColor.C: remove spurious X include
10704
10705         * BufferView_pimpl.C:
10706         * Makefile.am:
10707         * font.h:
10708         * font.C:
10709         * text.C:
10710         * text2.C: move font metrics to frontends/
10711
10712 2002-05-24  Juergen Vigna  <jug@sad.it>
10713
10714         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10715         setting the undo_cursor.
10716
10717         * ParagraphParameters.h: include local includes first.
10718
10719 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10720
10721         * BufferView_pimpl.C:
10722         * BufferView_pimpl.h:
10723         * Makefile.am:
10724         * WorkArea.h:
10725         * WorkArea.C:
10726         * screen.C: move WorkArea into frontends/
10727
10728         * lyxscreen.h:
10729         * screen.C:
10730         * text.C:
10731         * BufferView.C:
10732         * BufferView2.C: move LyXScreen into frontends/
10733
10734         * lyxlookup.h:
10735         * lyxlookup.C:
10736         * lyx_gui.C: move lyxlookup into frontends/xforms/
10737
10738 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10739
10740         * BufferView2.C:
10741         * BufferView_pimpl.C:
10742         * FontLoader.C:
10743         * LyXView.h:
10744         * LyXView.C:
10745         * Makefile.am:
10746         * WorkArea.C:
10747         * XFormsView.h:
10748         * XFormsView.C:
10749         * buffer.C:
10750         * bufferlist.C:
10751         * bufferview_funcs.C:
10752         * converter.C:
10753         * importer.C:
10754         * lyx_cb.C:
10755         * lyx_gui.C:
10756         * lyx_main.C:
10757         * lyx_find.C:
10758         * lyxfunc.C:
10759         * lyxvc.C:
10760         * minibuffer.C:
10761         * text.C:
10762         * text2.C:
10763         * trans.C:
10764         * vc-backend.C: move LyX/XFormsView into frontends/
10765
10766 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10767
10768         * Makefile.am:
10769         * PainterBase.C:
10770         * PainterBase.h:
10771         * Painter.C:
10772         * Painter.h:
10773         * WorkArea.C:
10774         * WorkArea.h:
10775         * screen.C:
10776         * tabular.C:
10777         * text.C:
10778         * text2.C: move Painter to frontends/
10779
10780 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10781
10782         * buffer.C: comment out some some code that depend upon lyx_format
10783         < 220
10784
10785         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10786         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10787
10788         * buffer.h (NO_COMPABILITY): turn off compability
10789
10790         * ColorHandler.C: include scoped_array.hpp
10791
10792         * font.C: Use more specific smart_ptr header.
10793         * Painter.C: ditto
10794         * gettext.C: ditto
10795         * ShareContainer.h: ditto
10796         * lyx_main.h: ditto
10797         * kbmap.h: ditto
10798         * FontInfo.h: ditto
10799         * BufferView_pimpl.h: ditto
10800         * ColorHandler.h: ditto
10801
10802         * kbmap.C (defkey): change call to shared_ptr::reset
10803
10804 2002-05-21  Juergen Vigna  <jug@sad.it>
10805
10806         * buffer.C (insertErtContents): fix to insert ert asis if it is
10807         non empty. Skip it completely if it contains only whitespaces.
10808
10809 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10810
10811         * BufferView_pimpl.C:
10812         * BufferView2.C: clear selection on paste (bug 393)
10813
10814 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10815
10816         * DepTable.C: include ctime
10817
10818 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10819
10820         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10821
10822 2002-05-14  Juergen Vigna  <jug@sad.it>
10823
10824         * text.C (breakParagraph): fixed function to honor the keepempty
10825         layout in the right maner and also to permit the right breaking
10826         algorithm on empty or non empyt keepempty paragraphs.
10827
10828         * paragraph.C (breakParagraph): we have to check also if the par
10829         is really empty (!size()) for isempty otherwise we do the wrong
10830         paragraph break.
10831
10832 2002-05-10  Juergen Vigna  <jug@sad.it>
10833
10834         * buffer.[Ch] : The following are only changes to the ert
10835         compatibility read reading old LaTeX layout and font stuff and
10836         convert it to ERTInsets.
10837
10838         * buffer.h: added isErtInset().
10839
10840         * buffer.C (struct ErtComp): add a fromlayout bool to check
10841         if we're inside a LaTeX layout.
10842         (isErtInset): new helper function.
10843         (insertErtContents): look for other ert insets before this one
10844         and insert the contents there, so that we don't have subsequent
10845         ERT insets with nothing between them. This way we create only one
10846         inset with multiple paragraphs. Also check if we don't insert only
10847         spaces ' ' as they are ignored anyway afterwards in the .tex file
10848         so if we have only spaces we will ignore this latex part in the
10849         new file.
10850         (parseSingleLyXformat2Token \\layout): better compatibility when
10851         reading layout-latex stuff.
10852         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10853         language tag.
10854         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10855         stuff after reading the inset only get the information back from
10856         the stack.
10857
10858 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10859
10860         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10861
10862         * LaTeXFeatures.C (getBabelOptions): New method.
10863
10864 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10865
10866         * BufferView_pimpl.C (Dispatch): work around missing argument for
10867         'layout'
10868
10869 2002-05-08  Juergen Vigna  <jug@sad.it>
10870
10871         * text.C (leftMargin): handle paragraph leftindent.
10872
10873         * paragraph.C (writeFile): write the new \\leftindent tag.
10874         (validate): handle leftindent code.
10875         (TeXEnvironment): handle paragraphleftindent code again.
10876
10877         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10878
10879         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10880         for paragrap_extra indent code and new token \\leftindent.
10881         (latexParagraphs): handle the leftindent as environment.
10882
10883         * ParameterStruct.h: added leftindent support.
10884
10885         * ParagraphParameters.C (leftIndent): added support functions for
10886         the paragraph left indent.
10887
10888         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10889         more appropriate.
10890
10891 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10892
10893         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10894         inside insetERT.
10895
10896         * text.C (computeBidiTables): No bidi in insetERT.
10897
10898         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10899         in RTL documents.
10900
10901 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10902
10903         * version.C.in: pre 5
10904
10905 2002-05-02  José Matos  <jamatos@fep.up.pt>
10906         * buffer.C (makeDocBookFile): white space changes, add newline to
10907         command styles.
10908         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10909
10910         * tabular.C (docBook): fix typo.
10911
10912 2002-05-03  Juergen Vigna  <jug@sad.it>
10913
10914         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10915         change in LyXText as we can not be sure it was not freed.
10916         (drawOneRow): remove unused code.
10917
10918         * text.C (drawInset): redo the calculation of the need_break_row as
10919         it could have a row which was already freed.
10920         (draw): look at the return value of drawInset and return false if
10921         it also returned false.
10922         (paintRowText): look at the return value of draw and return false if
10923         it also returned false.
10924
10925         * lyxtext.h: added bool return type to drawInset() and draw() so that
10926         if we have a change in the row so that the rowbreak has to be redone
10927         we abort drawing as it will be called again.
10928
10929 2002-05-02  Juergen Vigna  <jug@sad.it>
10930
10931         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10932         a change in the maintext also if we're inside an inset.
10933         (Dispatch): set the cursor again after a break line and after the
10934         screen has been updated as it could be we're in a different row.
10935
10936         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10937         to set the cursor behind the pargraph with > size().
10938         (setCursor): check also for the same paragraph when checking where
10939         to put the cursor if we have a NFR inset.
10940
10941         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10942         parts of layout read further up as it still was in the wrong
10943         position.
10944
10945 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10946
10947         * screen.C (drawFromTo): change sine fullRebreak always return
10948         true.
10949
10950         * buffer.C (parseSingleLyXformat2Token): reindent some
10951
10952         * BufferView_pimpl.C (update): change since fullRebreak always
10953         return true.
10954         (Dispatch): git rid of the last hardcoded "Standard"s.
10955
10956 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10957
10958         * text2.[Ch] (fullRebreak): make it return void now that we always
10959         returned true.
10960
10961 2002-04-30  Juergen Vigna  <jug@sad.it>
10962
10963         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10964         ert compatibility check for "latex" layout.
10965
10966 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10967
10968         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10969         minipages: use col% instead of p%, and also use the current font.
10970         (makeLaTeXFile): Fix use babel condition.
10971         (parseSingleLyXformat2Token): Correct font when reading old floats.
10972
10973 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10974
10975         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10976         inserting list of floats.
10977
10978 2002-04-25  Herbert Voss  <voss@lyx.org>
10979
10980         * MenuBackend.C (expand): don't add the graphics extensions to the
10981         export menu
10982
10983 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10984
10985         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10986         non-existing layout, do not complain if it was the default layout
10987         of the original class (bug #342)
10988
10989 2002-04-24  Juergen Vigna  <jug@sad.it>
10990
10991         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10992         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10993
10994 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10995
10996         * buffer.C (getBibkeyList): If using \bibliography, return the
10997         option field with the reference itself. Enables us to provide natbib
10998         support when using \bibliography.
10999
11000 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
11001
11002         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11003
11004         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11005         natbib is provided by the LaTeX class.
11006
11007 2002-04-23  Juergen Vigna  <jug@sad.it>
11008
11009         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11010         Wakeup functions.
11011
11012         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11013
11014 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11015
11016         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11017
11018         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11019         ensuremath around textordmasculine, textordfeminine and
11020         textdegree.
11021
11022 2002-04-19  Juergen Vigna  <jug@sad.it>
11023
11024         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11025         reinitializing the buffer otherwise row-dimensions may be wrong.
11026         (update): reset also the selection cursors if they do exits otherwise
11027         their x/y positions may be wrong.
11028
11029         * text2.C (cursorDown): don't enter the inset if we came from a row
11030         above and are one row over the inset.
11031
11032         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11033         really leaving an inset.
11034
11035 2002-04-18  Juergen Vigna  <jug@sad.it>
11036
11037         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11038         of the selected paragraph does not have the selected layout also if
11039         the last one had!
11040
11041         * text2.C (setLayout): fixed bug which did not change last selected
11042         paragraph.
11043
11044         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11045         changed the read and substituted \\end_float with \\end_inset!
11046
11047         * BufferView_pimpl.C (cursorPrevious):
11048         (cursorNext): fixed to make it work with rows heigher than the work
11049         area without moving the cursor only the draw of the row.
11050         (workAreaMotionNotify): fix jumping over high rows.
11051
11052 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11053
11054         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11055         Ressler.
11056
11057 2002-04-16  Juergen Vigna  <jug@sad.it>
11058
11059         * text2.C (setCursor): set also the irow().
11060         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11061         (cursorUp):
11062         (cursorDown): support for locking an inset if the x_fix value goes
11063         inside it. That way I can transverse insets too with cursor up/down.
11064
11065         * lyxrow.h: added irow helper function same as other (i) functions.
11066
11067         * BufferView_pimpl.C (cursorPrevious):
11068         (cursorNext): fixed for insets!
11069
11070 2002-04-15  Juergen Vigna  <jug@sad.it>
11071
11072         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11073         position otherwise it is wrong in some cases.
11074
11075         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11076         inside the inset before the call.
11077
11078 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11079
11080         * buffer.[Ch] (getBibkeyList): make it const.
11081
11082 2002-04-12  Juergen Vigna  <jug@sad.it>
11083
11084         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11085
11086         * text2.C (getCursorX): new helper function
11087         (setCursor): compute also ix_
11088         (setCursorFromCoordinates): set also ix.
11089
11090         * lyxcursor.h: added ix_ and helper functions.
11091
11092         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11093
11094         * buffer.C (insertStringAsLines): dont break paragraph if the this
11095         paragraph is inside an inset which does not permit it!
11096
11097         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11098         also with no chars on this paragraph.
11099         (paintRowText): only paint stuff if it's inside the workarea!
11100
11101         * paragraph.C (breakParagraph): honor keepempty flag and break the
11102         paragraph always below not above.
11103
11104         * BufferView2.C (unlockInset): update the paragraph layout on inset
11105         unlock as we changed paragraph in such a case.
11106
11107         * lyxfind.C (LyXFind): clear the former selection if not found!
11108
11109         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11110         again called in insertChar().
11111
11112         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11113         an inset which uses the whole row!
11114         (rightMargin): ditto.
11115         (insertChar): force a rebreak if we inserted an inset!
11116
11117 2002-03-28  Herbert Voss  <voss@lyx.org>
11118
11119         * lyxlength.[Ch]: add inBP() to get the right PS-point
11120         units (BigPoint). With inPixels we have rounding errors
11121
11122 2002-04-11  Juergen Vigna  <jug@sad.it>
11123
11124         * text2.C (setCursorFromCoordinates): set iy to the right value.
11125         (setCursor): add check if row->previous exists!
11126
11127         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11128         an old float_type as this was the case in the old code!
11129
11130         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11131
11132         * BufferView2.C (showLockedInsetCursor): use iy
11133         (fitLockedInsetCursor): ditto
11134
11135         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11136         locked insets as there we have the right value now.
11137
11138         * lyxcursor.C: added iy_ variable and iy functions to set to the
11139         baseline of cursor-y of the locked inset.
11140
11141         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11142         (setCursor): fixed for insets which need a full row.
11143
11144         * text.C (rowLastPrintable): don't ignore the last space when before
11145         an inset which needs a full row.
11146         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11147         as last character of a row when before a inset which needs a full row.
11148
11149 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11150
11151         * version.C.in: update date
11152
11153         * text2.C (fullRebreak): try to always return true and see what
11154         happens...
11155
11156 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11157
11158         * MenuBackend.C (expand): use Floating::listName
11159
11160         * FloatList.C (FloatList): add listName argument to the built-in
11161         floats
11162
11163         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11164         text associated with the float.
11165
11166 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11167
11168         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11169
11170 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11171
11172         * ShareContainer.h: add a couple of missing typenames.
11173
11174 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11175
11176         * lyxrc.C (getDescription): use _() correctly rather than N_().
11177
11178 2002-03-28  Herbert Voss  <voss@lyx.org>
11179
11180         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11181         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11182
11183 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11184
11185         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11186         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11187
11188 2002-03-29  Juergen Vigna  <jug@sad.it>
11189
11190         * lyxfunc.C (dispatch): add a missing fitCursor call.
11191
11192         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11193         it was scrolled by a cursor move, so return the bool status.
11194
11195         * BufferView.C (fitCursor): return the bool flag also to the outside
11196         world as this is needed.
11197
11198         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11199
11200         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11201         call the edit() as it is not needed (and wrong) IMO.
11202         (workAreaButtonPress): set the screen_first variable before evt.
11203         unlock the inset as this may change screen_first and then we have
11204         a wrong y position for the click!
11205
11206 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11207
11208         * MenuBackend.C (expand): another translation that I missed
11209
11210 2002-03-28  Juergen Vigna  <jug@sad.it>
11211
11212         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11213
11214         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11215
11216 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11217
11218         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11219
11220         * MenuBackend.C (expand): fix export/view/update when there is no
11221         document open.
11222
11223 2002-03-27  Herbert Voss  <voss@lyx.org>
11224
11225         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11226         and text%
11227
11228 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11229
11230         * bufferview_funcs.C (currentState): only show paragraph number
11231         for is DEVEL_VERSION is set.
11232
11233         * lyxfunc.C (dispatch): put warning in INFO channel
11234
11235         * MenuBackend.C (expand): translate the name of floats
11236
11237         * FloatList.C (FloatList): mark the float names for translation
11238
11239         * converter.C (convert): use LibScriptSearch
11240
11241 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11242
11243         * MenuBackend.C (defaults): fix default menu (we might as well get
11244         rid of it...)
11245
11246 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11247
11248         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11249         directory.
11250
11251 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11252
11253         * lyxvc.C: reorder includes.
11254
11255 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11256
11257         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11258           properly
11259
11260 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11261
11262         * CutAndPaste.C: change layouts earlier on paste
11263           to avoid crashing when calling getFont()
11264
11265 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11266
11267         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11268         irritating #error.
11269
11270 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11271
11272         * WorkArea.C: remove 'Pending' debug message.
11273
11274         * most files: ws cleanup
11275
11276         * buffer.[Ch]: ws changes
11277
11278         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11279
11280 2002-03-21  Juergen Vigna  <jug@sad.it>
11281
11282         * tabular.C (SetMultiColumn): collapse also the contents of the
11283         cells and set the last border right. Added a Buffer const * param.
11284
11285 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11286
11287         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11288         linking or not.
11289
11290 2002-03-19  Juergen Vigna  <jug@sad.it>
11291
11292         * text2.C (clearSelection): reset also xsel_cache.
11293
11294         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11295         where it needs to be called (John tells us to do so too :)
11296         (selectionLost): reset sel_cache.
11297
11298         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11299
11300 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11301
11302         * text2.C (setCursorIntern): put debuging code in INSETS channel
11303
11304 2002-03-19  André Pönitz <poenitz@gmx.net>
11305
11306         * lyxfunc.C: tiny whitespace change
11307
11308 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11309
11310         * ToolbarDefaults.C (init):
11311         * LyXAction.C (init):
11312         * commandtags.h:
11313         * BufferView_pimpl.C (Dispatch):
11314         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11315
11316 2002-03-19  Allan Rae  <rae@lyx.org>
11317
11318         * exporter.C (Export): removeAutoInsets before doing anything else.
11319         While I've just introduced a dependency on BufferView this really is
11320         the best place to clean the buffer otherwise you need to cleanup in
11321         a dozen places before calling export or cleanup in a dozen functions
11322         that export calls.
11323
11324         * converter.C (runLaTeX):
11325         (scanLog): Better handling of removeAutoInsets and screen updates.
11326
11327         * lyxfunc.C (dispatch): small whitespace changes
11328
11329 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11330
11331         * WorkArea.C (C_WorkAreaEvent): return a value.
11332         (event_cb): return 1 if we handled the event, 0 otherwise.
11333
11334         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11335
11336 2002-03-18  Juergen Vigna  <jug@sad.it>
11337
11338         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11339         (GetAdditionalWidth): ditto.
11340         (RightLine): ditto.
11341         (LeftLine): ditto.
11342
11343         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11344         inset if we're there actually (probably not used right now but this
11345         is the direction to go for unifying code).
11346         (paste): disable code to clear the selection.
11347
11348         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11349         inside an InsetText and move the check further up as it is in the
11350         wrong place.
11351
11352         * text2.C (pasteSelection): set a selection over the pasted text.
11353
11354 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11355
11356         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11357         and libgraphics to build on Cygwin.
11358
11359 2002-03-15  Juergen Vigna  <jug@sad.it>
11360
11361         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11362         inserting an Inset into the paragraph. I know this is not the best
11363         fix but we already use current_view in CutAndPaste so we will remove
11364         all of it's using at the same time.
11365
11366         * buffer.C (sgmlError): deactivated function till it is rewritten in
11367         the right mode, now it can create problems.
11368
11369         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11370         before accessing it.
11371
11372 2002-03-14  Juergen Vigna  <jug@sad.it>
11373
11374         * undo_funcs.C (textHandleUndo): do the right thing when updating
11375         the inset after the undo/redo.
11376
11377         * text2.C (setCursor): just some testcode for #44 not ready yet.
11378
11379         * undo_funcs.C (textHandleUndo): set the next() and previous()
11380         pointers of the paragraph to 0 before deleting otherwise we have
11381         problems with the Paragraph::[destructor].
11382
11383         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11384         on a paragraph insertion.
11385
11386 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11387
11388         * buffer.C (asciiParagraph): use += operator for char append to
11389         string.
11390
11391         * paragraph.C (getFontSettings): compare >= not just >
11392         (highestFontInRange): ditto
11393         (setFont): ditto
11394
11395 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11396
11397         * paragraph.C: change several algorithm to be more appripriate for
11398         the problem domain. This is lookip in FontList and in the InsetList.
11399
11400 2002-03-13  André Pönitz <poenitz@gmx.net>
11401
11402         * commandtags.h:
11403         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11404
11405 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11406
11407         * commandtags.h:
11408         * LyXAction.C:
11409         * lyxfunc.C:
11410         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11411
11412 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11413
11414         * Painter.C (display): anon helper function, adjust code for this
11415         change.
11416         (pixmap): remove function.
11417
11418         * Painter.h: remove private display variable.
11419
11420         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11421
11422 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11423
11424         * WorkArea.[Ch]: remove figinset_canvas cruft.
11425
11426 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11427
11428         * lyxtextclass.C (operator): add one item cache optimization.
11429
11430         * bufferlist.h: doxy changes
11431
11432         * bufferlist.C: ws changes
11433
11434         * DepTable.[Ch] (ext_exist): place const in the right spot.
11435
11436         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11437         call resizeInsets.
11438         (workAreaExpose): call resizeInsets when the with BufferView changes.
11439         (Dispatch): adjust for protectedBlank removal
11440         (specialChar): call updateInset if the insert went ok.
11441
11442         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11443         specialChar instead.
11444
11445         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11446
11447         * BufferView.h: doxy change
11448
11449         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11450
11451         * lyxtextclass.C (operator[]): remove non-const version
11452         (defaultLayout): remove non-const version
11453
11454 2002-03-12  Juergen Vigna  <jug@sad.it>
11455
11456         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11457         did resize the LyXText too.
11458
11459         * buffer.C (readLyXformat2): set layout information on newly allocated
11460         paragraphs.
11461
11462         * tabular.C (OldFormatRead): set layout information on the paragraph.
11463
11464 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11465
11466         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11467
11468 2002-03-11  Juergen Vigna  <jug@sad.it>
11469
11470         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11471         plainly wrong.
11472         (resizeCurrentBuffer): force also the insets to resize themselfes.
11473         (moveCursorUpdate): fixed up for InsetText.
11474
11475 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11476
11477         * commandtags.h:
11478         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11479         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11480         value of Dialogs::tooltipsEnabled().
11481         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11482
11483 2002-03-08  Juergen Vigna  <jug@sad.it>
11484
11485         * BufferView_pimpl.C (updateInset): update inset inside inset also
11486         if it isn't inside theLockingInset().
11487
11488 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11489
11490         * buffer.C (asciiParagraph): redo some of the word and line length
11491         handling.
11492         (getLists): look for Caption instead of caption.
11493
11494 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11495
11496         * buffer.C (Buffer): initialize niceFile to true
11497         (makeLaTeXFile):
11498         (makeLinuxDocFile):
11499         (makeDocBookFile): make sure niceFile is true on exit
11500
11501 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11502
11503         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11504
11505 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11506
11507         * LyXSendto.C: remove.
11508         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11509         * lyx_gui.C: remove now-redundant comment.
11510         * ColorHandler.h: remove forward declaration of class WorkArea.
11511         * lyxfunc.C: remove #include "WorkArea.h".
11512
11513 2002-03-07  Juergen Vigna  <jug@sad.it>
11514
11515         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11516         got moved away with the DEPM and also set the inset_owner always
11517         right which before could have been omitted.
11518
11519 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11520
11521         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11522         wanted layout is not found.
11523
11524 2002-03-07  Juergen Vigna  <jug@sad.it>
11525
11526         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11527
11528 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11529
11530         * paragraph.C (breakParagraph): use default layout not layout of
11531         prev paragraph.
11532         (Paragraph): clear ParagraphParameters.
11533
11534 2002-03-06  Juergen Vigna  <jug@sad.it>
11535
11536         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11537         otherwise it would not be a valid lenght. Fixed a special case in
11538         the minipage compatibility read where we end the document with a
11539         minipage.
11540
11541         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11542         was set as it could be 0 for InsetTexts first entry.
11543
11544 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11545
11546         * paragraph.C (writeFile): if layout is empty write out
11547         defaultLayoutName().
11548
11549         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11550         file without named layout we set layout to defaultLayoutName().
11551
11552 2002-03-06  Juergen Vigna  <jug@sad.it>
11553
11554         * CutAndPaste.C (copySelection): set layout for new paragraph.
11555
11556         * text.C (prepareToPrint): leave ERT inset left aligned
11557         (leftMargin): don't indent paragraphs inside ERT insets
11558
11559 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11560
11561         * paragraph.C (breakParagraph): dont call clear do the work manually
11562
11563         * paragraph.[Ch] (clear): remove function
11564
11565 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11566
11567         * paragraph.C (Paragraph): dont call clear, the work has already
11568         been done.
11569
11570         * lyxtextclass.C (operator): assert if n is empty
11571
11572         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11573         work manually instead.
11574
11575 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11576
11577         * BufferView_pimpl.C: protect selectionLost against text == 0
11578
11579 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11580
11581         * text.C (breakParagraph): fix a setting layout to '0' problem.
11582
11583 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11584
11585         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11586         final location of file, for the included files, and graphics.
11587
11588 2002-03-05  Juergen Vigna  <jug@sad.it>
11589
11590         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11591
11592 2002-03-04  Juergen Vigna  <jug@sad.it>
11593
11594         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11595
11596         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11597         last column of multicolumn cells.
11598         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11599
11600 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11601
11602         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11603         file if it doesn't go to a temporary file.
11604
11605         * buffer.C (sgmlOpenTag):
11606         (sgmlCloseTag):  remove extra newline insertion.
11607
11608 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11609
11610         * text.C (getRowNearY): comment out debug msg
11611
11612 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11613
11614         * text2.C: first -> first_y
11615
11616         * text.C (getRowNearY): add some attemts at a possible
11617         optimization, not working.
11618
11619         * tabular.[Ch]: add BufferParams to several function so that newly
11620         created paragraph can be initialized to he default layotu for the
11621         buffers textclass.
11622
11623         * tabular-old.C (ReadOld): add buf->params to call of Init
11624
11625         * screen.C: rename text->first to text->first_y
11626
11627         * paragraph.C (breakParagraph): always set layout in the broken
11628         paragraph
11629
11630         * lyxtextclass.C (Read): remove lowercase
11631         (hasLayout): ditto
11632         (operator): ditto
11633         (delete_layout): ditto
11634
11635         * lyxtext.h: rename first -> first_y
11636
11637         * lyxlayout.C (Read): remove lowercase
11638         (name): ditto
11639         (setName): ditto
11640         (obsoleted_by): ditto
11641
11642         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11643
11644         * buffer.C (insertErtContents): add params are to InsetERT
11645         (parseSingleLyXformat2Token): add code to check if a paragraphs
11646         layout really exist.
11647         (parseSingleLyXformat2Token): add params to several inset
11648         constructors
11649         (asciiParagraph): remove lowercase, do the layout comparisons with
11650         no_case
11651
11652         * BufferView_pimpl.C (cursorNext): first -> first_y
11653         (resizeCurrentBuffer): first -> first_y
11654         (updateScrollbar): first -> first_y
11655         (scrollCB): first -> first_y
11656         (workAreaMotionNotify): first -> first_y
11657         (workAreaButtonPress): first -> first_y
11658         (checkInsetHit): first -> first_y
11659         (cursorPrevious): first -> first_y
11660         (cursorNext): first -> first_y
11661         (Dispatch): add buffer_->params to severl inset contructors
11662
11663 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11664
11665         * lyxlayout.C (Read): remove some debug info that I forgot.
11666
11667         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11668         clean up the code slightly.
11669         (makeLinuxDocFile): ditto
11670         (makeDocBookFile): ditto
11671
11672         * text2.C: layout as string
11673
11674         * text.C: layout as string
11675
11676         * paragraph_pimpl.C: layout as string
11677
11678         * paragraph.[Ch]: layout as string
11679
11680         * lyxtextclasslist.[Ch]: layout as string
11681
11682         * lyxtextclass.[Ch]: layout as string
11683
11684         * lyxtext.h: layout as string
11685
11686         * lyxlayout.[Ch]: layout as string
11687
11688         * lyx_cb.C: layout as string
11689
11690         * bufferview_funcs.C: layout as string
11691
11692         * bufferparams.C: layout as string
11693
11694         * buffer.C: layout as string
11695
11696         * LyXView.[Ch]: layout as string
11697
11698         * LaTeXFeatures.[Ch]: layout as string
11699
11700         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11701
11702         * BufferView_pimpl.C: change current_layout to string, remove
11703         lyx::layout_type.
11704         (Dispatch):
11705         (smartQuote):
11706         (insertInset):
11707         (workAreaButtonRelease): layout as string
11708
11709         * BufferView2.C (unlockInset): adjust
11710
11711         * vspace.C (asLatexCommand): use an explict temp variable.
11712
11713 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11714
11715         * Makefile.am: use FRONTEND_*
11716
11717 2002-03-01  Juergen Vigna  <jug@sad.it>
11718
11719         * tabular.C (SetWidthOfMulticolCell): changed to something better
11720         I hope but still work in progress.
11721         (recalculateMulticolumnsOfColumn): renamed function from
11722         recalculateMulticolCells as it is more appropriate now.
11723         (SetWidthOfCell): calculate multicols better.
11724
11725 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11726
11727         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11728
11729         * lyxfunc.C (processKeySym): print sequence also if it is
11730         `deleted' (complete)
11731
11732         * kbsequence.C (print): print sequence even if it is deleted
11733         (complete would be a better word, actually).
11734
11735         * lyxfunc.C (dispatch): print complete options after a prefix key
11736
11737         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11738
11739 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11740
11741         * text2.C (setCharFont): eliminate setCharFont code duplication.
11742
11743 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11744
11745         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11746         LFUN_TABULAR_FEATURE (bug #177)
11747
11748 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11749
11750         * Makefile.am: remove figure.h
11751
11752 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11753
11754         * Bufferview_pimpl.C:
11755         * CutAndPasteC:
11756         * LaTeX.C:
11757         * LyXSendto.C:
11758         * buffer.C:
11759         * bufferlist.C:
11760         * converter.C:
11761         * language.C:
11762         * lyxfunc.C:
11763         * lyxvc.C:
11764         * paragraph.C:
11765         * text.C:
11766         * text2.C: remove #include "lyx_gui_misc.h".
11767
11768         * LaTeX.C: added #include <cstdio>
11769
11770 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11771
11772         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11773         that the paragraph following this one can have.
11774
11775         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11776
11777         * vspace.C (asLatexCommand): fix bogus gcc warning
11778
11779         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11780
11781 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11782
11783         * text2.C (setLayout): get rid of redundant code
11784
11785 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11786
11787         * text2.C (incDepth): make sure depth cannot be increased beyond
11788         reasonable values.
11789
11790 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11791
11792         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11793         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11794
11795         * PainterBase.h (image):
11796         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11797         a LyXImage const *.
11798
11799 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11800
11801         * BufferView.C:
11802         * BufferView.h:
11803         * BufferView_pimpl.C:
11804         * BufferView_pimpl.h:
11805         * LaTeXFeatures.C:
11806         * LyXAction.C:
11807         * LyXView.C:
11808         * Makefile.am:
11809         * UpdateList.h:
11810         * UpdateList.C:
11811         * buffer.C:
11812         * figure.h:
11813         * figureForm.C:
11814         * figureForm.h:
11815         * figure_form.C:
11816         * figure_form.h:
11817         * lyx_cb.C:
11818         * lyx_gui.C:
11819         * lyx_gui_misc.C:
11820         * lyxfunc.C:
11821         * sp_base.h:
11822         * sp_ispell.h:
11823         * sp_pspell.h:
11824         * sp_spell.C: remove fig inset, and the crap house of
11825           cards that follows it
11826
11827 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11828
11829         * Makefile.am:
11830         * lyxserver.C:
11831         * os2_defines.h:
11832         * os2_errortable.h:
11833         * nt_defines.h: move .h into support/
11834
11835         * vms_defines.h: remove
11836
11837         * WorkArea.C: add space in debug output
11838
11839         * text2.C:
11840         * paragraph.C:
11841         * buffer.C: add WITH_WARNINGS
11842
11843         * vc-backend.h:
11844         * vc-backend.C:
11845         * bufferlist.C: s/retrive/retrieve/, add docs
11846
11847         * vspace.h:
11848         * vspace.C:
11849         * kbmap.h:
11850         * lyxlength.h:
11851         * lyxgluelength.h:
11852         * length_common.h:
11853         * chset.h:
11854         * chset.C: add docs
11855
11856         * lyxgui.C: add ID to X error handler
11857
11858         * lyxtestclass.c: fix typo
11859
11860 2002-02-26  Juergen Vigna  <jug@sad.it>
11861
11862         * tabular_funcs.C (write_attribute): changed so that some default
11863         attributes are not written at all.
11864         (getTokenValue): set default values before trying to read the
11865         value so we have the return value always set as default if we don't
11866         find the token we search for.
11867
11868         * tabular.C (Write): write bools as bools not as strings!
11869
11870 2002-02-22  Juergen Vigna  <jug@sad.it>
11871
11872         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11873         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11874
11875         * text.C (leftMargin): don't add an indent for paragraphs inside
11876         tabular cells (fix #208).
11877
11878 2002-02-21  José Matos  <jamatos@fep.up.pt>
11879
11880         * tabular.C (docBook): fixed support for long tables.
11881
11882 2002-02-20  Juergen Vigna  <jug@sad.it>
11883
11884         * text2.C (getFont): get the drawing font of the Inset if this
11885         paragraph is inside an inset (only important for InsetERT for now).
11886
11887         * buffer.C (insertErtContents): use new lanugage params in ERT
11888         constructor.
11889
11890         * CutAndPaste.C: commenting out seemingly uneeded code.
11891
11892 2002-02-19  Allan Rae  <rae@lyx.org>
11893
11894         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11895         Iterators might be simple to use but they also get invalidated.
11896         (removeAutoInsets): renamed saved cursor tracking variables and added
11897         some comments to clarify what everything does.
11898
11899 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11900
11901         * Chktex.C:
11902         * LaTeX.C:
11903         * LyXSendto.C:
11904         * converter.C:
11905         * lyx_cb.C:
11906         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11907         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11908
11909         * lyxfunc.C:
11910         * vc-backend.h: remove #include "support/syscall.h"
11911
11912         * LaTeX.C:
11913         * LyXSendto.C:
11914         * converter.C: rearrange #includes in Lars' approved fashion.
11915
11916         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11917         forward declare class Timeout in the header file.
11918
11919         * XFormsView.C: changes due to the above.
11920
11921         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11922         similar to LyXView.
11923
11924         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11925         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11926
11927 2002-02-18  José Matos  <jamatos@fep.up.pt>
11928
11929         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11930         insets contents.
11931
11932 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11933
11934         * a lot of small ws changes
11935         * add a lot of using std::XXX
11936         * use std construcs some places where approp.
11937         * use some exisint stuff from lyxfunctional where approp.
11938         * Make file changes to use partial linking (lets test this now...)
11939
11940 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11941
11942         * Chktex.C:
11943         * buffer.C:
11944         remove #include "support/syscontr.h" as it's redundant. Always has been.
11945
11946         * Chktex.C:
11947         * LaTeX.C:
11948         * LyXSendto.C:
11949         * converter.C:
11950         * lyx_cb.C:
11951         * vc-backend.C:
11952         change Systemcalls::System to Systemcalls::Wait and
11953         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11954         No change of functionality, just reflects the stripped down Systemcalls
11955         class.
11956
11957 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11958
11959         * debug.[Ch]: add a GRAPHICS type to the enum.
11960
11961 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11962
11963         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11964
11965         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11966         there is an inset.
11967
11968 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11969
11970         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11971         match the changes below.
11972
11973         * text2.C (toggleInset): if there is not editable inset at cursor
11974         position, try to see if cursor is _inside_ a collapsable inset
11975         and close it.
11976
11977 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11978
11979         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11980         document menu has a nice checkbox
11981
11982 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11983
11984         * lyxlength.C (asLatexString): change PW to output as percent of
11985         \textwidth.
11986
11987         * lengthcommon.C: change '%' to 't%'
11988
11989         * lyxfunc.C (dispatch): a few comments from Martin
11990
11991 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11992
11993         * WorkArea.h:
11994         * WorkArea.C:
11995         * BufferView_pimpl.h:
11996         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11997           the X selection.
11998
11999 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12000
12001         * vspace.C (inPixels): fix compiler warning
12002
12003 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12004
12005         * lyxfunc.C (getStatus): fix status message for disabled commands.
12006
12007 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
12008
12009         * BufferView_pimpl.C: fix crash on close buffer
12010         during selection (#227)
12011
12012 2002-01-27  Herbert Voss  <voss@lyx.org>
12013
12014         * buffer.C: link old Figure to new graphic inset
12015
12016 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12017
12018         * FontLoader.C (getFontinfo): Change the latex font names in order
12019         to match the names of type1inst.
12020
12021 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12022
12023         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12024
12025         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12026         (extchanged): ditto
12027         (ext_exist): ditto
12028         (remove_files_with_extension): ditto
12029         (remove_file): ditto
12030         (write): ditto
12031
12032         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12033         document is smaller than the work area height. Do not initialize
12034         static variables to 0.
12035
12036 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12037
12038         * lyx_gui.C (init): give the toolbar tooltips a normal font.
12039
12040         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12041         LFUN_LAYOUT_PARAGRAPHS.
12042
12043         * tabular.C (GetCellFromInset): new method. Finds an inset in a
12044         tabular. It is possible to provide a possible cell, which will
12045         typically be the actcell from the corresponding insettabular
12046
12047         * lyxfunc.C (getStatus): small cleanup; disable
12048         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12049         true
12050
12051 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12052
12053         * tabular.C (Validate): remove broken optimization (fixes bug #201)
12054
12055         * paragraph.C (startTeXParParams):
12056         (endTeXParParams): new methods. The LaTeX code to
12057         start/end paragraph formatting
12058         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12059         empty (fixes bug #200)
12060
12061         * vspace.C (inPixels): adapt to the change below
12062         (inPixels): [later] more cleanups (remove unused variables)
12063
12064         * lyxlength.C (inPixels): change to use a width and a height as
12065         parameter.
12066
12067 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12068
12069         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12070         Replaced with \paperwidth
12071
12072         * DepTable.C (insert): add std:: qualifier
12073
12074 2002-01-18  Allan Rae  <rae@lyx.org>
12075
12076         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12077         updated also?
12078
12079         * text.C (drawInset): Turned out I didn't know enough about how
12080         rebreaking worked.  This fixes most of the redraw problems.  I see
12081         an occasional cursor trail when a line is broken now and the cursor
12082         placement can seem out by a few pixels also after a rebreak.
12083
12084 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12085
12086         * buffer.C (parseSingleLyXformat2Token): update because minipage
12087         width is now a LyXLength
12088
12089         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12090
12091         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12092         math insets
12093
12094 2002-01-17  Juergen Vigna  <jug@sad.it>
12095
12096         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12097
12098         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12099         is set correctly and the inset is updated correctly.
12100
12101 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12102
12103         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12104         the beginning of the loop.
12105
12106 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12107
12108         * lyxrc.C: improve help for use_scalable_fonts
12109
12110 2002-01-17  Allan Rae  <rae@lyx.org>
12111
12112         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12113
12114 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12115
12116         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12117         make sure to set their inset_owner to the right value (bug #171)
12118
12119 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12120
12121         * DepTable.h
12122         * DepTable.C: Implement mtime checking to reduce time spent doing
12123         CRCs.
12124
12125 2002-01-16  Juergen Vigna  <jug@sad.it>
12126
12127         * tabular.C (GetAdditionalHeight): one of error fixed.
12128
12129         * lyxrc.C (output): small fix in writing use_pspell.
12130
12131 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12132
12133         * sp_base.h: #include LString.h
12134
12135 2002-01-16  Allan Rae  <rae@lyx.org>
12136
12137         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12138         Can someone check this please?
12139
12140         * text.C (drawInset): It was possible that p.row would be removed by
12141         breakAgainOneRow upsetting a few other settings.  There may be another
12142         small tweak possible by setting need_break_row = 0 when p.row has been
12143         removed but I don't know enough about the logic here.
12144
12145 2002-01-15  Allan Rae  <rae@lyx.org>
12146
12147         * text.C (insertChar): removed conditional truism.
12148
12149         * BufferView2.C (removeAutoInsets): More tweaks.
12150         cur_par_prev could be a stray pointer.  Check for trailing empty line
12151         in case last line was cur_par and only had an error inset on it.
12152
12153 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12154
12155         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12156         absolute
12157
12158         * vc-backend.C (most methods):
12159         * exporter.C (Export):
12160         * converter.C (convert):
12161         (runLaTeX):
12162         * LyXSendto.C (SendtoApplyCB):
12163         * lyxfunc.C (dispatch):
12164         (menuNew):
12165         (open):
12166         (doImport):
12167         * lyx_cb.C (AutoSave):
12168         (InsertAsciiFile):
12169         * BufferView_pimpl.C (MenuInsertLyXFile):
12170         * buffer.C (runChktex): use Buffer::filePath().
12171
12172         * buffer.h: rename filename to filename_; rename filepath to
12173         filepath_ and make it private
12174         (filePath): new method
12175
12176         * buffer.C (writeFile): use fileName()
12177         (getLatexName):
12178
12179         * lyx_main.C (init): fix starting  of LyX when the binary is a
12180         link from so,ewhere else.
12181
12182         * minibuffer.C: include <cctype> for isprint
12183
12184 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12185
12186         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12187         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12188         name clash with InsetCollapsable's width function.
12189
12190 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12191
12192         * lastfiles.C: include <iterator>
12193
12194 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12195
12196         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12197         std::count.
12198
12199         * buffer.C (makeLaTeXFile): ditto.
12200         Also make loop operation more transparent.
12201
12202 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12203
12204         * ToolbarDefaults.C: remove trailing comma closing namespace.
12205
12206         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12207
12208         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12209         as in WorkArea.
12210
12211         * trans.C (Load): comment out unused variable, allowed.
12212
12213 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12214
12215         * minibuffer.[Ch] (append_char): new method to recieve input from the
12216         drop-down completion browser. If a key was pressed, then recieve this
12217         char and append it to the existing string.
12218         (peek_event): modify the positioning data passed to the completion
12219         browser so that it can be placed above the minibuffer rather than below.
12220 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12221
12222         * LyXAction.C (init): alloe error-next for readonly documents.
12223
12224         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12225         count.
12226
12227 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12228
12229         * bufferlist.C (readFile): create the buffer _after_ checking that
12230         the file exists.
12231
12232         * lyxfunc.C (verboseDispatch): fix handling of arguments
12233
12234         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12235
12236         * lyxrc.C: use string::erase() instead of initializing to "".
12237
12238
12239 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12240
12241         * BufferView_pimpl.h:
12242         * BufferView_pimpl.C:
12243         * WorkArea.h:
12244         * WorkArea.C:
12245         * text2.C: tell X when we have made a selection for copying
12246
12247 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12248
12249         * BufferView_pimpl.C (MenuInsertLyXFile):
12250         * lyxfunc.C (menuNew):
12251         (open):
12252         (doImport): add shortcuts to directory buttons
12253
12254         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12255         open a float)
12256
12257         * lyxfunc.C (setStatusMessage):
12258         (getStatusMessage): new methods
12259         (getStatus):use setStatusMessage instead of setErrorMessage
12260         (dispatch): when function is disabled, set error message here
12261         [instead of in getStatus previously]
12262
12263         * BufferView_pimpl.C (workAreaButtonRelease): update
12264         toolbar/menubar here too.
12265
12266 2002-01-13  Allan Rae  <rae@lyx.org>
12267
12268         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12269         Now seems indestructible.  Remaining task is to audit all other
12270         code affected by deleteEmptyParagraphMechanism.  One small quirk
12271         left is that an empty document with an error in the preamble can
12272         be made to report an error but no error box appears.  I don't know
12273         where it goes.
12274         (removeAutoInsets): Improved comments.
12275
12276 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12277
12278         * Thesaurus.h:
12279         * Thesaurus.C: update for Aiksaurus 0.14
12280
12281 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12282
12283         * text2.C (firstParagraph): removed member function, all uses
12284         replaces with ownerParagraph
12285         (redoParagraphs): here
12286         (updateInset): here
12287         (toggleAppendix): here
12288         * BufferView2.C (insertErrors): here
12289         (setCursorFromRow): here
12290
12291 2002-01-13  Allan Rae  <rae@lyx.org>
12292
12293         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12294         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12295         There is still a way to segfault this although you may have to do this
12296         multiple times: Have an InsetERT with an unknown command in it.
12297         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12298         <down-arrow>, <Enter> again, View->DVI, BANG!
12299
12300         * text2.C (setCursor):
12301         (deleteEmptyParagraphMechanism):
12302         * lyxtext.h (setCursor):
12303         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12304         Making use of the return value may help fix other bugs.
12305
12306 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12307
12308         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12309
12310         * LyXView.C (updateMenubar): call MenuBar::update here
12311         (updateToolbar): but not here
12312         (showState): do not update toolbar/menubar
12313
12314         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12315         should need to care about that.
12316
12317         * lyxfunc.C (verboseDispatch): simplify a bit
12318         (getStatus): have a version which takes a pseudoaction, and
12319         another which requires a (kb_action,string).
12320
12321         * LyXAction.C (retrieveActionArg): make it work also when action
12322         is not a pseudo-action.
12323         (getActionName): simplify a bit
12324         (helpText):
12325
12326 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12327
12328         * lyxfunc.C (verboseDispatch): new families of methods with
12329         several ways to specify a command and a bool to indicate whether
12330         the command name and shortcut should be displayed in minibuffer
12331         (eventually, we could extend that to a finer bitmask like
12332         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12333         (dispatch): the pristine dispatch command which just, well,
12334         dispatchs! Note it still sets its result to minibuffer; I'm not
12335         sure we want that.
12336
12337         * lyxfunc.h: remove setHintMessage
12338
12339         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12340
12341 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12342
12343         * BufferView_pimpl.C (specialChar): delete new inset if we have
12344         not been able to insert it.
12345
12346         * kbmap.C: revert to using int instead of kb_action, since all we
12347         are dealing with is pseudo-actions.
12348
12349         * LyXAction.C (searchActionArg): change to return int instead of
12350         kb_action, since the result is a pseudoaction.
12351
12352 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12353
12354         * buffer.C (insertErtContents): Fix (partially) the font bug.
12355
12356 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12357
12358         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12359         as the other one is broken on my machine!
12360
12361 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12362
12363         * commandtags.h:
12364         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12365
12366 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12367
12368         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12369         reflect their actual use. Provide compatibility code for older lyxrc
12370         files.
12371
12372         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12373         FL_NORMAL_STYLE.
12374         change names of popup font variables in line with the changes to lyxrc.C
12375
12376 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12377
12378         * buffer.C (asciiParagraph): avoid outputing a word twice after
12379         an inset.
12380
12381         * lyxrc.C (getDescription): document that document_path and
12382         template_path can be empty.
12383
12384 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12385
12386         * LaTeXFeatures.C (getMacros):
12387         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12388
12389         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12390
12391         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12392         getPackages.
12393         (getPackages): rename feature "floats" to "float". Use an array to
12394         iterate over 'simple' features (i.e. just a \usepackage). Add
12395         handling of "amsmath" (renamed from "amsstyle").
12396
12397 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12398
12399         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12400         features list.
12401
12402 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12403
12404         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12405         FuncStaus::FuncStatus & FuncStaus::some_method().
12406
12407 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12408
12409         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12410         of the func_satus stuff. Edited and massaged in various ways by
12411         JMarc.
12412
12413         * lyxfunc.C (getStatus): use FuncStatus
12414
12415 2002-01-08  Juergen Vigna  <jug@sad.it>
12416
12417         * text.C (nextBreakPoint): use function Inset::isChar().
12418
12419         * paragraph.C (TeXOnePar): use function
12420         Inset::forceDefaultParagraphs.
12421
12422         * buffer.C (latexParagraphs): use function
12423         Inset::forceDefaultParagraphs.
12424
12425 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12426
12427         * lyx_gui.C (init): set the style of the menu popups to
12428         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12429
12430 2002-01-07  Juergen Vigna  <jug@sad.it>
12431
12432         * text.C (setHeightOfRow): small fix
12433         (prepareToPrint): don't look at alignment if we don't have the place
12434         for doing it.
12435
12436 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12437
12438         * box.C: New file. Move the Box methods and functions out of box.h,
12439         following Lars' suggestion.
12440
12441 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12442
12443         * box.h: #include "support/LOstream.h", needed for inlined function.
12444
12445         * lyxtextclass.C:
12446         * lyxtextclasslist.C: added some using std declarations.
12447
12448 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12449
12450         * box.h: make signed dimensions to allow insets wider than
12451           the screen (bug #162)
12452
12453         * BufferView_pimpl.C: add some insetHit debug
12454
12455 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12456
12457         * vc-backend.C: add FIXME
12458
12459 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12460
12461         * lyxfunc.C (getStatus): enable code for showing math font status
12462         in toolbar/menu.
12463
12464 2002-01-07  Juergen Vigna  <jug@sad.it>
12465
12466         * text.C (nextBreakPoint): removed debug output not needed anymore.
12467
12468 2002-01-06  Juergen Vigna  <jug@sad.it>
12469
12470         * text.C (nextBreakPoint): fixed up this function we had this bug
12471         since ever but now hopefully we break row better.
12472         (insertChar): we have to check if an inset is the next char as it
12473         could now happen that a large inset is causing a break.
12474
12475 2002-01-05  Juergen Vigna  <jug@sad.it>
12476
12477         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12478         if it doesn't like to be drawed.
12479
12480 2002-01-04  Juergen Vigna  <jug@sad.it>
12481
12482         * BufferView2.C (lockInset): forgot to set a cursor.
12483
12484         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12485
12486 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12487
12488         * FormMathsPanel.C:
12489         * FormMathsPanel.h
12490         * MathsSymbols.C:
12491         * form_maths_panel.C:
12492         * form_maths_panel.h:
12493         * form_maths_panel.fd: implemented sub- and super- buttons in math
12494         panel.
12495
12496         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12497         (or ^ space) to be used as in TeX (req'd by André).
12498
12499         * lyxfunc.C: Allow ^ and _ again to be used both as
12500         super/subscript (mathed) and as themselves (in text).
12501
12502 2002-01-03  Allan Rae  <rae@lyx.org>
12503
12504         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12505         "LyX" or the filename of the current buffer if it has one.  This is a
12506         modified form of John Levon's patch.
12507
12508         * XFormsView.C (setWindowTitle): also set icon title.
12509
12510         * LyXView.h (setWindowTitle): signature changed.
12511         * XFormsView.h (setWindowTitle): ditto.
12512
12513 2002-01-02  Juergen Vigna  <jug@sad.it>
12514
12515         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12516
12517 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12518
12519         * screen.C (topCursorVisible): introduce a temp var for
12520         text->cursor.row(), handle the case where this row is null. (kindo
12521         hachish)
12522
12523         * text2.C (setCursor): add a couple of asserts.
12524
12525         * paragraph.h (inset_iterator): add -> operator
12526
12527         * paragraph.[Ch] (autoDeleteInsets): remove member function
12528
12529         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12530         cursor pos correctly and handle inset deletion by itself.
12531         (insertErrors): move iterator declaration out of for expression
12532
12533         * lyxtextclass.C: add <algorithm>
12534
12535         * Makefile.am: added the new files to sources, removed layout.C
12536
12537         * layout.C: removed file
12538
12539         * layout.h: remove LYX_DUMMY_LAYOUT
12540
12541         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12542         layout.
12543
12544         * lyxlayout.[Ch]:
12545         * lyxtextclass.[Ch]:
12546         * lyxtextclasslist.[Ch]: new files
12547
12548         * include order changes to a lot of files, also changes because of
12549         the six new files.
12550
12551 2001-12-27  Juergen Vigna  <jug@sad.it>
12552
12553         * buffer.C (asciiParagraph): more fixes.
12554
12555         * tabular.C (ascii): make ascii export support export of only the
12556         data separated by a column-delimiter.
12557         (ascii): better support for ascii export.
12558
12559         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12560
12561 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12562
12563         * tabular_funcs.C: use a "using std::getline" instead of the
12564         previous fix from Angus (necessary for cxx + lyxstring)
12565
12566 2001-12-24  Juergen Vigna  <jug@sad.it>
12567
12568         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12569
12570         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12571         problems. First check a minipage also if we have some ert-contents
12572         (not only on par->size(), second set the right depth of the paragraph
12573         on the relink to the root-paragraph-list!
12574
12575         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12576         which then did not anymore update the main paragraphs on undo/redo!
12577
12578 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12579
12580         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12581         code. Support all font-changing funcs (even those which are not in
12582         menu currently). Support for reporting font settings in
12583         mathed (disabled until Andre provides a function on mathed's side).
12584
12585         * func_status.h (toggle): small helper function to set toggle
12586         state on a flag.
12587
12588 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12589
12590         * tabular_funcs.C: getline -> std::getline
12591
12592 2001-12-21  Juergen Vigna  <jug@sad.it>
12593
12594         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12595         accessed and could be 0 (I couldn't generate this but it seems
12596         Michael could!).
12597
12598 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12599
12600         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12601         * tabular_funcs.h: here and include iosfwd
12602
12603 2001-12-20  Juergen Vigna  <jug@sad.it>
12604
12605         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12606         inside inset but undo_par was.
12607
12608 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12609
12610         * Thesaurus.C: always include <config.h> in sources.
12611
12612         * Painter.h:
12613         * lyxlookup.h:
12614         * box.h: do not include <config.h> in header files
12615
12616         * text.C (paintLastRow): remove unused variable
12617
12618         * text.C (transformChar):
12619         (insertChar):
12620         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12621
12622         * Painter.C (text):
12623         * font.C (width): rewrite to use uppercase() instead of
12624         islower/toupper.
12625
12626         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12627
12628 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12629
12630         * lyxfind.C: clean up of find failure position change
12631
12632 2001-12-20  Juergen Vigna  <jug@sad.it>
12633
12634         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12635
12636         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12637         (TeXRow): added to LaTeX a single tabular row.
12638         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12639         (Latex): simplified and finally good LT-h/f support.
12640         (various_functions): just small adaptions for LT-h/f support.
12641
12642         * tabular_funcs.[hC]: added and moved here all not classfunctions
12643         of LyXTabular.
12644
12645 2001-12-19  Juergen Vigna  <jug@sad.it>
12646
12647         * tabular.[Ch]: better support for longtabular options (not finished
12648         yet!)
12649
12650 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12651
12652         * text.C (paintLastRow): use the label font instead of the font of
12653         the last character to compute the size of *_BOX. This makes more
12654         sense and avoids a crash with empty paragraphs.
12655         Use Painter::rectangle to draw EMPTY_BOX.
12656
12657 2001-12-19  Juergen Vigna  <jug@sad.it>
12658
12659         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12660         the paragraphs if the replaced paragraph is not the first one!
12661         Tried to delete not used paragraphs but does not work yet so for
12662         now it's inside #ifdef's and by default off!
12663
12664 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12665
12666         * MenuBackend.C: include "lyx_main.h" instead of declaring
12667         lastfiles (actually was declared as LastFiles* instead of a
12668         scoped_ptr).
12669
12670 2001-12-17  Juergen Vigna  <jug@sad.it>
12671
12672         * tabular.C (AppendColumn): applied John's fix
12673
12674 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12675
12676         * BufferView.h:
12677         * BufferView.C:
12678         * BufferView_pimpl.h:
12679         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12680
12681         * Makefile.am:
12682         * box.h: new start of class for above
12683
12684         * lyxfunc.C: ignore space-only minibuffer dispatches.
12685           Show the command name when it doesn't exist
12686
12687         * minibuffer.C: don't add empty lines to the history
12688
12689         * minibuffer.C: add a space on dropdown completion
12690
12691 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12692
12693         * text.C: fix line above/below drawing in insets
12694
12695 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12696
12697         * lyxlength.C (LyXLength): Initialize private variables.
12698
12699 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12700
12701         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12702         when inserting error insets.
12703
12704 2001-12-13  Juergen Vigna  <jug@sad.it>
12705
12706         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12707         actually sometimes the before-paragraph.
12708         (setUndo): don't clear the redostack if we're not actually undoing!
12709
12710 2001-12-06  Juergen Vigna  <jug@sad.it>
12711
12712         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12713         and fixed redoing of main paragraph, so we can use it now ;)
12714
12715         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12716
12717 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12718
12719         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12720         Juergen's request
12721
12722 2001-12-13  André Pönitz <poenitz@gmx.net>
12723
12724         * undostack.[Ch]:
12725         * undo_func.C: minor cleanup
12726
12727 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12728
12729         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12730         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12731         font in urw-fonts package which is marked as -urw-fontspecific and
12732         does not work (incidentally, changing the encoding in the
12733         fonts.dir of this package to -adobe-fontspecific fixes the
12734         problem).
12735
12736         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12737         is a crash when undoing first paragraph (Juergen, please take a
12738         look). THis does not mean the undo fix is wrong, just that it
12739         uncovers problems.
12740
12741         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12742         the (Paragraph*) version when needed instead of duplicating the
12743         code.
12744
12745         * text.C (workWidth): use Inset::parOwner to find out where the
12746         inset has been inserted. This is a huge performance gain for large
12747         documents with lots of insets. If Inset::parOwner is not set, fall
12748         back on the brute force method
12749
12750         * paragraph_pimpl.C (insertInset):
12751         * paragraph.C (Paragraph):
12752         (cutIntoMinibuffer): set parOwner of insets when
12753         inserting/removing them
12754
12755         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12756
12757 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12758
12759         * commandtags.h:
12760         * LyXAction.C:
12761         * lyx_main.C:
12762         * lyxfunc.C:
12763         * mathed/formulabase.C:
12764         * mathed/math_cursor.[Ch]:
12765         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12766
12767
12768 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12769
12770         * lyxlength.[Ch] (operator!=): new function
12771
12772 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12773
12774         * text.C (workWidth): use Inset::parOwner to find out where the
12775         inset has been inserted. This is a huge performance gain for large
12776         documents with lots of insets. If Inset::parOwner is not set, fall
12777         back on the brute force method
12778
12779         * paragraph_pimpl.C (insertInset):
12780         * paragraph.C (Paragraph):
12781         (cutIntoMinibuffer): set parOwner of insets when
12782         inserting/removing them
12783
12784         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12785
12786 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12787
12788         * tabular-old.C (getTokenValue):
12789         * tabular.C (getTokenValue):
12790         (write_attribute): new versions for LyXLength
12791         (everywhere): adjust the use of widths
12792
12793         * tabular.h: change the type of widths from string to LyXLength
12794
12795 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12796
12797         * paragraph.C: fixed missing line number count when exporting
12798         Environments to LaTeX file
12799
12800         * buffer.C: added informational message for checking line numbers.
12801
12802 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12803
12804         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12805         paragraph, do the 'double space' part, but not the 'empty
12806         paragraph' one.
12807
12808         * text.C (workWidth): small optimization
12809         (getLengthMarkerHeight): use minimal size for negative lengths.
12810
12811 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12812
12813         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12814
12815         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12816
12817 2001-12-11  André Pönitz <poenitz@gmx.net>
12818
12819         * FontLoader.C:
12820         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12821
12822 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12823
12824         * text2.C: keep selection on a setFont()
12825
12826 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12827
12828         * lyx_cb.C: another bv->text misuse, from insert label
12829
12830 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12831
12832         * kbsequence.h:
12833         * kbsequence.C: re-instate nmodifier mask
12834
12835 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12836
12837         * lyx_main.h: make lyxGUI private.
12838
12839 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12840
12841         * lyxfind.C: place the cursor correctly on failed search
12842
12843 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12844
12845         * text.C (getLengthMarkerHeight): for small heights, the arrows
12846         are not always on top/bottom of the text
12847         (drawLengthMarker): smaller arrows; take the left margin in
12848         account; draw also vfills.
12849         (paintFirstRow):
12850         (paintLastRow): remove special code for vfill and standard spaces,
12851         since everything is handled in drawLengthMarker now.
12852
12853 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12854
12855         * buffer.C (insertErtContents): try to handle font and language
12856         interaction a bit better.g
12857
12858         * ColorHandler.C (updateColor): change the hash to cover the whole
12859         LColor enum, ws cleanup
12860         (getGCLinepars): ditto
12861         (getGCLinepars): only lookup in the linecache once.
12862
12863 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12864
12865         * iterators.C (operator++): Make the iterator more robust
12866
12867         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12868         (John's patch)
12869         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12870
12871 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12872
12873         * lyxtext.h:
12874         * text.C: better added space drawing
12875
12876 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12877
12878         * LyXView.C:
12879         * BufferView2.C: fix layout combo update on inset unlock
12880
12881 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12882
12883         * Makefile.am: don't compile unused files
12884
12885 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12886
12887         * lyxfunc.C:
12888         * commandtags.h:
12889         * LyXAction.C: remove old LFUN_LAYOUTNO
12890
12891 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12892
12893         * paragraph_pimpl.h:
12894         * paragraph_pimpl.C: isTextAt() doesn't need font param
12895
12896 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12897
12898         * lyxlex.h:
12899         * lyxlex.C: little cleanup
12900
12901 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12902
12903         * BufferView_pimpl.C: fix insertAscii for insets
12904
12905 2001-12-05  Juergen Vigna  <jug@sad.it>
12906
12907         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12908         set the right font on the "multi" paragraph paste!
12909
12910 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12911
12912         * trans_decl.h:
12913         * trans_mgr.[Ch]:
12914         * trans.[Ch]:
12915         * lyxgluelength.C:
12916         * lyxlength.C: remove out-commented code.
12917
12918         * BufferView_pimpl:
12919         * CutAndPaste.C:
12920         * DepTable.C:
12921         * buffer.C:
12922         * chset.C:
12923         * lastfiles.C:
12924         * lyxlex.C:
12925         * lyxlex_pimpl.C:
12926         * lyxserver.C:
12927         * screen.C:
12928         * tabular-old.C:
12929         * tabular.C:
12930         * text.C:
12931         * trans_mgr.C:
12932         * vc-backend.C: change "while(" to "while ("
12933
12934         * lyxlength.[Ch]: add zero function to check if length is zero or
12935         not
12936         * lyxgluelength.C: use it
12937
12938 2001-12-05  Allan Rae  <rae@lyx.org>
12939
12940         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12941         Works for 2.95.3, from what I understand of Garst's reports this should
12942         work for other g++ versions.  We're screwed if the abs(int) definition
12943         changed between bugfix releases of gcc.
12944
12945 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12946
12947         * text.C: fix chapter label offset !
12948
12949 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12950
12951         * lyxtext.h:
12952         * text.C: fix hfill at end of line, clean up
12953
12954 2001-12-04  Juergen Vigna  <jug@sad.it>
12955
12956         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12957         that we force an update of the inset and it's owners if neccessary.
12958
12959 2001-12-03  Juergen Vigna  <jug@sad.it>
12960
12961         * text.C (rowLast): simplified code
12962
12963 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12964
12965         * lyxfunc.C: fix show options on timeout
12966
12967 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12968
12969         * screen.C (topCursorVisible): scroll half a page when the cursor
12970         reached top of bottom of screen
12971
12972 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12973
12974         * minibuffer.C: deactivate on loss of focus
12975
12976 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12977
12978         * vspace.[Ch] (operator!=): add operator.
12979
12980 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12981
12982         * BufferView_pimpl.C: refuse to open an inset when
12983         there's a selection.
12984
12985 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12986
12987         * BufferView_pimpl.C: allow to click on RHS of full row insets
12988
12989 2001-11-30  Juergen Vigna  <jug@sad.it>
12990
12991         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12992         insets for undo reasons.
12993
12994 2001-11-28  André Pönitz <poenitz@gmx.net>
12995
12996         * vspace.[Ch]: cosmetical changes
12997
12998 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12999
13000         * LyXAction.h:
13001         * LyXAction.C:
13002         * lyxfunc.h:
13003         * lyxfunc.C:
13004         * kbmap.h:
13005         * kbmap.C:
13006         * lyxrc.C:
13007         * kbsequence.h:
13008         * kbsequence.C: part re-write of old kb code
13009
13010         * Painter.C:
13011         * WorkArea.C: remove Lgb_bug_find_hack
13012
13013 2001-11-30  José Matos <jamatos@fep.up.pt>
13014
13015         * buffer.C (makeDocBookFile): add a comment to point a hack.
13016         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13017         Fixed a double write of labels.
13018
13019 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13020
13021         * LaTeX.C:
13022         * LaTeX.h Fixed bug in LaTeX class where it would not
13023         re-run latex if no depfiles were changed, but the .dvi was removed.
13024
13025 2001-11-28  André Pönitz <poenitz@gmx.net>
13026
13027         * all the files from the change on 2001/11/26:
13028         use lyx::layout_type instead of LyXTextClass::size_type
13029         use lyx::textclass_type instead of LyXTextClassList::size_type
13030
13031 2001-11-29  Juergen Vigna  <jug@sad.it>
13032
13033         * text.C: added support for paragraph::isFreeSpacing()
13034
13035         * buffer.C: same as above
13036
13037         * paragraph.h: inserted isFreeSpacing() function to enable
13038         FreeSpacing inside InsetERT.
13039
13040         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13041         of the paragraph's in the cut/copy buffer to 0!
13042
13043         * text2.C (removeRow): remove the assert as it can!
13044
13045         * lyxtext.h: added helper function firstRow returning firstrow and
13046         made firstrow private again.
13047
13048         * BufferView2.C (lockInset): don't relock if we're already locked!
13049
13050         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13051         the only paragraph.
13052         (removeRow): added Assert::(firstrow)
13053
13054         * debug.C: forgot to add INSETTEXT here.
13055
13056 2001-11-28  Juergen Vigna  <jug@sad.it>
13057
13058         * sp_spell.C (initialize): changed error text to more general
13059         spellchecker command use (not only ispell!)
13060
13061         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13062
13063         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13064
13065 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13066
13067         * vspace.C: initialise lyxgluelength on failure
13068
13069 2001-11-28  Allan Rae  <rae@lyx.org>
13070
13071         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13072         declaration & definition that looks like a function declaration.
13073
13074 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13075
13076         * BufferView2.C (copy):
13077         (copyEnvironment): do not clear the selection when doing a copy.
13078
13079         * text.C (paintFirstRow): compilation fix
13080
13081 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13082
13083         * tabular.C (Latex): correct line count when writing latex.
13084
13085 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13086
13087         * paragraph_pimpl.h:
13088         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13089           bug a bit
13090
13091 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13092
13093         * text.C:
13094         * LColor.h:
13095         * LColor.C: change vfillline->added_space
13096
13097         * text.C: add markers and text for added space
13098
13099         * vspace.C: fix comment
13100
13101 2001-11-28  André Pönitz <poenitz@gmx.net>
13102
13103         * paragraph.C: whitespace changes
13104         * all the other files from the change on 2001/11/26:
13105         change *::pos_type into lyx::pos_type
13106
13107 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13108
13109         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13110         language of the document when inserting error insets.
13111
13112 2001-11-26  André Pönitz <poenitz@gmx.net>
13113
13114         * BufferView_pimpl.[Ch]:
13115         *       CutAndPaste.C:
13116         * buffer.[Ch]:
13117         * lyxcursor.[Ch]:
13118         * lyxfind.C:
13119         * lyxfunc.C:
13120         * lyxrow.[Ch]:
13121         * paragraph.[Ch]:
13122         * paragraph_pimpl.[Ch]:
13123         * sp_spell.C:
13124         * text.C:
13125         * text2.C: reduce header dependencies, introduce type for positions
13126
13127 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13128
13129         * <various>: change to use Alert.h
13130
13131 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13132
13133         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13134         when encountering an unknown token.
13135         (readLyXformat2): Show an error message if there were unknown tokens.
13136
13137 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13138
13139         * BufferView2.C:
13140         * BufferView_pimpl.C:
13141         * buffer.C:
13142         * paragraph.h:
13143         * text.C:
13144         * text2.C: use par->isInset()
13145
13146 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13147
13148         * paragraph_pimpl.h:
13149         * paragraph_pimpl.C: cleanup
13150
13151 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13152
13153         * text2.C (removeRow):
13154         * text.C (setHeightOfRow): remove useless (and costly) call to
13155         getRow.
13156
13157 2001-11-20  Allan Rae  <rae@lyx.org>
13158
13159         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13160         Now need Inset*::checkInsertChar() to return true for appropriate
13161         cases so that the characters in the minibuffer will actually be
13162         inserted.
13163
13164 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13165
13166         * text.C: change the order of the includes.
13167         (workWidth): initialize it at once.
13168         (workWidth): make maxw unsigned
13169         (setHeightOfRow): remove unused variable (inset)
13170         (selectSelectedWord): remove unused variable (inset)
13171         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13172
13173 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13174
13175         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13176         server is not running.
13177         (openConnection):
13178         (closeConnection): add debug info when server is disabled.
13179
13180         * ColorHandler.C (getGCForeground): send debug message to GUI
13181         channel.
13182
13183         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13184
13185         * kbmap.C (bind): modify because return conventions of
13186         kb_sequence::parse have changed.
13187
13188         * kbsequence.C (parse): only ignore spaces and not any stupid
13189         control character. This avoids tests like s[i] <= ' ', which are
13190         guaranteed to fail with 8bit characters and signed chars.
13191         Change return code to string::npos when there have been no error
13192         (0 was a bad idea when error is at first character)
13193
13194 2001-11-14  José Matos  <jamatos@fep.up.pt>
13195
13196         * buffer.h:
13197         * buffer.C (simpleDocBookOnePar): removed unused argument.
13198
13199 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13200
13201         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13202         insets which are part of a word. Paragraph::isLetter takes care of
13203         that now. Use Paragraph::isInset to identify insets.
13204         (selectSelectedWord): do not test for hyphenation break.
13205
13206         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13207         that protected spaces are considered as spaces.
13208
13209         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13210         Inset::isLetter.
13211
13212 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13213
13214         * lyxserver.h:
13215         * lyxserver.C: fix it. and small cleanup.
13216
13217 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13218
13219         * BufferView_pimpl.C: use inline helpers
13220
13221         * LaTeXFeatures.h:
13222         * LaTeXFeatures.C: fix typos
13223
13224         * Spacing.h:
13225         * Spacing.C: move spacing_string into class
13226
13227         * ToolbarDefaults.C: move stuff into namespace anon
13228
13229         * layout.h: update enum
13230
13231         * lyxfunc.C: use better debug
13232
13233         * minibuffer.h: fix typo
13234
13235         * debug.h:
13236         * debug.C:
13237         * WorkArea.C: add and use Debug::WORKAREA
13238
13239         * lyxtext.h:
13240         * text.C:
13241         * text2.C: code re-organisation, inline helpers
13242
13243 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13244
13245         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13246         std::vector.empty().
13247
13248 2001-11-09  Allan Rae  <rae@lyx.org>
13249
13250         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13251         '\n's after tables.  Tabular and ERT inset work now makes this no
13252         longer necessary.
13253
13254 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13255
13256         * minibuffer.h:
13257         * minibuffer.C: fix crash, improve drop-down completion
13258
13259 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13260
13261         * lyxserver.h:
13262         * lyxserver.C: invalidate fd's when doing endPipe()
13263
13264 2001-11-08  José Matos  <jamatos@fep.up.pt>
13265
13266         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13267         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13268
13269         * paragraph.h:
13270         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13271
13272 2001-11-07  José Matos  <jamatos@fep.up.pt>
13273
13274         * buffer.h:
13275         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13276         const qualifier.
13277
13278         * buffer.C (sgmlOpenTag):
13279         * buffer.C (sgmlCloseTag): removed debug info.
13280
13281         * buffer.h (sgmlOpenTag):
13282         * buffer.h (sgmlCloseTag): made public.
13283
13284 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13285
13286         * buffer.C (saveParamsAsDefaults):
13287         * lyx_cb.C (MenuLayoutSave): remove
13288
13289         * LyXAction.C (init):
13290         * commandtags.h:
13291         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13292
13293 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13294
13295         * buffer.C (setPaperStuff): removed from here...
13296
13297         * bufferparams.C (setPaperStuff): ... and moved there.
13298
13299 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13300
13301         * minibuffer.h:
13302         * minibuffer.C:
13303         * XFormsView.C: add support for drop-down completion
13304
13305 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13306
13307         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13308         commands.
13309
13310 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13311
13312         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13313         disabled.
13314
13315 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13316
13317         * lyx_main.C: change ref to known bugs
13318
13319 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13320
13321         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13322         to work around older babel problems.
13323
13324 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13325
13326         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13327
13328 2001-10-24  Juergen Vigna  <jug@sad.it>
13329
13330         * tabular-old.C (ReadOld): below variable changes reflected.
13331
13332         * tabular.[Ch]: added ltType struct for longtable header/footer
13333         defines and changed all instances where they are used. Added
13334         future support for double top/bottom rows.
13335
13336 2001-10-24  José Matos  <jamatos@fep.up.pt>
13337
13338         * buffer.h (docbookHandleCaption):
13339         * buffer.C (docbookHandleCaption): removed unused function.
13340         (makeDocBookFile): moved docbook supported version to v4.1.
13341
13342 2001-10-24  José Matos  <jamatos@fep.up.pt>
13343
13344         * tabular.h:
13345         * tabular.C (docbookRow): new function to export docbook code of a row.
13346         (DocBook): now honors the longtable flags.
13347
13348 2001-10-23  José Matos  <jamatos@fep.up.pt>
13349
13350         * LaTeXFeatures.h:
13351         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13352         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13353
13354         * buffer.C (makeLinuxDocFile):
13355         (makeDocBookFile): reworked the preamble, more clean, and with
13356         support for lyx defined entities. Changed the document declaration
13357         to be more XML friendly.
13358
13359         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13360         if we need to output XML that should be done with a filter.
13361
13362 2001-10-22  Juergen Vigna  <jug@sad.it>
13363
13364         * sp_pspell.h (class PSpell): add alive function needed in the
13365         controller to see if the spellchecker could be started.
13366
13367 2001-10-22  Juergen Vigna  <jug@sad.it>
13368
13369         * buffer.C (insertStringAsLines): modify the font for inserting
13370         chars in certain conditions by calling checkInsertChar(font).
13371
13372 2001-10-19  Juergen Vigna  <jug@sad.it>
13373
13374         * text.C (workWidth): use getRow instead of wrong algorithm.
13375         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13376
13377 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13378
13379         * lyxserver.h:
13380         * lyxserver.C:
13381         * lyx_main.h:
13382         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13383
13384 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13385
13386         * text.C (workWidth): do not search for the exact row when
13387         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13388         optimization for big documents.
13389
13390 2001-10-18  Juergen Vigna  <jug@sad.it>
13391
13392         * text.C (workWidth): new function with added Inset * parameter.
13393
13394 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13395
13396         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13397
13398         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13399         change return type of getColumnNearX.
13400
13401
13402         * text.C (changeRegionCase): use uppercase/lowercase instead of
13403         toupper/tolower.
13404         (leftMargin):
13405         (rightMargin): simplify code by factoring out the uses of
13406         textclasslist.
13407         (labelFill):
13408         (numberOfHfills):
13409         (setHeightOfRow):
13410         (appendParagraph): use Paragraph::size_type
13411
13412 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13413
13414         * vspace.C (asLatexString): add a missing break
13415
13416 2001-10-15  Herbert Voss  <voss@perce.de>
13417
13418         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13419
13420 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13421
13422         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13423         is not available.
13424
13425 2001-10-10  André Pönitz <poenitz@gmx.net>
13426
13427         * lyxfunc.C: removed greek_kb_flag.
13428
13429 2001-10-10  Herbert Voss  <voss@perce.de>
13430
13431         * lyx_main.C: delete global string help_lyxdir.
13432
13433 2001-10-09  Herbert Voss  <voss@perce.de>
13434
13435         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13436
13437         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13438
13439         * lyx_main.C: added global string help_lyxdir.
13440
13441         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13442
13443 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13444
13445         * lyxrc.C (set_font_norm_type): support iso8859-4
13446
13447 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13448
13449         * LaTeX.C (deplog): add another regex for MikTeX
13450
13451 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13452
13453         * lyxrc.C (set_font_norm_type): support iso8859-3
13454
13455 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13456
13457         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13458
13459         * LaTeXFeatures.C: remove special case of french and index
13460
13461         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13462         before \begin{document}). This solves several incompatibilities.
13463
13464 2001-10-03  Garst Reese  <reese@isn.net>
13465
13466         * lyx_cb.C: change CheckTex error msg.
13467
13468 2001-10-03  José Matos  <jamatos@fep.up.pt>
13469
13470         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13471
13472 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13473
13474         * .cvsignore: update
13475
13476         * lyx_main.C (commandLineVersionInfo): use new style version info.
13477
13478         * buffer.C (writeFile):
13479         (makeLaTeXFile):
13480         (makeLinuxDocFile):
13481         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13482
13483         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13484
13485         * version.h: update to use stuff in version.C
13486
13487         * version.C.in: new file. Contains version information determined
13488         at compile time. This is a merging of version.h and
13489         version_info.h.in.
13490
13491 2001-10-03  Juergen Vigna  <jug@sad.it>
13492
13493         * BufferView_pimpl.C (update): don't change "dirty" status in
13494         updateInset call.
13495
13496 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13497
13498         * WorkArea.C (c-tor): re-position version string slightly.
13499
13500 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13501
13502         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13503         revert to previous code.
13504
13505         WorkArea.[Ch]: (show, destroySplash): methods removed.
13506
13507         WorkArea.C: rework code so that it's an amalgam of the codes before and
13508         after the splash screen was moved to WorkArea.
13509
13510 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13511
13512         * lyxrc.C (read):
13513         * vspace.C (inPixels):
13514         (lyx_advance):
13515         * kbmap.C (bind):
13516         * buffer.C (insertStringAsLines):
13517         (asciiParagraph): fix types to be large enough
13518
13519         * lyxlex_pimpl.h: change member status from short to int
13520
13521         * layout.h: fix type of endlabeltype
13522
13523         * kbmap.C (bind):
13524         * kbsequence.C (parse): change return type to string::size_type
13525
13526         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13527         variable
13528
13529         * Bullet.C (bulletSize):
13530         (bulletEntry): do not use short ints as parameters
13531
13532         * BufferView2.C (insertLyXFile): change a char to an int.
13533
13534         * WorkArea.C (WorkArea): remove unneeded floats in computation
13535
13536 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13537
13538         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13539
13540         * paragraph.C (asString): Do not ignore newline/hfill chars when
13541         copying to the clipboard.
13542
13543 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13544
13545         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13546         after a multi-line inset.
13547
13548 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13549
13550         * paragraph.C (validate): Set NeedLyXFootnoteCode
13551
13552 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13553
13554         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13555         and decrease-error to decrease.
13556
13557 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13558
13559         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13560         it more readable (should be equivalent)
13561
13562 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13563
13564         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13565
13566 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13567
13568         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13569         of a cursor (row, etc.) after a character has been deleted
13570         (deleteEmptyParagraphMechanism): call the method above on _all_
13571         cursors held by the LyXText when a double space has been
13572         detected/deleted.
13573
13574 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13575
13576         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13577         pixmap.
13578         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13579
13580         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13581         background. Use greyOut() and the new show() methods to toggle between
13582         the foreground and background. Add code to remove the splash after
13583         its initial showing.
13584
13585         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13586         (create_forms): no longer call Dialogs::showSplash.
13587
13588 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13589
13590         * .cvsignore: add version_info.h
13591
13592 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13593
13594         * version_info.h.in: new file
13595
13596         * Makefile.am: add version_info.h.in
13597
13598         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13599         version_info.h instead of VERSION_INFO
13600
13601 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13602
13603         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13604         The ERT inset now returns string().
13605
13606 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13607
13608         * lyxtext.h, text.C (selectNextWord): renamed as
13609         selectNextWordToSpellcheck.
13610
13611         * text.C (selectNextWordToSpellcheck): Modified to not select
13612         words inside an ERT inset.
13613
13614 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13615
13616         * lyx_cb.C (MenuLayoutSave): change a bit the question
13617
13618         * sp_base.h: include <sys/types.h>
13619
13620 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13621
13622         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13623
13624 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13625
13626         * several files: fix typos in user-visible strings
13627
13628 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13629
13630         * text2.C (pasteSelection): do not set the selection, since it
13631         will be cleared later. Actually, the intent was to fix the way the
13632         selection was set, but I figured rmoving the code was just as good.
13633
13634 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13635
13636         * FontLoader.C (available): Check if font is available without
13637         loading the font.
13638
13639 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13640
13641         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13642
13643 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13644
13645         * lyxrc.[Ch]: added display_graphics variable and associated code.
13646
13647 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13648
13649         * bufferparams.C (hasClassDefaults): new method. Returns true if
13650         the buffer parameters correspond to known class defaults
13651
13652 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13653
13654         * XFormsView.C (show): set minimum size to the main window.
13655
13656 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13657
13658         * text2.C (copySelection):
13659         (cutSelection):
13660         * lyxfind.C (LyXReplace):
13661         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13662         LyXText::selectionAsString.
13663
13664         * paragraph.C (asString): add "label" argument to the second form
13665
13666         * text2.C (selectionAsString): add "label" argument and pass it to
13667         Paragraph::asString.
13668
13669 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13670
13671         * lyx_main.C (commandLineHelp): remove version information
13672
13673 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13674
13675         * lyx_main.C: add -version commandline option
13676
13677 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13678
13679         * paragraph.h: make the optional constructor arg required instead.
13680         some modifications to other files because of this.
13681
13682         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13683
13684         * lyxserver.C (C_LyXComm_callback): make it static
13685
13686         * lyx_main.C (error_handler): make it static
13687
13688         * lyx_gui.C (LyX_XErrHandler): make it static
13689
13690         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13691
13692         * WorkArea.C: make the extern "C" methods static.
13693
13694         * Makefile.am (lyx_LDADD): simplify
13695
13696 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13697
13698         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13699         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13700
13701         * LyXAction.C (init):
13702         * lyxfunc.C (dispatch): associated code removal.
13703
13704 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13705
13706         * lyxfont.h (isSymbolFont): shut off warning
13707
13708         * text.C (setHeightOfRow):
13709         (getVisibleRow): fix crash with empty paragraphs which have a
13710         bottom line
13711
13712 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13713
13714         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13715         code.
13716
13717 2001-09-04  José Matos  <jamatos@fep.up.pt>
13718         * buffer.C
13719         * buffer.h
13720         * tabular.C (docbook): rename docBook method to docbook.
13721
13722 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13723
13724         * Makefile.am: add dependencies to main.o.
13725
13726 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13727
13728         * FontLoader.C (available): Return false if !lyxrc.use_gui
13729
13730 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13731
13732         * FontInfo.C (query):
13733         * converter.C (view):
13734         * importer.C (Import):
13735         * exporter.C (Export): Can not -> cannot.
13736
13737 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13738
13739         * BufferView_pimpl.C: allow to create index inset even if
13740           string is empty
13741
13742 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13743
13744         * buffer.C (getLists): replace boost::tie code with an explicit pair
13745         as boost::tie can break some compilers.
13746
13747         * iterators.h: Added a std:: declaration to the return type of
13748         ParIterator::size.
13749
13750 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13751
13752         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13753           case.
13754
13755 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13756
13757         * iterators.[Ch]: New files. Provide paragraph iterators.
13758
13759         * buffer.C (changeLanguage): Use paragraph iterators.
13760         (isMultiLingual): ditto
13761
13762         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13763
13764 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13765
13766         * FontLoader.C: Support for cmr font.
13767
13768 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13769
13770         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13771         (available): New method.
13772
13773         * FontInfo.C (getFontname): Use scalable fonts even when
13774         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13775         found.
13776
13777 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13778
13779         * converter.C (Formats::view): reverted! Incorrect fix.
13780
13781 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13782
13783         * converter.C (Formats::view): only output the -paper option
13784         if the dvi viewer is xdvi, thereby fixing bug #233429.
13785
13786 2001-08-23  Herbert Voss  <voss@perce>
13787
13788         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13789
13790 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13791
13792         * Spacing.h (Spacing): Set space to Default on in the default
13793         constructor.
13794
13795 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13796
13797         * vc-backend.h (RCS::versionString): add RCS to version
13798         (CVS::versionString): add CVS to version
13799
13800         * vc-backend.C (scanMaster): do not add CVS to version.
13801         (scanMaster): do not add RCS to version
13802
13803         * lyxvc.C (versionString): new method
13804
13805         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13806
13807 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13808
13809         * Spacing.C (set): initialize fval
13810
13811 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13812
13813         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13814         " or \.
13815
13816 2001-08-16  Juergen Vigna  <jug@sad.it>
13817
13818         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13819
13820 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13821
13822         * BufferView_pimpl.C:
13823         * figureForm.C:
13824         * lyxtext.h:
13825         * text2.C: setParagraph takes linespacing now
13826
13827 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13828
13829         * LyxAction.C: add internal LFUN_CITATION_INSERT
13830
13831         * LyXView.C: actually apply fix
13832
13833         * bufferlist.C: fix open non-existent file
13834
13835         * lyxfind.C: fix indentation
13836
13837         * lyxfunc.C: remove unneeded assert, fix typo
13838
13839 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13840
13841         * MenuBackend.C: use "Floatname List"
13842
13843 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13844
13845         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13846         when converting LaTeX layout to insetERT.
13847         Generate a non-collapsed float when reading old float
13848
13849 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13850
13851         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13852         ERT insets.
13853
13854 2001-08-13  Juergen Vigna  <jug@sad.it>
13855
13856         * text.C (fill): return 0 instead of 20 as this seems to be the more
13857         correct value.
13858
13859 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13860
13861         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13862         lyxrc.font_norm.
13863
13864 2001-08-13  Juergen Vigna  <jug@sad.it>
13865
13866         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13867         casesensitive off.
13868         (SearchBackward): comment out the unlocking of the inset_owner this
13869         should not be needed!
13870
13871 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13872
13873         * Many files: Remove inherit_language, and add latex_language
13874
13875         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13876         collapsible insets.
13877
13878 2001-08-10  Juergen Vigna  <jug@sad.it>
13879
13880         * text.C (prepareToPrint): fixed hfill-width in draw!
13881
13882         * BufferView2.C (selectLastWord): save the selection cursor as this
13883         now is cleared in the function LyXText::clearSelection!
13884
13885 2001-08-08  Juergen Vigna  <jug@sad.it>
13886
13887         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13888         BACKSPACE type functions.
13889
13890         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13891         is only cutted from the document but not put in the cut-buffer, where
13892         still the old stuff should be.
13893
13894         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13895
13896         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13897
13898         * tabular.C (SetWidthOfCell): fixed special case where the width
13899         was not updated!
13900         (LeftLine): handle '|' in align_special.
13901         (RightLine): ditto
13902         (LeftAlreadyDrawed): ditto
13903         (SetWidthOfCell): ditto
13904
13905 2001-08-07  Juergen Vigna  <jug@sad.it>
13906
13907         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13908
13909 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13910
13911         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13912         * lyxlex.[hC]: ditto
13913
13914 2001-08-06  Juergen Vigna  <jug@sad.it>
13915
13916         * text.C (getVisibleRow): fix up row clearing a bit.
13917
13918 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13919
13920         * minibuffer.C: make sure the X server sees the changes in the input.
13921
13922 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13923
13924         * paragraph.C (getFont): split into...
13925         (getLabelFont): this
13926         (getLayoutFont): and this
13927         * paragraph_pimpl.C (realizeFont): calling this
13928
13929         * text2.C (getFont): split into...
13930         (getLayoutFont): this
13931         (getLabelFont): and this
13932         (realizeFont): all three calling this
13933
13934         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13935         files where used.
13936
13937 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13938
13939         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13940
13941 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13942
13943         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13944         layouts from the Quote inset insertion.
13945
13946 2001-08-03  Juergen Vigna  <jug@sad.it>
13947
13948         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13949
13950         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13951         only if status not is already CHANGED_IN_DRAW (second level).
13952
13953         * text.C (draw): don't set the need_break_row when inside an
13954         InsetText LyXText.
13955
13956 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13957
13958         * buffer.C (parseSingleLyXformat2Token): handle more latex
13959         conversion cases.
13960
13961         * bufferview_funcs.[hC]: change function names to
13962         begin with small char, adjust other files.
13963
13964 2001-08-02  André Pönitz <poenitz@gmx.net>
13965
13966         * lyxfunc.C:
13967         BufferView_pimpl.C: remove broken special code for math-greek
13968
13969 2001-08-02  Juergen Vigna  <jug@sad.it>
13970
13971         * BufferView_pimpl.C (update): redone this function so that we
13972         update the text again if there was a CHANGE_IN_DRAW.
13973
13974         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13975         (drawFromTo): added a new internal bool which is used by draw() and
13976         redraw() function.
13977         (general): some cursor drawing problems fixed.
13978
13979 2001-08-01  Juergen Vigna  <jug@sad.it>
13980
13981         * lyxfind.C (LyXFind): fixed
13982         (SearchForward): ditto
13983         (SearchBackward): ditto
13984
13985         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13986         spurius drawing of the cursor in the main area.
13987
13988         * text2.C (status): small fix which could lead to a segfault!
13989         (clearSelection): remove unneeded BufferView param.
13990
13991 2001-08-01  André Pönitz <poenitz@gmx.net>
13992
13993         * lyxfunc.C: small change due to changed mathed interface
13994
13995 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13996
13997         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13998
13999 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
14000
14001         * lyxfunc.c: fail gracefully if file doesn't exist
14002
14003         * LyXSendto.C:
14004         * buffer.C:
14005         * lyxfunc.C:
14006         * BufferView_pimpl.C: IsDirWriteable() proto changed
14007
14008         * LyXView.C: fix updateWindowTitle() to store the last title
14009
14010 2001-07-31  Juergen Vigna  <jug@sad.it>
14011
14012         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14013         the font (wrong since using of Paragraph::highestFontInRange).
14014
14015         * paragraph.C (highestFontInRange): added a default_size parameter.
14016
14017         * text.C (getVisibleRow): minor clear row changes (still not perfect).
14018         (setHeightOfRow): reformat
14019
14020 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14021
14022         * converter.[hC] + affected files: move to (inital-char)lowercase
14023         function names.
14024
14025         * ParagraphParameters.C (ParagraphParameters): remove commented code
14026
14027         * PainterBase.[Ch]: remove commented code
14028
14029         * LaTeXFeatures.h: add "bool floats" for float.sty
14030
14031         * LaTeXFeatures.C (LaTeXFeatures): init floats
14032         (require): handle float
14033         (getPackages): do it with floats
14034
14035 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14036
14037         * BufferView_pimpl.C (Dispatch): improve handling of
14038         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14039
14040         * commandtags.h: #include lyxfont.h here temporarily to avoid
14041         keybinding bug.
14042
14043         * bufferlist.h: include LString.h here.
14044
14045 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14046
14047         * text2.C (getStringToIndex): new method.
14048
14049 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
14050
14051         * *: Reduced header file dependencies all over.
14052
14053 2001-07-30  Baruch Even  <baruch@lyx.org>
14054
14055         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14056
14057 2001-07-29  Baruch Even  <baruch@lyx.org>
14058
14059         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14060
14061 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14062
14063         * ParameterStruct.h (endif): add a default constructor to make
14064         sure that all variables is initialized.
14065
14066         * ParagraphParameters.C (ParagraphParameters): adjust
14067
14068 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14069
14070         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14071         index; also, check that there is something to index, and that it
14072         does not span over several paragraphs.
14073         (doubleClick): use WHOLE_WORD_STRICT for double click.
14074
14075         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14076
14077         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14078         scheme.
14079
14080 2001-07-26  Baruch Even  <baruch@lyx.org>
14081
14082         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14083         an InsetFig figure, backwards compatible reading of old figure code.
14084
14085 2001-07-27  Juergen Vigna  <jug@sad.it>
14086
14087         * text2.C: font.realize function adaption.
14088
14089         * text.C (draw): add a warnings lyxerr text if needed.
14090
14091         * layout.C: font.realize function adaption.
14092
14093         * language.C: add inherit_language and implement it's handlings
14094
14095         * bufferview_funcs.C (StyleReset): remove language parameter from
14096         font creation (should be language_inherit now).
14097
14098         * bufferparams.C (writeFile): handle ignore_language.
14099
14100         * paragraph.C (getFontSettings): the language has to be resolved
14101         otherwise we have problems in LyXFont!
14102
14103         * lyxfont.C (lyxWriteChanges): added document_language parameter
14104         (update): removed unneeded language parameter
14105
14106         * paragraph.C (validate): fixed wrong output of color-package when
14107         using interface colors for certain fonts in certain environments,
14108         which should not seen as that on the final output.
14109
14110 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14111
14112         * BufferView_pimpl.C:
14113         * Thesaurus.h:
14114         * Thesaurus.C:
14115         * Makefile.am:
14116         * commandtags.h:
14117         * LyXAction.C: add thesaurus support
14118
14119         * lyxfind.h:
14120         * lyxfind.C: add "once" parameter, for thesaurus, to not
14121           move to the next match
14122
14123 2001-07-26  Juergen Vigna  <jug@sad.it>
14124
14125         * lyxfont.C (realize): honor ignore_language too!
14126         (resolved): ditto.
14127
14128         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14129
14130         * text.C (draw): one place more for ignore_language to not draw
14131         itself!
14132
14133 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14134
14135         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14136
14137 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14138
14139         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14140         the minipage conversion problem.
14141
14142 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14143
14144         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14145         insert an inset.
14146
14147 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14148
14149         * BufferView.h: don't forward declare WorkArea
14150
14151         * BufferView.C: don't include WorkArea.h
14152
14153 2001-07-25  André Pönitz <poenitz@gmx.net>
14154
14155         * commandtags.h:
14156         * LyXAction.C:
14157         * lyxfunc.C:  new LFUN 'math-space'
14158
14159         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14160
14161 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14162
14163         * text2.C (toggleInset): call open/close
14164
14165 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14166
14167         * lyxfunc.C (dispatch): add debug for the disabled case
14168
14169         * font.C (buttonText): make similar to rectText
14170
14171         * buffer.C (readInset): comment out parsing of insetlist and
14172         insttheorem
14173
14174         * PainterBase.C (rectText): small correction
14175
14176         * BufferView_pimpl.C: comment out insettheorem and insetlist
14177         * LyXAction.C: ditto
14178         * commandtags.h: ditto
14179
14180 2001-07-24  Juergen Vigna  <jug@sad.it>
14181
14182         * text.C (draw): honor the ignore_language.
14183
14184         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14185
14186 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14187
14188         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14189         char inset.
14190
14191 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14192
14193         * lyxtext.h: remove unused (and unimplemented) methods
14194
14195 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14196
14197         * text.C (getVisibleRow): honor background color
14198
14199         * PainterBase.h:
14200         * Painter.h: remove default color argument for fillRectangle
14201
14202         * text.C (backgroundColor): new method
14203
14204 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14205
14206         * text.C (getVisibleRow): adjust
14207
14208         * font.[Ch] (rectText): new method, metrics
14209         (buttonText): new method, metrics
14210
14211         * PainterBase.[hC]: make rectText and buttonText always draw and take
14212         fewer paramteres.
14213
14214 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14215
14216         * ToolbarDefaults.C (read):
14217         * MenuBackend.C (read): allow escaping in all strings
14218
14219         * BufferView_pimpl.C (insertAndEditInset): new method.
14220         (Dispatch): use insertAndEditInset whenever appropriate.
14221
14222         * BufferView_pimpl.C (insertNote): removed
14223
14224         * BufferView_pimpl.C (smartQuote): new method, moved from
14225         BufferView; if an insetquote cannot be inserted, insert a '"'
14226         character instead.
14227
14228         * BufferView2.C: remove insertCorrectQuote();
14229
14230         * lyxfunc.C (getStatus): Add support for all remaingin
14231         inset-insert lfuns.
14232
14233         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14234
14235         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14236         command (necessary to pass " as parameter of self-insert.
14237
14238         * text.C (selectWordWhenUnderCursor):
14239         (selectWord): add word_location parameter
14240         (selectWordWhenUnderCursor): same + remove special code for word
14241         boundary.
14242         (selectNextWord): use kind() to guess type of insetspecialchar,
14243         not latex().
14244
14245         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14246         (insertErtContents): create ert insets as collapsed.
14247         (readInset): better compatibility code for Info inset.
14248
14249 2001-07-20  Juergen Vigna  <jug@sad.it>
14250
14251         * lyxfunc.C (dispatch): use always LyXFind now!
14252
14253         * text2.C (init): add a reinit flag so that the LyXText can be
14254         reinited instead of deleted and reallocated (used in InsetText).
14255
14256         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14257
14258         * text.C: ditto
14259
14260         * text2.C: ditto
14261
14262 2001-07-18  Juergen Vigna  <jug@sad.it>
14263
14264         * text.C (selectNextWord): handle insets inside inset by calling
14265         always the bv->text functions so that we can go up the_locking_inset!
14266
14267         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14268         in strange locations when inside an inset!
14269
14270         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14271         handling to include insets.
14272
14273         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14274
14275 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14276
14277         * LyXAction.C (init):
14278         * commandtags.h:
14279         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14280         LIGATURE_BREAK, since the name is so stupid.
14281
14282 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14283
14284         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14285         InsetInfos.
14286
14287         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14288
14289         * sp_form.[Ch]: remove.
14290
14291         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14292
14293         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14294         InsetInfo.
14295
14296         * src/buffer.C (readInset): ditto.
14297
14298 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14299
14300         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14301         menuSeparator(), endOfSentenceDot(), ldots() and
14302         hyphenationPoint(), which are therefore removed.
14303         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14304
14305         * LyXAction.C (init):
14306         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14307
14308         * paragraph.C (getWord): removed.
14309
14310         * BufferView_pimpl.C (Dispatch): use last word or selection for
14311         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14312
14313         * lyx_main.C (queryUserLyXDir): do not ask before creating
14314         user_dir, except if it has been named explicitely.
14315
14316 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14317
14318         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14319         a document of zero size.
14320
14321 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14322
14323         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14324         approriately in the c-tor and in require().
14325         (getPackages): output the appropriate LaTeX for natbib support.
14326
14327         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14328         variables "use_natbib" and "use_numerical_citations" when reading the
14329         LyX file.
14330         (readInset): read the various natbib cite commands.
14331         (validate): white-space change.
14332
14333         * bufferparams.[Ch]: new variables "bool use_natbib" and
14334         "bool use_numerical_citations".
14335         (writeFile): output them in the LyX file.
14336
14337 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14338
14339         * lyxfunc.C (getStatus): add support for all the inset insertion
14340         commands.
14341
14342         * text2.C (insertInset):
14343         * paragraph.C (insetAllowed):
14344         * BufferView_pimpl.C (insertInset): update to take in account the
14345         renaming of insertInsetAllowed
14346
14347         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14348
14349         * text2.C (getInset): new method. returns inset at cursor position.
14350
14351         * BufferView_pimpl.C (Dispatch): changes because of this.
14352
14353         * LyXAction.C (init): rename open-stuff to inset-toggle.
14354
14355         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14356
14357         * text2.C (toggleInset): renamed from openStuff; use
14358         Inset::open().
14359
14360 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14361
14362         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14363
14364         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14365
14366 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14367
14368         * buffer.C (readLyXformat2): Add filename to the error dialog
14369
14370 2001-07-18  Juergen Vigna  <jug@sad.it>
14371
14372         * tabular.C (GetCellNumber): put an assert here instead of the check!
14373
14374 2001-07-17  Juergen Vigna  <jug@sad.it>
14375
14376         * BufferView_pimpl.C (toggleSelection): adapted too.
14377
14378         * text.C (selectNextWord): adapted for use with insets.
14379         (selectSelectedWord): ditto
14380
14381 2001-07-17  Juergen Vigna  <jug@sad.it>
14382
14383         * sp_spell.C (PSpell): fix initialitation order.
14384
14385 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14386
14387         * paragraph.C: spacing
14388
14389 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14390
14391         * sp_spell.C: repair language selection for pspell
14392
14393 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14394
14395         * lyxfunc.h: change more methods to begin with lower char.
14396
14397 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14398
14399         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14400         for unknown layouts.
14401
14402 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14403
14404         * buffer.C (readLyXformat2): Generate an error dialog if there are
14405         unknown layouts.
14406
14407 2001-07-16  Juergen Vigna  <jug@sad.it>
14408
14409         * sp_spell.C: always compile ISpell part.
14410
14411         * lyxrc.C: added use_pspell entry and it's handling.
14412
14413 2001-07-13  Juergen Vigna  <jug@sad.it>
14414
14415         * sp_spell.C: removed double includes.
14416
14417 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14418
14419         Consistent use of Lsstream.h:
14420         * Lsstream.h: added using std::stringstream for consistencies sake.
14421
14422         * buffer.C: removed using std::stringstream
14423
14424         * lyxfont.C (stateText):
14425         * paragraph.C (asString):
14426         * text.C (selectNextWord, selectSelectedWord):
14427         * text2.C (setCounter):
14428         * vspace.C (asString, asLatexString):
14429         std::ostringstream -> ostringstream.
14430
14431 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14432
14433         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14434         * commandtags.h: add LFUN_HELP_ABOUTLYX
14435         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14436
14437 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14438
14439         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14440         cursorToggle()
14441         * lyx_gui_misc.C: remove spellchecker
14442         * lyxfunc.C: showSpellchecker
14443         * sp_base.h: added
14444         * sp_ispell.h: added
14445         * sp_pspell.h: added
14446         * sp_spell.C: added
14447         * sp_form.[Ch]: removed
14448         * spellchecker.[Ch]: removed
14449
14450 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14451
14452         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14453         is set.
14454         (simpleTeXSpecialChars): Simply print the input character without
14455         any special translation if pass_thru is set.
14456
14457         * layout.h: Added bool pass_thru to layout class for being able to
14458         implement pass through of a paragraph for Literate Programming.
14459
14460         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14461         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14462         * layout.C (Read): add "passthru" to list of layout tags and add
14463         code to set the pass_thru boolean when it is read.
14464
14465 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14466
14467         * trans_decl.h: remove allowed from KmodInfo
14468
14469         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14470         remove allowed code
14471         (Load): adjust
14472
14473         * paragraph_pimpl.C (erase): use boost::prior
14474
14475         * Painter.C (text): use data() instead of c_str() when length is
14476         also provided.
14477         * WorkArea.C (putClipboard): ditto
14478         * font.h (width): ditto
14479
14480         * BufferView2.C: use it-> instead of (*it). for iterators
14481         * texrow.C: ditto
14482         * paragraph_pimpl.C: ditto
14483         * paragraph.C: ditto
14484         * minibuffer.C: ditto
14485         * language.C: ditto
14486         * kbmap.C: ditto
14487         * encoding.C: ditto
14488         * counters.C: ditto
14489         * converter.C: ditto
14490         * chset.C: ditto
14491         * Variables.C: ditto
14492         * TextCache.C: ditto
14493         * MenuBackend.C: ditto
14494         * LyXAction.C: ditto
14495         * LColor.C: ditto
14496         * FloatList.C: ditto
14497         * DepTable.C: ditto
14498         * ColorHandler.C (LyXColorHandler): ditto
14499
14500 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14501
14502         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14503
14504         * text2.C (openStuff): reintroduce this method (which had been
14505         nuked in NEW_INSETS frenzy).
14506
14507         * lyxfunc.C (Dispatch): when an action has not been handled, use
14508         its name in the error message, not its number.
14509
14510         * paragraph.C (inInset): change method name to begin with lowercase.
14511
14512         * undo_funcs.C:
14513         * text2.C: updates because of this.
14514
14515 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14516
14517         * ToolbarDefaults.C (add): add spaces in error message
14518
14519 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14520
14521         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14522         (readLyXformat2): rename return_par to first_par, use lyxlex's
14523         pushToken and remove the manual push handling.
14524         (parseSingleLyXformat2Token): add another ert comp. variable:
14525         in_tabular, rename return_par to first_par. handle newlines better
14526
14527 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14528
14529         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14530
14531 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14532
14533         * text2.C (getParFromID): removed
14534
14535         * buffer.C (getParFromID): new method moved form lyxtext.
14536         * BufferView2.C (insertErrors): adjust
14537         (setCursorFromRow): adjust
14538         * BufferView_pimpl.C (restorePosition): adjust
14539         * lyxfunc.C (Dispatch): adjust
14540         * undo_funcs.C (textUndo): adjust
14541         (textRedo): adjust
14542         (textHandleUndo): adjust
14543         (textHandleUndo): adjust
14544
14545 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14546
14547         * buffer.C: up' the LYX_FORMAT
14548
14549         * lyxfont.h: turn NO_LATEX on as default
14550
14551         * buffer.C (insertErtContents): new methods of tex style compability.
14552         (parseSingleLyXformat2Token): use it several places.
14553         * tabular.C (OldFormatRead): and here
14554
14555 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14556
14557         * text2.C: remove some commented code.
14558         reindent file.
14559
14560         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14561         * trans.C: changes because of the above.
14562
14563 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14564
14565         * text2.C (setCounter): Fix counters bug with bibliography layout.
14566
14567 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14568
14569         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14570         own member functions
14571         (simpleTeXSpecialChars): ditto
14572
14573 2001-07-06  Juergen Vigna  <jug@sad.it>
14574
14575         * a lot of files: changed the access to LyXText::status and the
14576         call of undo-functions.
14577
14578         * undo.[Ch]: added a inset_id to the undo informations.
14579
14580         * undo_funcs.[Ch]: added and moved here all undo functions.
14581
14582         * lyxtext.h: give the status enum a weight, made status_ a private
14583         variable and made accessor functions for it, removed the whole bunch
14584         of undo-functions as they are now in their own file, make some
14585         functions publically available. Added function ownerParagraph with
14586         int parameter.
14587
14588         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14589         made InInset() a const function, added getParFromID() function.
14590
14591         * buffer.[Ch]: added const version for inset_iterator functions,
14592         added getInsetFromID() function.
14593
14594         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14595         changed undo functions for new version.
14596
14597 2001-07-05  Juergen Vigna  <jug@sad.it>
14598
14599         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14600         unknow mechanism does not call the proper constructor but only this
14601         one also if I request the other!?
14602
14603 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14604
14605         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14606
14607         * text2.C (LyXText): use initialization lists.
14608
14609         * lyxtext.h (Selection): initialize set_ and mark_
14610         (init): remove method
14611
14612 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14613
14614         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14615
14616 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14617
14618         * screen.[Ch]: change method names to begin with lowercase
14619
14620         * BufferView_pimpl.C (updateScrollbar): simplify further and
14621         hopefully make it a bit faster.
14622
14623 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14624
14625         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14626         calling directly xforms functions.
14627
14628         * Painter.C (Painter):
14629         * lyx_cb.C (MenuWrite):
14630         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14631         fl_display.
14632
14633         * lyx_gui.C: remove bogus guiruntime extern declaration.
14634
14635 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14636
14637         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14638         in NEW_INSETS
14639         (redoDrawingOfParagraph): ditto
14640         (redoParagraphs): ditto
14641         (cutSelection): don't create a object for CutAndPaste use the
14642         static method directly
14643         (pasteSelection): ditto
14644
14645         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14646         LyXview (+ rename)
14647
14648 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14649
14650         * modifications to some other files because of this.
14651
14652         * Makefile.am (lyx_SOURCES): add XFormsView
14653
14654         * XFormsView.[Ch]: new files
14655
14656         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14657         the main window. Move the gui dependent stuff to XFormsView
14658
14659 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14660
14661         * tabular.C (GetCellInset): update cur_cell also in the row/col
14662         version of this function.
14663
14664         * lyxfunc.C: no need to include figure_form.h here.
14665
14666         * FontLoader.h:
14667         * lyxfunc.h:
14668         * lyxscreen.h:
14669         * text2.C:
14670         * lyxvc.C: no need to include forms.h here.
14671
14672 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14673
14674         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14675
14676         * lyxfunc.C (Dispatch):
14677         * Spacing.C (set):
14678         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14679         constructor argument.
14680
14681 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14682
14683         * paragraph.C (Paragraph): dont't clear, and just set layout.
14684         (makeSameLayout): use params's copy contructor.
14685
14686         * ParagraphParameters.[Ch] (makeSame): delete method
14687
14688 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14689
14690         * Variables.[Ch]: fix indentation, rename set to isSet
14691
14692 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14693
14694         * lyxfunc.C (Dispatch): fix typo
14695
14696 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14697
14698         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14699         upper_bound.
14700
14701         * bufferlist.C: include assert.h for emergencyWrite().
14702
14703 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14704
14705         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14706           give up at last (bug #425202) !
14707
14708 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14709
14710         * lyx_gui_misc.C:
14711         * sp_form.h:
14712         * sp_form.C:
14713         * spellchecker.h:
14714         * spellchecker.C: strip spellchecker options and bring up
14715           preferences tab instead
14716
14717 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14718
14719         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14720         the istringstream constructor
14721
14722 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14723
14724         * paragraph.C (getLayout): fix return value
14725
14726         * paragraph.h: do not declare getLayout as inline.
14727
14728         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14729
14730 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14731
14732         * lyxcursor.h (operator<): new func
14733         (operator>): new func
14734         (operator>=): new func
14735         (operator<=): new func
14736
14737         * text.C (changeCase): use selection.start and selection.end
14738         (changeRegionCase): require from to be <= to. Require par to be a
14739         valid paragraph.
14740
14741         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14742
14743 2001-06-27  Juergen Vigna  <jug@sad.it>
14744
14745         * text.C (cursorLeftOneWord): changed to return the cursor and added
14746         overlay with BufferView * parameter which calls this one.
14747         (getWord): added
14748         (selectWord): use new getWord function.
14749         (changeCase): renamed from changeWordCase as and extended to work
14750         also on selections.
14751
14752         * lyxtext.h: added enum word_location
14753
14754         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14755         changeCase as this operates now also on selections.
14756
14757 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14758
14759         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14760
14761         * many files: send debug output to Debug::INFO instead of
14762         Debug::ANY.
14763
14764         * converter.C (View):
14765         (Convert):
14766         (Move): send debug output to Debug::FILES instead of console.
14767
14768 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14769
14770         * lyxfunc.C (getStatus): use func_status
14771
14772         * func_status.h: new header, describing the results of
14773         LyXFunc::getStatus;
14774
14775         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14776         LFUN_MATH_HALIGN.
14777
14778 2001-06-25  The LyX Project  <jug@sad.it>
14779
14780         * buffer.C (sgmlOpenTag):
14781         (sgmlCloseTag):
14782         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14783
14784 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14785
14786         * text2.C: remove some dead code
14787
14788         * tabular.C (GetCellInset): store the last cell checked (gotten)
14789
14790         * tabular.h: add the helper for the speedup
14791
14792         * lyxtext.h: remove some dead code
14793
14794 2001-06-26  The LyX Project  <Asger>
14795
14796         * paragraph.C: Change export to LaTeX of alignment to
14797         \begin{center} and family for better roundtrip work with reLyX.
14798
14799         * Tune the math drawing a bit.
14800
14801 2001-06-25  The LyX Project  <Asger>
14802
14803         * LColor.C (LColor): New color for math background. New color
14804         for buttons.
14805
14806 2001-06-25  The LyX Project  <jug@sad.it>
14807
14808         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14809
14810         * lyxfunc.C (Open):
14811         * bufferlist.C (newFile): do not restrict to files ending with
14812         .lyx
14813
14814         * BufferView_pimpl.C (MenuInsertLyXFile):
14815
14816 2001-06-24  The LyX Project  <jug@sad.it>
14817
14818         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14819         of compare_no_case
14820
14821 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14822
14823         * lyxtext.h: rename most methods to begin with a small char.
14824         Lots of changes because of this.
14825
14826         * paragraph.C (Paragraph): do not call fitToSize
14827         (erase): call Pimpl::erase
14828         (insertChar): call Pimpl::insertChar
14829         (insertInset): call Pipl::insertInset
14830         (breakParagraph): do not call fitToSize
14831         (breakParagraphConservative): do not call fitToSize
14832         (fitToSize): remove method
14833
14834         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14835
14836 2001-06-24  The LyX Project  <Asger>
14837
14838         * Fix Qt compilation^2
14839
14840 2001-06-24  The LyX Project  <jug@sad.it>
14841
14842         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14843         depthHook(getDepth()-1).
14844
14845         * paragraph.h:
14846         * ParagraphParameters.h:
14847         * ParameterStruct.h: change type of depth to unsigned int ==
14848         depth_type. Many adaptations to other files before of that.
14849
14850 2001-06-24  The LyX Project  <Asger>
14851
14852         * Fix Qt compilation.
14853
14854 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14855
14856         * paragraph.h: renamed several methods to begin with small letter.
14857         several changes to many parts of the code because of this.
14858
14859 2001-06-23  The LyX Project  <jug@sad.it>
14860
14861         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14862         rewritten to discard all double spaces when KeepEmpty is off
14863         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14864         to only handle newlines but not fiddle with spaces and friends.
14865
14866         * lyxfunc.C (MenuNew): when doing 'new from template', use
14867         template_path as default directory
14868
14869 2001-06-23  The LyX Project  <Asger>
14870
14871         * Clean-up of header file includes all over
14872         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14873
14874 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14875
14876         * paragraph.h: renamed from lyxparagraph.h
14877
14878 2001-06-23  Asger  <lyx@violet.home.sad.it>
14879
14880         * Buffer.h: Removed Buffer::resize
14881         * BufferList.h: Removed BufferList::resize
14882         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14883         the document lazily when we change the width, or the font settings.
14884
14885 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14886
14887         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14888
14889 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14890
14891         * buffer.h: remove out of date comment
14892
14893 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14894
14895         * lyxscreen.h:
14896         * screen.C: fix "theoretical" GC leak
14897
14898 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14899
14900         * LaTeX.C (scanAuxFile):
14901         (deplog): remove trailing \r when reading stream (useful under
14902         win32)
14903
14904 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14905
14906         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14907         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14908         and BufferView::theLockingInset(Inset*), so should use them and not
14909         access bv_->text->the_locking_inset directly.
14910
14911         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14912
14913 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14914
14915         * Makefile.am:
14916         * tex-defs.h: remove old unused file
14917
14918 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14919
14920         * BufferView_pimpl.C: fix typo, remove minibuffer message
14921           when buffer has loaded
14922
14923 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14924
14925         * lyxfunc.C (Dispatch): use stringstream
14926         (MenuNew): use stringstream
14927         (Open): use stringstream
14928
14929         * importer.C (Import): use stringstream
14930
14931         * bufferview_funcs.C (CurrentState): use stringstream
14932
14933         * LaTeX.C (run): use stringstream
14934
14935         * BufferView_pimpl.C (savePosition): use stringstream
14936         (restorePosition): use stringstream
14937         (MenuInsertLyXFile): use stringstream
14938
14939 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14940
14941         * BufferView.C:
14942         * Bullet.C:
14943         * ColorHandler.C:
14944         * FontInfo.C:
14945         * FontLoader.C:
14946         * LColor.C:
14947         * LaTeXFeatures.C:
14948         * Painter.C:
14949         * gettext.C:
14950         * lyx_gui_misc.C:
14951         * lyxserver.C:
14952         * vspace.C: removed // -*- C++ -*- as first line.
14953
14954         * lyxfind.h:
14955         * version.h: added // -*- C++ -*- as first line.
14956
14957 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14958
14959         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14960
14961         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14962         of string
14963
14964 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14965
14966         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14967         of floats.
14968
14969 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14970
14971         * gettext.C: include LString.h even when --disable-nls is on.
14972
14973 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14974
14975         * converter.h (Get): changed argument type from int to
14976         FormatList::size_type to avoid unnecessary conversion.
14977
14978         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14979         before using it.
14980
14981 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14982
14983         * gettext.h: include LString.h even when --disable-nls is on.
14984
14985 2001-06-07  Juergen Vigna  <jug@sad.it>
14986
14987         * text.C (BreakAgain): subst spaces with tabs.
14988
14989         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14990         (resizeInsetsLyXText): set force on resizeLyXText.
14991
14992 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14993
14994         * gettext.h (gettext_init):
14995         (locale_init): use a real definition instead of a macro
14996
14997 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14998
14999         * Bufferview_pimpl.C:
15000         * LColor.h:
15001         * LColor.C: further lcolor tidies
15002
15003 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15004
15005         * BufferView_pimpl.C (updateScrollbar): simplify.
15006
15007         * BufferView2.C: don't include insets/insetinfo.h, change
15008         prototype for insertInset and call the Pimpl version. let
15009         updateInset call Pimpl version.
15010
15011         * BufferView.h: move inset_slept to BufferView::Pimpl, move
15012         gotoInset to BufferView::Pimpl
15013
15014 2001-06-01  Juergen Vigna  <jug@sad.it>
15015
15016         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15017         inside a LockingInset (is the update needed at all?).
15018
15019 2001-05-31  Juergen Vigna  <jug@sad.it>
15020
15021         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15022         here not the old one otherwise how should we compare it afterwards
15023         if it's the same!
15024
15025 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15026
15027         * lyxfont.C:
15028         * tabular.C:
15029         * tabular-old.C:
15030         * FontInfo.C: bring C functions into global namespace when
15031         necessary
15032
15033 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15034
15035         * LString.h: make sure config.h has been loaded before LString.h.
15036
15037         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15038         (one for each char read by EatLine!).
15039
15040         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15041         variables.
15042
15043 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15044
15045         * paragraph.C (BreakParagraph): set the inset_owner in the new par
15046         to the same as the par we break from
15047
15048 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15049
15050         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15051
15052         * MenuBackend.C (expand): also create menu entries for wide
15053         versions of the floats.
15054
15055         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15056
15057         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15058
15059         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15060         frontends/Makefile.am
15061
15062         * text2.C: adjust
15063         * text.C: adjust
15064
15065
15066         * tabular.C (getTokenValue): add std::
15067
15068         * tabular-old.C (getTokenValue): add std::
15069         (getTokenValue): ditto
15070         (getTokenValue): ditto
15071
15072         * screen.C (ToggleSelection): adjust
15073
15074         * lyxtext.h: put selection cursors inside a Selection struct.
15075
15076         * lyxfunc.C (moveCursorUpdate): adjust
15077
15078         * lyxfont.C (latexWriteStartChanges): add std::
15079
15080         * lyxfind.C: adjust
15081
15082         * font.h: delete with(char const *, LyXFont const &)
15083
15084         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15085
15086         * FontInfo.C (getFontname): add std::
15087
15088         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15089         (workAreaButtonPress): adjust
15090         (tripleClick): adjust
15091         (update): adjust
15092         (moveCursorUpdate): adjust
15093         (Dispatch): adjust
15094
15095         * BufferView2.C (gotoInset): adjust
15096
15097 2001-05-30  Juergen Vigna  <jug@sad.it>
15098
15099         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15100         to check pspell I add this as default as I now have new pspell
15101         libraries and they seem to use this.
15102
15103 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15104
15105         * text2.C (CutSelection): make the cursor valid before the call to
15106         ClearSelection.
15107
15108 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15109
15110         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15111         relied on 0 terminated strings and other horrors. Bug found due to
15112         the new assert in lyxstring!
15113
15114         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15115         KP_ keys.
15116
15117 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15118
15119         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15120         to latinkeys.bind.
15121
15122         * lyxfunc.C (processKeySym): change method of getting to the
15123         self-insert char.
15124
15125         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15126         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15127         * BufferView_pimpl.[Ch]: here as private methods.
15128
15129 2001-05-28  Juergen Vigna  <jug@sad.it>
15130
15131         * text.C (SetHeightOfRow): added the update() call again as it is
15132         needed to initialize inset dimensions!
15133
15134 2001-05-16  Juergen Vigna  <jug@sad.it>
15135
15136         * text2.C (SetCharFont): Add new function with BufferView * and
15137         bool toggleall parameters for setting insets internal fonts.
15138         (SetFont): Freeze the undo as we may change fonts in Insets and
15139         all this change should be inside only one Undo!
15140
15141         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15142         setting font's in insets as for them we have the SetFont function!
15143
15144 2001-05-15  Juergen Vigna  <jug@sad.it>
15145
15146         * text2.C (ClearSelection): to be sure we REALLY don't have any
15147         selection anymore!
15148
15149         * tabular.C (TeXCellPreamble): fixed the left border problem for
15150         multicolumn cells.
15151
15152 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15153
15154         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15155         dependancy file
15156
15157 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15158
15159         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15160         LFUN_BREAKPARAGRAPH.
15161
15162         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15163         help test to "internal only", similar for LFUN_INSERT_URL
15164
15165         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15166         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15167         auto_region_delete and deadkeys.
15168
15169 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15170
15171         * LColor.h:
15172         * LColor.C: remove some dead entries, tidy a little
15173
15174 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15175
15176         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15177         commented code.
15178         (Dispatch): implement LFUN_ESCAPE
15179
15180         * commandtags.h: add LFUN_ESCAPE
15181
15182         * LyXAction.C (init): add entry for LFUN_ESCAPE
15183
15184         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15185         Remove commented code.
15186         (insertNote): moved here
15187         (open_new_inset): moved here
15188
15189         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15190         BufferView_pimpl
15191
15192 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15193
15194         * kbmap.C (findbinding): clean it up and make it work correctly.
15195
15196         * lyx_main.C (init): do not pass argc and argv as parameters
15197
15198 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15199
15200         * buffer.C: fix path for OS/2 & Win32
15201
15202         * lyx_gui.C:
15203         * lyx_main:
15204         * lyx_main.C: Added os:: class.
15205
15206         * os2_defines.h: update
15207
15208 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15209
15210         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15211         better by trying again with reduced state.
15212
15213 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15214
15215         * lyxrc.C (read): print error about invalid key sequence only when
15216         debugging (because not all latinX keysyms are known to some X
15217         servers)
15218
15219         * kbsequence.C (getiso): add a few std:: qualifiers
15220         (getiso): comment out extra return statement.
15221
15222 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15223
15224         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15225         handling.
15226         (Dispatch): enhance the accent inset a bit. (not perfect)
15227
15228 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15229
15230         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15231
15232 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15233
15234         * bufferlist.C (emergencyWrite): fix assert() call
15235
15236 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15237
15238         * text.C (InsertChar): Added trivial patch to only send the "you
15239         can not do multiple spaces this way" message once during a
15240         session.
15241
15242 2001-05-08  Baruch Even  <baruch@lyx.org>
15243
15244         * Makefile.am: Changed order of libraries to get LyX to link properly
15245         with the gnome frontend.
15246
15247 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15248
15249         * LaTeXFeatures.h: add a std:: qualifier
15250
15251 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15252
15253         * paragraph.C (String): use stringstream
15254
15255 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15256
15257         * paragraph.C (writeFile): remove footflag arg
15258
15259         * buffer.C (makeLaTeXFile): use stringstream
15260         (latexParagraphs): remove footnot gurba
15261
15262         * LaTeXFeatures.C (getPackages): use stringstream
15263         (getMacros): likewise
15264         (getTClassPreamble): likewise
15265         (getFloatDefinitions): new method
15266
15267         * paragraph.C (writeFile): reindent
15268         (Erase): reindent
15269
15270         * WorkArea.h: revert the xpos + etc changes.
15271
15272         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15273
15274         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15275
15276         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15277         (pasteSelection): likewise
15278         * text2.C (CreateUndo): likewise
15279
15280 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15281
15282         * minibuffer.C (peek_event): temporarily reduce the functionality
15283         of the minibuffer (to allow args on lfuns)
15284
15285         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15286         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15287
15288         * buffer.C (readInset): add compability reading of old float
15289         lists, add reading of new style float list.
15290         (readInset): avoid reevaluation of inscmd.getCmdName()
15291         (getLists): reindent
15292
15293         * MenuBackend.C (MenuItem): implement parsing of
15294         md_floatlistinsert and md_floatinsert.
15295         (expand::LastFiles): move initalizaton of iterators out of loop,
15296         avoid reevaluation.
15297         (expand::Documents): introduce typdedef vector<string> Strings,
15298         and use it.
15299         (expand::ExportFormats): introduce typedef vector<Format const *>
15300         Formats, and use it.
15301         (expand): implement FloatListInsert and FloatInsert.
15302
15303         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15304         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15305         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15306
15307         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15308         handling.
15309         (Dispatch::LFUN_FLOAT_LIST): implement
15310
15311 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15312
15313         * LaTeX.C (run): Fix problem with --export code.
15314
15315 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15316
15317         * BufferView.[Ch] (workarea): removed.
15318         (getClipboard) new method; wrapper for workarea()->getClipboard()
15319
15320         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15321         bug.
15322
15323         * WorkArea.h (width, height, xpos, ypos): These methods all
15324         returned the dimensions of the work_area sub-area of WorkArea,
15325         resulting in a position error if the WorkArea were resized. Now
15326         return the dimensions of the entire WorkArea.
15327
15328         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15329
15330 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15331
15332         * LaTeX.C (deplog): correct the syntax of regex reg1
15333
15334 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15335
15336         * undo.C: remove !NEW_INSETS cruft
15337
15338 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15339
15340         * text2.C: remove !NEW_INSETS cruft
15341
15342         * text.C: remove !NEW_INSETS cruft
15343
15344         * tabular.C: remove !NEW_INSETS cruft
15345
15346         * spellchecker.C: remove !NEW_INSETS cruft
15347
15348         * lyxtext.h: remove !NEW_INSETS cruft
15349
15350         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15351
15352         * lyxfunc.C: remove !NEW_INSETS cruft
15353
15354         * lyxfind.C: remove !NEW_INSETS cruft
15355
15356         * lyx_cb.C: remove !NEW_INSETS cruft
15357
15358         * figureForm.C: remove  !NEW_INSETS cruft
15359
15360         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15361
15362         * buffer.[Ch]: remove !NEW_INSETS cruft
15363
15364         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15365
15366         * CutAndPaste.C: remove !NEW_INSETS cruft
15367
15368         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15369
15370         * BufferView2.C: remove !NEW_INSETS cruft
15371
15372         * BufferView.h: remove !NEW_INSETS cruft
15373
15374 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15375
15376         * Lsstream.h: include LString.h before the sstream headers to
15377         fix problem with gcc 2.95.3 and lyxstring
15378
15379 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15380
15381         * lyx_main.C: add using directives when needed for C functions
15382         declared in std:: namespace.
15383
15384 2001-04-27  Juergen Vigna  <jug@sad.it>
15385
15386         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15387         (SetHeightOfRow): comment out the update call should not be needed!
15388
15389 2001-04-13  Juergen Vigna  <jug@sad.it>
15390
15391         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15392         (LyXTabular): tried to minimize operator= operations (and realized
15393         hopfully Lars wish).
15394
15395 2001-04-27  Juergen Vigna  <jug@sad.it>
15396
15397         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15398
15399 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15400
15401         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15402
15403         * buffer.C (readInset): hack to make listof algorithm work
15404
15405         * BufferView_pimpl.C: hack to make listof algorithm work
15406
15407 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15408
15409         * LyXAction.C: removed all !NEW_INSETS cruft
15410         (init): moved lfun_item in method
15411
15412         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15413
15414 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15415
15416         * BufferView2.C (theLockingInset): white space.
15417
15418 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15419
15420         * minibuffer.C: include <iostream>
15421
15422         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15423
15424         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15425
15426         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15427
15428         * text.[Ch] (TransposeChars): new method
15429
15430 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15431
15432         * call message directly through LyXView instead of through LyXFunc
15433         * BufferView2.C: adjust
15434         * BufferView_pimpl.C: adjust
15435         * FontLoader.C: adjust
15436         * buffer.C: adjust
15437         * bufferview_funcs.C: adjust
15438         * converter.C: adjust
15439         * figureForm.C: adjust
15440         * importer.C: adjust
15441         * lyx_cb.C: adjust
15442         * lyx_gui_misc.C: adjust
15443         * lyxfunc.C: adjust
15444         * lyxvc.C: adjust
15445         * text2.C: adjust
15446         + more files in subdirs
15447
15448         * lyxparagraph.h (size): move up int file
15449         (GetLayout): ditto
15450
15451         * adjust all uses of Assert to lyx::Assert.
15452
15453         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15454         lyxfunctional in namespace lyx
15455         * layout.C (hasLayout): ditto
15456         (GetLayout): ditto
15457         (GetLayout): ditto
15458         (delete_layout): ditto
15459         (NumberOfClass): ditto
15460         * converter.C (GetFormat): ditto
15461         (GetNumber): ditto
15462         (Add): ditto
15463         (Delete): ditto
15464         (SetViewer): ditto
15465         * bufferlist.C (getFileNames): ditto
15466         (emergencyWriteAll): ditto
15467         (exists): ditto
15468         (getBuffer): ditto
15469         * MenuBackend.C (hasSubmenu): ditto
15470         (hasMenu): ditto
15471         (getMenu): ditto
15472         * BufferView_pimpl.C (getInsetByCode): ditto
15473
15474 2001-04-18  Juergen Vigna  <jug@sad.it>
15475
15476         * vspace.C (asLatexString): fixed the 100% problem.
15477
15478 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15479
15480         * lyxfunc.C (Dispatch):
15481         * minibuffer.C:
15482         * minibuffer.h: add a few std:: qualifiers
15483
15484 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15485
15486         * minibuffer.[Ch]: reimplement so that commands is initiated and
15487         run from lyxfunc, simplified som handling, and made the completion
15488         and history code for complete. wip.
15489
15490         * lyxfunc.C (processKeySym): call message
15491         (miniDispatch): new temporary method
15492         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15493         (LFUN_MESSAGE): implement
15494         (LFUN_MESSAGE_PUSH): implement
15495         (LFUN_MESSAGE_POP): implement
15496         (initMiniBuffer): the initial/defualt minibuffer message.
15497
15498         * lyxfont.[Ch]: inline some more getters
15499
15500         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15501
15502         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15503
15504         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15505         (AutoSave): use LFUN_MESSAGE
15506         (Reconfigure): ditto
15507
15508         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15509
15510         * figureForm.C: use LFUN_MESSAGE
15511
15512         * converter.C (runLaTeX): use LFUN_MESSAGE
15513
15514         * bufferview_funcs.C: use LFUN_MESSAGE
15515         (Melt): ditto
15516         (changeDepth): ditto
15517
15518         * bufferparams.h: use boost::
15519
15520         * bufferlist.h: inherit privately from noncopyable
15521
15522         * bufferlist.C (loadLyXFile): remove some commented code.
15523
15524         * buffer.C (runChktex): use LFUN_MESSAGE
15525
15526         * ShareContainer.h: inherit privately from noncopyable
15527
15528         * ParagraphParameters.[hC] (depth): inline it.
15529
15530         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15531         methods.
15532         (message): new method
15533         (messagePush): ditto
15534         (messagePop): ditto
15535         (show): init minibuffer
15536         (showState): direct call
15537
15538         * LaTeX.[Ch]: inherit privately from noncopyable
15539         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15540         instead of WriteStatus.
15541
15542         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15543
15544         * BufferView_pimpl.C (buffer): don't init minibuffer
15545         (workAreaButtonPress): use LFUN_MESSAGE
15546         (workAreaButtonRelease): ditto
15547         (savePosition): ditto
15548         (restorePosition): ditto
15549         (MenuInsertLyXFile): ditto
15550         (workAreaExpose): don't init minibuffer
15551         (update): remove commented code, simplify
15552
15553         * BufferView2.C (openStuff): use LFUN_MESSAGE
15554         (toggleFloat): ditto
15555         (menuUndo): ditto
15556         (menuRedo): ditto
15557         (copyEnvironment): ditto
15558         (pasteEnvironment): ditto
15559         (copy): ditto
15560         (cut): ditto
15561         (paste): ditto
15562         (gotoInset): ditto
15563         (updateInset): remove some commented code
15564
15565         * lastfiles.h: inherit privately from noncopyable
15566         * layout.h: ditto
15567         * lyx_gui.h: ditto
15568         * lyx_main.h: ditto
15569         * lyxlex.h: ditto
15570         * lyxlex_pimpl.h: ditto
15571
15572         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15573         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15574         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15575
15576         * LyXAction.h: inherit privately from noncopyable, add methods
15577         func_begin, func_end, returning iterators to the func map.
15578
15579         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15580         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15581         (func_begin): new method
15582         (func_end): new method
15583
15584         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15585         and not)
15586         (copySelection): ditto
15587         (pasteSelection): ditto
15588
15589         * BufferView.C: whitespace change
15590         * BufferView.h: inherit privately from noncopyable
15591
15592 2001-04-16  Allan Rae  <rae@lyx.org>
15593
15594         * tabular-old.C (l_getline):
15595         * spellchecker.C (sc_check_word):
15596         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15597         an unrecognised preprocessor directive.  So ensure they're wrapped.
15598
15599 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15600
15601         * src/exporter.C (Export): Give an error message when path to file
15602         contains spaces.
15603
15604 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15605
15606         * LaTeX.C (deplog): Always check that foundfile exists.
15607
15608 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15609
15610         * lyx_main.h:
15611         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15612
15613 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15614
15615         * tabular.[Ch] (getLabelList): implement new method
15616
15617         * minibuffer.h: comment ouf setTiimer
15618
15619         * minibuffer.C (ExecutingCB): constify res
15620         (peek_event): constify s
15621         (Set): constify ntext
15622         (Init): constify nicename
15623
15624         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15625
15626         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15627         (savePosition): use two params to Minibuffer::Set
15628         (restorePosition): ditto
15629
15630 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15631
15632         * lyx_main.C: include language.h
15633
15634         * Makefile.am (lyx_main.o): add language.h
15635
15636 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15637
15638         * exporter.C:
15639         * paragraph.C:
15640         * screen.C:
15641         * tabular.C:
15642         * CutAndPaste.C: include gettext.h
15643
15644         * lyxfont.h: remove old hack with ON and OFF.
15645
15646         * lyxparagraph.h:
15647         * lyxfont.h: do not include language.h...
15648
15649         * BufferView2.C:
15650         * LaTeXFeatures.C:
15651         * Painter.C:
15652         * bufferview_funcs.C:
15653         * font.C:
15654         * lyxfont.C:
15655         * text.C:
15656         * text2.C:
15657         * trans_mgr.C:
15658         * paragraph.C: ... but do it here instead
15659
15660 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15661
15662         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15663
15664         * tabular.C: small reformat
15665
15666         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15667         NEW_INSETS version
15668         (GetChar): ditto
15669         (BreakParagraph): ditto
15670         (SetOnlyLayout): ditto
15671         (SetLayout): ditto
15672
15673         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15674         with one arg less.
15675
15676         * lastfiles.C: removed most using decl, add std:: where needed
15677
15678         * buffer.C: ws changes
15679
15680         * MenuBackend.C (class compare_format): put into anon namespace
15681         (expand): constify label, names, action, action2
15682         (expand):
15683
15684         * text.C (SingleWidth): constify font
15685         (IsBoundary): constify rtl2
15686         (GetVisibleRow): constify ww
15687
15688         * LaTeX.C (deplog): constify logfile
15689
15690         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15691         start_x, end_x
15692         (workAreaExpose): constify widthChange, heightChange
15693
15694         * lyxrow.C (par): moved
15695         (height): moved
15696         (next): moved
15697         * lyxrow.h: as inlines here
15698
15699         * lyxfont.h (shape): moved from lyxfont.C
15700         (emph): moved from lyxfont.C
15701
15702         * lyxfont.C (LyXFont): use initialization list for all
15703         constructors
15704         (shape): move to lyxfont.h as inline
15705         (emph): move to lyxfont.h as inline
15706
15707
15708 2001-04-04  Juergen Vigna  <jug@sad.it>
15709
15710         * vspace.C: had to include stdio.h for use of sscanf
15711
15712 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15713
15714         * BufferView.h:
15715         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15716         independent of xforms.
15717
15718 2001-04-02  Juergen Vigna  <jug@sad.it>
15719
15720         * spellchecker.C: fixed namespace placing!
15721
15722 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15723
15724         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15725         the LyXParagraph * is 0.
15726
15727 2001-03-29  Juergen Vigna  <jug@sad.it>
15728
15729         * vspace.C: added support for %, c%, p%, l%.
15730         (stringFromUnit): added helper function.
15731         (asLatexString): changed to give right results for the %-values.
15732
15733         * buffer.C: convert the widthp in a width%.
15734
15735 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15736
15737         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15738         figureForm.[Ch].
15739
15740         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15741         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15742
15743         * lyx_cb.[Ch]: see above.
15744
15745         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15746         form1.[Ch].
15747
15748         * form1.[Ch]:
15749         * lyx.[Ch]: replaced by figure_form.[Ch].
15750
15751         * lyx_gui.C:
15752         * lyx_gui_misc.C:
15753         * lyxfunc.C: changed headers associated with above changes.
15754
15755 2001-03-27  Juergen Vigna  <jug@sad.it>
15756
15757         * BufferView_pimpl.C: set the temporary cursor right!
15758
15759 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15760
15761         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15762
15763 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15764
15765         * LString.h: removed "using std::getline"!
15766
15767         * BufferView_pimpl.C (Dispatch): changes due to changes in
15768         InsetInclude::Params.
15769
15770         * buffer.C (tag_name): removed redundant break statements as they were
15771         producing lots of warnings with my compiler.
15772
15773 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15774
15775         * LString.h: add "using std::getline" when using the real <string>.
15776
15777 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15778
15779         * buffer.C: removed bitset usage.
15780         PAR_TAG moved to an anonymous name space.
15781         (tag_name): new funtion, also in the anonymous namespace.
15782         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15783         (makeDocBookFile): clean code. Completed transition from string arrays
15784         to string vectors.
15785         (SimpleDocBookOnePar): code clean.
15786
15787 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15788
15789         * tabular.C: add some comments.
15790
15791 2001-03-22  Juergen Vigna  <jug@sad.it>
15792
15793         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15794         compatibility read a bit and fixed bug with minipage in different
15795         depth.
15796
15797 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15798
15799         * buffer.C (pop_tag): removed.
15800         (push_tag): removed.
15801         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15802         array replaced with vector. Added support for CDATA sections.
15803         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15804         at any nest level.
15805         (makeDocBookFile): XML conformant declaration of CDATA section,
15806         fixed bug related to <emphasis> in the first paragraph char.
15807         (sgmlOpenTag): exclude empty tags.
15808         (sgmlCloseTag): ditto.
15809
15810         * buffer.h (pop_tag): removed.
15811         (push_tag): removed.
15812
15813 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15814
15815         * language.h (Languages): added size_type and size().
15816
15817 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15818
15819         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15820         response on compability reading of minipages. One probliem is that
15821         the old usage of minipages was «flertydig»
15822
15823         * several files here and in subdirs: don't use static at file
15824         scope use anon namespaces instead.
15825
15826 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15827
15828         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15829         LaTeX output. This is necessary for Literate document
15830         processing.
15831
15832 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15833
15834         * buffer.C: insert hfill when needed.
15835
15836         * tabular.C (l_getline): use string::erase, small whitespace change.
15837
15838         * BufferView_pimpl.C: try the anon namespace.
15839         * WorkArea.C: ditto
15840
15841 2001-03-16  Juergen Vigna  <jug@sad.it>
15842
15843         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15844         otherwise it won't open options-dialogs.
15845
15846         * buffer.C: honor pextraWidth(p) on converting minipages.
15847
15848         * tabular.C (l_getline): changed the functions to strip trailing \r.
15849
15850 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15851
15852         * BufferView_pimpl.C:
15853         * minibuffer..C: added "using SigC::slot" declaration.
15854
15855 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15856
15857         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15858
15859         * text2.C: ditto
15860
15861         * text.C: ditto
15862
15863         * paragraph.C: ditto
15864
15865         * lyxtext.h: NO_PEXTRA
15866
15867         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15868
15869         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15870         * ParameterStruct.h: ditto
15871         * ParagraphParameters.h: ditto
15872         * lyxparagraph.h: ditto
15873
15874 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15875
15876         * buffer.C: add compability for minipage alignment.
15877         (latexParagraphs): remove unwanted pextra check.
15878
15879         * several files: remove CXX_WORKING_NAMESPACES
15880
15881         * buffer.C (pop_tag): tie is in namespace boost
15882
15883         * BufferView.h: noncopyable is in namespace boost
15884         * lyxlex.h: ditto
15885         * lyx_main.h: ditto
15886         * lyx_gui.h: ditto
15887         * layout.h: ditto
15888         * lastfiles.h: ditto
15889         * bufferlist.h: ditto
15890         * ShareContainer.h: ditto
15891         * LyXView.h: ditto
15892         * LyXAction.h: ditto
15893         * LaTeX.h: ditto
15894
15895 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15896
15897         * Merging changes from BRANCH_MVC back into HEAD.
15898
15899         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15900
15901 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15902
15903         * BufferView_pimpl.C: change from intl.C
15904
15905         * combox.h:
15906         * combox.C:
15907         * Makefile.am: move combox.*
15908
15909         * form1.h:
15910         * form1.C:
15911         * lyx_gui.C:
15912         * intl.h:
15913         * intl.C: remove dialog (covered by prefs)
15914
15915 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15916
15917         * lyxfunc.C (Dispatch): removed redundant break statement.
15918
15919 2001-03-14  Juergen Vigna  <jug@sad.it>
15920
15921         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15922
15923 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15924
15925         * buffer.C: add hack to fix compability reading of minipages.
15926
15927 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15928
15929         * buffer.C (getLists): Cleanup.
15930
15931 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15932
15933         * lyxfont.C (update): don't honor toggleall on font size.
15934
15935 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15936
15937         * bmtable.c:
15938         * bmtable.h:
15939         * Makefile.am: moved to frontends/xforms/
15940
15941         * lyx_gui_misc.C:
15942         * lyxfunc.C:
15943         * BufferView_pimpl.C: changes for moved mathpanel
15944
15945 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15946
15947         * gettext.h: fix gettext_init() in --disable-nls
15948
15949 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15950
15951         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15952
15953 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15954
15955         * lyx.C:
15956         * lyx.h: strip external form
15957
15958 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15959
15960         * BufferView_pimpl.C: add comment, destroySplash()
15961
15962 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15963
15964         * BufferView_pimpl.C:
15965         * LyXAction.C:
15966         * buffer.C:
15967         * commandtags.h:
15968         * lyxfunc.C: use re-worked insetinclude
15969
15970 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15971
15972         * buffer.C: add using std::stringstream.
15973
15974         * lyx_cb.C: readd using std::ios.
15975
15976         * buffer.C: add using std::map.
15977
15978         * BufferView_pimpl.C: add using std::vector.
15979
15980         * ShareContainer.h: add std:: to swap.
15981
15982         * buffer.h: add some typedefs
15983         * buffer.C (getLists): use them
15984         (getLists): renamed from getTocList.
15985         add a counter for the different float types and use it in the
15986         generated string.
15987         (getLists): use the same counter for the NEW_INSETS and the "non"
15988         NEW_INSETS
15989
15990         * lyx_cb.h: remove unused items, includes, using etc.
15991
15992         * ShareContainer.h: remove some commented code, add more comments
15993         and "documentation".
15994
15995 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15996
15997         * buffer.C (getTocList): make the list also when NEW_INSETS is
15998         defined.
15999
16000         * buffer.h: remove TocType
16001
16002         * buffer.C (getTocList): change to return a map<string,
16003         vector<TocItem> >, implement for dynamic number of list.
16004
16005         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16006         * text2.C (PasteSelection): adjust
16007         * CutAndPaste.C (pasteSelection): adjust
16008
16009         * FloatList.C (FloatList): update from the new_insets branch.
16010         * Floating.[Ch]: ditto
16011         * LaTeXFeatures.C: ditto
16012         * buffer.C: ditto
16013         * lyxlex_pimpl.C: ditto
16014
16015         * paragraph.C (Last): remove when NEW_INSETS is defined.
16016
16017         * other file: changes because of the above.
16018
16019 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16020
16021         * lyxparagraph.h: rename next to next_, previous to previous_,
16022         make them private for NEW_INSETS. Rename Next() to next(),
16023         Previous() to previous().
16024
16025         * other files: changes because of the above.
16026
16027 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
16028
16029         * BufferView.h:
16030         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16031         problem.
16032
16033 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16034
16035         * main.C (main): pass lyx_localedir to gettext_init().
16036
16037         * gettext.h: remove locale_init and gettext_init macros
16038
16039         * gettext.C (locale_init): new function
16040         (gettext_init): new function
16041
16042         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16043         setlocale().
16044
16045 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
16046
16047         * Moved credits to frontends:
16048         * credits.[Ch]: removed
16049         * credits_form.[Ch]: removed
16050         * lyx_gui_misc.C: remove credits stuff
16051         * Makefile.am:
16052
16053 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16054
16055         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16056
16057         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16058         unneeded destructor.
16059
16060         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16061         a standalone pointer again.
16062
16063         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16064
16065 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16066
16067         * Makefile.am:
16068         * filedlg.h:
16069         * filedlg.C:
16070         * LyXAction.C:
16071         * ToolbarDefaults.C:
16072         * bufferlist.C:
16073         * commandtags.h:
16074         * form1.C:
16075         * form1.h:
16076         * lyx_cb.C:
16077         * lyx_cb.h:
16078         * lyxfunc.h:
16079         * lyxfunc.C:
16080         * BufferView_pimpl.C: use new file dialog in GUII
16081
16082         * lyx_cb.h:
16083         * lyx_cb.C: remove LayoutsCB to Toolbar
16084
16085 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16086
16087         * ShareContainer.h (get): add std:: qualifier
16088
16089 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16090
16091         * ShareContainer.h: define a proper ShareContainer::value_type
16092         type (and use typename to please compaq cxx)
16093
16094 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16095
16096         * lyxparagraph.h: move serveral local vars to
16097         ParameterStruct/ParagraphParameters., use ShareContainer in
16098         FontTable., make vars in FontTable private and add getter and
16099         setter.
16100
16101         * paragraph.C: changes because of the above.
16102
16103         * lyxfont.h: remove copy constructor and copy assignment. (the
16104         default ones is ok), move number inside FontBits. move inlines to
16105         lyxfont.C
16106
16107         * lyxfont.C: add number to initializaton of statics, move several
16108         inlines here. constify several local vars. some whitespace
16109         cleanup. Dont hide outerscope variables.
16110
16111         * Spacing.h: add two new constructors to match the set methods.
16112
16113         * ShareContainer.h: new file, will perhaps be moved to support
16114
16115         * ParameterStruct.h: new file
16116
16117         * ParagraphParameters.h: new file
16118
16119         * ParagraphParameters.C: new file
16120
16121         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16122         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16123
16124         * BufferView_pimpl.C: ParagraphParameter changes.
16125         * buffer.C: Likewise.
16126         * bufferview_funcs.C: Likewise.
16127         * text.C: Likewise.
16128         * text2.C: Likewise.
16129
16130 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16131
16132         * lyxfind.C (LyXReplace): do not redefine default argument in
16133         implementation.
16134         (IsStringInText): ditto
16135         (SearchForward): ditto
16136         (SearchBackward): ditto
16137
16138 2001-03-06  Juergen Vigna  <jug@sad.it>
16139
16140         * lyxfind.C (IsStringInText): put parentes around expressions.
16141
16142 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16143
16144         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16145
16146 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16147
16148         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16149
16150         * stl_string_fwd.h: add comment
16151
16152         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16153
16154         * tabular.h:
16155         * tabular.C: remove unused DocBook methods
16156
16157         * intl.C:
16158         * language.C:
16159         * paragraph.C:
16160         * buffer.C:
16161         killed DO_USE_DEFAULT_LANGUAGE
16162
16163 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16164
16165         * lyx_gui.C: do not include language.h.
16166
16167         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16168         arguments in function implementation.
16169
16170 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16171
16172         * BufferView_pimpl.C: add <ctime>
16173
16174 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16175
16176         * BufferView_pimpl.C: add using std::find_if
16177
16178 2001-02-27  José Matos  <jamatos@fep.up.pt>
16179
16180         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16181         by OnlyPath.
16182
16183 2001-02-11  José Matos  <jamatos@fep.up.pt>
16184
16185         * buffer.C (makeDocBookFile): command styles now have a parameter as
16186         "title" by default.
16187
16188 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16189
16190         * layout_forms.[Ch]: removed
16191         * lyx_cb.[Ch]: out character
16192         * lyx_gui.C: out character
16193         * lyx_gui_misc.C: out character
16194         * bufferview_funcs.C: : out character,
16195         added toggleall as parameter in ToggleAndShow
16196
16197 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16198
16199         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16200
16201         * text2.C (SetCurrentFont): Disable number property at boundary.
16202
16203 2001-02-26  Juergen Vigna  <jug@sad.it>
16204
16205         * lyxfunc.C (getStatus): added a string argument override function so
16206         that this is correctly called from LyXFunc::Dispatch if it contains a
16207         do_not_use_argument which is used!
16208         (Dispatch): added check for "custom" export and call appropriate func.
16209
16210 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16211
16212         * lyxrc.C: Add language_command_local, language_use_babel and
16213         language_global_options.
16214
16215         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16216
16217         * buffer.C (makeLaTeXFile): Use language_use_babel and
16218         language_global_options.
16219
16220 2001-02-23  Juergen Vigna  <jug@sad.it>
16221
16222         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16223         which works with LyXText and putted it inside BufferView. Here now we
16224         only call for that part the BufferView::Dispatch() function.
16225
16226         * BufferView.C (Dispatch): added.
16227
16228         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16229         functions which needs to use a LyXText over from LyXFunc.
16230         (MenuInsertLyXFile): added
16231         (getInsetByCode): added
16232         (moveCursorUpdate): added
16233         (static TEXT): added
16234
16235 2001-02-22  Juergen Vigna  <jug@sad.it>
16236
16237         * BufferView_pimpl.C (update): call a status update to see if LyXText
16238         needs it.
16239
16240 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16241
16242         * vc-backend.C (revert): implement for CVS
16243         (getLog): implement for CVS
16244
16245 2001-02-20  Juergen Vigna  <jug@sad.it>
16246
16247         * text2.C (ClearSelection): added BufferView param for inset_owner call
16248
16249         * lyxfunc.C (TEXT): added this function and use it instead of
16250         directly owner->view()-text of getLyXText().
16251
16252 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16253
16254         * src/layout_forms.C: out preamble
16255         * src/layout_forms.h: out preamble
16256         * src/lyx_cb.C: out preamble
16257         * src/lyx_cb.h: out preamble
16258         * src/lyx_gui.C: out preamble
16259         * src/lyx_gui_misc.C: out preamble
16260         * src/lyxfunc.C: connect with guii preamble
16261
16262 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16263
16264         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16265
16266 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16267
16268         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16269         whether to run bibtex.
16270
16271 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16272
16273         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16274
16275 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16276
16277         * Makefile.am (lyx_SOURCES): removed bibforms.h
16278
16279         * vspace.h: doxygen
16280
16281         * text.C (GetVisibleRow): make several local vars const
16282
16283         * tabular.C: small cleanup.
16284
16285         * lyxserver.C (callback): use compare instead of strncmp
16286
16287         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16288         inlines to after class or to paragraph.C
16289
16290         * lyxfont.h: remove friend operator!=
16291
16292         * converter.h: move friend bool operator< to non friend and after
16293         class def.
16294
16295         * combox.h: small cleanup
16296
16297         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16298         to inlines after class def.
16299
16300         * buffer.C (pop_tag): use string operations instead of strcmp
16301
16302         * bmtable.c: doxygen, small cleanup
16303
16304         * LaTeX.h: remove friend operator==
16305
16306 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16307
16308         * screen.C:
16309         * lyxrc.[Ch]:
16310         * lyxfunc.C:
16311         * lyxfont.[Ch]:
16312         * lyx_cb.C:
16313         * intl.[Ch]:
16314         * commandtags.h:
16315         * buffer.C:
16316         * WorkArea.[Ch]:
16317         * LyXAction.C:
16318         * BufferView_pimpl.C:
16319         * BufferView.[Ch]: remove cruft
16320
16321 2001-02-14  Juergen Vigna  <jug@sad.it>
16322
16323         * lyxfunc.C: removed #if 0 unused code
16324
16325         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16326
16327         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16328
16329         * text2.C (SetSelection): added a BufferView * parameter
16330
16331 2001-02-13  Juergen Vigna  <jug@sad.it>
16332
16333         * lyxfunc.C (Dispatch): fixed protected blank problem.
16334         * BufferView2.C (protectedBlank): added LyxText * parameter.
16335
16336         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16337         (AppendColumn): same as above for column_info.
16338
16339         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16340         (moveCursorUpdate): use a LyXText param for support of InsetText.
16341
16342         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16343         (tripleClick): ditto
16344
16345         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16346
16347         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16348
16349         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16350
16351         * text2.C (SetSelection): set correct update status if inset_owner
16352         (ToggleFree): ditto
16353
16354 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16355
16356         * tabular.C: remove some commented code.
16357
16358 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16359
16360         * BufferView_pimpl.C: call hideSplash()
16361
16362         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16363
16364         * include_form.h:
16365         * bibforms.h: remove
16366
16367         * lyxfunc.C:
16368         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16369           add LFUN_CHILD_CREATE
16370
16371         * counters.h: fix tiny typo
16372
16373         * lyx_cb.C:
16374         * lyx.h:
16375         * lyx_gui.C:
16376         * lyx.C: move splash to frontends/xforms/
16377
16378         * lyx_gui_misc.C: move Include and Bibform to frontends
16379
16380         * lyxvc.h: clarify comment
16381
16382         * vspace.C: tiny housekeeping
16383
16384 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16385
16386         * text.C (PrepareToPrint): RTL Fix.
16387
16388         * paragraph.C (GetUChar): New method.
16389         (String):  Use GetUChar.
16390
16391         * buffer.C (asciiParagraph): Use GetUChar.
16392
16393 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16394
16395         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16396
16397 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16398
16399         * buffer.h:
16400         * buffer.C: rename to getLogName(), handle
16401           build log / latex log nicely
16402
16403 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16404
16405         * MenuBackend.C:
16406         * MenuBackend.h: remove support for reference menuitem type.
16407
16408 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16409
16410         * BufferView_pimpl.C: housekeeping
16411         * BufferView_pimpl.h:
16412         * LyXView.h:
16413         * Makefile.am:
16414         * Timeout.C:
16415         * Timeout.h:
16416         * minibuffer.h: move Timeout GUI-I
16417
16418 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16419
16420         * lyxrc.C (read): Update converters data-structures.
16421
16422 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16423
16424         * LaTeX.h (operator!=): add operator != for Aux_Info
16425
16426 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16427
16428         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16429
16430         * LaTeXLog.C: deleted, useful code moved to Buffer
16431
16432         * buffer.h:
16433         * buffer.C: new function getLatexLogName()
16434
16435         * lyx_gui_misc.C:
16436         * lyx_gui.C:
16437         * lyxvc.C:
16438         * lyxvc.h:
16439         * lyxfunc.C: use frontends for LaTeX and VC logs
16440
16441 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16442
16443         * LaTeX.h: yet another std:: that Allan forgot.
16444
16445         * Variables.C (set): renamed from isset(), because this clashes
16446         with some HP-UX macros (grr).
16447
16448 2001-02-06  Allan Rae  <rae@lyx.org>
16449
16450         * LaTeX.h: Another bug fix.  Missing std:: this time.
16451
16452 2001-02-04  Allan Rae  <rae@lyx.org>
16453
16454         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16455         floats problem. I've left it commented out because it's not quite
16456         correct.  It should also test that the current object is a table or
16457         figure inset.  But I haven't gotten around to figuring out how to do
16458         that.  I *think* it'll be something like: "table" == inset.type()
16459
16460         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16461         bool.
16462
16463 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16464
16465         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16466         all the citation/databases/styles in the auxilary file.
16467         (run): Rerun latex if there was a babel language error.
16468
16469 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16470
16471         * text.C (Backspace): Preserve the font when changing newline char
16472         with a space.
16473         (BreakParagraph): If the cursor is before a space, delete the space.
16474
16475         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16476
16477 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16478
16479         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16480         new argument (code).
16481         (ChangeCitationsIfUnique): New method.
16482
16483         * paragraph.C (GetPositionOfInset): Handle bibkey.
16484
16485 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16486
16487         * BufferView_pimpl.h: change type of Position::par_pos to
16488         LyXParagraph::size_type.
16489
16490 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16491
16492         * BufferView_pimpl.C (savePosition, restorePosition): Write
16493         messages to minibuffer.
16494
16495 2001-01-28  José Matos  <jamatos@fep.up.pt>
16496
16497         * buffer.C (makeDocBookFile): adds support for document language.
16498         A silly restriction on the name of LatexCommand types where removed.
16499         Added support for CDATA sections, allows to chars unescaped, used
16500         among others in code, to avoid escape < and >.
16501
16502 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16503
16504         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16505         saved positions instrad of a stack. Furthermore, a position is
16506         stored using paragraph id/paragraph position.
16507
16508         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16509         Remove LFUN_REF_BACK.
16510
16511 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16512
16513         * converter.C (dvipdfm_options): New method.
16514
16515 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16516
16517         * vspace.C (isValidLength): Fix for empty input string.
16518
16519 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16520
16521         * LyXAction.C (init): change description of LFUN_FIGURE to
16522         "Insert Graphics"
16523
16524 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16525
16526         * LaTeX.C: add using directive
16527
16528 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16529
16530         * MenuBackend.C (expand): Fix the sorting of the formats.
16531
16532 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16533
16534         * lyx_main.C: tiny error message fix
16535
16536 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16537
16538         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16539         calling fl_initialize(). This fixes the problem with ',' as
16540         decimal separator in text files.
16541
16542 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16543
16544         * trans.C (process): Fix the keymap bug.
16545
16546 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16547
16548         * LaTeX.C (scanAuxFiles): New method. Provides support for
16549         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16550         (scanLogFile) Scan for "run BibTeX" messages.
16551
16552         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16553         OT1 font encoding. Also, load the aecompl package if the ae
16554         package is loaded.
16555
16556         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16557
16558 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16559
16560         * texrow.C (increasePos): turn two error messages into debug
16561         messages.
16562
16563 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16564
16565         * LaTeX.C (scanAux): Handle the \@input macro.
16566         (runBibTeX): Use scanAux().
16567
16568         * language.C (latex_options_): New field.
16569
16570         * LaTeXFeatures.C (getMacros): Add language macros.
16571
16572         * buffer.C (makeLaTeXFile): Small fix.
16573
16574 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16575
16576         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16577
16578         * text2.C: add a using directive.
16579
16580 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16581
16582         * BufferView2.C:
16583         * lyx_gui_misc.h:
16584         * lyxfr1.C:
16585         * lyxfunc.C: kill LyXBell.
16586
16587 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16588
16589         * text.C (IsBoundary): Remove the error message
16590
16591         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16592
16593         * lyxrc.C (setDefaults): Correct initialization value for
16594         font_norm_type.
16595
16596 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16597
16598         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16599         gotoError().
16600
16601         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16602         and GotoNextNote().
16603
16604         * src/LyXAction.C: Added reference-next.
16605
16606         * text.C (InsertChar): Use contains instead of strchr.
16607
16608         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16609
16610 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16611
16612         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16613         alignment commands (when needed).
16614
16615         * text.C (InsertChar): Add ':' to number separator chars.