]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Clean-up FileFilterList API.
[lyx.git] / src / ChangeLog
1 2004-11-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
2
3         * rename a lot of InsetOld to InsetBase
4
5 2004-11-25  Angus Leeming  <leeming@lyx.org>
6
7         * BufferView_pimpl.C:
8         * lyx_cb.C:
9         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
10
11 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
12
13         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
14         call BufferView::getStatus if LCursor::getStatus did nothing
15         (setStatusMessage, getStatusMessage): removed.
16
17         * FuncStatus.C (message): new methods. Used to provide an error
18         message indicating why a command is disabled.
19         (clear, |=, FuncStatus): update for message.
20
21 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
22
23         * lyxfunc.C (dispatch): always call sendDispatchMessage
24
25 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
26
27         * BufferView.C:
28         * BufferView_pimpl.C:
29         * CutAndPaste.C:
30         * FontIterator.C:
31         * buffer.C:
32         * cursor.C:
33         * cursor_slice.[Ch]:
34         * dociterator.[Ch]:
35         * lyxfind.C:
36         * paragraph_funcs.C:
37         * pariterator.C:
38         * rowpainter.C:
39         * text.C:
40         * text2.C:
41         * text3.C:
42         * undo.C: par->pit renaming
43
44
45 2004-11-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
46
47         * tabular.C (cellstruct): use initialization, store a shared_ptr
48         to insettext instead of the insettext directly, adjust to fit.
49         (operator=):  new function
50         (swap): new function
51         (rowstruct): use initialization
52         (columnstruct): use initialization
53         (ltType): use initialization
54
55
56         * lyxlength.h (swap): new function
57
58         * LColor.[Ch] (operator=): use the common semantics
59
60 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
61
62         * lyxfind.C (findNextChange): update the bufferview after setting
63         the selection.
64
65 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
66
67         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
68         number of InsetOptArgs has already been inserted.
69
70         * output_latex.C (latexOptArgInsets): new method. This outputs all
71         the optarg insets, up to the limit defined in the layout file.
72         (optArgInset): removed
73         (TeXOnePar): call latexOptArgInsets; correctly update texrow
74
75 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
76
77         * paragraph.C (isLetter): remove special spellchecker-related
78         code; return true also for digits
79         (isWord, isKomma): remove
80
81         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
82         * lyxfind.C (MatchString()): use isLetter instead of isWord
83
84 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
85
86         * pariterator.h (operatir=): comment out un-implemented member
87         function.
88
89         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
90         static cast.
91
92 2004-11-17  Lars Gullik Bjonnes  <larsbj@gullik.net>
93
94         * lyxfont.h: include LColor.h to satisfy concept checks.
95
96 2004-11-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
97
98         * pariterator.h: add typdefs for value_type, difference_type,
99         pointer and reference to satisfy concept checks. Also add default
100         constructor for same reason.
101
102         * pariterator.C (operator++): add post-increment operator to
103         satisfy concept checks.
104
105         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
106         checks.
107
108         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
109
110         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
111         checks. Also rename base_type to BaseType to follow naming
112         standard better.
113
114         * FloatList.h: include Floating.h to satisfy concept checks.
115
116 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
117
118         * lyxfunc.C (getStatus): when the origin of the request is menu or
119         toolbar, and the LyXView does not have focus, do as if there was
120         no buffer (bug 1720)
121
122         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
123         FuncRequest to individual entries of LFUN_SEQUENCE
124
125 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
126
127         * output_latex.C (TeXOnePar): override runparams.moving_arg
128         according to the needprotect value of the current paragraph (bug
129         1739)
130
131         * paragraph.C (simpleTeXOnePar): no need to override
132         runparams.moving_args here
133
134 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
135
136         * vspace.C: fix off-by-one-error, related to fix #1682
137
138 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
139
140         * lengthcommon.C: a more general fix for bug 1682
141
142 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
143
144         * text.C (backspace): fix crash
145
146 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
147
148         * format.[Ch] (getFormatFromFile): new method
149         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
150
151 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
152
153         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
154
155 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
156
157         * lyxfunc.C (dispatch): remove the verbose argument
158         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
159         instead
160
161         * kbmap.C (defkey): set the origin of func to KEYBOARD
162
163         * MenuBackend.C (MenuItem):
164         * ToolbarBackend.C (add): set the origin of func to UI
165
166         * funcrequest.[Ch]: add origin member, which indicates which part
167         of LyX requests an action
168
169 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
170
171         * converter.C (move): don't lie in the error message
172         * converter.h (isReachable, move): document
173
174 2004-11-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
175
176         * buffer.C: remove unused using lyx::support::atoi
177         * paragraph_funcs.C: ditto
178
179 2004-11-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
180
181         * bufferlist.C (exists): use bind and equal_to instead of
182         compare_memfun
183         (getBuffer): ditto
184         * lyxtextclasslist.C (NumberOfClass): ditto
185
186         * cursor.C (insert): use for_each instead of explicit for loop
187
188         * bufferlist.C (getFileNames): use std::transform and
189         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
190
191         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
192         for loop
193
194         * buffer.C (changeLanguage): use for_each instead of explicit for
195         loop
196         (hasParWithID): implement using getParFromID
197
198         * LaTeXFeatures.C: ws change only
199
200         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
201         to cleanup a bit.
202
203         * BufferView_pimpl.C (trackChanges): use for_each instead of
204         expilicit for loop
205
206 2004-11-04  André Pönitz  <poenitz@gmx.net>
207
208         * undo.h:
209         * undo.C (textUndoOrRedo): fix crash when creating undo information.
210
211         * dociterator.C (asDocIterator): use hard assert again.
212
213 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
214
215         * lyxlength.C (asLatexString): rewrite so that it does not use
216         snprintf anymore
217
218 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
219
220         * text3.C (specialChar, dispatch): make sure cursor moves to the
221         right after inserting an inset
222
223 2004-11-02  José Matos  <jamatos@lyx.org>
224
225         * output_docbook.C (docbook):
226         * paragraph.C (getID):
227         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
228         garantee that the output is always legal.
229
230         * tabular.C (docbook):
231         * outputprams.[Ch]: remove mixed contents.
232
233 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
234
235         * text2.C (setCounter): prevent endless loop
236
237 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
238
239         * exporter.C (copyFile): use the mover instead of support::copy()
240         * exporter.C (Export): pass format and latex name to copyFile()
241         * exporter.h (addExternalFile): document
242         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
243
244 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
245
246         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
247
248 2004-10-30  José Matos  <jamatos@lyx.org>
249
250         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
251         text and no inset or font change. This allows to use CDATA
252         sections just for the whole paragraph.
253
254 2004-10-30  José Matos  <jamatos@lyx.org>
255
256         * paragraph.C (getFirstWord): remove unused variable.
257
258 2004-10-30  José Matos  <jamatos@lyx.org>
259
260         * paragraph.C (getFirstWord): the content should always be escaped
261         there.
262         (simpleDocBookOnePar):
263         * output_docbook.C (makeEnvironment): replace reference to CDATA
264         to style pass_thru.
265
266 2004-10-30  José Matos  <jamatos@lyx.org>
267
268         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
269
270 2004-10-30  José Matos  <jamatos@lyx.org>
271
272         * output_docbook.C (makeParagraphs):
273         * paragraph.[Ch] (emptyTag): for docbook and company, if the
274         standard paragraph has only a given type of content drop the wrapper.
275
276 2004-10-29  José Matos  <jamatos@lyx.org>
277
278         * output_docbook.C (makeEnvironment):
279         * sgml.C (openTag):
280         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
281
282 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
283
284         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
285         (cleanID): sanitize any id.
286
287 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
288
289         * buffer.C, lyxlex_pimpl.C:
290         * lyxlex_pimpl.C (setFile):
291         s/getExtFromContents/getFormatFromContents/
292
293 2004-10-28  José Matos  <jamatos@lyx.org>
294
295         * output_docbook.C (makeEnvironment): move id to broadest possible
296         scope.
297
298         * sgml.C (openTag): apply substitution of <> for all attributes.
299
300 2004-10-28  José Matos  <jamatos@lyx.org>
301
302         * buffer.C (makeLinuxDocFile, makeDocBookFile):
303         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
304         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
305
306         * sgml.[Ch]: new version for open and closeTag for paragraph and
307         for strings. Now they handle the ids of paragraphs.
308
309 2004-10-26  Angus Leeming  <leeming@lyx.org>
310
311         * Makefile.am: add mover.[Ch].
312
313         * converter.C (convert, move): use the new Movers to move external
314         files to the temp directory.
315
316         * lyx_main.C (init): ensure that the global system_movers data
317         is initialised.
318
319         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
320         preferences file.
321
322         * mover.[Ch]: new files, defining a Mover as a utility to move an
323         external file between directories and, if necessary, manipulate this
324         file using a helper script.
325
326 2004-10-25  José Matos  <jamatos@lyx.org>
327
328         * output_docbook.C (makeCommand): merge two if's that tested the
329         same condition.
330
331 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
332
333         * sgml.C (escapeString): fix warning in a better way
334
335 2004-10-25  José Matos  <jamatos@lyx.org>
336
337         * sgml.C (escapeString): import the require boosts header file for
338         tie, and avoid a signed unsigned comparison.
339
340 2004-10-25  José Matos  <jamatos@lyx.org>
341
342         * sgml.h: add #include <string>
343
344 2004-10-25  José Matos  <jamatos@lyx.org>
345
346         * sgml.[Ch] (escapeString): new function to escape all the string.
347
348 2004-10-24  José Matos  <jamatos@lyx.org>
349
350         * paragraph.[Ch] (getFirstWord): new function to get the first
351         word. Useful for description.
352         (simpleDocBookOnePar): remove depth argument, add another that
353         says where to start the paragraph.
354
355         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
356         use the new functions to fix cleanly the support for descriptions.
357
358 2004-10-24  José Matos  <jamatos@lyx.org>
359
360         * buffer.C (makeLinuxDocFile, makeDocBookFile):
361         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
362         * output_linuxdoc.C (linuxdocParagraphs):
363         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
364         add buffer as argument.
365
366 2004-10-24  José Matos  <jamatos@lyx.org>
367
368         * output_docbook.C (makeEnvironment, searchEnvironment): place
369         CDATA inside paragraphs and fix scope for listitems.
370
371 2004-10-24  José Matos  <jamatos@lyx.org>
372
373         * output_docbook.C: remove using statement for stack.
374
375 2004-10-23  José Matos  <jamatos@lyx.org>
376
377         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
378         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
379         docbook. The new scheme is recursive and makes use of iterators, the
380         same as latex export works.
381         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
382         directly with the paragraph contents. This code was moved up to
383         output_docbook.C (docbookParagraphs).
384         * sgml.C (openTag, closeTag): removed unneeded newlines.
385         (closeEnvTags) removed.
386
387 2004-10-23  André Pönitz  <poenitz@gmx.net>
388
389         * undo.C (textUndoOrRedo):
390         * dociterator.C (asDocIterator): work around crash
391
392         * cursor.C (getStatus): replace ASSERT by more verbose error message
393           and manual correction of the problem. Should increase stability
394           while providing more sensible information.
395
396 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
397
398         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
399
400         * bufferlist.C (previous, next): new methods
401
402         * lfuns.h:
403         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
404
405 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
406
407         * buffer.C (makeDocBookFile): add dsssl stylesheet control
408         entities to preamble.
409
410 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
411
412         * messages.C (Pimpl): strip off translation context information
413
414 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
415
416         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
417         the cursor is correct (bug 1694)
418
419 2004-10-13  José Matos  <jamatos@lyx.org>
420
421         * output_docbook.C (docbookParagraphs): fix closing tags in the
422         end of the document.
423
424 2004-10-09  José Matos  <jamatos@lyx.org>
425
426         * buffer.C: format up to 237.
427         * bufferparams.C (write): use tostr to convert booleans to strings.
428
429 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
430
431         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
432
433 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
434
435         * LaTeX.C: implement use of babel language in xindy.
436
437 2004-10-05  José Matos  <jamatos@lyx.org>
438
439         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
440         Add new translators to help reading and writing the lyx file.
441
442 2004-10-05  José Matos  <jamatos@lyx.org>
443
444         * ParagraphParameters.C (read):
445         * text.C (readParToken): replace nexToken by more appropriate lex
446         methods.
447
448 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
449
450         * LaTeX.C (runMakeIndex):
451         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
452         (usually 'makeindex') configurable.
453
454         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
455         with a variable rather than with a number.
456
457 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
458
459         * output_latex.C (TeXOnePar): make sure font setting is the first
460         thing that gets output (and the last at the end). Should fix bug
461         1404.
462
463 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
464
465         * pch.h: use proper signal include
466
467         * LaTeX.h: Use preferred calling of Boost.Signal
468         * buffer.h: ditto
469
470 2004-09-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
471
472         * pch.h: dont include <boost/function/function0.hpp>
473
474         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
475
476         * paragraph_pimpl.h: remove usage of ShareContainer
477
478         * paragraph_pimpl.C: remove initialization of ShareContainer.
479
480 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
481
482         Fix bug #1666
483
484         * BufferView.C (putSelectionAt): change the semantics when
485         backwards == true: now, this just swaps cursor and anchor wrt the
486         forward case
487
488         * BufferView.h (putSelectionAt): add some documentation
489
490         * lyxfind.C (findBackwards): rewrite using while(). In particular,
491         make sure backwardChar is done at least once (to avoid getting
492         stuck)
493         (findNextChange): use putSelectionAt in the forward direction
494         (operator()): use Paragraph::isWord
495
496 2004-09-16  Lars Gullik Bjonnes  <larsbj@gullik.net>
497
498         * Spacing.C (set): c_str fix
499
500 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501
502         * lyx_cb.C (Reconfigure): quote the name of configure script in
503         case it contains spaces
504
505 2004-09-04  Lars Gullik Bjonnes  <larsbj@gullik.net>
506
507         * client: new dir
508
509         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
510         (BOOST_LIBS): use top_buildir when looking for the file
511
512 2004-08-30  Lars Gullik Bjonnes  <larsbj@gullik.net>
513
514         * pch.h: do not use include boost/format.hpp, multiple symbols
515                 will result (gcc bug)
516
517
518 2004-08-23  José Matos  <jamatos@lyx.org>
519
520         * bufferparams.C (readToken): fix reading of the author field.
521
522 2004-08-20  José Matos  <jamatos@lyx.org>
523
524         * lyxrc.C: remove support/translator.h inclusion since it is not used.
525
526 2004-08-20  José Matos  <jamatos@lyx.org>
527
528         * lyxlex.[Ch] (findToken): remove function.
529
530         * ParagraphParameters.C (findToken):
531         * bufferparams.C (findToken): replace call for previous function
532         with local copy. This local function has one more argument, the
533         read string argument.
534
535 2004-08-16  José Matos  <jamatos@lyx.org>
536
537         * ParagraphParameters.C (write):
538         * Spacing.C (writeFile):
539         * bufferparams.C (writeLaTeX):
540         * lyx_cb.C (Reconfigure):
541         * paragraph.C (write):
542         * tabular.C (write): remove unnecessary space at end of line.
543
544
545 2004-08-16  José Matos  <jamatos@lyx.org>
546
547         * text.C (readParagraph): remove debug message.
548
549 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
550
551         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
552         crash
553
554         * output_plaintext.C (asciiParagraph): set depth correctly
555
556         * outputparams.h: add member depth
557
558         * paragraph_funcs.C (ownerPar): remove.
559
560         * text2.C (setCounter): remove first_pit; comment out some
561         non-working code that uses ownerPar
562
563         * BufferView.C (getParentLanguage): remove. Not used anymore, and
564         uses ownerPar
565
566 2004-08-16  José Matos  <jamatos@lyx.org>
567
568         * text.C (readParToken, readParagraph, read): report all unknown tokens.
569         For the same level of importance use the same chanel to report problems.
570         (read): add code to deal with \begin_body and \end_body.
571
572
573 2004-08-15  José Matos  <jamatos@lyx.org>
574
575         * lyxlex.C (getString): fix comment, buffer::readBody is now
576         buffer:readDocument.
577
578         * tex-strings.C (string_papersize): Default -> default,
579         Custom -> custom, for consistency with other options.
580
581 2004-08-15  Lars Gullik Bjonnes  <larsbj@gullik.net>
582
583         * pch.h: new file
584
585         * Makefile.am: support pch
586
587 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
588
589         * text.C (readParToken): remove the static LyXFont variable and
590         pass it as a parameter instead. This fixes a nasty bug where an
591         inset will be inserted with a bad font in some situations
592         (readParagraph): adapt
593
594         * text2.C (setCounter): reduce number of calls to pars_[pit]
595
596         * text.C (singleWidth): add an assert, fix a test
597
598         * rowpainter.C (paintText): reduce number of calls to singleWidth
599
600         * paragraph.C (isHfill):
601         (isNewline): ws only
602
603 2004-08-14  André Pönitz  <poenitz@gmx.net>
604
605         * text.C:
606         * text2.C:
607         * rowpainter.C:
608         * lyxtext.h (several functions): use a Paragraph & argument
609         instead of par_type
610
611 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
612
613         * metricsinfo.h: add a new field ltr_pos to PainterInfo
614
615         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
616
617         * text.C (singleWidth): remove useless test
618
619 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
620
621         * tabular.h: remove bogus comments
622
623         * tabular.C (getDescentOfRow):
624         (isPartOfMultiColumn): add assertions
625
626         * lyxlength.C (inPixels): remove #warning
627
628 2004-08-14  André Pönitz  <poenitz@gmx.net>
629
630         * paragraph.h: inline getChar()
631
632         * BufferView.h: remove unused declarations
633
634 2004-08-14  José Matos  <jamatos@lyx.org>
635
636         * Buffer.[Ch] (readDocument): new name for old readBody.
637         * Buffer.C: new file format, new keywords: \begin_document,
638         \begin_header, \begin_body, \end_body.
639
640         * bufferparams.C (readToken): replace all calls to lex.nextToken
641         by lex.next(). Do the same to eatLine except where really needed.
642
643         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
644         line when writing to the lyx file.
645
646         * output_plaintext.C (asciiParagraph): fix Bibliography style
647         handling.
648
649         * text.C (read): fix end of file handling.
650
651 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
652
653         * MenuBackend.C (Menu::operator[]): new method to access
654         individual menu items
655         (Menu::hasFunc): new method. search for an item that corresponds
656         to a given func
657         (MenuBackend::specialMenu): new method
658         (MenuBackend::expand): if a special menu has been set, skip
659         entries whose func() appears in this menu
660
661 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
662
663         * text3.C: use Debug::DEBUG a bit more
664
665         * text.C (leftMargin): try to simplify a tiny bit change var x to
666         l_margin. Dont output the wide margins always.
667         (rightMargin): no margin in inner texts
668
669         * rowpainter.h (nestMargin): new func
670         (changebarMargin): new func
671         (rightMargin): new func
672
673         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
674         now functions.
675         (paintLast): ditto
676
677         * factory.C (createInset): modify setDrawFrame
678
679         * cursor.C: use Debug::DEBUG a bit more
680
681 2004-08-14  André Pönitz  <poenitz@gmx.net>
682
683         * coordcache.[Ch]:
684         * Makefile.am: new files to accomodate an 'external' (x,y)-position
685         cache for all insets in (at least partially) visible (top-level)
686         paragraphs.
687
688         * BufferView_pimpl.C: reset external coord cache before every update.
689         This means the coord cache only contains valid entries.
690
691 2004-08-14  Lars Gullik Bjonnes  <larsbj@lyx.org>
692
693         bug 1096
694         * BufferView_pimpl.C (getInsetByCode): move function out of class
695         and change in to a template in anon namespace. Also fix to do what
696         suits us better.
697
698 2004-08-13  Lars Gullik Bjonnes  <larsbj@lyx.org>
699
700         bug 1305
701         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
702         of char
703         (breakParagraph): rename par to par_offset and use a local
704         reference. Add code to keep the language over a rebreak.
705         (breakParagraphConservative): rename par to par_offset, use a
706         local reference
707         (mergeParagraph): ditto
708         (outerHook): ditto
709         (isFirstInSequence): ditto
710         (outerFont): rename pit to par_offset
711
712         * paragraph.C: ws change
713         * paragraph.h: ditto
714         * text3.C: ditto
715         * text.C: ditto
716
717 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
718
719         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
720         treatment for ']'
721
722         * paragraph.C (simpleTeXOnePar): when we have a \item with
723         optional argument, enclose the argument with curly brackets (in
724         case it contains a closing square bracket)
725
726         * text2.C (editXY):
727         * text2.C (editXY):
728         * text3.C (checkInsetHit): constify
729
730 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
731
732         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
733         documents (bug 1629)
734
735 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
736
737         Fix toggling of collapsable insets with the mouse (bug 1558)
738
739         * lyxfunc.C (dispatch): adapt to LCursor changes
740
741         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
742         make sure that dispatch is not invoked twice
743
744         * cursor.C (needsUpdate): new method
745         (dispatch): return void
746         (result): new method, to access the DispatchResult of the cursor.
747
748 2004-08-13  José Matos  <jamatos@lyx.org>
749
750         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
751
752 2004-08-13  André Pönitz  <poenitz@gmx.net>
753
754         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
755
756         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
757           multiple cells
758
759 2004-08-12  André Pönitz  <poenitz@gmx.net>
760
761         * text3.C: take out the 'cursor right' form insertInset and only
762         do it in those places when it is really needed. Fixes crash on
763         C-m...
764
765 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
766
767         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
768
769         * BufferView_pimpl.C (setBuffer): initialize the current font of
770         the underlying LyXText
771
772 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
773
774         * kbsequence.C (print): use UI native formatting for menu
775         shortcuts
776
777         * text.C (insertChar): call Paragraph::insertChar with a font
778         argument (cosmetic)
779
780         * paragraph.C (insertInset, insertChar): the version that takes a
781         LyXFont argument is now a wrapper around the other one (the
782         opposite used to be true).
783
784         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
785         argument. Font setting is done in Paragraph now.
786
787 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
788
789         * outputparams.h: add new members intitle and lang.
790
791         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
792         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
793
794 2004-08-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
795
796         * text3.C (dispatch): remove special handling of button 4 and 5,
797         it is now taken care of in the frontend code.
798
799 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
800
801         * Spacing.h: add <string> (STLPort compile fix)
802
803 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
804
805         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
806
807 2004-07-25  Lars Gullik Bjonnes  <larsbj@gullik.net>
808
809         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
810         to bool.
811
812         * converter.C (showMessage): inherit from unary_function, make
813         operator() const.
814
815         * buffer.C (writeFile): initialize retval
816
817         * InsetList.h: rename private variable list to list_
818         * InsetList.[Ch]: adjust accordingly.
819
820 2004-07-24  Lars Gullik Bjonnes  <larsbj@gullik.net>
821
822         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
823         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
824         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
825         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
826         * ParagraphParameters.C, LaTeXFeatures.C: replace
827         "support/std_sstream.h" with <sstream>
828
829 2004-07-23  Lars Gullik Bjonnes  <larsbj@gullik.net>
830
831         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
832         * lyxsocket.C (LyXServerSocket): ditto
833         (serverCallback): ditto
834
835 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
836
837         * LaTeXFeatures.C: check release date when loading jurabib.
838
839 2004-07-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
840
841         * lyxserver.C (startPipe): call register_socket_callback
842         (endPipe): call unregister_socket_callback
843
844 2004-07-21  Lars Gullik Bjonnes  <larsbj@gullik.net>
845
846         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
847         (LyXServerSocket): register the callback
848         (LyXServerSocket): unregister the callback
849         (fd): delete function
850         (serverCallback): improve error checking and setup the callbacks.
851         (dataCallback): change arg to fd.
852         (writeln): new func (copied fro the client socket) used for server
853         write to client.
854         (LyXDataSocket): simplify
855         (~LyXDataSocket): close ann unregiser callback
856         (server): delete function
857         (fd): delete function
858         (readln): small changes, improve some std::string usage
859         (writeln): constify a bit
860
861 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
862
863         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
864         Qt frontend
865
866 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
867
868         * BufferView_pimpl.C (setBuffer): set the layout combox value only
869         after it has been populated
870
871 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
872
873         * text2.C (insertInset): move cursor when inserting inset.
874
875 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
876
877         * kbmap.C (findbindings): a couple of new methods. returns a
878         container of kb_sequence objects. The real work is done by the
879         private recursive version
880         (printbindings): uses findbindings to print out a bracketed list
881         of bindings (renamed from findbinding).
882
883         * MenuBackend.C (binding): use kb_keymap::findbindings
884
885         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
886
887 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
888
889         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
890
891 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
892
893         * paragraph.C (isWord): return true on insets that report
894         isLetter().
895
896         * text.C (getWord): use Paragraph::isWord to decide what is in a
897         word and what is not; fix bug 1609.
898
899 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
900
901         * tex-strings.C: add "none" to string_paperpackages[], fixes
902         off-by-one-error in the paperpackage selection.
903
904         * lyxlex.[Ch]:
905         * tex-strings.[Ch]: char const * string[n]
906         -> char const * const string[]
907
908 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
909
910         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
911         command, return early.
912
913 2004-06-18  Lars Gullik Bjonnes  <larsbj@gullik.net>
914
915         * debug.h: add DEBUG to enum and fix size of ANY.
916
917         * debug.C: add support for Debug::DEBUG
918         (showTags): cast errorTags.level to unsigned int
919
920         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
921         (redoCurrentBuffer): ditto
922         (updateScrollbar): ditto
923         * cursor.C (dispatch): ditto
924         * text2.C (setLayout): ditto
925         (setFont): ditto
926         (updateCounters): ditto
927         (editXY): ditto
928         (deleteEmptyParagraphMechanism): ditto
929
930 2004-06-09  Lars Gullik Bjonnes  <larsbj@gullik.net>
931
932         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
933         annotations to cleanup the Makefile slightly.
934
935 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
936
937         * lyxrc.C: do not set user_email to a default value but use empty
938         instead. The entry used to be translated, which does not work
939         since at the point where lyxrc is constructed there is no
940         translation service available
941
942         * messages.C (getLocaleDir): remove and use directly
943         lyx_localedir() instead
944
945 2004-06-02  Angus Leeming  <leeming@lyx.org>
946
947         Fix crash caused by dereferencing null pointer 'exportdata' in
948         OutputParams by creating a new ExportData variable on the heap,
949         storing it in a boost::shared_ptr.
950         The crash was triggered when generating an Instant Preview
951         of an external inset.
952
953         * Makefile.am: add outputparams.C
954
955         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
956         (c-tor): allocate memory to it.
957
958         * exporter.C (c-tor): associated changes.
959
960 2004-06-01  Angus Leeming  <leeming@lyx.org>
961
962         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
963         contains data before calling isInset(0). (Bug 1513.)
964
965 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
966
967         * exporter.C (checkOverwrite): new method
968         * exporter.C (copyFile): new method
969         * exporter.C (Export): copy referenced files to the document dir
970         * exporter.[Ch]: new class ExportedFile
971         * exporter.[Ch]: new class ExportData. Contains currently the
972         names of referenced external files
973         * outputparams.h: add exportdata member.
974
975 2004-05-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
976
977         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
978         version.C-tmp
979
980 2004-05-19  Angus Leeming  <leeming@lyx.org>
981
982         * LaTeXFeatures.C:
983         * ToolbarBackend.C:
984         * bufferparams.C:
985         * lyxfunc.C: small changes due to the introduction of namespace
986         lyx::frontend and the moving of namespace biblio to lyx::biblio.
987
988 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
989
990         * text3.C (dispatch): supress update when only moving the cursor
991         * cursor.C (selHandle): remove commented code
992
993 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
994
995         * paragraph.C (startTeXParParams): correct column count
996         * CutAndPaste.C (pasteSelection): remove const_cast
997         * output_docbook.C (docbookParagraphs): remove const_cast
998         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
999         const_cast and return ParagraphList::const_iterator
1000         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1001         * output_plaintext.C (writeFileAscii): remove const_cast
1002         * paragraph.[Ch] (simpleTeXOnePar): make const
1003         * paragraph_funcs.C (outerPar): use const iterators
1004         * paragraph_pimpl.C (validate): use const iterators
1005         * text.C (setHeightOfRow): use const iterators
1006
1007 2004-05-17  Angus Leeming  <leeming@lyx.org>
1008
1009         * lfuns.h:
1010         * LyXAction.C (init): new LFUN_INSET_REFRESH.
1011
1012         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1013         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1014         if the citation engine has changed.
1015
1016 2004-05-14  José Matos  <jamatos@lyx.org>
1017
1018         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1019         if the textclass does not provide it. Have it different for sgml and
1020         xml.
1021         support the language of document.
1022         * output_docbook.C (docbookParagraphs):
1023         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1024         first anchor as the id of the paragraph, remove special case code.
1025         * sgml.C (escapeChar): escape only < & >.
1026
1027 2004-05-14  Angus Leeming  <leeming@lyx.org>
1028
1029         * bufferparams.h: move biblio::CiteEngine enum here to minimize
1030         dependencies on src/frontends/controllers/biblio.h. Define a
1031         CiteEngine_enum wrapper class to enable the enum to be forward
1032         declared.
1033
1034 2004-05-12  Angus Leeming  <leeming@lyx.org>
1035
1036         * buffer.C: up LYX_FORMAT to 234.
1037         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1038         use_numerical_citations with a single biblio::CiteEngine cite_engine
1039         variable.
1040         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1041
1042 2004-05-13  José Matos  <jamatos@lyx.org>
1043
1044         * converter.h:
1045         * converter.C (Converter, readFlags): add xml member.
1046         * outputparams.h: add XML flavor.
1047         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1048
1049 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1050
1051         * lyxfunc.C (dispatch):
1052         (getStatus): fix handling of LFUN_SEQUENCE
1053
1054 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1055
1056         * debug.C (showLevel): do not forget the end-of-line marker
1057
1058 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1059
1060         * kbmap.C (read): do not stop parsing a bind file when an error
1061         occurs (bug 1575)
1062
1063 2004-04-29  Angus Leeming  <leeming@lyx.org>
1064
1065         * cursor.C:
1066         * factory.C:
1067         * pariterator.C:
1068         * text2.C: wrap a bunch of #warning statements
1069         inside #ifdef WITH_WARNINGS blocks.
1070
1071 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1072
1073         * buffer.C: increment format to 233.
1074
1075 2004-04-28  Angus Leeming  <leeming@lyx.org>
1076
1077         * BufferView_pimpl.C:
1078         * lyxfunc.C:
1079         * text3.C:
1080         s/updateToolbar()/updateToolbars()/
1081         s/Toolbar.h/Toolbars.h/
1082
1083 2004-04-28  Angus Leeming  <leeming@lyx.org>
1084
1085         * BufferView.[Ch] (c-tor):
1086         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1087         No longer passes these data to the WorkArea generator.
1088
1089 2004-04-28  Angus Leeming  <leeming@lyx.org>
1090
1091         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1092
1093 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1094
1095         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1096
1097 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1098
1099         * output_latex.C (TeXEnvironment): make sure that there is a line
1100         break before \end{foo} for the last paragraph of a document
1101         (TeXOnePar): if the paragraph is at the end of the document (or
1102         inset) and the language has to be reset, then make sure that the
1103         line break is _before_ the language command, not after (fixes bug
1104         1225); also make sure that the language reset command is the first
1105         thing after the paragraph (to ensure proper nesting of
1106         environments and thus fix bug 1404)
1107
1108 2004-04-21  John Levon  <levon@movementarian.org>
1109
1110         * ToolbarBackend.h:
1111         * ToolbarBackend.C: make "name" be a programmatic name
1112         and a gui_name field.
1113
1114         * lyxfunc.C: display the minibuffer on M-x
1115
1116 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1117
1118         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1119         (bug 1526)
1120
1121 2004-04-19  Angus Leeming  <leeming@lyx.org>
1122
1123         * BufferView_pimpl.C (setBuffer): changed preview interface.
1124
1125         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1126         possible values.
1127
1128 2004-04-19  John Levon  <levon@movementarian.org>
1129
1130         * BufferView_pimpl.C:
1131         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1132
1133 2004-04-05  Angus Leeming  <leeming@lyx.org>
1134
1135         * text.C (redoParagraphs): add call to updateCounters(), thereby
1136         fixing the missing "Figure #:" label from the caption of a
1137         figure float.
1138
1139 2004-04-13  Angus Leeming  <leeming@lyx.org>
1140
1141         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1142         cursor is clicked out of an inset.
1143
1144 2004-04-13  Angus Leeming  <leeming@lyx.org>
1145
1146         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1147         than an InsetOld one.
1148
1149 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1150
1151         * format.[Ch]: add editor to Format
1152         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1153         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1154
1155 2004-04-08  André Pönitz  <poenitz@gmx.net>
1156
1157         * metricsinfo.h: remove PainterInfo::width member
1158
1159 2004-04-08  Angus Leeming  <leeming@lyx.org>
1160
1161         * lyx_sty.C (boldsymbol_def): modify so that it outputs
1162         "\providecommand" rather than "\newcommand", thereby preventing
1163         clashes with packages that define "\boldsymbol" themselves.
1164         Eg, beamer.
1165
1166 2004-04-08  Angus Leeming  <leeming@lyx.org>
1167
1168         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1169         thereby squashing an unnecessary warning.
1170
1171 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1172
1173         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1174         setBuffer()
1175
1176 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
1177
1178         * BufferView.C (setCursor): call redoParagraph (some insets could
1179         have been opened)
1180         (putSelectionAt): remove the 'double update' trick
1181
1182         * BufferView_pimpl.C (fitCursor): call refreshPar
1183         (workAreaDispatch): remove an uneeded update call
1184         (dispatch): remove some manual update calls
1185
1186         * cursor.[Ch]: remove cached_y_, updatePos
1187         (selHandle): set noUpdate when appropriate
1188
1189         * lyxfunc.C (dispatch): track if we need an update
1190
1191         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1192
1193         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1194         (paintSelection): cheap optimization, do not call cursorX when not
1195         needed
1196         (paintPars): change signature
1197         (refreshPar): add
1198         (paintText): adjust
1199         (paintTextInset): adjust
1200
1201         * text.C: adjust
1202
1203 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1204
1205         * lengthcommon.C: compilation fix: remove explicit array size from
1206         unit_name[] and friends
1207
1208 2004-04-05  Angus Leeming  <leeming@lyx.org>
1209
1210         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1211
1212         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1213         present only for the preferences dialog.
1214         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1215
1216 2004-04-05  Angus Leeming  <leeming@lyx.org>
1217
1218         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1219         to enable the frontends to export changes to lyxrc correctly.
1220
1221         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1222
1223 2004-04-07  André Pönitz  <poenitz@gmx.net>
1224
1225         * cursor.[Ch] (selClear, adjust): remove math
1226
1227         * cursor_slice.C: more agressive assert
1228
1229         * lyxfunc.C:
1230         * BufferView_pimpl.C: rework mouse event dispatch
1231
1232         * dociterator.C:
1233         * paragraph.C:
1234         * text2.C:
1235         * text3.C: adjust
1236
1237 2004-04-05  André Pönitz  <poenitz@gmx.net>
1238
1239         * cursor.[Ch] (valign, halign...): remove unneeded functions
1240
1241 2004-04-05  Angus Leeming  <leeming@lyx.org>
1242
1243         * lyxlength.[Ch] (unit_name et al.): const-correct.
1244
1245 2004-04-05  Angus Leeming  <leeming@lyx.org>
1246
1247         * BufferView_pimpl.C:
1248         * buffer.C:
1249         * counters.C:
1250         * cursor.C:
1251         * lyxfunc.C
1252         * paragraph.C:
1253         * pariterator.C:
1254         * text.C:
1255         * text2.C:
1256         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1257
1258 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1259
1260         * text3.C (getStatus): add LFUN_BEGINNINGBUF
1261
1262 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1263
1264         * lyxfind.C: add a couple of inTexted() tests + other small fixes
1265         * BufferView_pimpl.[Ch] (getStatus)
1266         * BufferView.[Ch] (getStatus): add
1267         * lyxfunc.C (getStatus): move lfuns handled in
1268         BufferView::dispatch to te function above
1269         * Cursor.C (setSelection): set selection() = true
1270
1271 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
1272
1273         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1274
1275 2004-03-31  Angus Leeming  <leeming@lyx.org>
1276
1277         * lyxfunc.C (dispatch): Fall through to the generic
1278         Dialogs::show("preamble").
1279
1280 2004-03-31  Angus Leeming  <leeming@lyx.org>
1281
1282         * lyxfunc.C (dispatch): Fall through to the generic
1283         Dialogs::show("spellchecker").
1284
1285 2004-03-31  Angus Leeming  <leeming@lyx.org>
1286
1287         * lyxfunc.C (getStatus, dispatch): changed invocation of the
1288         preferences dialog.
1289
1290 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1291
1292         * BufferView.C
1293         * cursor.[Ch]
1294         * dociterator.[Ch]:
1295         * insetiterator.[Ch]:
1296         * lyxfind.C:
1297         * lyxfunc.C:
1298         * pariterator.[Ch]:
1299         * text2.C:
1300         * undo.[Ch]: s/DocumentIterator/DocIterator/g
1301
1302 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
1303
1304         * BufferView.C (setCursor, putSelectionAt): call edit to open the
1305         insets where we are putting the cursor.
1306
1307 2004-03-31  Angus Leeming  <leeming@lyx.org>
1308
1309         * lfuns.h:
1310         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1311
1312         * lyxrc.[Ch] (read, write): overloaded member functions taking
1313         a std::[io]stream arguments.
1314
1315         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1316
1317 2004-03-31  Angus Leeming  <leeming@lyx.org>
1318
1319         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1320         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1321
1322         * lyxtextclass.C (load): if the text class couldn't be loaded, then
1323         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1324
1325 2004-03-31  Angus Leeming  <leeming@lyx.org>
1326
1327         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1328         the LFUN_ALL_INSETS_TOGGLE code.
1329
1330 2004-03-30  Angus Leeming  <leeming@lyx.org>
1331
1332         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1333         has died. Fall through to the generic Dialogs::show("document").
1334
1335 2004-03-30  Angus Leeming  <leeming@lyx.org>
1336
1337         * lfuns.h:
1338         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1339         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1340
1341         * lyxfunc.C (getStatus, dispatch): define the actions for these
1342         lfuns. Little more than a cut and pste job from ControlDocument.C
1343
1344         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1345
1346 2004-03-30  Angus Leeming  <leeming@lyx.org>
1347
1348         * lfuns.h:
1349         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1350         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1351
1352         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1353         open/closed state of ollapsable insets. Usage:
1354
1355         all-inset-toggle <state> <name>, where
1356         <state> == "open" || "closed" || "toggle" and
1357         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1358
1359         * lyxtext.h, text2.C (toggleInset): removed.
1360
1361         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1362         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1363         now passes LFUN_INSET_TOGGLE to the found inset.
1364
1365         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1366         is now invoked as "all-insets-toggle toggle branch".
1367
1368 2004-03-30  Angus Leeming  <leeming@lyx.org>
1369
1370         * dociterator.C:
1371         * insetiterator.C:
1372         * pariterator.[Ch]: added/corrected header blurb.
1373
1374 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
1375
1376         * dociterator.[Ch]: add an inset_ member
1377         (backwardPos): implemented
1378         (backwardPos, forwardPos): use inset_ when the stack is empty.
1379         (doc_iterator_begin, doc_iterator_end): implemented
1380         * pariterator.[Ch]: adjust, add begin, end
1381         * insetiterator.[Ch]: adjust, add begin, end
1382         * cursor.C:
1383         * document.C:
1384         * BufferView.C:
1385         * BufferView_pimpl.C:
1386         * CutAndPaste.C: adjust
1387
1388 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1389
1390         * buffer.C: increment file format to 232.
1391         * LaTeXFeatures.C: add bibtopic package.
1392         * bufferparams.[Ch]: param \use_bibtopic.
1393
1394         * lyxrc.[Ch]: add lyxrc bibtex_command
1395         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1396
1397         * buffer.C: increment file format to 231.
1398
1399 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1400
1401         * dociterator.C: implement forwardPar
1402         * iterators.[Ch]: remove, replaced by
1403         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1404         * BufferView.C:
1405         * BufferView_pimpl.C:
1406         * CutAndPaste.C:
1407         * buffer.C:
1408         * bufferview_funcs.C:
1409         * cursor.C:
1410         * lyxfind.C
1411         * lyxfunc.C
1412         * paragraph_funcs.C
1413         * toc.C:
1414         * Makefile.am: adjust
1415
1416 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
1417
1418         * CutAndPaste.C (pasteSelection): fix 2 crashes
1419         (eraseSelection): fix a crash
1420         * paragraph_funcs.C: remove a warning
1421
1422 2004-03-28  Angus Leeming  <leeming@lyx.org>
1423
1424         * lfuns.h:
1425         * LyXAction.C (init): new LFUN_PRINT.
1426
1427         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1428
1429 2004-03-27  Angus Leeming  <leeming@lyx.org>
1430
1431         * lfuns.h:
1432         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1433
1434         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1435
1436 2004-03-27  Angus Leeming  <leeming@lyx.org>
1437
1438         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1439         insetlist always contains non-null pointers to insets.
1440
1441 2004-03-26  Angus Leeming  <leeming@lyx.org>
1442
1443         * src/BufferView_pimpl.C:
1444         * src/CutAndPaste.C:
1445         * src/buffer.C:
1446         * src/iterators.C:
1447         * src/output_plaintext.C:
1448         * src/outputparams.h:
1449         * src/paragraph_funcs.C:
1450         * src/rowpainter.C:
1451         * src/text.C:
1452         * src/text2.C:
1453         * src/frontends/controllers/ControlErrorList.C:
1454         * src/frontends/gtk/FileDialogPrivate.C:
1455         * src/frontends/gtk/GPainter.C:
1456         * src/frontends/gtk/GToolbar.C:
1457         * src/frontends/qt2/QRef.C:
1458         * src/mathed/math_scriptinset.C: squash compiler warnings.
1459
1460 2004-03-26  Angus Leeming  <leeming@lyx.org>
1461
1462         * ispell.C (LaunchIspell::start):
1463         * lyx_cb.C (AutoSaveBuffer::start):
1464         invoke run(DontWait) rather than runNonBlocking().
1465
1466 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
1467
1468         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1469
1470 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1471
1472         * kbsequence.C (print): adjust
1473
1474         * kbmap.C (printKeySym): rename and change signature
1475         (printKey): use LyXKeySym::print()
1476
1477 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
1478
1479         * undo.C: add using std::advance to compile for stlport
1480
1481 2004-03-24  Angus Leeming  <leeming@lyx.org>
1482
1483         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1484         it leads to a crash when no buffer is present.
1485
1486 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1487             Martin Vermeer  <martin.vermeer@hut.fi>
1488
1489         * lyxfunc.C (dispatch):
1490         * bufferparams.C (readToken): use the new LColor::setColor
1491
1492         * LColor.[Ch] (setColor): new version that takes two strings as
1493         argument and creates a new color entry if necessary
1494
1495 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1496
1497         * buffer.C (makeLaTeXFile): if the main latex file that is
1498         processed is usually a subdocument of some master, then pretend
1499         for a while that it is actually the master
1500
1501 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
1502
1503         * buffer.C (getLabelList):
1504         (getBibkeyList): use getMasterBuffer()
1505         (getMasterBuffer): new method. Returns the main document in the
1506         case where one is using included documents.
1507
1508 2004-03-25  André Pönitz  <poenitz@gmx.net>
1509
1510         * Makefile.am:
1511         * iterators.[Ch]:
1512         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1513
1514         * ParagraphList_fwd.h: change ParagraphList to a std::vector
1515
1516         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1517         text*.C over here. Rename namespace CutAndPaste to lyx::cap
1518
1519         * ParameterStruct.h: merge with ParagraphParameters
1520
1521         * lyxtext.h: remove LyXText::parOffset() and getPar()
1522
1523         * text3.C: Remove all 'manual' update calls. We do now one per user
1524         interaction which is completely sufficient.
1525
1526         * Bidi.C:
1527         * BufferView.[Ch]:
1528         * BufferView_pimpl.C:
1529         * FontIterator.[Ch]:
1530         * MenuBackend.C:
1531         * ParagraphParameters.[Ch]:
1532         * buffer.C:
1533         * buffer.h:
1534         * bufferlist.C:
1535         * cursor.[Ch]:
1536         * cursor_slice.[Ch]:
1537         * dociterator.[Ch]:
1538         * errorlist.[Ch]:
1539         * factory.C:
1540         * lfuns.h:
1541         * lyxfind.C:
1542         * lyxfunc.C:
1543         * output_docbook.[Ch]:
1544         * output_latex.[Ch]:
1545         * output_linuxdoc.[Ch]:
1546         * output_plaintext.[Ch]:
1547         * paragraph.[Ch]:
1548         * paragraph_funcs.[Ch]:
1549         * paragraph_pimpl.[Ch]:
1550         * rowpainter.C:
1551         * tabular.[Ch]:
1552         * text.C:
1553         * text2.C:
1554         * toc.C:
1555         * undo.[Ch]: adjust
1556
1557         * frontends/controllers/ControlDocument.C:
1558         * frontends/controllers/ControlErrorList.C:
1559         * frontends/controllers/ControlSpellchecker.C:
1560         * insets/inset.C:
1561         * insets/inset.h:
1562         * insets/insetbase.h:
1563         * insets/insetbibitem.C:
1564         * insets/insetbox.C:
1565         * insets/insetbranch.C:
1566         * insets/insetcaption.C:
1567         * insets/insetcharstyle.C:
1568         * insets/insetcharstyle.h:
1569         * insets/insetcollapsable.C:
1570         * insets/insetcollapsable.h:
1571         * insets/insetert.C:
1572         * insets/insetfloat.C:
1573         * insets/insetfoot.C:
1574         * insets/insetmarginal.C:
1575         * insets/insetnote.C:
1576         * insets/insetoptarg.C:
1577         * insets/insettabular.C:
1578         * insets/insettext.C:
1579         * insets/insettext.h:
1580         * insets/insetwrap.C:
1581         * mathed/math_mboxinset.C:
1582         * mathed/math_nestinset.C:
1583         * mathed/math_scriptinset.C:
1584         * mathed/math_scriptinset.h:
1585         * support/types.h:
1586
1587 2004-03-24  Angus Leeming  <leeming@lyx.org>
1588
1589         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1590         deal with any child processes that have finished but are waiting to
1591         communicate this fact to the rest of LyX.
1592
1593 2004-03-24  Angus Leeming  <leeming@lyx.org>
1594
1595         64-bit compile fixes.
1596
1597         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1598         (c-tor): pass lyx::pos_types rather than ints.
1599
1600         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1601         lyx::pos_type.
1602
1603         * text.C (Delete): compile fix.
1604         (getPar): ensure that function declaration is the same as that in
1605         the header file.
1606
1607 2004-03-23  Angus Leeming  <leeming@lyx.org>
1608
1609         * ispell.C (LaunchIspell):
1610         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1611         a boost::shred_ptr rather than a std::auto_ptr.
1612
1613 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1614
1615         * lyxfunc.C (getStatus): handle read-only buffers correctly;
1616         handle LFUN_FILE_INSERT_*
1617
1618         * lyxrc.C (setDefaults, getDescription, output, read):
1619         * lyxrc.h: remove ps_command
1620
1621 2004-03-22  Angus Leeming  <leeming@lyx.org>
1622
1623         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1624         Ensure that error_handler is processed once only and that all data
1625         is saved before attempting to output any warning messages.
1626
1627         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1628
1629 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
1630
1631         * tabular.C (TeXRow): crash fix (from Kayvan and André)
1632
1633 2004-03-19  André Pönitz  <poenitz@gmx.net>
1634
1635         * cursor.[Ch] (reset): take main text inset as argument
1636
1637         * BufferView: adjust
1638         * BufferView_pimpl.C: adjust
1639
1640         * paragraph.[Ch]: fix completely broken operator=()
1641
1642 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1643
1644         * LColor.C (getFromLyXName): make sure that the color name is used
1645         as lowercase.
1646
1647 2004-03-17  Angus Leeming  <leeming@lyx.org>
1648
1649         * lfuns.h:
1650         * LyXAction.C (init): remove LFUN_FORKS_KILL.
1651
1652         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1653         dialog and to kill a forked process.
1654
1655 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1656
1657         * text2.C (setCursorFromCoordinates): fix font problem
1658
1659 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
1660
1661         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1662         bogus "rebuild cursor" code
1663
1664 2004-03-11  André Pönitz  <poenitz@gmx.net>
1665
1666         * buffer.[Ch]: use InsetText instead of LyXText as container for
1667         the main lyx text.
1668
1669         * dociterator.[Ch]: drop the BufferView * member which is not needed
1670         anymore after the change to buffer.C
1671
1672         * paragraph_funcs.C:
1673         * text.C:
1674         * text2.C:
1675         * BufferView.[Ch]:
1676         * BufferView_pimpl.[Ch]:
1677         * cursor.[Ch]:
1678         * cursor_slice.[Ch]: adjust
1679
1680         * text3.C: fix bug in mathDispatch
1681
1682 2004-03-08  André Pönitz  <poenitz@gmx.net>
1683
1684         * undo.[Ch]: use 'StableDocumentIterator' as base for
1685         the Undo struct.
1686
1687 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1688
1689         * LaTeXFeatures.C:
1690         * bufferparams.[Ch]: add jurabib support and param.
1691
1692         * LaTeX.C: add FIXME/comment.
1693
1694 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1695
1696         * buffer.C: increment file format to 230.
1697
1698 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
1699
1700         * cursor.C (dispatch): avoid infinite loops
1701
1702 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1703
1704         * rowpainter.C (paintSelection): fix x coordinates
1705
1706 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1707
1708         * text.C (rowBreakPoint): fix breaking before displayed insets
1709
1710 2004-03-01  André Pönitz  <poenitz@gmx.net>
1711
1712         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1713
1714         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1715
1716         * Makefile.am:
1717         * BufferView.C:
1718         * BufferView_pimpl.C:
1719         * buffer.C:
1720         * lyxfind.C:
1721         * lyxfunc.C:
1722         * text.C:
1723         * text2.C:
1724         * text3.C: adjust
1725
1726 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1727
1728         * lyxtext.h:
1729         * text.C:
1730         * text2.C:
1731         * rowpainter.C:
1732         * BufferView_pimpl.C: rename textwidth -> maxwidth,
1733         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1734
1735 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1736
1737         * Bidi.[Ch] (computeTables): const correctness
1738         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1739         fill_hfill, fill_label_hfill and x from Row
1740         * lyxtext.h: prepareToPrint returns a RowMetrics
1741         * rowPainter.C: adjust
1742         * text.C (prepareToPrint): use width, not textWidth. adjust
1743         (redoParagraphInternal, cursorX): adjust
1744         * text2.C (getColumnNearX): adjust
1745         (init): put a default value to the top LyXText::width
1746
1747 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1748
1749         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1750
1751 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
1752
1753         * lyxtext.h: add FontIterator class
1754
1755         * text.C (FontIterator, operator*, operator->, operator++): add
1756         (rowBreakPoint, setRowWidth): adjust (fixing a
1757         rebreaking bug)
1758
1759 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1760
1761         * BufferView_pimpl.C (workAreaDispatch): allow also
1762         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1763
1764 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
1765
1766         * text.C (rowBreakPoint): fix a bug showing with very large insets
1767
1768 2004-02-25  André Pönitz  <poenitz@gmx.net>
1769
1770         * text3.C:
1771         * cursor.[Ch]: move some mathed specific code to mathed
1772
1773 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1774
1775         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1776         use_tempdir in preferences
1777         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1778         tempfile creation
1779         * lyx_main.C: ensure that tempdir is valid
1780         * lyxlex.h: correct typo
1781         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1782         * paragraph.[Ch] (isMultiLingual): make const
1783         * cursor.[Ch] (openable): make const
1784
1785 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1786
1787         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1788
1789 2004-02-20  André Pönitz  <poenitz@gmx.net>
1790
1791         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1792
1793         * cursor.[Ch]: prepare for localized getStatus()
1794
1795         * lyxtext.h:
1796         * tabular.C:
1797         * text.C:
1798         * text2.C:
1799         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
1800
1801 2004-02-20  André Pönitz  <poenitz@gmx.net>
1802
1803         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1804
1805 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1806
1807         * text2.C (setCursorFromCoordinates): switch to absolute coords
1808         (cursorUp): adjust
1809         (cursorDown): adjust
1810         * text3.C (dispatch): adjust
1811
1812 2004-02-16  André Pönitz  <poenitz@gmx.net>
1813
1814         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1815           insets/ChangeLog)
1816
1817         * cursor_slice.[Ch]: remove unneeded acessor function
1818
1819         * lyxtext.h: rename rtl() to isRTL()
1820
1821         * rowpainter.C:
1822         * tabular.C:
1823         * text.C:
1824         * text2.C:
1825         * text3.C: adjust
1826
1827 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
1828
1829         * rowpainter.C (paintSelection): coord fix
1830
1831 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
1832
1833         * Spacing.C: compile fix
1834
1835 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1836
1837         * cursor.C (dispatch): restore current_ before returning
1838
1839 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
1840
1841         * text2.C (cursorUp, cursorDown): fix coords
1842         (moveUp): fix crash
1843
1844 2004-02-12  André Pönitz  <poenitz@gmx.net>
1845
1846         * lyxtext.h:
1847         * text.C:
1848         * text2.C:
1849         * text3.C: add LCursor & parameter to most cursor movement functions
1850           remove usage of LyXText::cursorRow() and cursorPar()
1851
1852         * cursor.[Ch]: add textRow() needed members
1853
1854         * BufferView.C:
1855         * BufferView_pimpl.C:
1856         * paragraph.[Ch]:
1857         * BufferView.C:
1858         * BufferView_pimpl.C: adjust
1859
1860 2004-02-11  André Pönitz  <poenitz@gmx.net>
1861
1862         * lyxfunc.C:
1863         * BufferView.[Ch]:
1864         * BufferView_pimpl.C: shift undo/redo handling
1865
1866         * cursor.[Ch]: fix mathed crash
1867
1868         * lyxfind.C:
1869         * lyxtext.h: move selectionAsText to LCursor
1870
1871         * output_latex.C:
1872         * paragraph.C:
1873         * text.C:
1874         * text2.C:
1875         * text3.C: adjust
1876
1877         * rowpainter.C: fix excessive drawing
1878
1879 2004-02-06  André Pönitz  <poenitz@gmx.net>
1880
1881         * BufferView.[Ch]:
1882         * BufferView_pimpl.[Ch]:
1883         * text3.C: move some text specific LFUN handling
1884
1885 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
1886
1887         * text3.C (checkInsetHit): adjust coords
1888         * text2.C (getColumnNearX): adjust coords
1889         (edit): adjust coords
1890         * text.C (getRowNearY): add two asserts
1891
1892 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
1893
1894         * converter.C:
1895         * format.C: add using std::distance to compile on gcc 2.95/stlport
1896
1897 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
1898
1899         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1900
1901 2004-02-04  André Pönitz  <poenitz@gmx.net>
1902
1903         * BufferView.[Ch] (insertInset):
1904         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1905
1906         * text2.C:
1907         * text3.C: adjust
1908
1909 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1910
1911         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1912         on the default clause of the switch
1913         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1914         wasn't catched by LCursor::dispatch
1915
1916 2004-02-03  André Pönitz  <poenitz@gmx.net>
1917
1918         * BufferView.C:
1919         * cursor.[Ch]: some additional asserts
1920
1921         * undo.[Ch]: remove LyXText dependency in interface
1922
1923         * lyxfunc.C: adjust
1924
1925         * lyxtext.h (firstPar, lastPar): remove dead functions
1926
1927         * text.C:
1928         * text2.C:
1929         * text3.C:
1930         * paragraph.[Ch]: adjust
1931
1932 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
1933
1934         * lyxfind.C (find): fix argument order in call to ::find
1935
1936 2004-02-02  André Pönitz  <poenitz@gmx.net>
1937
1938         * cursor.[Ch]: remove direct access to anchor
1939
1940         * text.C: remove findText() hack
1941
1942 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1943
1944         * iterators.[Ch] (lockPath): remove in favour of...
1945         * BufferView.[Ch] (setCursor): this addition
1946         * BufferView.C (putSelectionAt): adjust
1947         * undo.C (performUndoOrRedo): adjust
1948         * lyxfunc.C (dispatch): adjust
1949
1950 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
1951
1952         * iterators.C (lockPath): add a missing slice
1953         * undo.C (performUndoOrRedo): remove redundant positioning code
1954
1955 2004-02-01  Lars Gullik Bjonnes  <larsbj@gullik.net>
1956
1957         * vc-backend.C (scanMaster): ";" -> ';'
1958
1959 2004-01-31  Lars Gullik Bjonnes  <larsbj@gullik.net>
1960
1961         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1962         std::binary_function
1963
1964         * lyxtextclass.C (compare_name): rename to...
1965         (LayoutNamesEqual): ...this
1966
1967         * lyxlex_pimpl.C (compare_tags): inherit from
1968         std::binary_function, put back into anon namespace
1969
1970         * lyxfind.C (MatchString): inherig from std::binary_function
1971         (findChange): use empty() istead of !size()
1972
1973         * format.C (FormatNamesEqual): new functor
1974         (getFormat): use it
1975         (getNumber): use it
1976         (add): use it
1977         (erase): use it
1978         (setViewer): use it
1979
1980         * converter.C (compare_Converter): rename to...
1981         (ConverterEqual): ...this, and fixup a bit.
1982         (getConverter): use it, and make function const
1983         (getNumber): use it, and make function const
1984         (add): use it
1985         (erase): use it:
1986
1987         * bufferlist.C: add using boost::bind
1988
1989         * MenuBackend.C (MenuNamesEqual): new functor
1990         (hasMenu): use it, and make function const
1991         (hasSubmenu): use nested bind to get rid of compare_memfun.
1992
1993 2004-01-30  André Pönitz  <poenitz@gmx.net>
1994
1995         * BufferView_pimpl.C:
1996         * cursor.C:
1997         * cursor.h:
1998         * cursor_slice.[Ch]:
1999         * lyxfunc.C:
2000         * lyxtext.h:
2001         * paragraph_funcs.C:
2002         * paragraph_funcs.h:
2003         * rowpainter.C:
2004         * text.C:
2005         * text2.C:
2006         * text3.C: move some of the edit(x,y) handling to the insets
2007         some coordinate changes.
2008
2009 2004-01-28  Lars Gullik Bjonnes  <larsbj@gullik.net>
2010
2011         * text.C: add using statements for std::advance and std::distance
2012
2013         * paragraph.C: add using statement for std::distance
2014
2015         * lyxfind.C: add using statement for std::advance
2016
2017         * cursor.C (region): remove std:: from swap
2018         (openable): use nucleus in stead of operator->
2019
2020         * BufferView.C: add using statements for std::distance and std::swap
2021
2022 2004-01-27  Lars Gullik Bjonnes  <larsbj@gullik.net>
2023
2024         * iterators.C: Remove the pimple, move the needed structures to
2025         the header file. Create accessor for the positions stack.
2026         (asPosIterator): remove function
2027
2028         * PosIterator.C (PosIterator): move constructors to top of file
2029         (PosIterator): reimplement the constructor taking a ParIterator in
2030         terms of setFrom.
2031         (setFrom): new function
2032         (operator!=): inline it
2033
2034 2004-01-26  Lars Gullik Bjonnes  <larsbj@gullik.net>
2035
2036         * lyxfind.C (replaceAll): use std::advance
2037
2038         * iterators.h: inherit from std::iterator.
2039
2040         * PosIterator.C (advance, distance): remove
2041         * PosIterator.h: interit from std::iterator.
2042
2043 2004-01-26  André Pönitz  <poenitz@gmx.net>
2044
2045         * BufferView.[Ch]:
2046         * BufferView_pimpl.[Ch]:
2047         * InsetList.[Ch]:
2048         * PosIterator.[Ch]:
2049         * buffer.h:
2050         * bufferview_funcs.C:
2051         * cursor.[Ch]:
2052         * cursor_slice.h:
2053         * factory.[Ch]:
2054         * iterators.[Ch]:
2055         * lyxfind.C:
2056         * lyxfunc.C:
2057         * lyxtext.h:
2058         * output_docbook.C:
2059         * output_latex.C:
2060         * output_linuxdoc.C:
2061         * output_plaintext.C:
2062         * paragraph.[Ch]:
2063         * paragraph_funcs.[Ch]:
2064         * paragraph_pimpl.[Ch]:
2065         * rowpainter.C:
2066         * tabular.C:
2067         * tabular.h:
2068         * text.C:
2069         * text2.C:
2070         * text3.C: more IU:  dumps most of the rest of the mathcursor
2071     implementation into cursor.[Ch]; "globalize" a bit of it.
2072
2073 2004-01-25  Angus Leeming  <leeming@lyx.org>
2074
2075         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2076
2077 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2078
2079         * LaTeXFeatures.h: add nice_ and nice() const
2080         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2081
2082 2004-01-20  André Pönitz  <poenitz@gmx.net>
2083
2084         * BufferView.[Ch]:
2085         * BufferView_pimpl.C:
2086         * PosIterator.C:
2087         * bufferview_funcs.C:
2088         * cursor.[Ch]:
2089         * cursor_slice.[Ch]:
2090         * factory.C:
2091         * iterators.C:
2092         * lyx_cb.C:
2093         * lyxfind.C:
2094         * lyxfunc.C:
2095         * lyxtext.h:
2096         * rowpainter.C:
2097         * text.C:
2098         * text2.C:
2099         * text3.C:
2100         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2101           LCursor and mathcursor parts to LCursor and InsetBase.
2102
2103 2004-01-15  André Pönitz  <poenitz@gmx.net>
2104
2105         * cursor_slice.[Ch]: add a few covienience functions
2106
2107         * funcrequest.[Ch]: remove BufferView * member
2108
2109         * BufferView_pimpl.C:
2110         * cursor.C:
2111         * factory.[Ch]:
2112         * lyxfind.[Ch]:
2113         * lyxfunc.C:
2114         * lyxtext.h:
2115         * text3.C:
2116         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2117
2118 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
2119
2120         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2121         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2122
2123 2004-01-13  André Pönitz  <poenitz@gmx.net>
2124
2125         * textcursor.[Ch]:
2126         * lyxtext.h: hide cursor and selection anchor behind accessor function
2127
2128         * BufferView.C:
2129         * BufferView_pimpl.[Ch]:
2130         * PosIterator.C:
2131         * bufferview_funcs.C:
2132         * cursor.h:
2133         * lyxfind.C:
2134         * lyxfunc.C:
2135         * text.C:
2136         * text2.C:
2137         * text3.C:
2138         * undo.C: adjust
2139
2140         * cursor.h:
2141         * cursor_slice.[Ch]: some integer type changes for inset unification
2142
2143         * lyxcursor.[hC]: remove, it's CursorSlice now.
2144
2145         * Makefile.am:
2146         * BufferView_pimpl.[Ch]:
2147         * bufferview_funcs.C:
2148         * cursor_slice.C:
2149         * lyxtext.h:
2150         * text.C:
2151         * text2.C:
2152         * text3.C:
2153         * textcursor.[Ch]: adjust
2154
2155 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
2156
2157         * text2.C (undoSpan): add and use
2158         * text.C (breakParagraph): use undoSpan (fix bug 578)
2159         * lyxtext.h: adjust
2160
2161 2004-01-08  Angus Leeming  <leeming@lyx.org>
2162
2163         * BufferView_pimpl.C (MenuInsertLyXFile):
2164         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2165         * lyxfunc.C (menuNew, open, doImport):
2166         FileFilterList change to the FileDialog open and save functions.
2167
2168 2004-01-07  Lars Gullik Bjonnes  <larsbj@gullik.net>
2169
2170         * ShareContainer.h: make isEqual and isUnique adaptable
2171
2172         * CutAndPaste.C: make resetOwnerAndChanges adaptable
2173
2174 2004-01-07  Angus Leeming  <leeming@lyx.org>
2175
2176         * LyXAction.C:
2177         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2178
2179         * BufferView_pimpl.C (dispatch): act on these LFUNs.
2180
2181         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2182         functions replacing find, replace and replaceAll.
2183
2184         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2185         LFUN_WORDFIND(FORWARD|BACKWARD).
2186
2187 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2188
2189         * text.C (breakParagraph): remove an outdated #warning
2190
2191 2004-01-07  André Pönitz  <poenitz@gmx.net>
2192
2193         * lyxfind.C: somewhat clearer logic
2194
2195         * text.C: prevent crash in cursorX on unitialized row cache
2196
2197 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
2198
2199         * lyxcursor.[Ch] (operator>): add
2200         * textcursor.C (selStart, selEnd): use std::min and std::max
2201
2202 2004-01-06  Lars Gullik Bjonnes  <larsbj@gullik.net>
2203
2204         * Chktex.C: include boost/format.hpp
2205
2206 2004-01-05  Lars Gullik Bjonnes  <larsbj@gullik.net>
2207
2208         * InsetList.C: replace functor MathcIt with adaptable functor
2209         InsetTablePosLess
2210         (insetIterator): modify accordingly
2211
2212         * BranchList.h: move the BranchNamesEqual functor here from...
2213         * BranchList.C: ... to here
2214
2215         * BranchList.C: new BranchListEqual fuctor, use it. Remove
2216         SameName and match.
2217         (add): replace a finding loop with std::find_if.
2218
2219 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
2220
2221         * output_docbook.C: moving LatexParam functionality into
2222         .layout files
2223
2224 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2225
2226         * buffer.C: increment format to 229.
2227
2228 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
2229
2230         * LaTeXFeatures.C:
2231         * lyx_sty.[Ch]: remove minipageindent_def
2232
2233         * LyXAction.C:
2234         * factory.C:
2235         * lfuns.h:
2236         * lyxfunc.C:
2237         * text3.C: remove LFUN_INSET_MINIPAGE
2238
2239 2003-12-28  Angus Leeming  <leeming@lyx.org>
2240
2241         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2242
2243 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
2244
2245         * text2.C (setParagraph): fix off-by-one crash
2246
2247 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
2248
2249         * output_docbook.C: header stuff for AGU
2250
2251 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
2252
2253         * text2.C (redoCursor): remove
2254         * text.C:
2255         * text3.C:
2256         * BufferView_pimpl.C: remove calls to redoCursor and
2257         setCursor(cursor.par(), cursor.pos()) all around
2258
2259 2003-12-15  Angus Leeming  <leeming@lyx.org>
2260
2261         * buffer.C: up the format to 228.
2262
2263 2003-12-15  André Pönitz  <poenitz@gmx.net>
2264
2265         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2266         slices
2267
2268         * Makefile.am:
2269
2270         * BufferView_pimpl.C:
2271         * cursor.[Ch]:
2272         * lyxcursor.[Ch]:
2273         * rowpainter.[Ch]:
2274         * lyxtext.h:
2275         * text.C:
2276         * text2.C:
2277         * text3.C: adjust
2278
2279 2003-12-15  Angus Leeming  <leeming@lyx.org>
2280
2281         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2282         than getFromGUIName to manipulate the color.
2283
2284 2003-12-14  Angus Leeming  <leeming@lyx.org>
2285
2286         * BranchList.[Ch]: minimize the API.
2287         (Branch::getBranch, getColor): now return a 'const &'.
2288         (Branch::setSelected) now returns a bool set to true if the
2289         selection status changes.
2290         (BranchList::clear, size, getColor, setColor, setSelected,
2291         allBranches, allSelected, separator): removed.
2292         (BranchList::find): new functions, returning the Branch with
2293         the given name.
2294         (BranchList::add, remove): return a bool indicating that
2295         the operation was successful.
2296
2297         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2298         new InsetBranch::isBranchSlected member function.
2299
2300         * LColor.[Ch]: mimimize the API.
2301         (fill): renamed as addColor and made private.
2302         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2303         versions of these functions taking a string arg have been removed.
2304
2305         * bufferparams.C (readToken):
2306         * lyxfunc.C (dispatch):
2307         * lyxrc.C (read): changes due to the altered BranchList and
2308         LColor APIs.
2309
2310         * factory.C (createInset, readInset): changes due to altered
2311         InsetBranch c-tor.
2312
2313 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2314
2315         * factory.C:
2316         * lyxfunc.C: remove insetminipage. "minipage-insert"
2317         now produces a frameless minipage box inset.
2318
2319 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2320
2321         * textcursor.[Ch] (selStart,selEnd): add new methods
2322         remove selection::start, end, use LyXCursor::operator<
2323         * lyxcursor.[Ch] (operator<): add
2324         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2325         * BufferView.[Ch] (unsetXSel): add
2326         * text2.C (clearSelection): use unsetXSel,adjust
2327         * text.C: adjust
2328         * text3.C: adjust
2329         * rowpainter.C: adjust
2330         * bufferview_funcs.C (put_selection_at): adjust
2331
2332 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2333
2334         * BufferView_pimpl.C: small coord. correction
2335
2336 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
2337
2338         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2339         dragging over the splash screen.
2340
2341 2003-12-11  Angus Leeming  <leeming@lyx.org>
2342
2343         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2344         as it is now handled in LyXText::dispatch.
2345
2346         * text3.C (doInsertInset): remove a level of nesting.
2347
2348 2003-12-11  Angus Leeming  <leeming@lyx.org>
2349
2350         * factory.C (createInset): changes due to the changed interface to
2351         InsetCommandMailer::string2params.
2352
2353 2003-12-10  Angus Leeming  <leeming@lyx.org>
2354
2355         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2356         'dialog-show-new-inset <inset name>'
2357
2358 2003-12-10  Angus Leeming  <leeming@lyx.org>
2359
2360         * buffer.C: up the format to 227.
2361
2362         * factory.C: the box inset is now identified simply by 'Box'.
2363
2364 2003-12-10  Angus Leeming  <leeming@lyx.org>
2365
2366         * buffer.C: up the format to 226.
2367
2368         * factory.C: the note inset is now identified simply by 'Note'.
2369
2370 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
2371
2372         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2373         when a pit is enough. Standarize a couple of loops.
2374
2375 2003-12-05  Angus Leeming  <leeming@lyx.org>
2376
2377         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2378         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2379         data to the re-worked "log" dialog.
2380
2381 2003-12-03  André Pönitz  <poenitz@gmx.net>
2382
2383         * PosIterator.C:
2384         * iterators.C:
2385         * lyxtext.h:
2386         * output_latex.C:
2387         * paragraph_funcs.C:
2388         * text.C:
2389         * text2.C: use Inset::getText instead of Inset::getParagraph
2390
2391 2003-12-03  André Pönitz  <poenitz@gmx.net>
2392
2393         * buffer.[Ch]:
2394         * lyxtext.h:
2395         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2396         InsetText::read() as LyXText::read()
2397
2398 2003-12-02  Angus Leeming  <leeming@lyx.org>
2399
2400         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2401         type. Add a comment in the implementation that the function uses
2402         the stream's bad() function rather than fail() as the std::streams
2403         would do.
2404
2405 2003-12-02  André Pönitz  <poenitz@gmx.net>
2406
2407         * lyxlex.[Ch]: make interface more similar to std::stream
2408
2409         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2410
2411 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
2412
2413         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2414
2415 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
2416
2417         * vspace.[Ch]: remove VSpace::NONE
2418
2419 2003-12-01  André Pönitz  <poenitz@gmx.net>
2420
2421         * buffer.[Ch]:
2422         * lyxtext.h: move ParagraphList member to LyXText
2423         rename LyXText::ownerParagraphs to LyXText::paragraph
2424
2425         * CutAndPaste.C:
2426         * bufferview_funcs.C:
2427         * iterators.[Ch]:
2428         * lyx_cb.C:
2429         * paragraph.C:
2430         * rowpainter.C:
2431         * tabular.C:
2432         * text.C:
2433         * text2.C:
2434         * text3.C: adjust
2435
2436         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2437
2438         * undo.C: fix cursor positioning
2439
2440 2003-12-01  John Levon  <levon@movementarian.org>
2441
2442         * BufferView_pimpl.C: fix a crash on exit with
2443         a buffer open
2444
2445 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
2446
2447         * BranchList.C: fix setSelected() method.
2448
2449 2003-11-28  André Pönitz  <poenitz@gmx.net>
2450
2451         * ParagraphParameters.[Ch]:
2452         * ParameterStruct.h: remove space above/below from Paragraph to
2453          InsetVSpace
2454
2455         * BufferView_pimpl.C:
2456         * factory.C:
2457         * lyxfunc.C:
2458         * lyxtext.h:
2459         * output_latex.C:
2460         * paragraph.C:
2461         * paragraph_funcs.C:
2462         * rowpainter.[Ch]:
2463         * text.C:
2464         * text2.C:
2465         * text3.C: adjust
2466
2467 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
2468
2469         * factory.C: Syntax change for CharStyles
2470
2471 2003-11-28  André Pönitz  <poenitz@gmx.net>
2472
2473         * BufferView.[Ch]:
2474         * BufferView.[Ch]:
2475         * buffer.[Ch]:
2476         * buffer.[Ch]: move LyXText member
2477
2478 2003-11-28  André Pönitz  <poenitz@gmx.net>
2479
2480         * BufferView.[Ch]: make LyXText * text a private member
2481
2482         * BufferView_pimpl.C:
2483         * cursor.C:
2484         * iterators.C:
2485         * lyx_cb.C:
2486         * lyxfind.C:
2487         * lyxtext.h:
2488         * rowpainter.[Ch]:
2489         * text.C:
2490         * text2.C:
2491         * undo.C: adjust
2492
2493         * output_plaintext.C: cleanup
2494
2495 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2496
2497         * buffer.C:
2498         * lyxtextclass.[Ch]: parametrize SGML document header
2499
2500 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
2501
2502         * converter.[Ch]:
2503         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2504         getFlavor().
2505
2506 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
2507
2508         * text2.C (setFont): rework using PosIterator (no more recursive)
2509         (setCharFont): no more needed
2510         (setLayout): no more selection cursors fiddling (done by redoCursor)
2511         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2512         destroy remaining ones)
2513
2514 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
2515
2516         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2517         * lyxtext.h: ditto
2518         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2519         selection cursors
2520         * lyxfunc.C: adjust
2521         * text3.C: adjust + re-allow multi par depth changes
2522         * textcursor.C: simplify a bit
2523
2524 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
2525
2526         * src/buffer.C:
2527         * src/lyxlayout.C:
2528         * src/lyxlayout.h:
2529         * src/lyxtext.h:
2530         * src/output_docbook.C:
2531         * src/output_latex.C:
2532         * src/paragraph.C:
2533         * src/paragraph.h:
2534         * src/sgml.C:
2535         * src/sgml.h:
2536         * src/text2.C: Introducing a number of tags parametrizing various
2537         XML formats that we may want to support
2538
2539 2003-11-25  André Pönitz  <poenitz@gmx.net>
2540
2541         * InsetList.[Ch] (begein, end): inline as suggested by profiler
2542
2543         * lyxtext.h (leftMargin/rightMargin): simplify interface
2544
2545         * rowpainter.C:
2546         * text.C:
2547         * text2.C:
2548         * text3.C: adjust
2549
2550 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2551
2552         * lyxfunc.C (dispatch): propogate the bibtex databases from the
2553         master file to any child files. Fixes bug 546.
2554
2555 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2556
2557         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2558
2559 2003-11-24  André Pönitz  <poenitz@gmx.net>
2560
2561         * rowpainter.C: simplification
2562
2563         * text2.C (updateCounters): remove call to redoParagraph on
2564         changed labels as this is far too expensive.
2565
2566 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2567
2568         * converter.C (convert): fix a crash: this function gets
2569         called with buffer == 0 from importer code.
2570
2571 2003-11-22  Lars Gullik Bjonnes  <larsbj@gullik.net>
2572
2573         * text3.C (cursorPrevious): make sure that we do not compare
2574         iterators form different containers.
2575         (cursorNext): ditto
2576
2577         * rowpainter.C (paintSelection): make sure that we do not compare
2578         iterators from different containers.
2579
2580         * text3.C (dispatch): [PRIOR] make sure that we do not compare
2581         iterators from different ParagraphList containers.
2582         [NEXT] ditto
2583
2584         * text2.C (LyXText): change order of initialization slightly
2585         (operator=): new function. copy all variables except cache_par_
2586         (moveUp): make sure that we do not compare iterators from
2587         different ParagraphList constainers.
2588         (moveDown): ditto
2589
2590         * text.C (firstPar): new function
2591         (lastPar): new function
2592         (endPar): new function
2593
2594         * lyxtext.h: move things around and group public functions, public
2595         variables, private functions, private variables
2596
2597 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
2598
2599         * factory.C: change call to InsetERT constructor to avoid
2600         additional invocation of method status
2601         * text2.C (toggleInset): remove redundant update() call
2602         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2603         instead of a Bufferview pointer
2604
2605 2003-11-21  André Pönitz  <poenitz@gmx.net>
2606
2607         * rowpainter.C: simplification
2608
2609 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2610
2611         * text3.C (dispatch): make possible to extend a word/row selection
2612         with the mouse
2613
2614 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
2615
2616         * lyxtext.h: x0_,y0_ -> xo_,yo_
2617         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2618         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2619         * rowpainter.C (paintRows): paint full paragraphs
2620
2621 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2622
2623         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2624         screen coordinates)
2625
2626 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
2627
2628         * lyxtext.h: add x0_, y0_
2629         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2630         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2631
2632 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
2633
2634         * text2.C (setCursorIntern): move the x_target update here *
2635         * text3.C: change some bv() to true/false in calls to
2636         cursorUp/Down/Right/Left
2637         * cursor.C: use helper function.
2638
2639 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2640
2641         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2642         * paragraph_funcs.[Ch]: correct comment
2643         * rowpainter.C: do not paint selections away from bv->cursor()
2644         Fix a long standing selection painting bug.
2645         * text3.C: generalize mouse-selection code to LyXTexts other that
2646         top one
2647         * textcursor.C: do not use y coords if we can use par offsets
2648
2649 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
2650
2651         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2652         cursor position after e.g. inset insert)
2653
2654 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
2655
2656         * lyxfind.C (replace): adjust to locking removal + some
2657         code simplification
2658
2659 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
2660
2661         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2662         of the path
2663
2664 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
2665
2666         * lyxlayout.[Ch]:
2667         * output_docbook.C: XML sanitation: new layout
2668         parameters InnerTag and CommandDepth
2669
2670 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
2671
2672         * BufferView_pimpl.C:
2673         * factory.C:
2674         * text3.C: Fix the insertion and modification of button-style
2675         insets
2676
2677 2003-11-13  André Pönitz  <poenitz@gmx.net>
2678
2679         * InsetList.[Ch]: remove deleteLyXText
2680
2681         * paragraph.[Ch]: cache beginOfBody position
2682
2683         * Bidi.C:
2684         * text.C:
2685         * text2.C:
2686         * text3.C: remove superfluous update() calls
2687
2688         * vspace.C: cleanup
2689
2690 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
2691
2692         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2693         * BufferView.C (fitLockedInsetCursor): remove
2694         * cursor.[Ch] (getDim): add
2695         * text.C (getRowNearY): add faster version
2696         * text3.C: remove some update calls
2697
2698 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
2699
2700         * LaTeXFeatures.C:
2701         * LyXAction.C:
2702         * MenuBackend.C:
2703         * MenuBackend.h:
2704         * dispatchresult.h:
2705         * factory.C:
2706         * lfuns.h:
2707         * lyxfunc.C:
2708         * lyxtextclass.C:
2709         * lyxtextclass.h:
2710         * text3.C: The Character Style /XML short element patch.
2711
2712 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
2713
2714         * text3.C:
2715         * factory.C: Small step to solving 'unable to insert some insets'
2716         problem
2717
2718 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2719
2720         * cursor.[Ch] (updatePos): new function for updating the y
2721         position of the tip inset
2722         * bufferview_funcs.C (put_selection_at):
2723         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2724
2725 2003-11-11  André Pönitz  <poenitz@gmx.net>
2726
2727         * text.C: remove big comment on invalid Paragraph pointers as it is
2728         not valid anymore
2729
2730 2003-11-11  André Pönitz  <poenitz@gmx.net>
2731
2732         * text_funcs.[Ch]: merge with ...
2733
2734         * text.C: ... this
2735
2736         * lyxtext.h:
2737         * text2.C:
2738         * text3.C: adjust
2739
2740         * Makefile.am: remove text_funcs.[Ch]
2741
2742 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
2743
2744         * cursor.C (getPos): return absolute cached y coord
2745
2746         * BufferView_pimpl.C (fitCursor): new simplistic code
2747         (workAreaDispatch): add a fitCursor call
2748
2749 2003-11-10  André Pönitz  <poenitz@gmx.net>
2750
2751         * BufferView.[Ch]:
2752         * BufferView_pimpl.[Ch]: merge update() and updateInset()
2753
2754 2003-11-10  André Pönitz  <poenitz@gmx.net>
2755
2756         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2757         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2758         indicate that the cursor needs to leave an inset
2759
2760         * lyxtext.h: remove inset locking
2761
2762         * cursor.[Ch]: re-implement functionality provided by inset locking
2763
2764         * BufferView.[Ch]:
2765         * BufferView_pimpl.[Ch]:
2766         * LyXAction.C:
2767         * bufferview_funcs.[Ch]:
2768         * factory.C:
2769         * funcrequest.[Ch]:
2770         * iterators.C:
2771         * lyx_cb.C:
2772         * lyxfind.C:
2773         * lyxfunc.C:
2774         * text.C:
2775         * text2.C:
2776         * text3.C:
2777         * undo.C: adjust
2778
2779 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
2780
2781         * PosIterator.[Ch]: replace the stack with a vector, add inset
2782         accesor
2783         * iterators.[C]: adjust
2784
2785 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2786
2787         * lyxfind.C (replaceAll): mark the buffer dirty if something was
2788         replaced
2789         * paragraph_funcs.C (readParToken): put the correct id in the
2790         error item, not the id of the top paragraph
2791
2792 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
2793
2794         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2795         * bufferview_funcs.C (put_selection_at): use the above
2796
2797 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2798
2799         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2800
2801 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2802
2803         * output_linuxdoc.h:
2804         * output_plaintext.h:
2805         * output.h:
2806         * output_docbook.h: add #include statements
2807
2808 2003-11-05  José Matos  <jamatos@lyx.org>
2809
2810         * output_docbook.[Ch]:
2811         * output_latex.[Ch]:
2812         * output_linuxdoc.[Ch]:
2813         * output_plaintext.[Ch]: New files for output formats.
2814         * output.[Ch]: New file for helper functions.
2815
2816         * buffer.[Ch]:
2817         * paragraph_funcs.[Ch]: output functions moved to new files.
2818
2819         * outputparams.h: rename of latexrunparams.h
2820
2821         * LaTeX.[Ch]:
2822         * buffer.[Ch]:
2823         * bufferlist.[Ch]:
2824         * converter.[Ch]:
2825         * exporter.C:
2826         * paragraph.[Ch]:
2827         * paragraph_funcs.[Ch]:
2828         * paragraph_pimpl.[Ch]:
2829         * tabular.[Ch]: rename ascii to plaintext
2830         and LatexRunParams to OutputParams.
2831
2832 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2833
2834         * iterators.[Ch] (text): require bv argument
2835         * undo.C (recordUndo):
2836         * lyxfunc.C (dispatch):
2837         * bufferview_funcs.C (put_selection_at): adjust
2838
2839 2003-11-05  João Luis M. Assirati  <assirati@fma.if.usp.br>
2840
2841         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2842
2843 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
2844
2845         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2846         nestings
2847
2848 2003-11-04  André Pönitz  <poenitz@gmx.net>
2849
2850         * cursor.[Ch]: restructure
2851
2852         * BufferView.[Ch]:
2853         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2854
2855         * iterators.[Ch] (asCursor): remove
2856
2857         * lfuns.h: remove LFUN_INSET_EDIT
2858
2859         * lyxfunc.C:
2860         * tabular.C:
2861         * text.C:
2862         * text2.C:
2863         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2864
2865 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2866
2867         * lyxfind.[Ch]: complete overhaul
2868         * BufferView_pimpl.C:
2869         * lyxfunc.C: adjust
2870         * paragraph.[Ch] (insert): add
2871
2872 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2873
2874         * BufferView.[Ch]:
2875         * lyxtext.h:
2876         * text.C: remove dead spellcheck code
2877
2878 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2879
2880         * dispatchresult.h: add a val setter
2881
2882         * cursor.C (dispatch): use a tempvar for data_[i]
2883
2884 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2885
2886         * PosIterator.[Ch]: compile fix
2887
2888 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
2889
2890         * text.C (cursorPar): deactivate the cursor cache
2891
2892 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2893
2894         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2895
2896 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2897
2898         * text3.C (dispatch): adjust for new DisptchResult semantics.
2899
2900         * lyxfunc.C (dispatch): handle update when return from
2901         Cursor::dispatch, adjust for new DispatchResult semantics.
2902
2903         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2904         DispatchResult(true) mean to not update. Add class functions for
2905         setting dispatched and update, as well as reading.
2906
2907         * cursor.C (dispatch): don't handle update here
2908
2909 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2910
2911         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2912         * trans_mgr.C: adjust
2913
2914         * paragraph_funcs.C (readParToken): exception safety
2915
2916         * lyxvc.h: store the vcs pointer in a scoped_ptr
2917         * lyxvc.C: adjust
2918
2919         * lyxsocket.C (serverCallback): exception safety
2920
2921         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2922
2923         * ispell.C (clone): make it return a auto_ptr
2924
2925         * factory.C (createInset): exception safety
2926         (readInset): exception safety
2927
2928         * bufferlist.C (newBuffer): exception safety
2929
2930         * Thesaurus.C (Thesaurus): use initialization for aik_
2931
2932         * MenuBackend.C (expandToc): exception safety.
2933
2934 2003-11-03  André Pönitz  <poenitz@gmx.net>
2935
2936         * buffer.C:
2937         * buffer.h:
2938         * bufferview_funcs.C: remove getInsetFromId()
2939
2940         * lyxcursor.[Ch]:
2941         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2942
2943         * lyxfunc.C:
2944         * text2.C:
2945         * text3.C: adjust
2946
2947 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
2948
2949         * PosIterator.C (distance, advance): new
2950         * bufferview_funcs.[Ch] (put_selection_at): new
2951         * iterators.[Ch] (lockPath): new
2952
2953 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
2954
2955         * iterators.[Ch] (asPosIterator): added
2956         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2957         * PosIterator.[Ch]: added
2958
2959 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2960
2961         * text3.C:
2962         * lyxfunc.C:
2963         * cursor.C (dispatch):
2964         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2965
2966         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2967         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2968         contructor, add a class function dispatched. Remove operator>=
2969
2970 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2971
2972         * debug.C: only use the default constructor for debugstream
2973         (lyxerr) here.
2974
2975         * main.C (main): include debug.h and setup the lyxerr streambuf
2976         here.
2977
2978 2003-10-31  José Matos  <jamatos@lyx.org>
2979
2980         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2981
2982         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2983         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2984         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2985         * paragraph_pimpl.C (simpleTeXSpecialC):
2986         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2987         add LatexRunParams argument.
2988
2989         * exporter.C (Export): change call accordingly.
2990
2991         * latexrunparams.h: add new member to take care of the other backends.
2992 2003-10-30  José Matos  <jamatos@lyx.org>
2993
2994         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2995         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2996         factorise code for paragraph output.
2997         * buffer.[Ch]:
2998         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2999         move functions.
3000
3001 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3002
3003         * text3.C (dispatch):
3004         * lyxfunc.C (dispatch):
3005         * cursor.C (dispatch):
3006         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3007
3008         * dispatchresult.h: make the dispatch_result_t ctor explicit
3009
3010 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
3011
3012         * sgml.[Ch]:
3013         * buffer.C: small refactoring of docbook stuff
3014
3015 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3016
3017         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3018         meaning.
3019
3020 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3021
3022         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3023         operator dispatch_result_t, and operators for == != and >=
3024
3025         * cursor.C (dispatch): adjust for operator dispatch_result_t
3026         removal. comment out call to update
3027
3028         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3029
3030 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3031
3032         * text3.C:
3033         * text2.C:
3034         * text.C:
3035         * lyxtext.h:
3036         * lyxfunc.C:
3037         * cursor.C:
3038         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3039         (dispatch):
3040
3041         * dispatchresult.h: new file, DispatchResult broken out of
3042         insets/insetbase.h
3043
3044         * Makefile.am (lyx_SOURCES): add dispatchresult.h
3045
3046 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3047
3048         * text.C (rowBreakPoint): put a hack inside #if 0
3049
3050 2003-10-28  André Pönitz  <poenitz@gmx.net>
3051
3052         * lyxtext.h:
3053         * metricsinfo.C:
3054         * paragraph_funcs.C:
3055         * rowpainter.C:
3056         * text.C:
3057         * text2.C: general cleanup (lots of small stuff)
3058
3059 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
3060
3061         * text2.C (cursorEnd): simple fix to the "end key goes to one
3062         before the end on last row" bug
3063
3064 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3065
3066         * text.C (backspace): fix the "zombie characters"
3067
3068 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3069
3070         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3071
3072 2003-10-27  André Pönitz  <poenitz@gmx.net>
3073
3074         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3075
3076         * factory.C: handle new InsetPagebreak, InsetLine
3077
3078         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3079         and move handling into new InsetPagebreak, InsetLine
3080
3081         * BufferView_pimpl.C:
3082         * LyXAction.C:
3083         * ParagraphParameters.C:
3084         * ParameterStruct.h:
3085         * lyxfunc.C:
3086         * lyxtext.h:
3087         * paragraph.C:
3088         * paragraph.h:
3089         * paragraph_funcs.C:
3090         * paragraph_pimpl.C:
3091         * rowpainter.C:
3092         * text.C:
3093         * text2.C:
3094         * text3.C: adjust
3095
3096 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3097
3098         * text.C:
3099         * lyxrow_funcs.[Ch]:
3100         * Bidi.C:
3101         * paragraph.C:
3102         * lyxtext.h:
3103         * rowpainter.C:
3104         * text2.C:
3105         * text3.C: remove lastPos uses in favour of Row::endpos
3106
3107 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
3108
3109         * undo.C (performUndoOrRedo): fix two crashes by setting a
3110         cursor by hand and reordering some calls. Use bv->lockInset instead
3111         of inset->edit because the latter loses cursor information
3112
3113 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
3114
3115         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3116         by Martin
3117         (rowBreakPoint): fix width. change point to point + 1.
3118         Add a missing check.
3119
3120 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
3121
3122         * MenuBackend.C:
3123         * lyxfunc.C: fix (at least partly) the problems
3124         with the Nav menu and headers inside branch insets
3125         reported by Kayvan
3126
3127 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
3128
3129         * paragraph.C (getChar): add strong asserts
3130
3131         * lyxrow_funcs.C (lastPos): remove hideous hack
3132
3133         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3134         (fill): adjust to that (avoid an infinite loop)
3135
3136 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3137
3138         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3139
3140 2003-10-23  André Pönitz  <poenitz@gmx.net>
3141
3142         * RowList_fwd.h: change list<> to vector<> to gain speed
3143         after suggestion from Alfredo
3144
3145 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
3146
3147         * lyxtext.h: move the bidi stuff from here...
3148         * text.C: and here
3149         * text2.C: and here
3150         * Bidi.[Ch]: ... to here
3151
3152 2003-10-23  André Pönitz  <poenitz@gmx.net>
3153
3154         * lyxtext.h:
3155         * text.C (isLastRow, isFirstRow): new functions
3156
3157         * paragraph.h: new width cache member
3158
3159         * rowpainter.C: replace RowList::iterator with Row & where possible
3160
3161         * lyxfunc.C: replace several view()->text with a single call
3162
3163         * toc.C: fix 'unused' warning
3164
3165 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
3166
3167         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3168         when woring with stream::pos_type
3169         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3170
3171 2003-10-22  André Pönitz  <poenitz@gmx.net>
3172
3173         * lyxtext.h:
3174         * text.C: use Row & instead of RowList::iterator
3175
3176         * lyxrow.h: rename end() to endpos()
3177
3178         * rowpainter.C:
3179         * text.C:
3180         * text2.C: adjust
3181
3182 2003-10-22  Angus Leeming  <leeming@lyx.org>
3183
3184         * buffer.[Ch] (fully_loaded): new member function, returning true
3185         only when the file has been loaded fully.
3186         Used to prevent the premature generation of previews and by the
3187         citation inset to prevent computation of the natbib-style label.
3188
3189         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3190         templates are all set up.
3191
3192         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3193
3194 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
3195
3196         * text.C: fixed an "oops" in the "is a bit silly"
3197         bug fix
3198
3199 2003-10-21  André Pönitz  <poenitz@gmx.net>
3200
3201         * FuncStatus.[Ch]: small stuff, whitespace
3202
3203         * lyxfont.[Ch]: operator<<() for debug reasons
3204
3205         * lyxfunc.C:
3206         * lyxrow_funcs.C:
3207         * lyxtext.h: whitespace, spelling
3208
3209         * paragraph.C: naming of variables
3210
3211         * text.C:
3212         * text2.C: small stuff
3213
3214
3215 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
3216
3217         * text.C: (1) finish off the inset display() work;
3218         (2) fix the "is a bit silly" bug (accessing char
3219         past end of par).
3220
3221 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
3222
3223         * text.C: re-introduce display() for insets, fixing the
3224         various bugs (stretch of line above, math inset
3225         positioning, ...)
3226
3227 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3228
3229         * text.C (rightMargin): remove spurious semicolon
3230
3231         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3232         1415)
3233
3234 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
3235
3236         * text3.C: fix one crash due to wrong cursor def
3237
3238 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3239
3240         * vc-backend.C (scanMaster): make the regex static
3241
3242         * LaTeX.C (scanAuxFile): make the regexs static
3243
3244         * text3.C (doInsertInset, dispatch, dispatch):
3245         * text2.C (cursorUp, cursorDown):
3246         * text.C (selectNextWordToSpellcheck):
3247         * BufferView_pimpl.C (dispatch):
3248         * lyxfunc.C (dispatch):  localDispatch -> dispatch
3249
3250 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3251
3252         * lyxsocket.C: include <cerrno>
3253
3254 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3255
3256         * lyxfunc.C (dispatch): remove textcache stuff
3257
3258         * bufferlist.C (release): remove textcache stuff
3259         (closeAll): ditto
3260
3261         * TextCache.C: delete file
3262         * TextCache.h: delete file
3263
3264         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3265
3266         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3267         delete of the bv_->text.
3268         (resizeCurrentBuffer): remove texcache stuff
3269         (workAreaResize): ditto
3270
3271 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3272
3273         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3274         action.
3275
3276 2003-10-16  André Pönitz  <poenitz@gmx.net>
3277
3278         * lyxrow.[Ch]:
3279         * paragraph.h:
3280         * rowpainter.C:
3281         * text.C:
3282         * text2.C:
3283         * text3.C: speed up by storing y positions per paragraph plus per-row
3284         offset instead of having a 'full' y position in the row.
3285
3286 2003-10-15  André Pönitz  <poenitz@gmx.net>
3287
3288         * iterators.[Ch]:
3289         * iterators.[Ch]:
3290         * undo.[Ch]: make undo aware of inner insets
3291
3292 2003-10-14  Angus Leeming  <leeming@lyx.org>
3293
3294         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3295         static member functions LyX::ref() and LyX::cref.
3296         (lastfiles): new accessor functions for the new lastfiles_ member var.
3297         (addLyXView, views_): add a new LyXView to the list of views_.
3298         (updateInset): loop over all LyXViews to call their own updateInset
3299         member function, returning a pointer to the Buffer owning the inset.
3300
3301         * BufferView_pimpl.C (loadLyXFile):
3302         * MenuBackend.C (expandLastfiles):
3303         * bufferlist.C (MenuWrite, QuitLyX):
3304         lastfiles is no longer a global variable.
3305         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3306
3307         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3308         static function. Access through LyX::cref().emergencyCleanup().
3309
3310 2003-10-14  André Pönitz  <poenitz@gmx.net>
3311
3312         * iterators.[Ch]: new direct access to innermost LyXText and Inset
3313
3314         * undo.[Ch]: restoring part of 'undo in insets'
3315
3316         * Makefile.am:
3317         * undo_funcs.[Ch]: merge with undo.[Ch]
3318
3319         * tabular.C: small cleansing stuff
3320
3321 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
3322
3323         * paragraph_funcs.C (readParToken): report unknown insets as error
3324         boxes. Use the outer paragraph as location (also for unknown
3325         tokens).
3326
3327         * factory.C (readInset): do not abort on reading an unknown inset.
3328         Eat it and return 0.
3329
3330 2003-10-13  Angus Leeming  <leeming@lyx.org>
3331
3332         * lyx_main.C (LyX): remove call to setDisplayTranslator().
3333
3334         * lyxrc.C: displayTranslator is now a function,
3335         declared in GraphicsTypes.h.
3336
3337 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3338
3339         * format.C: new placeholder $$a to pass the socket address.
3340
3341         * bufferlist.[Ch]: new function getBufferFromTmp.
3342
3343         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3344           files in the temporary dir.
3345
3346 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3347
3348         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3349
3350         * Makefile.am: add lyxsocket.[Ch].
3351
3352         * lyx_main.C (error_handler): handle SIGPIPE.
3353
3354 2003-10-13  André Pönitz  <poenitz@gmx.net>
3355
3356         * BufferView_pimpl.C:
3357         * lyxtext.h:
3358         * text.C:
3359         * text2.C:
3360         * text3.C:
3361         * undo_funcs.[Ch]: use paroffset_type instead of
3362           ParagraphList::iterators to prevent multiple conversion
3363           (and get a more robust interface)
3364
3365 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3366
3367         * lyxfunc.C (dispatch): RESULT -> dispatch_result
3368         * lyxtext.h: ditto
3369         * text3.C (dispatch): ditto
3370
3371 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3372
3373         * LaTeX.C (handleFoundFile): move the static to smaller scope,
3374         move the onlyfile, use onlyfile instead of foundfile in a couple
3375         of places.
3376
3377         * DepTable.C (update): flush the error stream a bit more
3378
3379 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3380
3381         * lyxserver.C (callback): adjust
3382
3383         * lyxfunc.C (getStatus): add a missing brace in commented code
3384         (ensureBufferClean): reindent
3385         (dispatch): delete version taking a string
3386
3387 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3388
3389         * LaTeX.C (deplog): move found file handlig from here...
3390         (handleFoundFile): .. to new function here.
3391         (deplog): make sure to discover several files mentioned on the
3392         same log line.
3393
3394 2003-10-10  André Pönitz  <poenitz@gmx.net>
3395
3396         * lyxfunc.C:
3397         * lyxtext.h:
3398         * tabular.C:
3399         * text.C:
3400         * text2.C:
3401         * text3.C: fix some of the tabular crashes
3402
3403 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3404
3405         * MenuBackend.C (binding): put debug message into Debug::KBMAP
3406
3407         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3408
3409 2003-10-09  André Pönitz  <poenitz@gmx.net>
3410
3411         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3412
3413         * BufferView.C:
3414         * BufferView_pimpl.C:
3415         * bufferview_funcs.C:
3416         * lyx_cb.C:
3417         * lyxcursor.C:
3418         * lyxfind.C:
3419         * lyxfunc.C:
3420         * lyxtext.h:
3421         * text.C:
3422         * text2.C:
3423         * text3.C:
3424         * text_funcs.[Ch]:
3425         * textcursor.[Ch]:
3426         * undo_funcs.C: adjust
3427
3428 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3429
3430         * text2.C (incrementItemDepth): new function, use a backtracking
3431         algorithm to discover the correct item depth.
3432         (resetEnumCounterIfNeeded): new function, use a backtracking
3433         algorithm to discover if counter reset is needed.
3434         (setCounter): use them. Simplify a bit. Add different labels for
3435         different item depths for itemize.
3436
3437         * paragraph.C (Paragraph): remove initialization of enumdepth
3438         (operator=): ditto
3439
3440         * paragraph.h: get rid of enumdepth, and use itemdepth both for
3441         enumerate and itemize. Change the type of itemdepth to signed char.
3442
3443 2003-10-08  André Pönitz  <poenitz@gmx.net>
3444
3445         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3446           thing assignable.
3447         * text.C:
3448         * text2.C: adjust
3449
3450         * tabular.[Ch]: fix crash after 'row-insert'
3451
3452 2003-10-08  Angus Leeming  <leeming@lyx.org>
3453
3454         Fix doxygen warnings.
3455
3456         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3457         Remove CutAndPaste:: prefix from header file declaration.
3458
3459         * LColor.h (fill): remove LColor:: prefix from declaration.
3460
3461         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3462         use lyx::depth_type rather than Paragraph::depth_type so that
3463         header file and .C file match.
3464
3465         * converter.h (intToFormat): remove Converters:: prefix from declaration.
3466
3467         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3468         * aspell.C: \file aspell_local.C -> \file aspell.C
3469         * gettext.C: \file gettext.C -> \file src/gettext.C
3470         * gettext.h: \file gettext.h -> \file src/gettext.h
3471         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3472         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3473         * text.C: \file text.C -> \file src/text.C
3474
3475         * toc.C: move comment so that doxygen is not confused.
3476
3477 2003-10-07  Angus Leeming  <leeming@lyx.org>
3478
3479         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3480
3481 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3482
3483         * aspell.C:
3484         * aspell_local.h: add forgotten std::string's.
3485
3486 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3487
3488         * LaTeXFeatures.C:
3489         * LyXAction.C:
3490         * factory.C:
3491         * lfuns.h:
3492         * lyxfunc.C:
3493         * text3.C: The Box patch. Fancybox support, minipage, parbox
3494
3495 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
3496
3497         * CutAndPaste.h:
3498         * DepTable.h:
3499         * FloatList.h:
3500         * LaTeXFeatures.h:
3501         * ParagraphParameters.h:
3502         * TextCache.h:
3503         * Thesaurus.h:
3504         * bufferlist.h:
3505         * exporter.h:
3506         * importer.h:
3507         * lastfiles.h:
3508         * lyxfind.h:
3509         * lyxfont.h:
3510         * lyxlex.h:
3511         * lyxtextclasslist.h:
3512         * messages.h:
3513         * paragraph.h:
3514         * paragraph_pimpl.C:
3515         * textcursor.h: add <string> and other small fixes to make Lars'
3516         std::string patch compile with STLport.
3517
3518 2003-10-06  Angus Leeming  <leeming@lyx.org>
3519
3520         * LColor.h: Add missing #include <string>.
3521
3522 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3523
3524         * All most all file in all subdirs: Make <string> be the prefered
3525         way of getting to std::string, add using declarations.
3526
3527 2003-10-06  André Pönitz  <poenitz@gmx.net>
3528
3529         * metricsinfo.C: initialize LyXFont before changing attribute.
3530         (fixes the 'math in \emph is upright' bug)
3531
3532 2003-10-06  André Pönitz  <poenitz@gmx.net>
3533
3534         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3535
3536 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
3537
3538         * graph.C:
3539         * paragraph_pimpl.C: Small fixes to build using STLport
3540
3541 2003-10-02  André Pönitz  <poenitz@gmx.net>
3542
3543         * lyxfunc.C:
3544         * text3.C: move handling of LFUN_DEPTH *; fix #1360
3545
3546 2003-10-01  André Pönitz  <poenitz@gmx.net>
3547
3548         * factory.C: assert early
3549
3550 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3551
3552         * lyx_main.C: remove the global debug object
3553
3554         * debug.h: adjust for new debugstream
3555
3556         * debug.C: adjust for new debugstream and keep the global debug
3557         object here.
3558
3559 2003-09-22  Angus Leeming  <leeming@lyx.org>
3560
3561         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3562         of g++ which otherwise complain that the scoped_ptr destructor can't delete
3563         an incomplete class LyXFont.
3564
3565 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
3566
3567         * factory.C: bug fix in branches
3568
3569 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3570
3571         * lyxfunc.C (processKeySym): adjust
3572         (dispatch): adjust
3573         (dispatch): change arg name from ev to func, adjust
3574         (sendDispatchMessage): ditto
3575
3576         * lyx_main.C (defaultKeyBindings): adjust keybindings
3577         (deadKeyBindings): ditto
3578
3579         * kbsequence.C (addkey): return a FuncRequest
3580
3581         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3582
3583         * kbmap.C (bind): take a FuncRequest as arg, adjust
3584         (read): adjust
3585         (lookup): adjust
3586         (defkey): change to take a FuncRequest as arg, adjust
3587         (findbinding): take a FuncRequest as arg, adjust.
3588
3589         * funcrequest.h (operator=): added
3590
3591         * funcrequest.C (FuncRequest): default kb_action changed from
3592         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3593
3594         * buffer.C (dispatch): simplify
3595         (dispatch): adjust to take a FuncRequest as arg, adjust
3596
3597         * boost.C (assertion_failed): change assertion message slightly
3598
3599         * ToolbarBackend.C (read): simplify
3600
3601         * MenuBackend.C (binding): adjust call to findbinding, add a
3602         message if no binding is found.
3603         (read): simplify
3604         (expandToc): correct by adding a empty FuncRequest
3605
3606         * LyXAction.C: include <boost/assert.hpp>
3607         (isPseudoAction): delete function
3608         (LookupFunc): change name to...
3609         (lookupFunc): this. change return type to FuncRequest.
3610         (getActionName): take kb_action as arg, simplify
3611         (funcHasFlag): add an assert, simplify.
3612
3613 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
3614
3615         * toc.C (action): return a FuncRequest, simplify
3616
3617         * lyxfunc.C (processKeySym): adjust
3618         (getStatus): delete version that takes an int.
3619         (getStatus): adjust
3620         (dispatch): delete version that takes action as int
3621         (dispatch): adjust
3622         (sendDispatchMessage): simplify and adjust
3623
3624         * funcrequest.C (getArg): take unsigned int as arg
3625
3626         * ToolbarBackend.C (read): adjust
3627         (add): delete version that takes func as a string.
3628         (getIton): take a FuncRequest as arg
3629
3630         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3631         action.
3632
3633         * MenuBackend.C (MenuItem): add a new construct that only takes a
3634         Kind, simplify the constructor use for submenus.
3635         (add): adjust
3636         (expandLastfiles): adjust
3637         (expandDocuments): adjust
3638         (expandFormats): adjust
3639         (expandFloatListInsert): adjust
3640         (expandFloatInsert): adjust
3641         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3642
3643         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3644         Remove class variables lyx_pseudo_map and lyx_arg_map
3645
3646         * LyXAction.C (searchActionArg): delete function
3647         (getPseudoAction): delete function
3648         (retrieveActionArg): delete function
3649         (LookupFunc): make it return kb_action, simplify.
3650         (getActionName): simplify
3651
3652         * factory.C (createInset): fix new bug
3653
3654 2003-09-19  Angus Leeming  <leeming@lyx.org>
3655
3656         * CutAndPaste.C (pasteSelection): remove fudge used to set the
3657         masterFilename_ parameter in the include inset.
3658
3659         * factory.C (createInset): changes due to the changes to InsetInclude.
3660
3661 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3662
3663         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3664
3665 2003-09-18  Angus Leeming  <leeming@lyx.org>
3666
3667         * buffer.C:
3668         * BufferView.C: pass the buffer when calling Inset::getLabelList,
3669         Inset::fillWithBibKeys.
3670         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3671
3672 2003-09-18  Angus Leeming  <leeming@lyx.org>
3673
3674         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3675         variables.
3676         (ctor): pass and store a 'Buffer const &'
3677         (buffer): new member function.
3678
3679         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3680         '*this' to the LaTeXFeatures ctor.
3681
3682 2003-09-18  Angus Leeming  <leeming@lyx.org>
3683
3684         * LColor.h:
3685         * lyxfont.C:
3686         * lyxfont.h:
3687         * lyxtext.h:
3688         * text.C: rename EnumLColor as LColor_color.
3689
3690 2003-09-18  Angus Leeming  <leeming@lyx.org>
3691
3692         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3693         remove #include "insets/insetbase.h" from cursor.h.
3694
3695 2003-09-18  Angus Leeming  <leeming@lyx.org>
3696
3697         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3698         InsetOld_code to remove #include "inset.h".
3699
3700         * iterators.C: add #include "insets/inset.h"
3701
3702 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
3703
3704         * BufferView.C: remove more locking stuff that apparently doesn't
3705         do anything sensible.
3706
3707 2003-09-16  André Pönitz  <poenitz@gmx.net>
3708
3709         * paragraph.[Ch]:
3710         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3711           performance boost.
3712
3713 2003-09-16  Angus Leeming  <leeming@lyx.org>
3714
3715         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3716
3717         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3718         arg/return type.
3719
3720         * paragraph.h: remove #include "lyxfont.h". Forward declare
3721         LyXFont_size.
3722
3723 2003-09-16  Angus Leeming  <leeming@lyx.org>
3724
3725         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3726         of support/textutils.h.
3727         (isWord): move the contents of support/textutils.h's IsWordChar here.
3728
3729         * buffer.C:
3730         * lyxfind.C:
3731         * rowpainter.C:
3732         * text.C:
3733         * text2.C: add #include "paragraph.h".
3734
3735         * rowpainter.C:
3736         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3737
3738 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3739
3740         * main.C:
3741         * lyx_main.C:
3742         * lyx_cb.C:
3743         * buffer.C:
3744         * LaTeX.C: use namespace alias for lyx::support::os
3745
3746 2003-09-16  Angus Leeming  <leeming@lyx.org>
3747
3748         * bufferparams.C:
3749         * bufferview_funcs.C:
3750         * factory.C:
3751         * lyxfunc.C:
3752         * paragraph_pimpl.C:
3753         * rowpainter.C:
3754         * text.C: add #include "LColor.h".
3755
3756 2003-09-16  Angus Leeming  <leeming@lyx.org>
3757
3758         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3759         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3760         return LyXFont &.
3761         Store the FontBits::color variable as an int rather than as an
3762         LColor::colorso that we can move LColor.h out of the lyxfont.h header
3763         file.
3764
3765         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3766         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3767         string calls together.
3768
3769         * lyxrc.C: add #include "LColor.h".
3770
3771 2003-09-15  Angus Leeming  <leeming@lyx.org>
3772
3773         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3774         a cow_ptr.
3775
3776 2003-09-15  Angus Leeming  <leeming@lyx.org>
3777
3778         * LColor.h: add an EnumLColor wrapper for LColor::color.
3779
3780         * lyxfont.[Ch] (color, setColor, realColor):
3781         * lyxtext.h, text.C (backgroundColor):
3782         pass EnumLColor args to/from the functions, rather than LColor::color
3783         ones.
3784
3785         * lyxfont.h:
3786         * lyxtext.h: forward declare EnumLColor.
3787
3788         * lyx_main.C: add #include "LColor.h".
3789
3790 2003-09-15  Angus Leeming  <leeming@lyx.org>
3791
3792         * .cvsignore: add lyx-gtk.
3793
3794 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
3795
3796         * Chktex.C
3797         * LaTeX.C
3798         * LaTeXFeatures.C
3799         * ParagraphParameters.C
3800         * Spacing.C
3801         * buffer.C
3802         * bufferparams.C
3803         * bufferview_funcs.C
3804         * chset.C
3805         * counters.C
3806         * funcrequest.C
3807         * lyxfont.C
3808         * lyxgluelength.C
3809         * lyxlength.C
3810         * paragraph.C
3811         * paragraph_funcs.C
3812         * text3.C
3813         * vc-backend.C: remove usage of STRCONV
3814
3815 2003-09-15  Angus Leeming  <leeming@lyx.org>
3816
3817         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3818         explicitly define the color passed to the painter.
3819
3820 2003-09-15  Angus Leeming  <leeming@lyx.org>
3821
3822         * bufferparams.C (BufferParams): reorder member initializers to avoid
3823         compiler warning.
3824
3825 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
3826
3827         * CutAndPaste.C (pasteSelection): remove an outdated #warning
3828         * text.C (updateRowPositions): remove an unusual nop
3829
3830 2003-09-12  André Pönitz  <poenitz@gmx.net>
3831
3832         * BufferView_pimpl.C:
3833         * Bullet.C:
3834         * layout.h:
3835         * lyxfunc.C:
3836         * lyxlayout.[Ch]:
3837         * lyxtextclass.C:
3838         * rowpainter.C:
3839         * text.C:
3840         * text2.C:
3841         * Counters.[Ch]: finish the 'automatic counters' job
3842
3843 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3844
3845         * aspell.C: include <boost/assert.cpp> (compile fix)
3846
3847 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
3848
3849         * boost.C (assertion_failed): use lyx::support::abort instead of
3850         assert.
3851
3852 2003-09-10  Angus Leeming  <leeming@lyx.org>
3853
3854         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3855         with their _fwd progeny.
3856
3857 2003-09-09  Angus Leeming  <leeming@lyx.org>
3858
3859         134 files throughtout the source tree: replace 'using namespace abc;'
3860         directives with the appropriate 'using abc::xyz;' declarations.
3861
3862 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
3863
3864         * boost.C (emergencyCleanup): moved here from LAssert.c
3865         (assertion_failed): new function, called by BOOST_ASSERT
3866
3867         * several files: change Assert to BOOST_ASSERT
3868
3869 2003-09-09  Angus Leeming  <leeming@lyx.org>
3870
3871         * buffer.[Ch]: Add an Impl class and move Buffer's member
3872         variables into it. As a result move several header files out of
3873         buffer.h.
3874
3875         Add header files to lots of .C files all over the tree as a result.
3876
3877 2003-09-09  Angus Leeming  <leeming@lyx.org>
3878
3879         * buffer.[Ch]: make Buffer's member variables private. Add
3880         accessor functions.
3881
3882         Lots of changes all over the tree as a result.
3883
3884 2003-09-08  Angus Leeming  <leeming@lyx.org>
3885
3886         * graph.C: #include <config.h>.
3887
3888 2003-09-08  Angus Leeming  <leeming@lyx.org>
3889
3890         * BranchList.C:
3891         * BufferView.C:
3892         * BufferView_pimpl.C:
3893         * CutAndPaste.C:
3894         * DepTable.C:
3895         * LaTeX.C:
3896         * LaTeXFeatures.C:
3897         * LyXAction.C:
3898         * MenuBackend.C:
3899         * TextCache.C:
3900         * aspell.C:
3901         * buffer.C:
3902         * bufferlist.C:
3903         * changes.C:
3904         * chset.C:
3905         * converter.C:
3906         * counters.C:
3907         * debug.C:
3908         * graph.C:
3909         * ispell.C:
3910         * lyx_cb.C:
3911         * lyxfind.C:
3912         * lyxfunc.C:
3913         * lyxlex_pimpl.C:
3914         * lyxrc.C:
3915         * lyxrow.C:
3916         * paragraph.C:
3917         * rowpainter.C:
3918         * texrow.C:
3919         * text.C:
3920         * text2.C:
3921         * toc.C: remove redundant using directives.
3922
3923 2003-09-07  Angus Leeming  <leeming@lyx.org>
3924
3925         * LaTeXFeatures.h: remove #include "support/types.h".
3926         * ToolbarBackend.h: remove #include <algorithm>.
3927         * changes.h: remove #include <ctime>.
3928         * debug.h: remove #include <iosfwd>.
3929         * graph.h: remove #include "support/std_string.h".
3930         * lyx_main.h: remove #include <csignal>.
3931         * lyxlex_pimpl.h: remove #include <fstream>.
3932         * sgml.h: remove #include <algorithm>, <utility>.
3933         * toc.h: remove #include "support/std_ostream.h".
3934         Add #include <iosfwd>.
3935
3936 2003-09-07  Angus Leeming  <leeming@lyx.org>
3937
3938         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3939
3940         * converter.h: forward declare LatexRunParams.
3941         * encoding.h: remove #include "lyxrc.h".
3942         * lyxtext.h: remove #include "LColor.h".
3943         * lyxtextclass.h: remove #include "support/types.h".
3944         * trans.h: remove #include "tex-accent.h".
3945         * trans_mgr.h: remove #include "tex-accent.h".
3946         * insets/inset.h: remove #include "support/types.h", <vector>.
3947         * insets/insetcollapsable.h: remove #include "LColor.h".
3948         * insets/insetinclude.h: remove #include "dimension.h".
3949         * insets/insetlatexaccent.h: remove #include "dimension.h".
3950         * insets/insetoptarg.h:: remove #include "insettext.h".
3951         * insets/insettext.h: remove #include "dimension.h",
3952         <boost/shared_ptr.hpp>
3953
3954         * insets/renderers.h: add #include "dimension.h".
3955         * insets/updatableinset.h: add #include "support/types.h".
3956
3957         * many .C files: Associated changes.
3958
3959 2003-09-06  Angus Leeming  <leeming@lyx.org>
3960
3961         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3962         one, inside testInvariant.
3963
3964         * PrinterParams.C: new file.
3965         * PrinterParams.[Ch]: move the function bodies out of line.
3966
3967 2003-09-06  Angus Leeming  <leeming@lyx.org>
3968
3969         * ParagraphParameters.h: forward declare ParameterStruct rather than
3970         including its header file.
3971         (depth): moved out-of-line.
3972
3973 2003-09-06  Angus Leeming  <leeming@lyx.org>
3974
3975         * BufferView_pimpl.h:
3976         * kbmap.h:
3977         * kbsequence.h:
3978         * lyxfunc.h: forward declare LyXKeySym rather than
3979         #include "frontends/LyXKeySym.h".
3980
3981         * BufferView_pimpl.C:
3982         * kbmap.C:
3983         * kbsequence.C:
3984         * lyxfunc.C: associated changes.
3985
3986 2003-09-06  Angus Leeming  <leeming@lyx.org>
3987
3988         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3989         As a result, can remove the #include "insets/inset.h" from BufferView.h
3990
3991 2003-09-06  Angus Leeming  <leeming@lyx.org>
3992
3993         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3994         As a result, can remove the #include "insets/inset.h" from BufferView.h
3995
3996 2003-09-06  Angus Leeming  <leeming@lyx.org>
3997
3998         * buffer_funcs.C:
3999         * buffer.h:
4000         * bufferlist.C:
4001         * BufferView.C:
4002         * bufferview_funcs.C:
4003         * BufferView_pimpl.C:
4004         * CutAndPaste.C:
4005         * lyx_cb.C:
4006         * lyxfunc.C:
4007         * paragraph.h:
4008         * ParagraphParameters.C:
4009         * tabular.C:
4010         * text3.C:
4011         * toc.C:
4012         * undo_funcs.C:
4013         * frontends/controllers/ControlDocument.C:
4014         * insets/insetcaption.C: rearrange the #includes into some sort of
4015         coherent order.
4016
4017         * buffer.h: remove #includes ErrorList.h, undo.h
4018
4019 2003-09-06  Angus Leeming  <leeming@lyx.org>
4020
4021         * support/types.h: add a 'depth_type' typedef, used to store the
4022         nesting depth of a paragraph.
4023
4024         * paragraph.h:
4025         * ParameterStruct.h: use this lyx::depth_type typedef rather than
4026         defining explicitly.
4027
4028         * buffer.h:
4029         * paragraph_funcs.h:
4030         * ParagraphParameters.h:
4031         * sgml.h: use lyx::depth_type rather than Paragraph or
4032         ParameterStruct's depth_type.
4033
4034         * buffer.h
4035         * paragraph_funcs.h: no need to #include paragraph.h anymore.
4036
4037         * BufferView.C:
4038         * BufferView_pimpl.C:
4039         * CutAndPaste.C:
4040         * ParagraphParameters.C:
4041         * buffer_funcs.C:
4042         * bufferlist.C:
4043         * bufferview_funcs.C:
4044         * lyx_cb.C:
4045         * lyxfunc.C:
4046         * tabular.C:
4047         * text3.C:
4048         * toc.C:
4049         * undo_funcs.C:
4050         * frontends/LyXView.C:
4051         * frontends/controllers/ControlDocument.C:
4052         * frontends/controllers/ControlErrorList.C:
4053         * insets/insetbibitem.C:
4054         * insets/insetbranch.C:
4055         * insets/insetcaption.C:
4056         * insets/insetcollapsable.C:
4057         * insets/insetenv.C:
4058         * insets/insetert.C:
4059         * insets/insetfloat.C:
4060         * insets/insetfoot.C:
4061         * insets/insetfootlike.C:
4062         * insets/insetnewline.C:
4063         * insets/insetquotes.C:
4064         * insets/insettabular.C:
4065         * insets/insettext.C:
4066         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4067
4068         * frontends/controllers/ControlChanges.C: #include "changes.h".
4069
4070 2003-09-06  Angus Leeming  <leeming@lyx.org>
4071
4072         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4073         than #including paragraph.h.
4074
4075         * ParagraphList.h:
4076         * RowList.h: deleted. Superfluous.
4077
4078         * CutAndPaste.h:
4079         * iterators.h:
4080         * lyxcursor.h:
4081         * lyxtext.h:
4082         * text_funcs.h:
4083         * undo.h:
4084         * undo_funcs.h:
4085         * insets/inset.h:
4086         * insets/insettext.h: use ParagraphList_fwd.h rather than
4087         ParagraphList.h.
4088
4089         * paragraph.h: don't forward declare ParagraphList.
4090
4091         * buffer.h:
4092         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4093         rather than ParagraphList.h. paragraph.h is still needed for the
4094         Paragraph::depth_type parameters.
4095
4096         * textcursor.h: enable it to compile stand-alone in light of the
4097         above changes.
4098
4099         * bufferview_funcs.C:
4100         * iterators.C:
4101         * lyxfunc.C:
4102         * lyxrow_funcs.C:
4103         * paragraph.C:
4104         * rowpainter.C:
4105         * text.C:
4106         * text2.C:
4107         * text3.C:
4108         * text_funcs.C:
4109         * textcursor.C:
4110         * undo.C:
4111         * frontends/controllers/ControlParagraph.C:
4112         * frontends/controllers/ControlTabular.C:
4113         * insets/insetmarginal.C:
4114         * insets/insetminipage.C:
4115         * insets/insetnote.C:
4116         * insets/insetoptarg.C: add header files needed to compile again.
4117
4118 2003-09-06  Angus Leeming  <leeming@lyx.org>
4119
4120         * RowList_fwd.h: new file, forward-declaring Row rather than
4121         #including lyxrow.h.
4122
4123         * lyxrow_funcs.h:
4124         * lyxtext.h:
4125         * paragraph.h:
4126         * insets/insettext.h: use it instead of RowList.h
4127
4128         * bufferview_funcs.C:
4129         * lyxfunc.C:
4130         * lyxrow_funcs.C:
4131         * paragraph.C:
4132         * rowpainter.C:
4133         * text.C:
4134         * text2.C:
4135         * text3.C: #include "RowList.h".
4136
4137 2003-09-05  Angus Leeming  <leeming@lyx.org>
4138
4139         * factory.C (createInset):
4140         * vspace.C (c-tor): replace sscanf call with an istringstream.
4141         * ispell.C: re-add missing HP/UX headers.
4142         * lyxserver.C: re-add missing  os2 headers.
4143
4144 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
4145
4146         * BranchList.C:
4147         * graph.C:
4148         * ispell.C:
4149         * lastfiles.C:
4150         * lyx_cb.C:
4151         * lyxserver.C:
4152         * texrow.C:
4153         * text3.C: re-add missing system headers, needed for 2.95.2.
4154
4155 2003-09-05  Angus Leeming  <leeming@lyx.org>
4156
4157         Changes most place everywhere due to the removal of using directives
4158         from support/std_sstream.h.
4159
4160 2003-09-05  Angus Leeming  <leeming@lyx.org>
4161
4162         Replace LString.h with support/std_string.h,
4163         Lsstream.h with support/std_sstream.h,
4164         support/LIstream.h with support/std_istream.h,
4165         support/LOstream.h with support/std_ostream.h.
4166
4167         Changes resulting throughout the tree.
4168
4169 2003-09-05  Angus Leeming  <leeming@lyx.org>
4170
4171         * sgml.h: ensure that the header file can be compiled stand-alone.
4172         * *.C: strip out redundant #includes. (320 in total.)
4173
4174 2003-09-04  Angus Leeming  <leeming@lyx.org>
4175
4176         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4177         here (from getPackages).
4178
4179         * debug.[Ch]: add a new EXTERNAL tag.
4180
4181 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4182
4183         * text2.C (cursorEnd): simplify
4184         (setCursor): adjust
4185         (getColumnNearX): adjust
4186
4187         * text.C (computeBidiTables): adjust
4188         (fill): adjust
4189
4190         * rowpainter.C (paintChars): adjust
4191         (paintSelection): adjust
4192         (paintChangeBar): adjust
4193         (paintText): adjust
4194
4195         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4196         lastPos instead.
4197         (numberOfSeparators): adjust
4198
4199 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4200
4201         * LyXAction.C:
4202         * box.[Ch]:
4203         * lfuns.h:
4204         * lyxfunc.C:
4205         * text3.C: Restricts the mouse click functionality
4206         of insets like bibtex, include, toc and floatlist to the visible
4207         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4208         up the dialogs. Cursor has to be in front of the inset (i.e.
4209         start of row) for this to function.
4210
4211 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4212
4213         * bufferview_funcs.C (currentState): output row information
4214
4215 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
4216
4217         * bufferview_funcs.C (currentState): output paragraph position
4218
4219 2003-09-04  Angus Leeming  <leeming@lyx.org>
4220
4221         * FloatList.h: move out #include "Floating.h".
4222         * LaTeX.h: move out #include "DepTable.h".
4223         * LyXAction.h: move out #include "funcrequest.h".
4224         * buffer.h: move out #include "author.h", "iterators.h".
4225         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4226         * lyx_main.h: move out #include "errorlist.h".
4227         * lyxfunc.h: move out #include "FuncStatus.h".
4228         * lyxtext: move out #include "lyxcursor.h".
4229         * paragraph_pimpl.h: move out #include "counters.h".
4230
4231 2003-09-03  Angus Leeming  <leeming@lyx.org>
4232
4233         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4234         preamble_snippets list, enabling us to add snippets to the preamble
4235         only if the snippet was not there already.
4236
4237 2003-09-04  Angus Leeming  <leeming@lyx.org>
4238
4239         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4240
4241 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4242
4243         * lyxfunc.C (dispatch): if fitCursor did something be sure to
4244         update
4245
4246 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
4247
4248         * BranchList.C: point fix, earlier forgotten
4249
4250 2003-09-02  Angus Leeming  <leeming@lyx.org>
4251
4252         * box.C (contains): renamed from 'contained' after a fantastic
4253         amount of hot air.
4254
4255 2003-09-02  John Levon  <levon@movementarian.org>
4256
4257         * BufferView.C:
4258         * lyxcursor.h:
4259         * lyxcursor.C:
4260         * lyxfunc.C:
4261         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4262
4263 2003-09-02  John Levon  <levon@movementarian.org>
4264
4265         * text2.C: simplification of cursorEnd(), including partial
4266         fix for bug 1376
4267
4268 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4269
4270         * buffer.C (readFile): add a space
4271
4272 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
4273
4274         * BufferView_pimpl.C (update): remove bogus fitCursor() call
4275
4276 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4277
4278         * buffer.C (readFile): new function, take a filename and a
4279         ParagraphList::iterator
4280         (readFile): adjust
4281         (readFile): adjust, make it private. don't use setStream, make
4282         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4283         always contain the filename.
4284
4285         * BufferView.C (insertLyXFile): simplify and make it work for
4286         gzipped files.
4287
4288 2003-08-30  John Levon  <levon@movementarian.org>
4289
4290         * Makefile.am: fix dist (from Kayvan)
4291
4292 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4293
4294         * most files: change to use const Buffer refs
4295
4296 2003-08-27  André Pönitz  <poenitz@gmx.net>
4297
4298         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4299         on top of ownerPar().
4300
4301 2003-08-27  John Levon  <levon@movementarian.org>
4302
4303         * funcrequest.C: properly initialise POD members
4304
4305 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4306
4307         * lyxtext.h (top_y): move top_y from here
4308         * text.C:
4309         * text2.C:
4310         * text3.C:
4311         * BufferView.[Ch]:
4312         * BufferView_pimpl.[Ch]: to here
4313         * frontends/screen.C:
4314         * insets/insettabular.C:
4315         * insets/insettext.C: adjust
4316         * rowpainter.[Ch] (paintRows): remove LyXText & argument
4317
4318 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
4319
4320         * BufferView.[Ch]:
4321         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4322
4323 2003-08-26  André Pönitz  <poenitz@gmx.net>
4324
4325         * paragraph_func.[Ch] (outerPar): new function
4326
4327         * paragraph.C:
4328         * paragraph_funcs.C:
4329         * paragraph_funcs.h:
4330         * paragraph_pimpl.C:
4331         * text2.C: remove Inset::par_owner
4332
4333 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
4334
4335         * lyxrow_funcs.C:
4336         * lyxtext.h:
4337         * text.C:
4338         * text2.C: eliminates the needFullRow/display() stuff
4339         altogether, putting the logic in metrics/draw in the insets.
4340
4341 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
4342
4343         * text2.C (redoParagraphInternal, redoParagraphs):
4344         * text.C (redoParagraph): add a call to updateRowPositions at the
4345         end of each 'metrics-like' call. Remove all others.
4346         (getRow): remove the 'y-computing' version.
4347         (getRowNearY): do not compute nor return the real y. Solve the
4348         'y < 0' problem and simplify.
4349
4350 2003-08-22  Angus Leeming  <leeming@lyx.org>
4351
4352         * *.[Ch]: clean-up of licence and author blurbs.
4353         Also move config.h out of a few .h files and into a few .C files.
4354
4355 2003-08-22  André Pönitz  <poenitz@gmx.net>
4356
4357         * lyxrow.[Ch]: add x_ and *fill_ members
4358
4359         * lyxtext.h:
4360         * text.C:
4361         * rowpainter.C:
4362         * text2.C: adjust/remove prepareToPrint() calls
4363
4364 2003-08-22  André Pönitz  <poenitz@gmx.net>
4365
4366         * lyxrow.[Ch]: add  end_ member
4367
4368         * lyxrow_funcs.C: use LyXRow::end_
4369
4370         * lyxtext.h (singleWidth): add LyXFont parameter
4371
4372         * rowpainter.C:
4373         * text2.C: adjust LyXText::singleWidth() calls
4374
4375         * text.C (redoParagraph): simplify row breaking logic
4376
4377
4378 2003-08-19  André Pönitz  <poenitz@gmx.net>
4379
4380         * funcrequest.C: initialize button_ member
4381
4382         * text3.C:
4383         * rowpainter.[Ch]: interface consolidation
4384
4385 2003-08-18  André Pönitz  <poenitz@gmx.net>
4386
4387         * BufferView.C:
4388         * BufferView_pimpl.C:
4389         * lyxfind.C:
4390         * paragraph_funcs.C:
4391         * rowpainter.C:
4392         * text3.C: remove LyXScreen::draw() and fitCursor calls
4393
4394         * BranchList.h: remove spurious semicolons
4395
4396         * MenuBackend.C: fix branchlist related crash
4397
4398 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
4399
4400         * BranchList.[Ch]:
4401         * InsetList.[Ch]:
4402         * LColor.[Ch]:
4403         * LyXAction.C:
4404         * Makefile.am:
4405         * MenuBackend.[Ch]:
4406         * bufferparams.[Ch]:
4407         * factory.C:
4408         * lfuns.h:
4409         * lyxfunc.C:
4410         * text3.C: implements the 'branch inset'
4411         idea. This allows the output of various versions of a document
4412         from a single source version, selectively outputing or suppressing
4413         output of parts of the text.
4414         This implementation contains a 'branch list editor' in a separate
4415         tab of the document settings dialog. Branches are user definable
4416         and have a "display colour" to distinguish them on-screen.
4417
4418         ColorHandler was somewhat cleaned up.
4419         (1) make possible a dynamically growing LColor list by allowing
4420         the graphic context cache to grow along (vector);
4421         (2) eliminate an IMHO unnecessary step in colour allocation.
4422
4423 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
4424
4425         * BufferView_pimpl.C: compile fix
4426
4427 2003-08-15  André Pönitz  <poenitz@gmx.net>
4428
4429         * rowpainter.C: remove extra metrics calls
4430
4431         * lyxtext.h: merge the two constructors into a single one,
4432           pass reference to owner's par list
4433
4434         * BufferView_pimpl.C:
4435         * text.C:
4436         * text2.C: adjust
4437
4438 2003-08-15  André Pönitz  <poenitz@gmx.net>
4439
4440         * lyxrow_funcs.[Ch]:
4441         * lyxtext.h:
4442         * paragraph.h:
4443         * paragraph_funcs.C:
4444         * rowpainter.C:
4445         * text.C:
4446         * text2.C:
4447         * text3.C:
4448         * text_funcs.C: split LyXText::rowlist_ into individual
4449         Paragraph::rows_ chunks
4450
4451         * BufferView.[Ch]:
4452         * BufferView_pimpl.[Ch]:
4453         * lyxfind.C:
4454         * lyxtext.h:
4455         * text3.C: remove toggleSelection()
4456
4457 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
4458
4459         * bufferlist.C: beautify two alerts (shorter text of buttons)
4460         * buffer.C: Remove redundant ' ' from message
4461         * tabular.h:
4462         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4463         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4464         rename VALIGN_CENTER to VALIGN_MIDDLE
4465
4466 2003-08-11  André Pönitz  <poenitz@gmx.net>
4467
4468         * lyxtext.h (getPar):
4469         * text.C: new function
4470
4471 2003-08-11  André Pönitz  <poenitz@gmx.net>
4472
4473         * Makefile.am:
4474         * tracer.[Ch]: remove unneeded files
4475
4476         * InsetList.[Ch]: remove resizeInsetsLyXText()
4477
4478         * lyxtext.h:
4479         * text.C:
4480         * text2.C:
4481         * text3.C: merge insertParagraphs() and appendParagraph()
4482         remove breakAgain(), update()
4483
4484         * BufferView_pimpl.[Ch]:
4485         * bufferview_funcs.[Ch]:
4486         * lyxfunc.C:
4487         * paragraph.[Ch]:
4488         * rowpainter.C:
4489         * tabular.C: adjust after text & InsetList changes.
4490
4491 2003-08-08  André Pönitz  <poenitz@gmx.net>
4492
4493         * text.C (insertChar, backspace): replace rowlist fiddling
4494         with rebreak of full par
4495
4496         * lyxtext.h:
4497         * text.C (breakAgainOneRow, redoHeightOfParagraph,
4498         checkParagraph, updateInset): removed
4499
4500 2003-08-07  André Pönitz  <poenitz@gmx.net>
4501
4502         * paragraph.C:
4503         * text3.C: merge some LFUN handlers, remove dead code
4504
4505 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4506
4507         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4508
4509 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
4510
4511         * text2.C (DEPM): fix part of bug 1255 and 1256
4512
4513 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4514
4515         * BufferView_pimpl.C (workAreaDispatch): change to use
4516         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4517         that are no mouse related.
4518
4519 2003-08-05  André Pönitz  <poenitz@gmx.net>
4520
4521         * BufferView.[Ch]:
4522         * BufferView_pimpl.[Ch]:
4523         * bufferview_funcs.C:
4524         * text2.C:
4525         * text3.C: rip out "deep update"
4526
4527         * textcursor.[Ch] (last_sel_cursor): remove unused member
4528
4529 2003-08-04  André Pönitz  <poenitz@gmx.net>
4530
4531         * BufferView.[Ch]:
4532         * BufferView_pimpl.[Ch]:
4533         * ParagraphParameters.C:
4534         * bufferview_funcs.C:
4535         * lyx_cb.C:
4536         * lyxfind.C:
4537         * lyxfunc.C:
4538         * text.C:
4539         * text2.C:
4540         * text3.C: replace "complicated" BufferView::update(...) calls with
4541         simpler ones.
4542
4543         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4544
4545 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
4546
4547         * Makefile.am (lyx_SOURCES): add paper.h
4548
4549 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4550
4551         * Makefile.am: move things around so that both lyx-qt and
4552         lyx-xforms can be built (according to --with-frontend). Then lyx
4553         is a symbolic link to lyx-[firstfrontend]
4554
4555 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
4556
4557         * Always use std::endl with lyxerr
4558
4559 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
4560
4561         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4562
4563 2003-08-01  André Pönitz  <poenitz@gmx.net>
4564
4565         * BufferView.[Ch]:
4566         * BufferView_pimpl.[Ch]:
4567         * lyxfunc.C:
4568         * text3.C: merge BufferView::repaint() and BufferView::update()
4569
4570 2003-08-01  José Matos  <jamatos@lyx.org>
4571
4572         * buffer.[Ch]: file_format is no longer a buffer data element.
4573
4574 2003-08-01  André Pönitz  <poenitz@gmx.net>
4575
4576         * BufferView.C:
4577         * lyxtext.h:
4578         * text.C:
4579         * text2.C: make redoParagraph more independent of current cursor
4580
4581         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4582         * text.C:
4583         * text2.C: remove unneeded members
4584
4585 2003-07-30  André Pönitz  <poenitz@gmx.net>
4586
4587         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4588
4589         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4590           create a single function...
4591
4592         * paragraph_funcs.C (moveItem): ... here.
4593
4594         * text.C:
4595           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4596
4597 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
4598
4599         * LColor.[Ch]: Add comment and greyedout logical colors.
4600
4601 2003-07-30  André Pönitz  <poenitz@gmx.net>
4602
4603         * tabular.C: don't use Assert too heavily. This crashes where it
4604           shouldn't
4605
4606 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
4607
4608         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4609         is disabled (bug 1232)
4610
4611 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4612
4613         * factory.C: limited 'arg' scope
4614
4615 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4616
4617         * factory.C: fixed Note submenu issues
4618
4619 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
4620
4621         * factory.C: submenu for Note/Comment/Greyedout
4622
4623 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
4624
4625         * lyx_main.C (LyX):
4626         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4627
4628 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
4629
4630         * LaTeXFeatures.C:
4631         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4632         greyedout. Patch provided by Jürgen Spitzmüller.
4633
4634 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4635
4636         * kbmap.C (read): fix error message when reading bind files
4637
4638 2003-07-29  Angus Leeming  <leeming@lyx.org>
4639
4640         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4641         certainly does not do what it purports to do. I am doing it, and
4642         us, a favour by killing it.
4643
4644 2003-07-28  José Matos  <jamatos@lyx.org>
4645
4646         * buffer.C (readBody, do_writeFile):
4647         * paragraph.C(readParagraph): \end_document replaces \the_end.
4648
4649 2003-07-29  André Pönitz  <poenitz@gmx.net>
4650
4651         * BufferView.[Ch]:
4652         * BufferView_pimpl.[Ch]:
4653         * lyxfunc.C:
4654         * text2.C:
4655         * text3.C:
4656         * textcursor.[Ch]: remove toggleToggle & Co
4657
4658 2003-07-28  José Matos  <jamatos@fep.up.pt>
4659
4660         * buffer.C (readParagraph):
4661         * params_func (readParToken, readParagraph):
4662         * paragraph.C (write): \layout -> \begin_layout.
4663
4664 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4665
4666         * lyxlex_pimpl.C (setFile): clean up slightly.
4667
4668         * bufferparams.h: add compressed var
4669
4670         * buffer_funcs.C (readFile): adjust for LyXLex change
4671         (newFile): ditto + simplify
4672
4673         * buffer.C (writeFile): handle writing of compressed files
4674
4675         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4676         Check if the file is compressed and set a bufferparm if so.
4677
4678         * Makefile.am (lyx_LDADD): remove explicit -lz
4679
4680 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4681
4682         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4683         makeDocBookFile): put the real LyX version in the first line of
4684         the file
4685
4686         * version.h:
4687         * version.C.in: remove lyx_docversion
4688
4689         * tabular.C (write_attribute): add a template-based version to
4690         write enums properly
4691
4692 2003-07-28  André Pönitz  <poenitz@gmx.net>
4693
4694         * lyxtext.h:
4695         * text.C:
4696         * text2.C:
4697         * text3.C: use doubles again for x-coordinates. They are needed.
4698
4699 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4700
4701         * messages.C (getLocaleDir): use lyx_localedir()
4702
4703         * lyxlex_pimpl.C (setFile): compress stuff
4704
4705         * buffer.C (writeFile): add some compression stuff
4706         (do_writeFile): new func, dont call expliti close... will this
4707         breake anything?
4708
4709         * Makefile.am (lyx_LDADD): add -lz
4710
4711 2003-07-28  José Matos  <jamatos@fep.up.pt>
4712
4713         * buffer.C: increment file format.
4714         * paragraph_funcs (readParagraph, readParToken):
4715         * paragraph.C (readParagraph): add \end_layout.
4716
4717 2003-07-27  Angus Leeming  <leeming@lyx.org>
4718
4719         * Makefile.am: remove special casing for configure-time setting of
4720         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4721
4722         * lyx_main.C (init): remove all Jean-Marc's magic setting of
4723         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4724
4725 2003-07-26  André Pönitz  <poenitz@gmx.net>
4726
4727         * paragraph_func.[Ch]:
4728         * paragraph.C (realizeFont): inline it whereever it is used
4729
4730         * rowpainter.C:
4731         * text.C:
4732         * text2.C:
4733         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4734
4735
4736 2003-07-26  André Pönitz  <poenitz@gmx.net>
4737
4738         *       lyxtext.h:
4739         * text.C:
4740         * text2.C: get rid of LyXText::need_break_row
4741
4742 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4743
4744         * toc.[Ch]: put namespace toc inside namespace lyx
4745
4746         * MenuBackend.C (expandToc2): adjust for lyx::toc
4747         (expandToc): ditto
4748
4749         * lyxfunc.C (dispatch): adjust for lyx::find
4750
4751         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4752         lyx::find instead. Reorganize a bit.
4753         (LyXReplace): rename to replace
4754         (LyXFind): rename to find
4755
4756         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4757         (dispatch): ditto
4758
4759 2003-07-26  André Pönitz  <poenitz@gmx.net>
4760
4761         * text.C (setHeightOfRow): restrict scope of temporary variable
4762
4763         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
4764           code (never has been used?)
4765
4766 2003-07-27  Asger Alstrup  <alstrup@local>
4767
4768         * text.C (fill): Optimise algorithm to exploit that we can reuse
4769         the LyXFont for many characters.
4770         (setHeightOfRow): Same thing.
4771         (rowBreakPoint): Same thing.
4772
4773 2003-07-26  Asger Alstrup  <alstrup@local>
4774
4775         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4776
4777         * text.C (singleWidth): Spurious font copying in hot-spot
4778         singleWidth avoided. Reorder tests for arabic for efficiency.
4779
4780         * text.C (fill): handle empty paragraphs better.
4781
4782 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4783
4784         * ispell.C:
4785         * encoding.h: add includes
4786
4787         * lyxrc.C: remove reading of bind files
4788
4789         * lyx_main.C (init): setup bindings and menus only if we have a
4790         gui.
4791
4792         * kbmap.C (read): new method. Do the actual reading of bind
4793         files.
4794
4795         * converter.C (dvipdfm_options):
4796         * bufferparams.C:
4797         * lyxrc.C (read):
4798         (output): adapt PAPER_* enums.
4799
4800         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4801
4802         * bufferparams.h: remove paper-related enums from there
4803
4804         * paper.h: New file. A trivial header file to hold paper-related
4805         enums. It should later expand to contain many paper-related
4806         horrors access.
4807
4808         * lyxrc.C: declare extern displayTranslator
4809
4810 2003-07-27  José Matos  <jamatos@fep.up.pt>
4811
4812         * tabular.[Ch] (linuxdoc): add support for tables and figures
4813         (linuxdoc).
4814
4815 2003-07-27  José Matos  <jamatos@fep.up.pt>
4816
4817         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4818         consistency in both functions.
4819         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4820
4821 2003-07-26  Asger Alstrup  <alstrup@local>
4822
4823         * rowpainter.C (paintRows): Change algorithm to work directly on
4824         the insets rather than asking every character in the document
4825         whether its an inset.
4826
4827 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
4828
4829         * buffer.C (openFileWrite): factorize some code
4830
4831 2003-07-26  Angus Leeming  <leeming@lyx.org>
4832
4833         * lyx_cb.C:
4834         * lyx_main.[Ch]: replace occurances of system_tempdir with
4835         os::getTmpDir().
4836
4837 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * rename Inset to InsetOld
4840
4841 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
4842
4843         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4844         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4845         which I think is a bit clearer. EDIT is gone, since it was
4846         premature optimisation, and broken for mathed anyway.
4847         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4848         with cursor positioning in insets as well (math insets still do not
4849         work, but that's a different story anyway.) It mysteriously
4850         crashes sometimes with undo in the first paragraph, but I'm fairly
4851         confident that this is a compiler bug.
4852
4853 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4854
4855         * paragraph.C (Paragraph): adjust for new clone return type
4856         (operator==): ditto
4857         (copyIntoMinibuffer): ditto
4858
4859 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
4860
4861         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4862         by not having a special case, and always doing a full rebreak of
4863         the document after undo.
4864
4865 2003-07-23  Angus Leeming  <leeming@lyx.org>
4866
4867         * factory.C (createInset): InsetExternal::setParams now takes a
4868         Buffer const * arg.
4869
4870 2003-07-23  Angus Leeming  <leeming@lyx.org>
4871
4872         * factory.C (createInset): changed interface to the external and
4873         graphics mailers' string2params functions.
4874
4875 2003-07-23  Angus Leeming  <leeming@lyx.org>
4876
4877         * factory.C (createInset): pass a
4878         Buffer const * parameter to InsetExternalMailer's string2params.
4879
4880 2003-07-22  John Levon  <levon@movementarian.org>
4881
4882         * Thesaurus.h: include the right aiksaurus header
4883
4884 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4885
4886         * MenuBackend.C (expand): check menu shortcuts unconditionally
4887
4888 2003-07-21  Angus Leeming  <leeming@lyx.org>
4889
4890         * factory.C (createInset): pass a
4891         buffer_path parameter to InsetGraphicsMailer's string2params.
4892
4893 2003-07-21  Angus Leeming  <leeming@lyx.org>
4894
4895         * BufferView_pimpl.C (buffer):
4896         * buffer.C (d-tor):
4897         * lyx_main.C (LyX):
4898         * lyxfunc.C (dispatch):
4899         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4900         rather than the grfx shortcut.
4901
4902 2003-07-21  André Pönitz  <poenitz@gmx.net>
4903
4904         * rowpainter.C: remove unused variables
4905
4906         * tabular_funcs.C:
4907         * tabular_funcs.h: move to tabular.C
4908         * Makefile.am: adjust
4909
4910         * tabular.[Ch]: basic optical cleaning
4911
4912         * author.h: pass references, not values
4913
4914 2003-07-18  André Pönitz  <poenitz@gmx.net>
4915
4916         * lyxtext.h:
4917         * metricsinfo.C:
4918         * metricsinfo.h:
4919         * rowpainter.C:
4920         * text.C:
4921         * text2.C:
4922         * text3.C: two-phase drawing for InsetText and InsetTabular
4923         some float -> int changes.
4924
4925 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4926
4927         * lyx_main.C: fix the fix
4928
4929 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
4930
4931         * lyx_main.C: fix a crash in batch mode if no files specified
4932         * converter.C: ws
4933
4934 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
4935
4936         * format.[Ch] (papersize): moved to BufferParams
4937         * converter.[Ch] (dvips_options): moved to BufferParams
4938         (dvipdfm_options): moved to anon namespace
4939         * bufferparams.[Ch]: added above functions.
4940
4941 2003-07-17  André Pönitz  <poenitz@gmx.net>
4942
4943         * lyxtext.h:
4944         * rowpainter.C:
4945         * text2.C: don't call inset->update() anymore
4946
4947         * metricsinfo.[Ch]: add convenience constructor
4948
4949 2003-07-16  André Pönitz  <poenitz@gmx.net>
4950
4951         * lyxcursor.[Ch]:
4952         * lyxfunc.[Ch]:
4953         * text.C:
4954         * text2.C: replace the LyXCursor::irow_ member with
4955          on-demand computation of the value
4956
4957 2003-07-16  John Levon  <levon@movementarian.org>
4958
4959         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4960
4961 2003-07-15  André Pönitz  <poenitz@gmx.net>
4962
4963         * text.C:
4964         * text2.C: remove no more needed refresh_row
4965
4966 2003-07-15  André Pönitz  <poenitz@gmx.net>
4967
4968         * lyxtext.h:
4969         * rowpainter.C:
4970         * text2.C:
4971         * text3.C: refresh_status tristate -> need_update bool
4972
4973 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
4974
4975         * lyxtext.h (init): remove reinit argument (act as if always true)
4976         * text2.C: adjust to that
4977
4978 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4979
4980         * bufferview_funcs.[Ch]: introduce function replaceSelection()
4981         * text3.C: use it to delete selections in some cases
4982         (bugs 441, 673, 702, 954).
4983
4984 2003-07-14  André Pönitz  <poenitz@gmx.net>
4985
4986         * rowpainter.[Ch]: reduce interface
4987
4988 2003-07-14  André Pönitz  <poenitz@gmx.net>
4989
4990         * BufferView_pimpl.C:
4991         * text2.C: adjust after removing unused BufferView * argument
4992
4993 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
4994
4995         * text2.C (init): fix a crash fired on resize
4996
4997 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
4998
4999         * buffer.[Ch]: added new closing signal
5000         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5001         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5002         BufferView::Pimpl via the closing the signal
5003
5004 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
5005
5006         * buffer.[Ch]: take out all bv-related from buffer
5007         * BufferView.C:
5008         * BufferView_pimpl.[Ch]: connect to new signals
5009         * CutAndPaste.C: removed useless asserts
5010         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5011         * lyxvc.[Ch]:
5012         * vc-backend.[Ch]:
5013         * lyxfunc.C: moved view-related funciontality from vc here
5014         * paragraph.C: removed outdated comments
5015         * text.C: ws
5016
5017 2003-07-10  André Pönitz  <poenitz@gmx.net>
5018
5019         * BufferView_pimpl.C:
5020         * tabular.h:
5021         * tabular_funcs.C:
5022         * text.C:
5023         * text2.C: remove InsetText::InnerCache, clean up consequences
5024
5025 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
5026
5027         * ispell.C: fix two typos in error messages
5028
5029 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
5030
5031         * Extend Note inset to other forms of annotation like Comment
5032         and Greyedout. Right button click gives dialog.
5033
5034         Files modified or added (+):
5035
5036         * insetnote.[Ch]
5037         * FormNote.[Ch]      +
5038         * ControlNote.[Ch]   +
5039         * form_note.fd       +
5040         * Makefile.am in frontends/xforms, frontends/xforms/forms,
5041         frontends/controllers
5042         * xforms/Dialogs.C
5043         * factory.C
5044
5045 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5046
5047         * aspell.C: add missing namespace lyx::support
5048
5049 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
5050
5051         * BufferView.[Ch] (newFile): Add
5052         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5053         * LaTeX.[Ch] (message): added this signal and use it
5054         * buffer.[Ch] (busy, message): added these signals and use them
5055         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5056         * converter.C:
5057         * exporter.C:
5058         * format.C:
5059         * importer.C: use buffer signals instead of direct bv calling
5060         * lyx_cb.[Ch] (ShowMessage): removed
5061         * lyx_main.C:
5062         * lyxfunc.C:
5063         * paragraph_funcs.C:
5064         * text2.C: use buffer signals
5065
5066 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5067
5068         * introduce namespace lyx::graphics
5069
5070 2003-07-02  André Pönitz  <poenitz@gmx.net>
5071
5072         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5073
5074 2003-07-01  André Pönitz  <poenitz@gmx.net>
5075
5076         * text.C:
5077         * text2.C:
5078         * text3.C:
5079         * text_funcs.[Ch]:
5080         * textcursor.h:
5081         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5082           text*.C to text_func.C
5083
5084 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5085
5086         * introduce namespace lyx::support
5087
5088 2003-06-30  André Pönitz  <poenitz@gmx.net>
5089
5090         * Chktex.C:
5091         * funcrequest.C:
5092         * lyxtext.h:
5093         * text.C: re-enable --with-included-string
5094
5095 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5096
5097         * textcursor.C: add <config.h>
5098
5099         * text.C (getWord): remove const from word_location arg
5100
5101         * lyxvc.C (getLogFile): fix const type order
5102
5103         * lyxtext.h: remove const from word_location arg, add arg name
5104
5105         * lyxlayout.h: currect type on labeltype.
5106
5107         * importer.C: correct \file
5108
5109         * converter.C (intToFormat): use std:: on ret val, ws changes
5110
5111         * bufferlist.h: correct \file
5112
5113         * buffer.C (makeLinuxDocFile): fix const type order
5114         (makeDocBookFile): ditto
5115         (fillWithBibKeys): use std:: on stdlib args.
5116
5117         * CutAndPaste.C: fix authors.
5118         (availableSelections): use std:: on return vector
5119
5120 2003-06-27  André Pönitz  <poenitz@gmx.net>
5121
5122         * BufferView_pimpl.C:
5123         * bufferview_funcs.C:
5124         * lyxcursor.C:
5125         * lyxcursor.h:
5126         * lyxfunc.C:
5127         * lyxtext.h:
5128         * rowpainter.C:
5129         * text.C:
5130         * text2.C:
5131         * text3.C: remove LyXCursor::row_ member
5132
5133         * lyxtext.h:
5134         * text.C: rename fullRebreak() to partialRebreak() and implement
5135           a fullRebreak() that really bereks fully
5136
5137         * textcursor.h: new struct for cursor-related data
5138
5139 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
5140
5141         * lyx_main.C (LyX): get full path of document loaded on the
5142         command line
5143
5144 2003-06-26  André Pönitz  <poenitz@gmx.net>
5145
5146         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5147           remove unused/broken operator>,<,>=.
5148
5149         *       text.C: remove only use of broken operator<= in an Assert().
5150
5151 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5152
5153         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5154         moved errorlist_.clear to showErrorList
5155
5156 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
5157
5158         * converter.C (scanLog, runLaTeX):
5159         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5160         move the bv->showErrorList call to the callers
5161         * lyxfunc.C: i.e. here...
5162         * text2.C: and here
5163         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5164         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5165         namespace, the second to...
5166         * buffer_funcs (BufferFormat, parseErrors): added
5167         * errorlist.C (ErrorList(TeXErrors const &)): removed
5168
5169 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5170
5171         * ToolbarBackend.C (getIcon): complain when icon cannot be found
5172
5173 2003-06-24  "Garst R. Reese" <reese@isn.net>
5174
5175         * debug.C: fix typo
5176
5177 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5178
5179         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5180
5181         * version.C.in: change docversion to 1.4
5182
5183 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
5184
5185         * buffer.C: fix a bug just introduced
5186
5187 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
5188
5189         * buffer.[Ch]: added the parseError signal and use it, removed
5190         sgmlError
5191         * BufferView.[Ch] (addError): moved to ...
5192         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5193         to the Buffer::parseError signal to catch (guess what) parse errors
5194         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5195
5196 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
5197
5198         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5199         ability to create a buffer and to return an existing one from
5200         the list. Moved these functions to...
5201         * buffer_funcs.[Ch]: added
5202         * BufferView.[Ch] (loadLyXFile): added
5203         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5204         job removed from bufferlist::loadLyXFile.
5205         * buffer.C (setReadOnly): make it work without view
5206         (i.e added an if (users))
5207
5208 2003-06-19  Angus Leeming  <leeming@lyx.org>
5209
5210         * lfuns.h:
5211         * LyXAction.C (init):
5212         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5213         with LFUN_DIALOG_SHOW <name> <data>.
5214
5215 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5216
5217         * CutAndPaste.C (availableSelections): small compilation fix for
5218         ancient (gcc 2.9x) compilers
5219
5220 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
5221
5222         * text3.C (cursorNext): add tmp var
5223
5224         * text2.C (updateCounters): for function calling out of for clause
5225         (replaceSelectionWithString): ditto
5226         (insertStringAsParagraphs): ditto
5227         (getColumnNearX): add tmp var
5228         (setCursorFromCoordinates): add tmp var
5229         (cursorDownParagraph): add tmp var
5230         (deleteEmptyParagraphMechanism): add tmp var
5231
5232         * text.C (insertChar): add tmp var
5233
5234         * rowpainter.C (paintDepthBar): add tmp var
5235
5236         * CutAndPaste.C (availableSelections): potentially check all
5237         paragraphs in a cut to fill the shown strings.
5238
5239 2003-06-18  André Pönitz  <poenitz@gmx.net>
5240
5241         * kbmap.[Ch]: use vector<> instead of list<>
5242
5243 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
5244
5245         * text3.C (dispatch): handle arg to LFUN_PASTE, call
5246         pasteSelection with index
5247
5248         * text2.C (pasteSelection): modify, call pasteSelection with index
5249
5250         * paragraph.C (asString): reimplement version with no interval to
5251         call the one with interval.
5252
5253         * lyxtext.h: add index arg to pasteSelection
5254
5255         * MenuBackend.C (MenuItem): handle PasteRecent
5256         (Menu::read::Menutags): add md_pasterecent
5257         (read): handle it
5258         (expandPasteRecent): new function
5259         (expand): use it
5260
5261         * MenuBackend.h: add PasteRecent to MenuItem::Kind
5262
5263         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5264         the limited stack
5265         (availableSelections): new function
5266
5267 2003-06-17  Angus Leeming  <leeming@lyx.org>
5268
5269         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5270
5271 2003-06-17  Angus Leeming  <leeming@lyx.org>
5272
5273         * lfuns.h:
5274         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5275
5276         * lyxfunc.C (dispatch): invoke it.
5277
5278 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5279
5280         * iterators.C (operator++, ParPosition): reintroduce some
5281         const_cast for the benefit of older compilers.
5282
5283 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5284
5285         * text3.C (dispatch): do not modify clipboard when doing
5286         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5287         LFUN_DELETE_SKIP on a selection selection
5288
5289 2003-06-16  André Pönitz  <poenitz@gmx.net>
5290
5291         * BufferView.C:
5292         * buffer.C:
5293         * buffer.h:
5294         * paragraph.C:
5295         * tabular.[Ch]: IU of clone() and getLabelList();
5296
5297 2003-06-13  André Pönitz  <poenitz@gmx.net>
5298
5299         * tabular.h: compactification
5300
5301 2003-06-12  André Pönitz  <poenitz@gmx.net>
5302
5303         * tabular.C:
5304         * tabular.h:
5305         * tabular_funcs.h: some renaming plus whitespace
5306
5307 2003-06-12  André Pönitz  <poenitz@gmx.net>
5308
5309         * BufferView.C:
5310         * BufferView_pimpl.C:
5311         * CutAndPaste.C:
5312         * buffer.C:
5313         * iterators.[Ch]:
5314         * lyxfunc.C:
5315         * text.C:
5316         * toc.C: Return a Paragraph & for ParIterator::operator*()
5317
5318 2003-06-11  John Levon  <levon@movementarian.org>
5319
5320         * lyx_main.C:
5321         * ToolbarBackend.h:
5322         * ToolbarBackend.C: add "Toolbars" section and
5323         put the flags there
5324
5325 2003-06-10  Angus Leeming  <leeming@lyx.org>
5326
5327         * lfuns.h:
5328         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5329
5330         * lyxfunc.C (dispatch): invoke it.
5331
5332 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5333
5334         * main.C: protect <ios> with HAVE_IOS
5335         (main): protect sync_with_stdio with HAVE_IOS
5336
5337 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
5338
5339         * text2.C (cutSelection): adjust
5340         (pasteSelection): adjust
5341
5342         * messages.C: handle get of empty string
5343
5344         * main.C (main): use sync_with_stdio(false)
5345
5346         * lyxfunc.C (dispatch): adjust
5347
5348         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5349         (WriteAs): remove unneeded BufferView arg.
5350
5351         * bufferparams.h: use correct types on papersize, papersize2 and
5352         paperpackage.
5353
5354         * bufferparams.C (readToken): adjust for type
5355         (writeLaTeX): add missing cases to switch.
5356
5357         * bufferlist.C (quitWriteBuffer): adjust
5358         (close): adjust
5359
5360         * buffer.C (asciiParagraph): remove some commented code.
5361
5362         * CutAndPaste.C: remove current_view extern variable.
5363         (cutSelection): add BufferParams arg.
5364         (eraseSelection): add BufferParams arg.
5365         (pasteSelection): add Buffer const & arg
5366
5367 2003-06-07  John Levon  <levon@movementarian.org>
5368
5369         * buffer.C:
5370         * paragraph_funcs.C:
5371         * paragraph_pimpl.C:
5372         * text.C:
5373         * text2.C:
5374         * paragraph.h:
5375         * paragraph.C: allow InsetERT to freely space lines,
5376         and some consolidation of code
5377
5378 2003-06-06  José Matos  <jamatos@fep.up.pt>
5379
5380         * buffer.C (makeDocBookFile): fix bug #821
5381
5382 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
5383
5384         * BufferView_pimpl.C (dispatch): use Dialogs::visible
5385
5386 2003-06-04  Angus Leeming  <leeming@lyx.org>
5387
5388         * buffer.C: bump format to 224.
5389
5390 2003-06-05  André Pönitz  <poenitz@gmx.net>
5391
5392         * text2.C (redoParagraphs): remove two const_cast<>
5393
5394 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
5395
5396         * ParagraphList.h: remove last remnants of NO_STD_LIST
5397
5398 2003-06-03  Angus Leeming  <leeming@lyx.org>
5399
5400         * factory.C (createInset): small change to the way InsetExternal's params
5401         are set.
5402
5403 2003-06-04  André Pönitz  <poenitz@gmx.net>
5404
5405         * buffer.h: use Undo directly instead of shared_ptr<Undo>
5406
5407         * paragraph_pimpl.h:
5408         * paragraph.[Ch]: some Inset -> UpdatableInset changes
5409
5410         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5411
5412         * undo_funcs.C: make some simple cases of undo work again
5413
5414 2003-06-03  John Levon  <levon@movementarian.org>
5415
5416         * ispell.C: HPUX doesn't have sys/select.h
5417         (from Albert Chin)
5418
5419 2003-06-03  John Levon  <levon@movementarian.org>
5420
5421         * CutAndPaste.C: update tabular and include inset
5422         buffer references
5423
5424         * buffer.h:
5425         * paragraph.h:
5426         * paragraph.C: remove owningBuffer(), don't pass Buffer
5427         to clone()
5428
5429         * factory.C: insetGraphicsParams changed
5430
5431 2003-06-02  John Levon  <levon@movementarian.org>
5432
5433         * LyXAction.C:
5434         * factory.C:
5435         * lfuns.h:
5436         * lyxfunc.C:
5437         * text3.C: remove insetparent
5438
5439 2003-06-02  John Levon  <levon@movementarian.org>
5440
5441         * buffer.h:
5442         * buffer.C: fix inset_iterator.end(), move out of line
5443         (bug 1149)
5444
5445 2003-06-01  John Levon  <levon@movementarian.org>
5446
5447         * text3.C: use a proper cut/paste when doing inset
5448         insert (from Jürgen Spitzmüller)
5449
5450 2003-06-01  John Levon  <levon@movementarian.org>
5451
5452         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5453
5454 2003-05-30  André Pönitz  <poenitz@gmx.net>
5455
5456         * rowpainter.C: unify second drawing phase
5457
5458 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5459
5460         * trans_mgr.C: remove one case of current_view
5461
5462         * text2.C (cursorBottom): delete NO_STD_LIST stuff
5463
5464         * paragraph_funcs.h: remove paragraph.h include
5465
5466         * paragraph.h: delete NO_STD_LIST stuff
5467
5468         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5469
5470         * buffer.h: remove paragraph.h include
5471
5472         * ParagraphList.C: delete file
5473
5474         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5475
5476         * toc.C (getTocList): adjust
5477
5478         * paragraph_pimpl.C (validate): adjust
5479
5480         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5481
5482         * paragraph.C (Paragraph): adjust
5483         (getPositionOfInset): use const_iterator, adjust
5484         (bibitem): use const_iterator, adjust
5485         (setInsetOwner): adjust
5486
5487         * iterators.C (operator++): adjust
5488
5489         * InsetList.[Ch]: Replace selfmade iterator with standard
5490         vector::iterator also introduce const_iterator. Remove getPos,
5491         getInset and setInset from InsetTable. Adjust accordingly.
5492
5493         * BufferView.C (lockInset): adjust
5494         (ChangeInsets): adjust
5495
5496         * tabular.[Ch]: delete commented same_id functions
5497
5498 2003-05-28  John Levon  <levon@movementarian.org>
5499
5500         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5501
5502 2003-05-28  André Pönitz  <poenitz@gmx.net>
5503
5504         * metricsinfo.[Ch]: remove 'fullredraw' member
5505
5506 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
5507
5508         * lyxtextclass.C (operator): remove caching.
5509
5510 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
5511
5512         * text3.C: adjust
5513
5514         * text2.C (cursorBottom): adjust
5515         (setCounter): use ParagraphList::find, adjust
5516
5517         * text.C (workWidth): use ParagraphList::find, adjust
5518
5519         * lyxcursor.C (LyXCursor): adjust
5520
5521         * buffer.C (inset_iterator): adjust
5522
5523         * ParagraphList.h: make iterator(value_type) private, make
5524         ParagraphList a friend of iterator.
5525
5526         * ParagraphList.C (find): new function
5527
5528         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5529
5530 2003-05-27  André Pönitz  <poenitz@gmx.net>
5531
5532         * dimension.[Ch]: a -> asc, d -> des, w -> wid
5533
5534 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5535
5536         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5537
5538 2003-05-26  John Levon  <levon@movementarian.org>
5539
5540         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5541
5542 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5543
5544         * remove same_id from function signatures, adjust.
5545
5546 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
5547
5548         * undo_funcs.C (createUndo): use the id functions directly, adjust.
5549
5550         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5551
5552         * paragraph.C (Paragraph): get rid of same_ids parameter
5553
5554         * ParagraphList.C (insert): adjust
5555         (push_back): adjust
5556
5557 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
5558
5559         * paragraph_funcs.C (breakParagraph): adjust
5560         (breakParagraphConservative): adjust
5561
5562         * buffer.C (readParagraph): adjust
5563
5564         * ParagraphList.C (insert): take a reference instead of a pointer
5565         (insert): adjust
5566
5567         * paragraph.[Ch] (id): new function
5568
5569         * bufferlist.C (newFile): adjust
5570
5571         * ParagraphList.C (ParagraphList): adjust
5572         (assign): adjust
5573         (push_back): take a reference instead of a pointer.
5574
5575         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5576
5577         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5578         instead.
5579
5580         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5581         set else use old code.
5582
5583         * ParagraphList.C: remove all NO_NEXT code and only compile this
5584         code of NO_STD_LIST is set.
5585
5586 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5587
5588         * BufferView_pimpl.C:
5589         * TextCache.C:
5590         * TextCache.h:
5591         * bufferlist.C:
5592         * errorlist.h:
5593         * format.C:
5594         * format.h:
5595         * graph.C:
5596         * lyxfunc.C:
5597         * lyxrc.C:
5598         * graphics/GraphicsConverter.C:
5599         * graphics/PreviewLoader.C: header adjustment
5600
5601 2003-05-23  Angus Leeming  <leeming@lyx.org>
5602
5603         * LaTeXFeatures.[Ch] (useBabel): new method.
5604         * bufferparams.C (writeLaTeX): use it.
5605
5606 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5607
5608         * ParagraphList.h (set): remove unused function.
5609
5610 2003-05-23  André Pönitz  <poenitz@gmx.net>
5611
5612         * BufferView.C:
5613         * BufferView_pimpl.C:
5614         * buffer.C:
5615         * buffer.h:
5616         * lyxfunc.C:
5617         * undo_funcs.C: setUndo reworked
5618
5619         * iterators.[Ch]: add access to topmost ParagraphList
5620
5621         * lyxtext.[Ch] (workWidth): add a const
5622
5623 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
5624
5625         * texrow.[Ch] (increasePos): remove function
5626         * exporter.C (export): removed unused var and outdated comment
5627
5628 2003-05-23  Angus Leeming  <leeming@lyx.org>
5629
5630         * latexrunparams.h: rename fragile as moving_arg.
5631         * paragraph.C (simpleTeXOnePar): ditto.
5632         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5633
5634 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5635
5636         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5637         (createUndo): ditto
5638         (textUndoOrRedo): comment out a currently unused var.
5639
5640         * paragraph.h (NO_NEXT): enable NO_NEXT
5641
5642         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5643
5644         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5645
5646         * exporter.C (Export): adjust for removeAutoInsets removal.
5647
5648         * buffer.C (runChktex): adjust for removeAutoInsets removal.
5649
5650         * LyXAction.C (init): remove LFUN_REMOVEERRORS
5651
5652         * BufferView.[Ch] (removeAutoInsets): delete function
5653
5654 2003-05-22  Angus Leeming  <leeming@lyx.org>
5655
5656         * latexrunparams.h: add a free_spacing variable.
5657
5658         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5659         to pass moving_arg, as the data is stored in runparams.fragile.
5660
5661         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5662         to Inset::latexOptional or to simpleTeXOnePar.
5663
5664         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5665         free_spacing arg to Inset::latexOptional.
5666
5667         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5668         free_spacing arg.
5669
5670 2003-05-22  Angus Leeming  <leeming@lyx.org>
5671
5672         * latexrunparams.h: add fragile and use_babel variables.
5673
5674         * bufferparams.[Ch] (writeLaTeX): return use_babel.
5675         * buffer.C (makeLaTeXFile): store this returned value in
5676         runparams.use_babel, thus passing it to the inset::latex methods.
5677
5678         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5679         simpleTeXSpecialChars as it is now stored in runparams.fragile.
5680
5681         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5682         longer has a fragile arg, as it is stored in runparams.fragile.
5683
5684         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5685         moving_arg parameter as the data is stored in runparams.fragile.
5686
5687         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5688         a fragile parameter as the data is stored in runparams.fragile.
5689
5690 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5691
5692         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5693
5694 2003-05-22  Angus Leeming  <leeming@lyx.org>
5695
5696         * latexrunparams.h: add a 'bool nice' which defaults to false.
5697
5698         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5699         now encapsulated within runparams.
5700
5701         * bufferlist.C (updateIncludedTeXfiles):
5702         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5703
5704 2003-05-22  Angus Leeming  <leeming@lyx.org>
5705
5706         * latexrunparams.h: new file containing struct LatexRunParams.
5707         * Makefile.am: add new file.
5708
5709         * LaTeX.[Ch] (c-tor, run):
5710         * buffer.[Ch] (makeLaTeXFile):
5711         * bufferlist.[Ch] (updateIncludedTeXfiles):
5712         * converter.C (convert, scanLog):
5713         * converter.[Ch] (runLaTeX):
5714         * exporter.C (Export):
5715         * paragraph.[Ch] (simpleTeXOnePar):
5716         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5717         * paragraph_funcs.[Ch] (latexParagraphs):
5718         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5719         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5720         pass around a LatexRunParams parameter.
5721
5722 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5723
5724         * paragraph.[Ch]: remove unused constructor
5725
5726         * ParagraphList.C (erase): new function, taking two iterators
5727
5728 2003-05-22  André Pönitz  <poenitz@gmx.net>
5729
5730         * undo_funcs.C: remove duplicated code
5731
5732         * iterator.[Ch]: operator=
5733
5734 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5735
5736         * tabular.C (SetMultiColumn): ws changes
5737
5738         * rowpainter.C (paintFirst): get rid of a ->previous
5739
5740         * lyx_cb.C (getPossibleLabel): parlist simplification
5741
5742         * BufferView.C (ChangeInsets): simplify slightly.
5743
5744 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
5745
5746         * LyXAction.C: new lfun space-insert, kill protected-space-insert
5747         * lfuns.h: new LFUN_SPACE
5748         * lyxfunc.C: protected space has a new lfun
5749         * paragraph_funcs.C: read new space insets
5750         * text3.C:
5751         * factory.C: handle new space insets
5752
5753 2003-05-22  André Pönitz  <poenitz@gmx.net>
5754
5755         * BufferView.C:
5756         * BufferView_pimpl.C:
5757         * buffer.[Ch]:
5758         * lyxfunc.C:
5759         * undo_funcs.C: return a ParIterator from getParFromID.
5760
5761         * iterators.[Ch]: add two const's
5762
5763 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5764
5765         * toc.C (getTocList): adjust
5766
5767         * iterators.[Ch]: rework for parlist
5768
5769         * buffer.C (par_iterator_begin): adjust
5770         (par_iterator_end): adjust
5771
5772         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5773
5774         * BufferView.C (removeAutoInsets): adjust
5775         (ChangeInsets): adjust
5776
5777 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
5778
5779         * text.C (top_y): fix bug 1110
5780
5781 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
5782
5783         * errorlist.[Ch]: added
5784         * buffer.C:
5785         * BufferView.[Ch]:
5786         * BufferView_pimpl.C:
5787         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5788         instead
5789
5790 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5791
5792         * Makefile.am: ensure that lyx is relinked upon changes to the
5793         various "convenience" libs.
5794
5795 2003-05-20  Angus Leeming  <leeming@lyx.org>
5796
5797         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5798         files are compiled in alphabetical order again.
5799
5800         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5801
5802 2003-05-19  Angus Leeming  <leeming@lyx.org>
5803
5804         * gettext.[Ch]: remove "char const * _(char const *)".
5805
5806 2003-05-19  André Pönitz  <poenitz@gmx.net>
5807
5808         * dimension.[Ch]: promote from mathed/dimension.[Ch]
5809
5810         * Makefile.am:
5811         * BufferView.C:
5812         * DepTable.h:
5813         * LaTeXFeatures.C:
5814         * buffer.C:
5815         * lyxfont.C:
5816         * lyxlex.h:
5817         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5818
5819 2003-05-19  André Pönitz  <poenitz@gmx.net>
5820
5821         * buffer.C:
5822         * lyxlayout.[Ch]:
5823         * lyxtextclass.[Ch]:
5824         * paragraph.C:
5825         * paragraph_funcs.[Ch]:
5826         * text2.C:
5827         * text3.C: more insetenv work
5828
5829 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
5830
5831         * ParagraphParameters.C (params2string): small bug fixed
5832
5833 2003-05-16  André Pönitz  <poenitz@gmx.net>
5834
5835         * debug.C:
5836         * bufferview_funcs.C: patch from Kornel Benko to prevent
5837           crash when _(...) is called twice in a statement
5838
5839 2003-05-16  André Pönitz  <poenitz@gmx.net>
5840
5841         * BufferView.C:
5842         * lyxfunc.C:
5843         * text.C:
5844         * text2.C:
5845         * text3.C:
5846         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5847
5848 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
5849
5850         * lyx_main.C (init): remove spurious static_cast
5851
5852 2003-05-14  André Pönitz  <poenitz@gmx.net>
5853
5854         * BufferView.C: fix format string
5855
5856 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
5857
5858         * BufferView.[Ch] (insertErrors): removed
5859         * BufferView.[Ch] (showErrorList): added
5860         * buffer.C (runChkTeX):
5861         * converter.C (scanLog): call showErrorList instead of inserterrors
5862
5863 2003-05-13  André Pönitz  <poenitz@gmx.net>
5864
5865         * BufferView_pimpl.C:
5866         * buffer.C:
5867         * bufferview_func.C:
5868         * MenuBackend.C:
5869         * lyxfunc.C:
5870         * lyxrc.C:
5871         * tex-accent.C:
5872         * text3.C:
5873         * toc.C:
5874         * tabular_funcs.h: tostr() from its own header
5875
5876         * ParagraphParameters.C:
5877         * ToolbarBackend.C:
5878         * bufferparams.C:
5879         * format.C:
5880         * lyxlex_pimpl.C:
5881         * text3.C: STRCONV()
5882
5883 2003-05-12  André Pönitz  <poenitz@gmx.net>
5884
5885         * BufferView.C:
5886         * BufferView_pimpl.C:
5887         * CutAndPaste.C:
5888         * LaTeX.C:
5889         * LaTeXFeatures.C:
5890         * ParagraphParameters.C:
5891         * buffer.C:
5892         * bufferlist.C:
5893         * bufferparams.C:
5894         * bufferview_funcs.C:
5895         * converter.C:
5896         * counters.C:
5897         * debug.C:
5898         * exporter.C:
5899         * format.C:
5900         * importer.C:
5901         * lyx_cb.C:
5902         * lyx_main.C:
5903         * lyxfont.C:
5904         * lyxfunc.C:
5905         * lyxvc.C:
5906         * paragraph.C:
5907         * paragraph_funcs.C:
5908         * tabular.C:
5909         * tabular_funcs.C:
5910         * text2.C:
5911         * text3.C:  boost::format -> bformat  all over the place
5912
5913
5914 2003-05-09  André Pönitz  <poenitz@gmx.net>
5915
5916         * LColor.[Ch]: Pimpl the #include <map> away
5917
5918 2003-05-09  John Levon  <levon@movementarian.org>
5919
5920         * bufferlist.C: never remove emergency saves
5921
5922 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5923
5924         * Makefile.am: better lib building
5925
5926 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
5927
5928         * texrow.[Ch]: remove dependency on Paragraph and just store a id
5929         instead.
5930         * paragraph_pimpl.C (simpleTeXBlanks): adjust
5931         (simpleTeXSpecialChars): adjust
5932         (simpleTeXSpecialChars): adjust
5933         * paragraph.C (simpleTeXOnePar): adjust
5934         * buffer.C (makeLaTeXFile): adjust
5935
5936         * Makefile.am (BOOST_LIBS): allow boost as system lib.
5937
5938         * text2.C (changeDepth): parlist cleanup
5939         (getColumnNearX): ditto
5940
5941         * rowpainter.C (getLabelFont): parlist cleanup
5942
5943         * bufferlist.C (newFile): parlist cleanup
5944
5945         * CutAndPaste.C (eraseSelection): parlist cleanup
5946
5947         * BufferView_pimpl.C (trackChanges): parlist cleanup
5948         (dispatch): ditto
5949
5950         * BufferView.C (lockInset): parlist cleanup.
5951         (ChangeInsets): ditto
5952
5953 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5954
5955         * CutAndPaste.h: Update file header.
5956
5957         * CutAndPaste.C: Update file header.
5958         Store the parts cut out of the Document in a limited_stack.
5959         (copySelection): adjust
5960         (pasteSelection): new function, takes the index in the limited stack.
5961         (nrOfParagraphs): adjust
5962         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5963         simplify error inset insertion.
5964         (checkPastePossible): adjust
5965
5966 2003-05-06  John Levon  <levon@movementarian.org>
5967
5968         * text2.C: don't cast wrap inset to float
5969
5970 2003-05-05  André Pönitz  <poenitz@gmx.net>
5971
5972         * iterator.C:
5973         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5974
5975         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5976           few naked Paragraph *.
5977
5978 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
5979
5980         * bufferparams.C: Output warning if a document with missing
5981         TeX document class is loaded
5982         * exporter.C: Disable TeX exports if the document class is missing
5983         * lyxtextclass.C:
5984         * lyxtextclass.h:
5985         * lyxtextclasslist.C: Handle new textclass.lst format; new method
5986         isTeXClassAvailable()
5987
5988 2003-05-03  John Levon  <levon@movementarian.org>
5989
5990         * BufferView.h:
5991         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5992         explicit cursor show/hide
5993
5994         * BufferView_pimpl.h:
5995         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5996         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5997
5998         * lyxfunc.C: hide cursor before dispatching.
5999
6000         * lyx_cb.C:
6001         * lyxfind.C:
6002         * text.C:
6003         * text3.C: remove explicit cursor hides
6004
6005 2003-05-02  André Pönitz  <poenitz@gmx.net>
6006
6007         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6008
6009         * undo_funcs.C:
6010         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6011           linked lists
6012
6013         * text2.C: tiny whitespace
6014
6015 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6016
6017         * undo_funcs.C: almost only ws changes.
6018
6019         * ParagraphList.C (splice): just return if pl is empty.
6020
6021 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6022
6023         * ParagraphList.C (splice): new function.
6024
6025         * CutAndPaste.C (pasteSelection): use it
6026
6027 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6028
6029         * CutAndPaste.C (pasteSelection): remove the last next and
6030         previous from this file.
6031
6032 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6033
6034         * CutAndPaste.C (pasteSelection): more clean up, user proper
6035         ParagraphList functions for pasteing.
6036
6037         * ParagraphList.C (insert): new function, three arg insert
6038
6039 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6040
6041         * ParagraphList.C (insert): new function, three arg insert
6042
6043         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6044         not on paragraphs.
6045
6046 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6047
6048         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6049
6050 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6051
6052         * CutAndPaste.C (pasteSelection): remove some unneeded code.
6053
6054 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6055
6056         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6057         (copySelection): clean up a bit.
6058         (pasteSelection): use make_pair
6059
6060         * ParagraphList.C (ParagraphList): implement copy constructor
6061         (operator=): implement, base on copy constructor.
6062         (assign): new func
6063
6064         * paragraph.C (erase): return a bool
6065
6066         * paragraph_pimpl.C (erasePos): remove function, move contents...
6067         (erase): ... here. Return a bool.
6068         (erase): call erase instead of erasePos.
6069
6070 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
6071
6072         * ParagraphList.h: define PitPosPair
6073         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6074         ParagraphList, fix a bug on pasting multiple pars
6075         * text2.C: change interface to C&P
6076
6077 2003-04-30  André Pönitz  <poenitz@gmx.net>
6078
6079         * undo_func.C: revert part of yesterday's patch 2
6080
6081 2003-04-30  John Levon  <levon@movementarian.org>
6082
6083         * LColor.C: s/tabular/table/
6084
6085 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6086
6087         * text3.C (dispatch): do not convert iterator -> pointer
6088         * undo_funcs.C (setCursorParUndo): ditto
6089         * text_funcs.C (transposeChars): ditto
6090
6091         * text2.C (setLayout): ws changes only
6092
6093         * text.C (breakParagraph): do not convert iterator -> pointer
6094         (insertChar): ditto
6095         (acceptChange): ditto
6096         (rejectChange): ditto
6097         (changeCase): ditto
6098         (Delete): ditto
6099         (backspace): ditto
6100
6101         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6102         pointer
6103
6104 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6105
6106         * text3.C (gotoInset): YABG (yet another bad getChar)
6107
6108 2003-04-29  André Pönitz  <poenitz@gmx.net>
6109
6110         * paragraph.h: make operator= private unimplemented as long as
6111           it is unusable
6112
6113         * ParagraphList.C: whitespace
6114
6115         * paragraph.[Ch]:
6116         * paragraph_pimpl.[Ch]:
6117         * paragraph_funcs.C:
6118         * CutAndPaste.C:
6119         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
6120
6121         * text2.C:
6122           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6123
6124 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
6125
6126         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6127         * paragraph.[Ch] (erase):
6128         * paragraph_pimpl.[Ch] (erase): change return type and value
6129         * text2.C (cutSelection): some rework
6130
6131 2003-04-28  John Levon  <levon@movementarian.org>
6132
6133         * bufferlist.C: changes for unsaved changes dialog
6134
6135 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6136
6137         * bufferlist.C (newFile): set language (messages_) for new
6138         documents also.
6139
6140         * buffer.C (readFile): ws changes only.
6141
6142 2003-04-28  André Pönitz  <poenitz@gmx.net>
6143
6144         * undo_funcs.C:
6145         * lyxfunc.C:
6146         * buffer.[Ch]:
6147         * BufferView_pimpl.C:
6148         * BufferView.C: getParFromID related ParagraphList::iterator changes
6149
6150 2003-04-28  André Pönitz  <poenitz@gmx.net>
6151
6152         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6153           Changes
6154
6155 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6156
6157         * messages.C: remove one more localedir class variable.
6158
6159 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6160
6161         * messages.C (getLocaleDir): singleton generation function
6162         (Pimpl): use it.
6163         (Messages): add a default constructor.
6164
6165         * main.C (main): do not setup localedir here, do not call
6166         gettext_init.
6167
6168         * gettext.C (_): use it.
6169         (gettext_init): delete funciton
6170
6171 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6172
6173         * gettext.C (getLyXMessages): new singleton generating function.
6174
6175         * buffer.C (updateDocLang): adjust
6176
6177         * Makefile.am (messages.o): add target
6178         (main.o): remove target
6179
6180 2003-04-27  John Levon  <levon@movementarian.org>
6181
6182         * bufferlist.C:
6183         * lyx_cb.C:
6184         * lyxfunc.C:
6185         * lyxvc.C: specify cancel button in Alert::prompt
6186
6187 2003-04-26  John Levon  <levon@movementarian.org>
6188
6189         * text3.C:
6190         * lyxfunc.C:
6191         * lfuns.h:
6192         * LyXAction.C: add LFUN_INSET_SETTINGS
6193
6194         * lyxfunc.C: don't enable tabular-feature when there's
6195         just any locking inset
6196
6197 2003-04-26  John Levon  <levon@movementarian.org>
6198
6199         * bufferlist.C: re-add Cancel to buffer close question
6200
6201         * lyxfunc.C: fix import UI a bit
6202
6203 2003-04-25  John Levon  <levon@movementarian.org>
6204
6205         * gettext.C: remove the broken asserts for now
6206
6207 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6208
6209         * messages.C: make case where setlocale cannot comply work better.
6210
6211         * buffer.C (updateDocLang): new function
6212         (changeLanguage): use it
6213         (readFile): use it
6214
6215         * text2.C (setCounter): use B_ a bit.
6216
6217         * lyxlayout.C (Read): be sure to trim the label strings.
6218
6219         * messages.C (Messages): fix typo in comment
6220
6221         * buffer.C (readFile): set message_ after file is loaded.
6222         (makeDocBookFile): remove double return
6223         (changeLanguage): reset message_ upon language change.
6224         (B_): new func, use this to get translated buffer strings.
6225
6226         * main.C: add myself and Jean Marc as authors.
6227
6228 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
6229
6230         * messages.[hC]: pimplify Messages, and three different pimpls to be
6231         used in different circumstances.
6232
6233         * gettext.[Ch]: change for use with new message code.
6234
6235 2003-04-24 André Pönitz <poenitz@gmx.net>
6236
6237         * factory.C: support for eqref
6238
6239 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
6240
6241         * messages.[Ch]: add missing char
6242
6243         * Makefile.am (lyx_SOURCES): add messages.[Ch]
6244
6245         * messages.[Ch]: New files
6246
6247 2003-04-18  John Levon  <levon@movementarian.org>
6248
6249         * BufferView.h:
6250         * BufferView.C:
6251         * BufferView_pimpl.C:
6252         * lfuns.h:
6253         * LyXAction.C:
6254         * lyxtext.h:
6255         * text2.C: remove layout-copy/paste (bug 778)
6256
6257 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6258
6259         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6260
6261 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
6262
6263         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6264         if they succeed. Act accordingly.
6265
6266 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6267
6268         * text2.C (setCharFont): adjust
6269         (setCounter): adjust
6270         (insertStringAsLines): adjust
6271
6272         * text.C (leftMargin): adjust
6273         (setHeightOfRow): adjust
6274
6275         * rowpainter.C (paintFirst): adjust
6276         (paintLast): adjust
6277
6278         * paragraph_funcs.C (depthHook): ParagraphList::iterators
6279         (outerHook): ditto
6280         (isFirstInSequence): ditto
6281         (getEndLabel): ditto
6282         (outerFont): adjust
6283
6284         * paragraph.C (getParLanguage): comment out some hard stuff.
6285
6286         * buffer.C (insertStringAsLines): take a ParagraphList as arg
6287         (sgmlError): ditto
6288         (simpleDocBookOnePar): ditto
6289         (makeDocBookFile): use ParagraphList::iterator
6290
6291         * CutAndPaste.C (pasteSelection): adjust
6292
6293 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6294
6295         * text2.C (getFont): adjust
6296         (getLayoutFont): adjust
6297         (getLabelFont): adjust
6298
6299         * paragraph_funcs.C (TeXOnePar): adjust
6300
6301         * buffer.C (simpleLinuxDocOnePar): adjust
6302         (simpleDocBookOnePar): adjust
6303
6304         * CutAndPaste.C (pasteSelection): adjust
6305
6306         * BufferView.C (getEncoding): adjust
6307
6308         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6309
6310 2003-04-16  John Levon  <levon@movementarian.org>
6311
6312         * lyxfind.C: use parlist stuff for search/changes
6313
6314 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
6315
6316         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6317
6318         * text2.C (deleteEmptyParagraphMechanism): adjust
6319
6320         * text2.[Ch] (ownerParagraph): delete func (both of them
6321
6322 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6323
6324         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6325
6326 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6327
6328         * ParagraphList.C: prepare for NO_NEXT
6329
6330 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6331
6332         * text2.C (getFont): adjust
6333         (getLayoutFont): adjust
6334         (getLabelFont): adjust
6335
6336         * paragraph.C (getFont): adjust
6337         (getLabelFont): adjust
6338         (getLayoutFont): adjust
6339
6340         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6341
6342 2003-04-15  John Levon  <levon@movementarian.org>
6343
6344         From Angus Leeming
6345
6346         * lyx_main.C: handle Include in .ui files
6347
6348 2003-04-15  John Levon  <levon@movementarian.org>
6349
6350         * MenuBackend.C: make the doc files length shorter
6351
6352         * ToolbarBackend.h:
6353         * ToolbarBackend.C: handle toolbar placement flags,
6354         Minibuffer
6355
6356 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6357
6358         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6359         adjust
6360
6361         * paragraph_funcs.C (TeXOnePar): adjust
6362
6363         * paragraph.C (getLabelFont): add outerfont arg, adjust
6364         (getLayoutFont): ditto
6365         (simpleTeXOnePar): adjust
6366
6367         * paragraph_pimpl.C (realizeFont): delete func
6368
6369 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
6370
6371         * text2.C (beforeFullRowInset): added a bad getchar check, removed
6372         row argument, constify cur argument.
6373
6374 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
6375
6376         * text2.C (getFont): adjust
6377         (getLayoutFont): adjust
6378         (getLabelFont): adjust
6379
6380         * paragraph_funcs.C (TeXOnePar): adjust
6381         (outerFont): new func...
6382         (realizeFont): ...moved out from here, changed this to facilitate
6383         transition
6384
6385         * paragraph.C (getFont): take outerfont as arg, adjust
6386         (simpleTeXOnePar): add outerfont arg, adjust
6387
6388         * buffer.C (simpleLinuxDocOnePar): adjust
6389         (simpleDocBookOnePar): adjust
6390
6391         * CutAndPaste.C (pasteSelection): adjust
6392
6393         * BufferView.C (getEncoding): adjust
6394
6395 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6396
6397         * text2.C (setCharFont): adjust
6398         (setCounter): adjust
6399
6400         * text.C (leftMargin): adjust
6401         (setHeightOfRow): adjust
6402
6403         * rowpainter.C (paintFirst): adjust
6404         (paintLast): adjust
6405
6406         * paragraph_pimpl.C (realizeFont): adjust
6407
6408         * paragraph.C (isFirstInSequence): move from here...
6409         * paragraph_funcs.C (isFirstInSequence): ...to here
6410
6411         * paragraph.C (outerHook): move from here...
6412         * paragraph_funcs.C (outerHook): ...to here
6413
6414         * paragraph.C (depthHook): move from here...
6415         * paragraph_funcs.C (depthHook): ...to here
6416
6417         * paragraph.C (getEndLabel): move from here...
6418         * paragraph_funcs.C (getEndLabel): ...to here
6419
6420         * text2.C (realizeFont): move from here...
6421         * paragraph_funcs.C (realizeFont): ...to here
6422
6423 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6424
6425         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6426
6427 2003-04-14  Angus Leeming  <leeming@lyx.org>
6428
6429         * LColor.[Ch]: scrap LColor mathcursor.
6430
6431 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6432
6433         * lyxlex.[Ch] (text): delete function
6434         * trans.C (Load): adjust
6435         * paragraph_funcs.C (readParToken): adjust
6436
6437 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6438
6439         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6440         vector<char> instead of a char[].
6441
6442         * lyxlex_pimpl.C (getString): adjust
6443         (next): adjust
6444         (lex): use getString
6445         (eatLine): adjust
6446         (nextToken): adjust
6447
6448         * lyxlex.C (text): use pimpl_->getString()
6449         (getBool): ditto
6450         (findToken): ditto
6451
6452 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
6453
6454         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6455         (makeFontEntriesLayoutSpecific): temp var for par.size()
6456         (setLayout): temp var for ownerParagraphs().end()
6457         (fullRebreak): temp var for rows().end()
6458         (selectionAsString): temp var for boost::next(startpit), realize
6459         that the while really is a regular for loop.
6460         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6461         setCursor in one place.
6462         (setParagraph): temp vr for ownerParagraphs().end()
6463         (updateCounters): make the while loop a for loop
6464         (cutSelection): temp var for ownerParagraphs().end()
6465         (updateInset): make the do {} while() a regular for loop
6466         (getCursorX): use temp vars
6467         (setCurrentFont): use temp vars
6468         (getColumnNearX): use temp vars
6469
6470 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6471
6472         * text.C (transformChar): use temp var for getChar
6473         (computeBidiTables): use temp var for row->par()
6474         (fill): move temp vars for row->par() and pit->layout() earlier in
6475         the function.
6476         (labelFill): use temp var for row->par()
6477         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6478         asc and desc, realize that pit never changes and that firstpit is
6479         just a duplicate and not needed. Exchange rit->par() with pit in a
6480         lot of places.
6481         (breakAgain): use a temp var for boost::next(rit)
6482         (breakAgainOneRow): ditto
6483         (breakParagraph): use a temp var for rows().begin()
6484         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6485         (cursorRightOneWord): use temp var for cursor.par() and
6486         cursor.pos(), remove usage of tmpcursor.
6487         (cursorLeftOneWord): use temp var for cursor.par() and
6488         cursor.pos() only set cur at end of function.
6489
6490 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
6491
6492         * text.C, text2.C: exchange all usage of Paragraph::next with
6493         boost::next(ParagraphList::iterator)
6494
6495         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6496
6497         * text2.C (cursorTop): simplify implementation
6498         (cursorBottom): ditto
6499         (setParagraph): use ParagraphList::iterator
6500         (setCurrentFont): adjust
6501         (getColumnNearX): adjust
6502         (cursorRight): adjust
6503         (cursorLeft): remove usage of Paragraph::previous
6504         (cursorUpParagraph): ditto
6505         (deleteEmptyParagraphMechanism): slight cleanup
6506
6507         * text.C (isBoundary): take a Paragraph const & instead of a
6508         pointer as arg.
6509         (addressBreakPoint): ditto
6510         (leftMargin): remove usage of Paragraph::previous.
6511         (setHeightOfRow): ditto
6512         (cursorLeftOneWord): ditto
6513         (selectNextWordToSpellcheck): ditto
6514         (Delete): ditto
6515         (backspace): ditto
6516         (breakParagraph): remove one usage of Paragraph::next
6517         (redoParagraph): ditto
6518         (acceptChange): ditto
6519         (insertChar): adjust
6520         (rowBreakPoint): adjust
6521
6522         * bufferview_funcs.C (toggleAndShow): adjust
6523
6524 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
6525
6526         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6527         methods to access it.
6528         * lyxtext.h:
6529         * text.C: Added updateRowPositions to compute all row positions.
6530         Make top_y and getRowNearY() to use the cached y position
6531
6532 2003-04-11  John Levon  <levon@movementarian.org>
6533
6534         * text.C (rowBreakPoint): reintroduce the labelEnd
6535         checks, code copied from the row fill stuff. Deep voodoo.
6536
6537         * text.C (fill): add a comment and debugging for the
6538         next poor soul.
6539
6540 2003-04-11  John Levon  <levon@movementarian.org>
6541
6542         * text.C: make sure fullrow insets get wrapped to the next line,
6543         even when they're in a manual label
6544
6545 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
6546
6547         * text2.C (insertParagraph): make it take ParagraphList::iterator
6548         as arg.
6549         (setLayout): make it return ParagraphList::iterator
6550         (redoParagraphs): ditto
6551         (setCounter): ditto
6552         (checkParagraph): ditto
6553
6554         * text.C (getRow): make getrow take ParagraphList::iterator as arg
6555
6556         * text2.C: adjust several funcs.
6557         (realizeFont): take a ParagraphList::iterator as arg.
6558         (getLayoutFont): ditto
6559         (getLabelFont): ditto
6560         (setCharFont): ditto
6561
6562         * text.C: adjust several funcs.
6563
6564 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6565
6566         * text.C (selectNextWordToSpellcheck): don't accidentally
6567         skip insets
6568
6569 2003-04-10  John Levon  <levon@movementarian.org>
6570
6571         * ToolbarBackend.C (getIcon): special handling for
6572         LFUN_MATH_DELIM
6573
6574 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
6575
6576         * text2.C (cursorRight): a getChar assert fixed
6577
6578 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6579
6580         * text2.C (getFont): change to take a ParagraphList::iterator
6581         instead of Paragraph*
6582         Adjust several functions.
6583
6584         * text.C (transformChar): change to take a ParagraphList::iterator
6585         instead of Paragraph*
6586         (singleWidth): ditto
6587         Adjust several functions.
6588
6589         * rowpainter.C: adjust several functions
6590         * rowpainter.h:store a ParagraphList::iterator and not a
6591         Paragraph&.
6592
6593
6594 2003-04-09  John Levon  <levon@movementarian.org>
6595
6596         * lyxfunc.C:
6597         * lfuns.h:
6598         * LyXAction.h:
6599         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6600         and the "help" bits as well
6601
6602 2003-04-09  John Levon  <levon@movementarian.org>
6603
6604         * ToolbarBackend.h:
6605         * ToolbarBackend.C: allow multiple toolbars
6606
6607 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
6608
6609         * undo_funcs.C (setCursorParUndo): adjust
6610
6611         * text_funcs.C (transposeChars): adjust
6612
6613         * text3.C (gotoNextInset): adjust
6614         (dispatch): adjust
6615
6616         * text2.C (setLayout): adjust
6617         (changeDepth): adjust
6618         (setFont): adjust
6619         (redoParagraphs): adjust
6620         (selectionAsString): adjust
6621         (setParagraph): adjust
6622         (insertInset): adjust
6623         (cutSelection): adjust
6624         (copySelection): adjust
6625         (pasteSelection): adjust
6626         (insertStringAsLines): adjust
6627         (updateInset): adjust
6628         (setCursor): change to take a ParagraphList::iterator parameter
6629         (setCursorIntern): change to take a ParagraphList::iterator parameter
6630         (setCurrentFont): adjust
6631         (cursorLeft): adjust
6632         (cursorRight): adjust
6633         (deleteEmptyParagraphMechanism): adjust
6634
6635         * text.C (breakParagraph): adjust
6636         (insertChar): adjust
6637         (acceptChange): adjust
6638         (rejectChange): adjust
6639         (selectNextWordToSpellcheck): adjust
6640         (changeCase): adjust
6641         (Delete): adjust
6642         (backspace): adjust
6643
6644         * lyxfind.C (SearchForward): adjust
6645         (SearchBackward): adjust
6646         (nextChange): adjust
6647
6648         * lyxcursor.C (par): adjust
6649
6650         * lyxcursor.h: store a ParagraphList::iterator instead of a
6651         Paragraph*
6652
6653         * lyx_cb.C (getPossibleLabel): adjust
6654
6655         * bufferview_funcs.C (toggleAndShow): adjust
6656
6657         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6658         (dispatch): adjust
6659
6660         * BufferView.C (removeAutoInsets): adjust
6661         (lockedInsetStoreUndo): adjust
6662
6663 2003-04-09  John Levon  <levon@movementarian.org>
6664
6665         * ToolbarBackend.C: try icon without argument
6666         if with argument fails
6667
6668 2003-04-08  John Levon  <levon@movementarian.org>
6669
6670         * ToolbarBackend.h:
6671         * ToolbarBackend.C: add getIcon(), handle tooltip,
6672         and change from "Icon" to "Item".
6673
6674 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6675
6676         * BufferView.C (lockInset): another bad getchar crunched
6677
6678 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
6679
6680         * text2.C (changeDepth): do not setUndo on test_only (make undo work
6681         again)
6682
6683 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
6684
6685         * lyxfind.C (searchForward, searchBackwards): bug 782
6686
6687 2003-04-07  John Levon  <levon@movementarian.org>
6688
6689         * paragraph.C: remove dead comment
6690
6691         * text.C: remove troublesome depth-fiddling code
6692         in leftMargin() and rightMargin() (bug 1017)
6693
6694         * text.C: fix breaking of rows in nested lists
6695         (bug 1004)
6696
6697         * text2.C (updateCounters): fix up depth values
6698         (bug 1013)
6699
6700 2003-04-07  John Levon  <levon@movementarian.org>
6701
6702         * BufferView_pimpl.C: clear message when doc finishes resizing,
6703         and after a mouse event
6704
6705         * lyxfunc.C: clear message after exiting inset
6706
6707 2003-04-07  John Levon  <levon@movementarian.org>
6708
6709         * bufferview_funcs.C: show math status not outside
6710         status in the statusbar
6711
6712 2003-04-07  John Levon  <levon@movementarian.org>
6713
6714         * lyxfunc.C: note status changed after a depth change
6715
6716 2003-04-04  Angus Leeming  <leeming@lyx.org>
6717
6718         * LaTeX.h: move AuxInfo operator==, != out of line.
6719         Remove LaTeX virtual destructor; nothing derives from it.
6720         Move operator()() out of public area and rename it startscript().
6721         Change protected for private.
6722
6723 2003-04-04  Angus Leeming  <leeming@lyx.org>
6724
6725         * lyxfunc.C:
6726         * text2.C: remove unneeded #includes.
6727
6728 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6729
6730         * text2.C (dEPM): fix the heigth of the next row
6731
6732 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
6733
6734         * text.C: squashed an invalid getChar requester + some ws changes
6735
6736 2003-04-03  John Levon  <levon@movementarian.org>
6737
6738         * bufferview_funcs.h:
6739         * bufferview_funcs.C:
6740         * lyxfunc.C:
6741         * lyxtext.h:
6742         * text2.C: make getStatus work for the env depth lfuns
6743
6744 2003-04-03  John Levon  <levon@movementarian.org>
6745
6746         * bufferview_funcs.h:
6747         * bufferview_funcs.C:
6748         * lyxfunc.C:
6749         * lyxtext.h:
6750         * text2.C: parlistize decDepth(), by merging it with incDepth()
6751
6752 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6753
6754         * lyxrow.h: store a ParagraphList::iterator instead of a
6755         Paragraph* and adjust other class functions to suit.
6756
6757         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6758         above.
6759
6760 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6761
6762         * text2.C (setCursor): do not anchor to cursor row for the time being
6763
6764 2003-04-02  John Levon  <levon@movementarian.org>
6765
6766         * LyXAction.C:
6767         * lfuns.h:
6768         * lyx_main.C:
6769         * lyxtext.h:
6770         * text.C:
6771         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6772
6773 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6774
6775         * paragraph.h: make ParagraphList and ParagraphList::iterator
6776         friends of Paragraph.
6777
6778         * buffer.C (makeLinuxDocFile): move towards ParagraphList
6779
6780         * ParagraphList.C: Use the private next_ and previous_ from
6781         Paragraph.
6782
6783 2003-04-01  John Levon  <levon@movementarian.org>
6784
6785         * ToolbarBackend.h:
6786         * ToolbarBackend.C:
6787         * Makefile.am: rename, remove defaults gunk
6788
6789         * MenuBackend.h:
6790         * MenuBackend.C: remove defaults gunk
6791
6792         * Languages.h:
6793         * Languages.C: remove defaults gunk
6794
6795         * lyx_main.h:
6796         * lyx_main.C: error out if files couldn't be found.
6797
6798 2003-04-02  John Levon  <levon@movementarian.org>
6799
6800         * text2.C: make incDepth() use parlist
6801
6802 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6803
6804         * undo_funcs.C (firstUndoParagraph): adjust
6805
6806         * text3.C (gotoInset): adjust
6807         (dispatch): adjust, and rewrite loop.
6808
6809         * text2.C (init): adjust, and rewrite loop.
6810         (redoParagraphs): adjust
6811         (updateInset): adjust, and rewrite loop.
6812         (deleteEmptyParagraphMechanism): adjust
6813
6814         * tabular.C (LyXTabular): adjust
6815         (SetMultiColumn): adjust
6816         (TeXRow): adjust
6817
6818         * lyxtext.[Ch] (ownerParagraph): delete function
6819         (ownerParagraphs): new function returns a ParagraphList.
6820
6821         * BufferView.C (removeAutoInsets): adjust
6822         (insertErrors): adjust
6823         (setCursorFromRow): adjust
6824
6825 2003-04-01  Angus Leeming  <leeming@lyx.org>
6826
6827         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6828         in the frontends.
6829
6830 2003-04-02  John Levon  <levon@movementarian.org>
6831
6832         * lyxtext.h:
6833         * text.C:
6834         * Makefile.am:
6835         * text_funcs.h:
6836         * text_funcs.C: make transposeChars a free function
6837
6838         * lyxrow_funcs.C: remove wrong comment
6839
6840 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6841
6842         * lyxtext.h: adjust
6843         * rowpainter.C: adjust
6844         * text.C: adjust
6845         * text2.C: adjust
6846         * text3.C: adjust
6847
6848         * lyxrow_funcs. [Ch]: new files
6849
6850         * lyxrow.[Ch]: remove next and previous pointers
6851         (next,previous): remove accessor functions
6852         (isParEnd): move to lyxrow_funcs
6853         (lastPos): move to lyxrow_funcs
6854         (nextRowIsAllInset): move to lyxrow_funcs
6855         (lastPrintablePos): move to lyxrow_funcs
6856         (numberOfSeparators): move to lyxrow_funcs
6857         (numberOfHfills): move to lyxrow_funcs
6858         (numberOfLabelHfills): move to lyxrow_funcs
6859         (hfillExpansion): move to lyxrow_funcs
6860
6861         * lyxfunc.C: adjust
6862
6863         * bufferview_funcs.C (toggleAndShow): adjust
6864
6865         * RowList.h: Remove class RowList from file leave just a
6866         std::list<Row>.
6867
6868         * RowList.C: delete file
6869
6870         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6871         and lyxrow_funcs.h
6872
6873 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6874
6875         * text3.C (cursorPrevious): adjust
6876         (cursorNext): adjust
6877         (dispatch): adjust
6878
6879         * text2.C (redoHeightOfParagraph): adjust
6880         (redoDrawingOfParagraph): adjust
6881         (setCursor): adjust
6882
6883         * text.C (breakParagraph): adjust
6884         (insertChar): adjust
6885         (backspace): adjust
6886
6887         * rowpainter.C (RowPainter): adjust
6888         (leftMargin): simplify and adjust
6889         (most rowpainter functions): adjust.
6890
6891         * rowpainter.h: store the row as RowList::iterator not as Row*
6892
6893         * lyxcursor.C (row): taka RowList::iterator as arg
6894         (irow): ditto
6895
6896         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6897         of Row*.
6898
6899 2003-04-01  Angus Leeming  <leeming@lyx.org>
6900
6901         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6902         stuff like bool Bool.
6903
6904 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
6905
6906         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6907         rewrite a loop
6908
6909 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
6910
6911         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6912         RowList::iterator.
6913
6914         * lyxtext.h (rows): drop one version and leve a const variant that
6915         returns a RowList::iterator.
6916
6917 2003-03-31  Angus Leeming  <leeming@lyx.org>
6918
6919         * text.C (fill): ensure that the signature is the same as that in the
6920         header file.
6921
6922 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
6923
6924         * text2.C (redoParagraphs): adjust
6925         (updateCounters): adjust
6926         (checkParagraph): adjust
6927         (getColumnNearX): adjust and reformat a bit.
6928
6929         * text.C (top_y): adjust
6930         (workWidth): adjust
6931         (leftMargin): adjust
6932         (prepareToPrint): adjust
6933         (getRow): adjust
6934         (getRowNearY): adjust
6935
6936         * lyxtext.h: make rowlist_ mutable.
6937
6938         * RowList.h: add const_iterator
6939         * RowList.C: adjust for RowList::const_iterator.
6940
6941         * text2.C (getCursorX): make it take a RowList::iterator as arg,
6942         adjust.
6943
6944 2003-03-31  John Levon  <levon@movementarian.org>
6945
6946         * lyxrc.h:
6947         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6948
6949         * lyx_main.C: set default fonts from using lyx_gui funcs
6950
6951         * exporter.C: pdf_mode moved from lyxrc
6952
6953         * lyx_cb.C:
6954         * lyxfunc.C: changes from above
6955
6956 2003-03-31  John Levon  <levon@movementarian.org>
6957
6958         * lyx_main.C: fix to the last fix
6959
6960 2003-03-31  John Levon  <levon@movementarian.org>
6961
6962         * bufferlist.C: "Load original" -> "Load Original"
6963
6964         * converter.C:
6965         * exporter.C:
6966         * importer.C:
6967         * lyx_main.C:
6968         * format.C: more Alert cleanups
6969
6970 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6971
6972         * text2.C (removeParagraph): make it take a RowList::iterator as
6973         arg, adjust.
6974         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6975         (postRowPaint): make it take a RowList::iterator as arg, adjust.
6976
6977         * text.C (anchor_row): make it take a RowList::iterator as arg,
6978         adjust.
6979         (computeBidiTables): make it take a const reference to Row instead
6980         of Row pointer, adjust.
6981         (leftMargin): make it take a RowList::iterator as arg, adjust.
6982         (rowBreakPoint): adjust
6983         (breakAgainOneRow): make it take a RowList::iterator as arg,
6984         adjust.
6985         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6986
6987         * bufferview_funcs.C (toggleAndShow): adjust
6988
6989 2003-03-30  John Levon  <levon@movementarian.org>
6990
6991         * Makefile.am:
6992         * BoostFormat.h:
6993         * boost-inst.C: moved to support
6994
6995         * several files: changes as a result
6996
6997 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
6998
6999         * text2.C (LyXText): adjust.
7000         (init): adjust
7001         (removeRow): make it take a RowList::iterator as arg, adjust.
7002         (fullRebreak): adjust
7003         (deleteEmptyParagraphMechanism): adjust
7004         (clearPaint): adjust
7005         (postPaint): adjust
7006
7007         * text.C (top_y): adjust
7008         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7009         (breakAgain): make it take a RowList::iterator as arg, adjust.
7010         (breakParagraph): adjust
7011         (insertChar): adjust
7012         (backspace): adjust
7013
7014         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7015         need_break_row, and refresh_row.
7016
7017         * text3.C (dispatch): adjust
7018
7019         * text2.C (checkParagraph): adjust
7020         (setCursor): adjust
7021         (setCursorFromCoordinates): adjust
7022
7023         * text.C (top_y): adjust
7024         (workWidth): adjust
7025         (getRow): make it return a RowList::iterator, adjust
7026         (getRowNearY): make it return a RowList::iterator, adjust
7027
7028         * text2.C (init): adjust
7029         (insertRow): remove function
7030         (insertParagraph): adjust
7031         (redoParagraphs): adjust
7032         (fullRebreak): adjust
7033         (updateCounters): adjust
7034
7035         * text.C (top_y): rewrite to use RowList iterators.
7036         (top_y): adjust
7037         (setHeightOfRow): rewrite to sue RowList iterators.
7038         (appendParagraph): adjust
7039         (breakAgain): adjust
7040         (breakAgainOneRow): adjust
7041         (breakParagraph): adjust
7042         (getRow): adjust
7043         (getRowNearY): adjust, and remove commented code.
7044
7045         * lyxtext.h (firstRow): delete function
7046         (lastRow): delete function
7047         (rows): new function (const and non-const versions.)
7048         (insertRow): delete function
7049
7050         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7051
7052 2003-03-29  John Levon  <levon@movementarian.org>
7053
7054         * BufferView_pimpl.C: always update scrollbar top
7055         because pasting text when we're anchored could mean we
7056         miss an update altogether
7057
7058 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7059
7060         * text2.C (init): use rowlist_.end() and not 0.
7061         (insertRow): change to take a RowList::iterator as arg, adjust
7062         for this.
7063         (insertParagraph): change to take a RowList::iterator as arg,
7064         adjust for this.
7065         (redoParagraphs): remove some debug msgs.
7066
7067         * text.C (appendParagraph): change to take a RowList::iterator
7068         arg, adjust for this.
7069         (breakAgain): add an assert
7070         (breakAgainOneRow): ditto
7071
7072 2003-03-29  John Levon  <levon@movementarian.org>
7073
7074         * text2.C: do not clear selection after inc/decDepth
7075         (bug 550)
7076
7077 2003-03-29  John Levon  <levon@movementarian.org>
7078
7079         * BufferView.C:
7080         * buffer.C: fix broken strerrors according to Lars
7081
7082 2003-03-29  John Levon  <levon@movementarian.org>
7083
7084         * converters.C: more Alert cleanups
7085
7086 2003-03-29  John Levon  <levon@movementarian.org>
7087
7088         * bufferview_funcs.C: remove pointless Alert
7089
7090         * buffer.C: fix confusing error message when
7091         a template is chmoded 000
7092
7093 2003-03-29  John Levon  <levon@movementarian.org>
7094
7095         * BufferView.C:
7096         * BufferView.h:
7097         * BufferView_pimpl.C: Alert fixes
7098
7099         * Makefile.am:
7100         * tabular.C:
7101         * tabular-old.C: remove unused table compat reading
7102
7103 2003-03-29  John Levon  <levon@movementarian.org>
7104
7105         * BufferView.C:
7106         * buffer.C:
7107         * lyx_cb.h:
7108         * lyx_cb.C: more Alert cleanups
7109
7110         * lyxfunc.C: don't allow chktex if not latex document
7111
7112 2003-03-29  John Levon  <levon@movementarian.org>
7113
7114         * lyx_cb.C:
7115         * BufferView.C:
7116         * buffer.C: warnings pushed down from support/,
7117         kill err_alert
7118
7119 2003-03-29  John Levon  <levon@movementarian.org>
7120
7121         * lyxfunc.C: safety check for C-r (revert)
7122
7123 2003-03-29  John Levon  <levon@movementarian.org>
7124
7125         * bufferlist.h:
7126         * bufferlist.C: several UI fixes using Alert::prompt.
7127         Fix the pointless looping quit code. Fix stupid revert
7128         behaviour (bug 938)
7129
7130         * lyxvc.h:
7131         * lyxvc.C:
7132         * lyx_cb.C: use Alert::prompt
7133
7134         * lyx_main.C: remove a silly question
7135
7136         * lyxfunc.C: remove a couple of silly questions,
7137         use Alert::prompt
7138
7139 2003-03-28  John Levon  <levon@movementarian.org>
7140
7141         * text2.C: fix bug 974 (End on empty par)
7142
7143 2003-03-28  John Levon  <levon@movementarian.org>
7144
7145         * BufferView_pimpl.C:
7146         * LyXAction.C:
7147         * lfuns.h: remove do-nothing math greek lfuns
7148
7149 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7150
7151         * lyxgluelength.h (isValidGlueLength): add default arg on
7152         parameter 2. Remove default arg from friend in class.
7153
7154         * lyxlength.h (isValidLength): add default arg on parameter 2.
7155         Remove default arg from friend in class.
7156
7157         * text2.C (LyXText): adjust, initialize refresh_row.
7158         (init): adjust
7159         (removeRow): adjust
7160         (insertRow): adjust
7161         (insertParagraph): adjst
7162         (redoParagraphs): adjust
7163         (fullRebreak): adjust
7164         (updateCounters): adjust
7165         (deleteEmptyParagraphMechanism): first attempt at fixing a
7166         crashing bug.
7167
7168         * text.C (top_y): adjust
7169         (setHeightOfRow): adjust
7170         (getRow): adjust
7171         (getRowNearY): adjust
7172
7173         * lyxtext.h: include RowList.h
7174         (~LyXText): not needed anymore, deleted.
7175         (firstRow): modify for RowList
7176         (lastRow): new function
7177         Delete firstrow and lastrow class variables, add a Rowlist
7178         rowlist_ class variable.
7179
7180         * lyxrow.C (lastPos): use empty() and not !size() to check if a
7181         paragraph is empty.
7182
7183         * RowList.C (insert): fix case where it == begin().
7184
7185 2003-03-26  Angus Leeming  <leeming@lyx.org>
7186
7187         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7188         the thesaurus dialog.
7189
7190 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7191
7192         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7193
7194         * RowList.[Ch]: new files
7195
7196         * ParagraphList.C (erase): handle the case where it == begin
7197         correctly.
7198
7199 2003-03-25  John Levon  <levon@movementarian.org>
7200
7201         * Makefile.am:
7202         * aspell_local.h:
7203         * aspell.C: add new aspell support
7204
7205         * lyxrc.h:
7206         * lyxrc.C: Make use_pspell be use_spell_lib. Always
7207         have it accessible.
7208
7209 2003-03-25  Angus Leeming  <leeming@lyx.org>
7210
7211         * lfuns.h:
7212         * LyXAction.C (init): new LFUN_INSET_INSERT.
7213
7214         * BufferView_pimpl.C (dispatch): split out part of the
7215         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7216
7217         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7218         LFUN_INSET_APPLY.
7219
7220 2003-03-25  Angus Leeming  <leeming@lyx.org>
7221
7222         * lyxfunc.C (dispatch): changes to the Dialogs interface.
7223
7224 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
7225
7226         * text2.C:
7227         * text3.C: remove useless row->height(0)
7228
7229 2003-03-25  John Levon  <levon@movementarian.org>
7230
7231         * lyxtext.h:
7232         * text2.C:
7233         * text3.C: rename the refreshing stuff to better names
7234
7235 2003-03-24  John Levon  <levon@movementarian.org>
7236
7237         * BufferView_pimpl.h:
7238         * BufferView_pimpl.C: update layout choice on a mouse
7239         press/release
7240
7241 2003-03-23  John Levon  <levon@movementarian.org>
7242
7243         * Makefile.am: fix commandtags.h reference
7244
7245 2003-03-22  John Levon  <levon@movementarian.org>
7246
7247         * BufferView_pimpl.C:
7248         * lyxtext.h:
7249         * rowpainter.C:
7250         * rowpainter.h:
7251         * text.C:
7252         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7253
7254 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
7255
7256         * lyxtext.h:
7257         * text.C: take the rtl methods out of line
7258
7259 2003-03-21 André Pönitz <poenitz@gmx.net>
7260
7261         * metricsinfo.[Ch]: new files containing structures to be passed around
7262         during the two-phase-drawing...
7263
7264 2003-03-21 André Pönitz <poenitz@gmx.net>
7265
7266         * lyxtextclass.C: read 'environment' tag.
7267
7268 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
7269
7270         * text2.C (removeRow): fix bug 964
7271
7272 2003-03-20  John Levon  <levon@movementarian.org>
7273
7274         * rowpainter.C:
7275         * text.C:
7276         * text2.C: paint cleanups. Inset::update() dropped font
7277         parameter
7278
7279 2003-03-19  John Levon  <levon@movementarian.org>
7280
7281         * lyxfunc.C: only fitcursor/markDirty if available()
7282
7283 2003-03-19  John Levon  <levon@movementarian.org>
7284
7285         * commandtags.h: rename to ...
7286
7287         * lfuns.h: ... this, and renumber / cleanup
7288
7289 2003-03-19  John Levon  <levon@movementarian.org>
7290
7291         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7292         fit the cursor after an lfun
7293
7294         * BufferView.h:
7295         * BufferView.C:
7296         * BufferView_pimpl.h:
7297         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7298
7299         * LyXAction.C: layout-character should have ReadOnly
7300
7301         * ParagraphParameters.C:
7302         * buffer.C:
7303         * bufferview_funcs.C:
7304         * lyx_cb.C:
7305         * lyxfind.C:
7306         * lyxtext.h:
7307         * text.C:
7308         * text2.C:
7309         * text3.C:
7310         * undo_funcs.C: changes from above
7311
7312 2003-03-18  John Levon  <levon@movementarian.org>
7313
7314         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7315         remove it from update()
7316
7317         * lyxfunc.C: update layout choice after an lfun
7318
7319         * text3.C: remove extra updateLayoutChoice()s
7320
7321 2003-03-18  John Levon  <levon@movementarian.org>
7322
7323         * text.C: top_y change means full repaint, fix
7324         a drawing bug with cursor movement
7325
7326 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7327
7328         * lyxtext.h:
7329         * text.C:
7330         * text2.C: anchor row on setCursor
7331
7332 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
7333
7334         * lyxtext.h: remove almost all mutable keywords
7335         * text.C:
7336         * text2.C:
7337         * text3.C: remove const keywords accordingly
7338
7339 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7340
7341         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7342         anon namespace
7343         (TeXEnvironment): ditto
7344         (TeXOnePar): ditto
7345
7346 2003-03-17  John Levon  <levon@movementarian.org>
7347
7348         * text.C (rowBreakPoint): remove attempt to fix displayed
7349         math insets inside a manual label
7350
7351 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
7352
7353         * lyxtext.h: remove BufferView* as first arg from almost all class
7354         functions.
7355         * other files: adjust.
7356
7357 2003-03-17  John Levon  <levon@movementarian.org>
7358
7359         * lyxtext.h:
7360         * undo_funcs.C:
7361         * text2.C: more paint cleanups
7362
7363         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7364
7365         * rowpainter.h:
7366         * rowpainter.C: remove "smart" background painting code
7367
7368 2003-03-16  John Levon  <levon@movementarian.org>
7369
7370         * lyxtext.h:
7371         * text.C:
7372         * text2.C:
7373         * text3.C: add helper functions for setting refresh_row/y
7374
7375 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
7376
7377         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7378         newline inset which *can* get inserted in the pass_thru layouts.
7379         This is primarily for literate documents.
7380
7381 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
7382
7383         * buffer.C: increment LYX_FORMAT to 223
7384
7385 2003-03-14 André Pönitz <poenitz@gmx.net>
7386
7387         * textclass.h: prepare for environment handling, ws changes
7388         * lyxlayout.C: read latexheader and latexfooter tags
7389
7390 2003-03-14  John Levon  <levon@movementarian.org>
7391
7392         * text2.C: rewrite ::status() a bit
7393
7394 2003-03-13  John Levon  <levon@movementarian.org>
7395
7396         * lyxtext.h: add some docs
7397
7398 2003-03-13  John Levon  <levon@movementarian.org>
7399
7400         * lyxtext.h:
7401         * text.C:
7402         * text2.C:
7403         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7404
7405 2003-03-13  John Levon  <levon@movementarian.org>
7406
7407         * text3.C: fix appendix redrawing
7408
7409 2003-03-13  John Levon  <levon@movementarian.org>
7410
7411         * text.C (setHeightOfRow):
7412         * rowpainter.h:
7413         * rowpainter.C: make appendix mark have the text
7414           "Appendix" so the user knows what it is
7415
7416         * LColor.h:
7417         * LColor.C: s/appendixline/appendix/ from above
7418
7419 2003-03-13  John Levon  <levon@movementarian.org>
7420
7421         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7422
7423         * text.C: fix a getChar(pos) bug properly
7424
7425 2003-03-13  Angus Leeming  <leeming@lyx.org>
7426
7427         * commandtags.h:
7428         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7429         Probably only temporary. Let's see how things pan out.
7430
7431         * BufferView.C (unlockInset):
7432         * BufferView_pimpl.C (fitCursor):
7433         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7434
7435         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7436         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7437
7438         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7439         new functions that convert ParagraphParameters to and from a string.
7440
7441         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7442         BufferView::Pimpl's dispatch.
7443         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7444
7445 2003-03-13 André Pönitz <poenitz@gmx.net>
7446
7447         * lyxfunc.C:
7448         * text3.C:
7449         * factory.C: make it aware of InsetEnv
7450
7451 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
7452
7453         * text2.C (setCursor): never ask for one past last
7454         (setCursor): add some debugging messages.
7455
7456         * text.C (singleWidth): never ask for one past last
7457         (singleWidth): ditto
7458         (leftMargin): ditto
7459         (rightMargin): ditto
7460         (rowBreakPoint): ditto
7461         (setHeightOfRow): ditto
7462         (prepareToPrint): ditto
7463
7464         * rowpainter.C (paintBackground): never ask for one past last
7465         (paintText): never ask for one past last
7466
7467         * paragraph_pimpl.C (getChar): make the assert stricter, never
7468         allow the one past last pos to be taken
7469
7470         * paragraph.C (getChar): ws changes only
7471
7472         * lyxrow.C (nextRowIsAllInset): never ask for one past last
7473         (numberOfSeparators): ditto
7474         (numberOfHfills): ditto
7475
7476 2003-03-12  John Levon  <levon@movementarian.org>
7477
7478         * author.h:
7479         * author.C:
7480         * bufferparams.h:
7481         * bufferparams.C:
7482         * paragraph_funcs.C: fix per-buffer authorlists
7483
7484 2003-03-12  John Levon  <levon@movementarian.org>
7485
7486         * text.C: fix newline in right address
7487
7488 2003-03-12  Angus Leeming  <leeming@lyx.org>
7489
7490         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7491         duplicate those in LyXFunc::dispatch.
7492
7493         * commandtags.h:
7494         * LyXAction.C:
7495         * ToolbarDefaults.C:
7496         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7497         Add LFUN_FONTFREE_UPDATE.
7498
7499         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7500         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7501
7502         * bufferview_func.[Ch]: several new functions to facilliate
7503         transfer of data to and from the character dialog.
7504
7505 2003-03-12  John Levon  <levon@movementarian.org>
7506
7507         * buffer.C:
7508         * paragraph.h:
7509         * paragraph.C:
7510         * paragraph_funcs.C:
7511         * paragraph_pimpl.C:
7512         * sgml.C:
7513         * tabular.C:
7514         * text.C:
7515         * text3.C: remove META_NEWLINE in favour of an inset
7516
7517         * rowpainter.h:
7518         * rowpainter.C: remove paintNewline (done by inset)
7519
7520 2003-03-12  John Levon  <levon@movementarian.org>
7521
7522         * paragraph_pimpl.C: complain about bad getChar()s
7523         for a while at least
7524
7525 2003-03-12  John Levon  <levon@movementarian.org>
7526
7527         * buffer.h:
7528         * buffer.C: move paragraph read into a separate function,
7529         a little renaming to reflect that.
7530
7531         * bufferparams.h:
7532         * bufferparams.C: remove the author_ids map, not necessary now
7533
7534         * factory.h:
7535         * factory.C: moved Buffer::readInset to here
7536
7537         * paragraph_funcs.h:
7538         * paragraph_funcs.C: readParagraph free function moved from
7539         buffer.C
7540
7541         * tabular.C: name change
7542
7543 2003-03-12  John Levon  <levon@movementarian.org>
7544
7545         * buffer.C:
7546         * ParagraphParameters.C: move par params input to
7547         a read() method
7548
7549         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7550         behave like a normal read from the stream wrt reading
7551         a line vs. a \\token
7552
7553 2003-03-12  John Levon  <levon@movementarian.org>
7554
7555         * paragraph.C:
7556         * ParagraphParameters.h:
7557         * ParagraphParameters.C: move output code to a
7558         ::write() method
7559
7560 2003-03-12  John Levon  <levon@movementarian.org>
7561
7562         * BufferView.C (insertLyXFile):
7563         * buffer.h:
7564         * buffer.C:
7565         * tabular.C: use a parlist iterator for creating the
7566           document.
7567
7568 2003-03-12  John Levon  <levon@movementarian.org>
7569
7570         * buffer.C: make current_change static local not
7571           static file-scope
7572
7573 2003-03-12  John Levon  <levon@movementarian.org>
7574
7575         * buffer.C: fix insertStringAsLines for change tracking
7576
7577 2003-03-12  John Levon  <levon@movementarian.org>
7578
7579         * BufferView.C:
7580         * tabular.C:
7581         * buffer.h:
7582         * buffer.C:
7583         * bufferparams.h:
7584         * bufferparams.C: move author list into params. Rename some
7585           functions. Move the header reading into a separate token
7586           loop. Move the header token reading into BufferParams.
7587
7588 2003-03-12  John Levon  <levon@movementarian.org>
7589
7590         * changes.C: put debug inside lyxerr.debugging() checks
7591
7592 2003-03-11 André Pönitz <poenitz@gmx.net>
7593
7594         * factory.C: make it aware of InsetHFill
7595
7596 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7597
7598         * buffer.C (latexParagraphs): move function from here...
7599         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7600         args.
7601
7602 2003-03-10  Angus Leeming  <leeming@lyx.org>
7603
7604         * LyXAction.C (init): fix bug in poplating array with multiple entries
7605         with the same LFUN (spotted by JMarc).
7606
7607 2003-03-10  John Levon  <levon@movementarian.org>
7608
7609         * text.C:
7610         * text2.C: move getColumnNearX() near its
7611         only call site
7612
7613 2003-03-10  John Levon  <levon@movementarian.org>
7614
7615         * text.C: fix break before a minipage
7616
7617 2003-03-10  John Levon  <levon@movementarian.org>
7618
7619         * text.C: fix the last commit
7620
7621 2003-03-09  John Levon  <levon@movementarian.org>
7622
7623         * lyxtext.h:
7624         * text.C:
7625         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7626         bug 365 (don't break before insets unless needed). Don't
7627         return a value > last under any circumstances.
7628
7629 2003-03-09  Angus Leeming  <leeming@lyx.org>
7630
7631         * BufferView_pimpl.C (trackChanges, dispatch): call
7632         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7633
7634 2003-03-09  Angus Leeming  <leeming@lyx.org>
7635
7636         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7637         than Dialogs::showAboutlyx().
7638
7639 2003-03-09  Angus Leeming  <leeming@lyx.org>
7640
7641         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7642         than Dialogs::showTabularCreate().
7643
7644 2003-03-09  John Levon  <levon@movementarian.org>
7645
7646         * lyxtext.h:
7647         * text.C:
7648         * text2.C: 3rd arg to nextBreakPoint was always the same.
7649           Use references.
7650
7651 2003-03-08  John Levon  <levon@movementarian.org>
7652
7653         * lyxrow.C:
7654         * paragraph.C:
7655         * paragraph.h:
7656         * rowpainter.C:
7657         * text.C:
7658         * text2.C: Remove the "main" bit from the "main body"
7659           notion.
7660
7661 2003-03-08  John Levon  <levon@movementarian.org>
7662
7663         * text.C (leftMargin): The left margin of an empty
7664         manual label paragraph should not include the label width
7665         string length.
7666
7667         * text.C (prepareToPrint): don't attempt to measure hfills
7668         for empty manual label paragraphs - the answer should be 0
7669
7670 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7671
7672         * CutAndPaste.C: remove commented code and reindent.
7673
7674 2003-03-08  John Levon  <levon@movementarian.org>
7675
7676         * lyxfunc.h:
7677         * lyxfunc.C: move reloadBuffer()
7678
7679         * BufferView.h:
7680         * BufferView.C: to here
7681
7682         * lyxvc.C: add comment
7683
7684         * vc-backend.h:
7685         * vc-backend.C: call bv->reload() to avoid
7686           getStatus() check on MENURELOAD
7687
7688 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
7689
7690         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7691         to an old format .dep file.
7692
7693 2003-03-07  Angus Leeming  <leeming@lyx.org>
7694
7695         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7696         when the LFUN_MOUSE_RELEASE should have been handled by
7697         inset->localDispatch.
7698
7699 2003-03-07  Angus Leeming  <leeming@lyx.org>
7700
7701         * BufferView_pimpl.C (dispatch):
7702         * LyXAction.C (init):
7703         * ToolbarDefaults.C (init):
7704         * commandtags.h:
7705         * lyxfunc.C (getStatus):
7706         remove LFUN_INSET_GRAPHICS.
7707
7708         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7709
7710 2003-03-07  Angus Leeming  <leeming@lyx.org>
7711
7712         * commandtags.h:
7713         * LyXAction.C (init):
7714         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7715
7716         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7717
7718         * commandtags.h:
7719         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7720
7721         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7722         localDispatch method LFUN_INSET_DIALOG_UPDATE.
7723
7724 2003-03-07  Angus Leeming  <leeming@lyx.org>
7725
7726         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7727         remove "ert".
7728
7729 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7730
7731         * ParagraphList.C (front): new function
7732         (back): implement
7733
7734 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
7735
7736         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7737         and top_row_offset_. removed var first_y.
7738         * text.C (top_y):
7739         * text2.C (LyXText, removeRow):
7740         * text3.C:
7741         * BufferView_pimpl.C:
7742         use these methods instead of using first_y
7743
7744 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7745
7746         * text2.C (pasteSelection): adjust for checkPastePossible
7747
7748         * CutAndPaste.C: remove Paragraph * buf and replace with
7749         ParagraphList paragraphs.
7750         (DeleteBuffer): delete
7751         (cutSelection): change the tc type to textclass_type
7752         (copySelection): change the tc type to textclass_type
7753         (copySelection): adjust for ParagraphList
7754         (pasteSelection): change the tc type to textclass_type
7755         (pasteSelection): adjust for Paragraphlist
7756         (nrOfParagraphs): simplify for ParagraphList
7757         (checkPastePossible): simplify for ParagraphList
7758         (checkPastePossible): remove unused arg
7759
7760         * ParagraphList.C (insert): handle the case where there are no
7761         paragraphs yet.
7762
7763         * CutAndPaste.h: make CutAndPaste a namespace.
7764
7765         * text3.C (dispatch): adjust
7766
7767         * text.C (breakParagraph): add a ParagraphList as arg
7768
7769         * paragraph_funcs.C (breakParagraph): change to take a
7770         BufferParams and a ParagraphList as args.
7771         (breakParagraphConservative): ditto
7772         (mergeParagraph): ditto
7773         (TeXDeeper): add a ParagraphList arg
7774         (TeXEnvironment): ditto
7775         (TeXOnePar): ditto
7776
7777         * buffer.C (readLyXformat2): adjust
7778         (insertStringAsLines): adjust
7779         (latexParagraphs): adjust
7780
7781         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7782         (cutSelection): adjust
7783         (pasteSelection): adjust
7784
7785         * BufferView_pimpl.C (insertInset): adjust
7786
7787 2003-03-05  Angus Leeming  <leeming@lyx.org>
7788
7789         * commandtags.h:
7790         * LyXAction.C (init):
7791         * BufferView_pimpl.C (dispatch):
7792         * lyxfunc.C (getStatus):
7793         remove LFUN_CHILD_INSERT.
7794
7795         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7796
7797 2003-03-05  Angus Leeming  <leeming@lyx.org>
7798
7799         * commandtags.h:
7800         * LyXAction.C (init):
7801         * src/factory.C (createInset):
7802         * lyxfunc.C (getStatus):
7803         * text3.C (dispatch):
7804         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7805
7806         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7807
7808 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
7809
7810         * ParagraphList.C (insert): handle insert right before end()
7811         (erase): fix cases where it can be first or last paragraph.
7812
7813 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7814
7815         * paragraph_funcs.C (TeXEnvironment): remove all usage of
7816         Paragraph::next and Paragraph::previous
7817         (TeXOnePar): ditto
7818
7819         * text.C (breakParagraph): adjust
7820
7821         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7822         BufferParams& as arg.
7823         (breakParagraph): use ParagraphList::insert
7824         (breakParagraphConservative): take a Buffer* instead of a
7825         BufferParams& as arg.
7826         (breakParagraphConservative): use ParagraphList::insert.
7827
7828         * buffer.C (insertStringAsLines): un-const it
7829         (insertStringAsLines): adjust
7830
7831         * ParagraphList.C (insert): new function
7832
7833         * CutAndPaste.C (pasteSelection): adjust
7834
7835         * text.C (backspace): adjust
7836
7837         * tabular.C (SetMultiColumn): adjust
7838
7839         * CutAndPaste.C (cutSelection): adjust
7840         (pasteSelection): adjust
7841
7842         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7843         Buffer const * as arg
7844
7845         * ParagraphList.C (erase): new function
7846         * paragraph_funcs.C (mergeParagraph): use it
7847         (mergeParagraph): make it take a Buffer* instead of a
7848         BufferParams* as arg
7849
7850         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7851         as arg
7852         (breakParagraphConservative): ditto
7853
7854         * paragraph.h: remove the breakParagraph friend
7855
7856         * paragraph.C (eraseIntern): new function
7857         (setChange): new function
7858
7859         * paragraph_funcs.C (mergeParagraph): make it take a
7860         ParagraphList::iterator instead of a Paragraph *, adjust
7861         accordingly.
7862
7863         * paragraph.h: move an #endif so that the change tracking stuff
7864         also works in the NO_NEXT case.
7865
7866 2003-03-04  Angus Leeming  <leeming@lyx.org>
7867
7868         * commandtags.h:
7869         * LyXAction.C: new LFUN_INSET_MODIFY.
7870
7871         * BufferView_pimpl.C (dispatch): if an inset is found to be open
7872         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7873
7874 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7875
7876         * several files: ws changes only
7877
7878         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7879         (TeXEnvironment): ditto
7880         (TeXDeeper): ditto
7881
7882         * buffer.C (makeLaTeXFile): adjust
7883         (latexParagraphs): make it take ParagraphList::iterator as args
7884
7885 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
7886
7887         * buffer.C (latexParagraphs): adjust
7888
7889         * paragraph.C (TeXOnePar): move function...
7890         (optArgInset): move function...
7891         (TeXEnvironment): move function...
7892         * paragraph_pimpl.C (TeXDeeper): move function...
7893         * paragraph_funcs.C: ...here
7894
7895         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7896
7897 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7898
7899         * buffer.C (readInset): remove compability code for old Figure and
7900         InsetInfo insets
7901
7902 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
7903
7904         * buffer.C: ws changes
7905         (readInset):
7906
7907         * BufferView_pimpl.C: ditto
7908         * author.C: ditto
7909         * buffer.h: ditto
7910         * bufferlist.h: ditto
7911         * changes.h: ditto
7912         * lyxfunc.C: ditto
7913
7914 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
7915
7916         * converter.[Ch]: split into itself +
7917         * graph.[Ch]
7918         * format.[Ch]
7919         * Makefile.am: += graph.[Ch] + format.[Ch]
7920         * MenuBackend.C
7921         * buffer.C
7922         * exporter.C
7923         * importer.C
7924         * lyx_main.C
7925         * lyxfunc.C
7926         * lyxrc.C: added #include "format.h"
7927
7928 2003-02-27  Angus Leeming  <leeming@lyx.org>
7929
7930         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7931           a label.
7932
7933         * factory.C (createInset): add "label" to the factory.
7934
7935         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7936           string and do no more.
7937
7938 2003-02-27  Angus Leeming  <leeming@lyx.org>
7939
7940         * commandtags.h:
7941         * LyXAction.C (init):
7942         * factory.C (createInset):
7943         * BufferView_pimpl.C (dispatch):
7944           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7945
7946         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7947
7948         * lyxfunc.C (dispatch):
7949         * text3.C (dispatch): pass name to params2string.
7950
7951 2003-02-26  Angus Leeming  <leeming@lyx.org>
7952
7953         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7954           blocks together.
7955           Rearrange the ~includes. Strip out the unnecessary ones.
7956
7957         * factory.C (createInset): reformat.
7958           create new insets for the various LFUN_XYZ_APPLY lfuns.
7959
7960 2003-02-26  John Levon  <levon@movementarian.org>
7961
7962         * lyxrow.h:
7963         * lyxrow.C: add isParStart,isParEnd helpers
7964
7965         * paragraph.h: make isInserted/DeletedText take refs
7966
7967         * paragraph_funcs.h:
7968         * paragraph_funcs.C: remove #if 0'd code
7969
7970         * lyxtext.h:
7971         * text3.C:
7972         * text2.C:
7973         * text.C: use lyxrow helpers above.
7974           Move draw and paint routines to RowPainter.
7975           Make several methods use refs not pointers.
7976           Make backgroundColor() const.
7977           Add markChangeInDraw(), isInInset().
7978           Merge changeRegionCase into changeCase.
7979           Make workWidth() shouldn't-happen code into an Assert.
7980
7981         * rowpainter.h:
7982         * rowpainter.C: new class for painting a row.
7983
7984         * vspace.h:
7985         * vspace.C: make inPixels take a ref
7986
7987 2003-02-26  Angus Leeming  <leeming@lyx.org>
7988
7989         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7990         LFUN_REF_APPLY.
7991
7992 2003-02-25  John Levon  <levon@movementarian.org>
7993
7994         * ispell.C: give the forked command a more accurate name
7995
7996 2003-02-22  John Levon  <levon@movementarian.org>
7997
7998         * toc.h:
7999         * toc.C: make TocItem store an id not a Paragraph *
8000           (bug #913)
8001
8002 2003-02-21  Angus Leeming  <leeming@lyx.org>
8003
8004         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8005           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8006           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8007           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8008           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8009           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8010
8011         * BufferView_pimpl.C (dispatch):
8012         * LyXAction.C (init):
8013         * factory.C (createInset):
8014         * lyxfunc.C (getStatus, dispatch):
8015         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8016
8017 2003-02-21  Angus Leeming  <leeming@lyx.org>
8018
8019         * BufferView_pimpl.C (MenuInsertLyXFile):
8020         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8021         * lyxfunc.C (menuNew, open, doImport):
8022           no longer pass a LyXView & to fileDlg.
8023
8024 2003-02-21  Angus Leeming  <leeming@lyx.org>
8025
8026         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8027         * LyXAction.C: change, BIBKEY to BIBITEM.
8028         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8029         Change InsetBibKey to InsetBibitem.
8030         Change BIBKEY_CODE to BIBITEM_CODE.
8031         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8032         * factory.C: replace insetbib.h with insetbibitem.h.
8033         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8034         * paragraph.C: replace insetbib.h with insetbibitem.h.
8035         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8036         Change bibkey() to bibitem().
8037         * text.C: remove insetbib.h.
8038         * text2.C: replace insetbib.h with insetbibitem.h.
8039         change bibkey() to bibitem().
8040         * text3.C: remove insetbib.h.
8041         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8042
8043 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8044
8045         * lyxrc.C (output): enclose user email in quotes (in case there are
8046         several words)
8047
8048 2003-02-18  John Levon  <levon@movementarian.org>
8049
8050         * buffer.h: add std::
8051
8052 2003-02-17  John Levon  <levon@movementarian.org>
8053
8054         * SpellBase.h:
8055         * ispell.h:
8056         * ispell.C:
8057         * pspell.h:
8058         * pspell.C: reworking. Especially in ispell, a large
8059           number of clean ups and bug fixes.
8060
8061         * lyxfunc.C: fix revert to behave sensibly
8062
8063 2003-02-17 André Pönitz <poenitz@gmx.net>
8064
8065         * LyXAction.C:
8066         * commandtags.h: new LFUN_INSERT_BIBKEY
8067
8068         * layout.h:
8069         * lyxlayout.C:
8070         * buffer.C:
8071         * factory.C:
8072         * text.C:
8073         * text2.C:
8074         * text3.C:
8075         * paragraph.[Ch]:
8076         * paragraph_func.C: remove special bibkey handling
8077
8078 2003-02-17  John Levon  <levon@movementarian.org>
8079
8080         * text.C (Delete): fix case where delete at the end of
8081           the very first paragraph would not merge the pars
8082
8083 2003-02-17  John Levon  <levon@movementarian.org>
8084
8085         * lyxrow.C: fix lastPrintablePos()
8086
8087 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8088
8089         * bufferparams.C (writeLaTeX): add a std:here
8090
8091         * buffer.C: and remove a using directive there
8092
8093 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8094
8095         * buffer.C (makeLaTeXFile): move the code that generates the
8096           preamble...
8097
8098         * bufferparams.C (writeLaTeX): ... in this new method
8099
8100         * LaTeXFeatures.C (getEncodingSet): make const
8101           (getLanguages): make const
8102
8103         * MenuBackend.C (binding): returns the binding associated to this
8104           action
8105           (add): sets the status of each item by calling getStatus. Adds
8106           some intelligence.
8107           (read): add support for OptSubMenu
8108           (expand): remove extra separator at the end of expanded menu
8109
8110 2003-02-15  John Levon  <levon@movementarian.org>
8111
8112         * BufferView.C:
8113         * BufferView_pimpl.C:
8114         * bufferlist.h:
8115         * bufferlist.C: remove pointless BufferStorage bloat. Remove
8116           inset code that had no actual effect. Remove unneeded status
8117           code.
8118
8119 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8120
8121         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8122           in preamble
8123
8124 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
8125
8126         * text.C (drawLengthMarker): also draw an arrow marker for
8127           symbolic lengths (medskip...)
8128
8129 2003-02-14  John Levon  <levon@movementarian.org>
8130
8131         * tabular.h:
8132         * tabular.C: better method names
8133
8134 2003-02-14  John Levon  <levon@movementarian.org>
8135
8136         * BufferView_pimpl.C:
8137         * bufferlist.C:
8138         * buffer.C:
8139         * converter.C:
8140         * lyx_cb.C:
8141         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8142           it's a more accurate name. Remove some pointless uses.
8143
8144 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8145
8146         * text2.C (LyXText): change order of initilizers to shut off
8147           warnings
8148
8149 2003-02-14  John Levon  <levon@movementarian.org>
8150
8151         * buffer.C: use ParIterator for getParFromID()
8152
8153         * paragraph.h:
8154         * paragraph.C:
8155         * paragraph_pimpl.h:
8156         * paragraph_pimpl.C: remove unused getParFromID()
8157
8158 2003-02-14  John Levon  <levon@movementarian.org>
8159
8160         * buffer.C: remove some very old #if 0'd parse code
8161
8162 2003-02-13  John Levon  <levon@movementarian.org>
8163
8164         * text.h:
8165         * text.C:
8166         * text2.C: move hfillExpansion(), numberOfSeparators(),
8167           rowLast(), rowLastPrintable(), numberofHfills(),
8168           numberOfLabelHfills() ...
8169
8170         * lyxrow.h:
8171         * lyxrow.C: ... to member functions here.
8172
8173         * paragraph.h:
8174         * paragraph.C:
8175         * lyxtext.h:
8176         * text.C: remove LyXText::beginningOfMainBody(), and call
8177           p->beginningOfMainBody() directly. Move the check for
8178           LABEL_MANUAL into the latter.
8179
8180         * text.h:
8181         * text.C:
8182         * text2.C:
8183         * vspace.C:
8184         * BufferView.h:
8185         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8186
8187         * text.h:
8188         * text.C:
8189         * text2.C:
8190         * text3.C:
8191         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8192           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8193
8194 2003-02-13  John Levon  <levon@movementarian.org>
8195
8196         * CutAndPaste.C: remove debug
8197
8198 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8199
8200         * paragraph.C (asString): remove two unused variables
8201
8202         * lyxtextclass.C (readTitleType):
8203           (Read):
8204           (LyXTextClass): handle new members titletype_ and titlename_
8205
8206         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8207
8208 2003-02-09  John Levon  <levon@movementarian.org>
8209
8210         * buffer.h:
8211         * buffer.C: replace hand-coded list with a map for the dep clean
8212
8213 2003-02-08  John Levon  <levon@movementarian.org>
8214
8215         * LaTeX.C: consolidate code into showRunMessage() helper
8216
8217 2003-02-08  John Levon  <levon@movementarian.org>
8218
8219         * lyxfind.C:
8220         * lyxtext.h:
8221         * text2.C:
8222         * BufferView.C: change setSelectionOverString() to setSelectionRange()
8223           and pass the size in explicitly
8224
8225         * BufferView_pimpl.h:
8226         * BufferView_pimpl.C:
8227         * BufferView.h:
8228         * BufferView.C: add getCurrentChange()
8229
8230         * BufferView_pimpl.h:
8231         * BufferView_pimpl.C: handle change lfuns
8232
8233         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8234           for changes. Mark pasted paragraphs as new.
8235
8236         * support/lyxtime.h:
8237         * support/lyxtime.C:
8238         * DepTable.C: abstract time_t as lyx::time_type
8239
8240         * LColor.h:
8241         * LColor.C: add colours for new text, deleted text, changebars
8242
8243         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8244           package use "usenames" option.
8245
8246         * commandtags.h:
8247         * lyxfunc.C:
8248         * LyXAction.C: add change lfuns
8249
8250         * Makefile.am:
8251         * author.h:
8252         * author.C: author handling
8253
8254         * buffer.h:
8255         * buffer.C: add a per-buffer author list, with first entry as
8256           current author. Handle new .lyx tokens for change tracking. Output
8257           author list to .lyx file. Output dvipost stuff to .tex preamble.
8258           Bump lyx format to 222.
8259
8260         * bufferlist.h:
8261         * bufferlist.C: add setCurrentAuthor() to reset current author details
8262           in all buffers.
8263
8264         * bufferparams.h:
8265         * bufferparams.C: add param for tracking
8266
8267         * bufferview_funcs.C: output change info in minibuffer
8268
8269         * Makefile.am:
8270         * changes.h:
8271         * changes.C: add change-tracking structure
8272
8273         * debug.h:
8274         * debug.C: add CHANGES debug flag
8275
8276         * lyxfind.h:
8277         * lyxfind.C: add code for finding the next change piece
8278
8279         * lyxrc.h:
8280         * lyxrc.C: add user_name and user_email
8281
8282         * lyxrow.h:
8283         * lyxrow.C: add a metric for the top of the text line
8284
8285         * lyxtext.h:
8286         * text.C: implement accept/rejectChange()
8287
8288         * lyxtext.h:
8289         * text.C: paint changebars. Paint new/deleted text in the chosen
8290         colours. Strike through deleted text.
8291
8292         * paragraph.h:
8293         * paragraph.C:
8294         * paragraph_pimpl.h:
8295         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8296           in the current change to the insert functions. Rework erase to
8297           mark text as deleted, adding an eraseIntern() and a range-based
8298           erase(). Implement per-paragraph change lookup and
8299           accept/reject.
8300
8301         * paragraph_funcs.C: Fixup paste for change tracking.
8302
8303         * tabular.C: mark added row/columns as new.
8304
8305         * text.C: fix rowLast() to never return -1. Don't allow
8306           spellchecking of deleted text. Track transpose changes. Don't
8307           allow paragraph break or merge where appropriate.
8308
8309         * text2.C: leave cursor at end of selection after a cut.
8310
8311 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8312
8313         * text.C (getLengthMarkerHeight):
8314         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8315         visible on screen too.
8316
8317 2003-02-07  John Levon  <levon@movementarian.org>
8318
8319         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8320
8321 2003-02-05  Angus Leeming  <leeming@lyx.org>
8322
8323         * lyxserver.C (read_ready): revert my patch of 11 September last year
8324         as it sends PC cpu through the roof. Presumably this means that
8325         the lyxserver will no longer run on an Alpha...
8326
8327 2003-01-30  Angus Leeming  <leeming@lyx.org>
8328
8329         * factory.C (createInset): create an InsetCommandParam of type "index"
8330         and use it to 'do the right thing'.
8331
8332         * text2.C (getStringToIndex): ensure that cursor position is always
8333         reset to the reset_cursor position.
8334
8335 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8336
8337         * lyxfunc.C (getStatus): "buffer-export custom" should never be
8338         disabled.
8339
8340 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
8341
8342         * bufferview.C:
8343         * lyxcb.C:
8344         * lyxfunc.C: Output messages with identical spelling, punctuation,
8345         and spaces
8346
8347 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
8348
8349         * MenuBackend.C (expandFormats): List only viewable export formats
8350         in "View" menu
8351
8352         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8353         message
8354
8355         * lyxfunc.C (getStatus): Make sure that formats other than
8356         "fax" can also be disabled
8357
8358 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8359
8360         * text3.C (dispatch): put the lfuns that insert insets in 3
8361         groups, and call doInsertInset with appropriate arguments.
8362         (doInsertInset): new function, that creates an inset and inserts
8363         it according to some boolean parameters.
8364
8365 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8366
8367         * buffer.C (readFile): remember to pass on 'par' when calling
8368         readFile recursively.
8369
8370 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8371
8372         * MenuBackend.C (expandFormats): add "..." to import formats.
8373
8374 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
8375
8376         * paragraph.C (asString): Remove XForms RTL hacks.
8377
8378 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
8379         * buffer.C: fix typo
8380
8381 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
8382
8383         * Makefile.am (LIBS): delete var
8384         (lyx_LDADD): add @LIBS@ here instead.
8385
8386 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
8387
8388         * Clarify the meaning of "wheel mouse jump"
8389
8390 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8391
8392         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8393         tabular in a float
8394
8395 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8396
8397         * importer.C (Loaders): do not preallocate 3 elements in the
8398         vector, since one ends up with 6 elements otherwise
8399
8400 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8401
8402         * DepTable.C (write): write the file name as last element of the
8403         .dep file (because it may contain spaces)
8404         (read): read info in the right order
8405
8406 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8407
8408         * paragraph_pimpl.C (simpleTeXBlanks):
8409         (simpleTeXSpecialChars):
8410         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8411
8412         * tabular.C (latex): add some missing case statements. Reindent.
8413
8414         * MenuBackend.C (expandToc): remove unused variable.
8415
8416 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
8417
8418         * LColor.C:
8419         * LaTeX.C:
8420         * LyXAction.C:
8421         * MenuBackend.C:
8422         * buffer.C:
8423         * exporter.C:
8424         * lyxfunc.C:
8425         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8426         and the like.
8427
8428 2003-01-05  John Levon  <levon@movementarian.org>
8429
8430         * BufferView.h:
8431         * BufferView.C: add getEncoding()
8432
8433         * kbsequence.h:
8434         * kbsequence.C: do not store last keypress
8435
8436         * lyxfunc.h:
8437         * lyxfunc.C: store last keypress here instead. Pass encoding
8438           to getISOEncoded()
8439
8440 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8441
8442         * lyx_main.C (init): remove annoying error message when following
8443         symbolic links (bug #780)
8444
8445 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8446
8447         * text.C (insertChar):
8448         * lyxrc.C (getDescription): remove extra spaces
8449
8450 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8451
8452         * lyxrc.C (getDescription): remove extra spaces
8453
8454 2002-12-20  John Levon  <levon@movementarian.org>
8455
8456         * text3.C: hack fix for page up/down across tall rows
8457
8458 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8459
8460         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8461         not been invoked
8462
8463 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8464
8465         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8466         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8467         thesaurus is not compiled in
8468
8469 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
8470
8471         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
8472
8473 2002-12-16  Angus Leeming  <leeming@lyx.org>
8474
8475         * lyxrc.[Ch]:
8476         * lyx_main.C (init): remove override_x_deadkeys stuff.
8477
8478 2002-12-12  John Levon  <levon@movementarian.org>
8479
8480         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8481           insert. Only remove shift modifier under strict
8482           circumstances.
8483
8484 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8485
8486         * MenuBackend.C (expandToc): fix crash.
8487
8488 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
8489
8490         * MenuBackend.C (expandToc): gettext on float names.
8491
8492 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
8493
8494         * lyxlength.[Ch]: set default unit to UNIT_NONE,
8495         implement bool empty() [bug 490]
8496
8497 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8498
8499         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8500
8501 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8502
8503         * several files: ws changes
8504
8505 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8506
8507         * text2.C (setCounter): clean up a bit, use boost.format.
8508         (updateCounters): initialize par upon declaration.
8509
8510         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8511         if the layout exists. We do not just store the layout any more.
8512         (SwitchLayoutsBetweenClasses): use boost.format
8513
8514 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8515
8516         * converter.C (convert): if from and to files are the same, use a
8517         temporary files as intermediary
8518
8519 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8520
8521         * commandtags.h:
8522         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8523
8524 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
8525
8526         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8527
8528 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8529
8530         * tabular.C (asciiPrintCell): use string(size, char) instead of
8531         explicit loop.
8532
8533         * sgml.C (openTag): fix order of arguments to string constructor
8534         (closeTag): ditto
8535
8536         * lyxfunc.C (dispatch): use boost.format
8537
8538         * lots of files: change "c" -> 'c'
8539
8540 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
8541
8542         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8543
8544 2002-11-25  Angus Leeming  <leeming@lyx.org>
8545
8546         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8547
8548         * lyx_main.C (init): compile fix.
8549
8550 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8551
8552         * lyx_cb.C (start): boost.formatify
8553         do not include <iostream>
8554
8555         * lengthcommon.C: ws only
8556
8557         * boost-inst.C,BoostFormat.h: add more explict instantations
8558
8559 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8560
8561         * lots of files: handle USE_BOOST_FORMAT
8562
8563 2002-11-21  John Levon  <levon@movementarian.org>
8564
8565         * pspell.C: fix compile
8566
8567 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8568
8569         * lyxfunc.C (dispatch): use boost::format
8570         (open): ditto
8571         (doImport): ditto
8572
8573         * lyxfont.C (stateText): use boost::format
8574
8575         * lyx_main.C (LyX): use boost::format
8576         (init): ditto
8577         (queryUserLyXDir): ditto
8578         (readRcFile): ditto
8579         (parse_dbg): ditto
8580         (typedef boost::function): use the recommened syntax.
8581
8582         * importer.C (Import): use boost::format
8583
8584         * debug.C (showLevel): use boost::format
8585
8586         * converter.C (view): use boost::format
8587         (convert): ditto
8588         (move): ditto
8589         (scanLog): ditto
8590
8591         * bufferview_funcs.C (currentState): use boost::format
8592
8593         * bufferlist.C (emergencyWrite): use boost::format
8594
8595         * buffer.C (readLyXformat2): use boost::format
8596         (parseSingleLyXformat2Token): ditto
8597
8598         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8599
8600         * LaTeX.C (run): use boost::format
8601
8602         * Chktex.C (scanLogFile): use boost::format
8603
8604         * BufferView_pimpl.C (savePosition): use boost::format
8605         (restorePosition): ditto
8606         (MenuInsertLyXFile): ditto
8607
8608         * BoostFormat.h: help file for explicit instation.
8609
8610 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
8611
8612         * tabular.C (latex): Support for block alignment in fixed width
8613         columns.
8614
8615 2002-11-17  John Levon  <levon@movementarian.org>
8616
8617         * BufferView_pimpl.C:
8618         * lyx_cb.C:
8619         * lyxfunc.C: split filedialog into open/save
8620
8621 2002-11-08  Juergen Vigna  <jug@sad.it>
8622
8623         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8624         by my last patch (hopefully).
8625
8626 2002-11-08  John Levon  <levon@movementarian.org>
8627
8628         * iterators.h:
8629         * iterators.C:
8630         * buffer.h:
8631         * buffer.C:
8632         * paragraph.h:
8633         * paragraph.C:
8634         * toc.h:
8635         * toc.C: ParConstIterator, and use it (from Lars)
8636
8637 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
8638
8639         * lyxtextclass.[Ch]: revise and add doxygen comments
8640
8641 2002-11-07  John Levon  <levon@movementarian.org>
8642
8643         * text.C: fix progress value for spellchecker
8644
8645         * toc.C: fix navigate menu for insetwrap inside minipage
8646
8647         * paragraph_funcs.C: added FIXME for suspect code
8648
8649 2002-11-07  John Levon  <levon@movementarian.org>
8650
8651         * BufferView_pimpl.C: fix redrawing of insets
8652           on buffer switch
8653
8654 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8655
8656         * text2.C (updateCounters): fix bug 668
8657
8658 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
8659
8660         * text3.C (dispatch): Do not make the buffer dirty when moving the
8661         cursor.
8662
8663 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
8664
8665         * vc-backend.C: STRCONV
8666         (scanMaster): ditto
8667
8668         * text2.C (setCounter): STRCONV
8669
8670         * paragraph.C (asString): STRCONV
8671
8672         * lyxlength.C (asString): STRCONV
8673         (asLatexString): ditto
8674
8675         * lyxgluelength.C (asString): STRCONV
8676         (asLatexString): ditto
8677
8678         * lyxfunc.C (dispatch): STRCONV
8679         (open): ditto
8680
8681         * lyxfont.C (stateText): STRCONV
8682
8683         * importer.C (Import): STRCONV
8684
8685         * counters.C (labelItem): STRCONV
8686         (numberLabel): ditto
8687         (numberLabel): remove unused ostringstream o
8688
8689         * chset.C: STRCONV
8690         (loadFile): ditto
8691
8692         * bufferview_funcs.C (currentState): STRCONV
8693
8694         * buffer.C (readFile): STRCONV
8695         (asciiParagraph): ditto
8696         (makeLaTeXFile): ditto
8697
8698         * Spacing.C (writeEnvirBegin): STRCONV
8699
8700         * LaTeXFeatures.C (getLanguages): STRCONV
8701         (getPackages): ditto
8702         (getMacros): ditto
8703         (getBabelOptions): ditto
8704         (getTClassPreamble): ditto
8705         (getLyXSGMLEntities): ditto
8706         (getIncludedFiles): ditto
8707
8708         * LaTeX.C: STRCONV
8709         (run): ditto
8710         (scanAuxFile): ditto
8711         (deplog): ditto
8712
8713         * LString.h: add the STRCONV macros
8714
8715         * BufferView_pimpl.C (savePosition): STRCONV
8716         (restorePosition): ditto
8717         (MenuInsertLyXFile): ditto
8718
8719         * vc-backend.C (scanMaster): change from submatch[...] to
8720         submatch.str(...)
8721
8722         * funcrequest.C: include config.h
8723
8724         * factory.C: include config.h
8725
8726         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8727
8728         * box.C: include config.h
8729
8730         * LaTeX.C (scanAuxFile): change from submatch[...] to
8731         submatch.str(...)
8732         (deplog): ditto
8733
8734 2002-10-25  Angus Leeming  <leeming@lyx.org>
8735
8736         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8737
8738         * ispell.[Ch] (setError): new method.
8739         * ispell.C (c-tor): move out child process into new class LaunchIspell.
8740         Use setError() insetead of goto END.
8741
8742         * lyx_cb.C (AutoSave): move out child process into new class
8743         AutoSaveBuffer.
8744
8745 2002-10-30  John Levon  <levon@movementarian.org>
8746
8747         * text3.C: make start appendix undoable
8748
8749 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
8750
8751         * lyxlength.C (inPixels): Fix returned value.
8752
8753         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8754         environment.
8755
8756 2002-10-24  Angus Leeming  <leeming@lyx.org>
8757
8758         * lyxgluelength.h: no need to forward declare BufferParams
8759         or BufferView, so don't.
8760
8761 2002-10-21  John Levon  <levon@movementarian.org>
8762
8763         * BufferView.C: menuUndo ->undo, redo
8764
8765         * BufferView.h: document, remove dead, make some methods private
8766
8767         * paragraph_funcs.h:
8768         * paragraph_funcs.C:
8769         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8770
8771         * buffer.h:
8772         * buffer.C:
8773         * sgml.h:
8774         * sgml.C: move sgml open/close tag into sgml.C
8775
8776         * bufferview_funcs.h: unused prototype
8777
8778         * lyxfunc.h:
8779         * lyxfunc.C: remove unused
8780
8781         * lyxtext.h:
8782         * text.C: remove unused
8783
8784 2002-10-21  John Levon  <levon@movementarian.org>
8785
8786         * BufferView.h:
8787         * BufferView.C:
8788         * BufferView_pimpl.h:
8789         * BufferView_pimpl.C: fix mouse wheel handling based on
8790           patch from Darren Freeman
8791
8792 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
8793
8794         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8795
8796 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
8797
8798         * lyxlength.C (inPixels): Fix hanfling of negative length.
8799         Fix LyXLength::MU case.
8800
8801 2002-10-16  John Levon  <levon@movementarian.org>
8802
8803         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8804
8805 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8806
8807         * converter.C (view): add support for $$i (file name) and $$p
8808         (file path) for the viewer command. If $$i is not specified, then
8809         it is appended to the command (for compatibility with old syntax)
8810
8811 2002-10-14  Juergen Vigna  <jug@sad.it>
8812
8813         * undo_funcs.C (textHandleUndo): alter the order in which the
8814         new undopar is added to the LyXText, as we have to set first
8815         the right prev/next and then add it as otherwise the rebuild of
8816         LyXText is not correct. Also reset the cursor to the right paragraph,
8817         with this IMO we could remove the hack in "redoParagraphs()".
8818
8819 2002-10-09  Angus Leeming  <leeming@lyx.org>
8820
8821         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8822         to turn off an optimisation if a new inset is to be inserted.
8823
8824 2002-10-11 André Pönitz <poenitz@gmx.net>
8825
8826         * lyxtext.h: make some functions public to allow access
8827         from inset/lyxtext for handling LFUN_PRIOR/NEXT
8828
8829 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8830
8831         * text3.C (dispatch): when changing layout, avoid an infinite loop
8832         [bug #652]
8833
8834 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8835
8836         * lyxrc.C (read): treat a viewer or converter command of "none" as
8837         if it were empty.
8838
8839         * MenuBackend.C (expandFormats): for an update, also allow the
8840         formats that are not viewable
8841
8842         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8843         script if it is newer than the lyxrc.defaults in user directory
8844
8845 2002-10-07 André Pönitz <poenitz@gmx.net>
8846
8847         * text.C: Vitaly Lipatov's small i18n fix
8848
8849 2002-09-25  Angus Leeming  <leeming@lyx.org>
8850
8851         * ispell.h: doxygen fix.
8852
8853 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
8854
8855         * buffer.h (readFile): Add a new argument to the method, to allow
8856         reading of old-format templates.
8857
8858 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
8859
8860         * toc.C (getTocList): Get TOC from InsetWrap.
8861
8862 2002-09-16  John Levon  <levon@movementarian.org>
8863
8864         * lyxfunc.C: check tabular for cut/copy too
8865
8866 2002-09-12  John Levon  <levon@movementarian.org>
8867
8868         * LyXAction.C: tidy
8869
8870         * factory.h:
8871         * factory.C: add header
8872
8873         * paragraph_funcs.h:
8874         * paragraph_funcs.C: cleanup
8875
8876 2002-09-11  John Levon  <levon@movementarian.org>
8877
8878         * PrinterParams.h: odd/even default to true
8879
8880 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
8881
8882         * PrinterParams.h: update printer parameters for new xforms dialog
8883
8884 2002-09-11  Angus Leeming  <leeming@lyx.org>
8885
8886         * lyxserver.C (read_ready): re-write to make it more transparent
8887         and to make it work in coherent fashion under Tru64 Unix.
8888
8889 2002-09-11  André Pönitz <poenitz@gmx.net>
8890
8891         * commandtags.h:
8892         * LyXAction.C:
8893         * text3.C: implement LFUN_WORDSEL
8894
8895 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
8896
8897         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8898         make floatlist_ a boost::shared_ptr<FloatList>
8899
8900         * lyxtextclass.C: include FloatList.h
8901         (LyXTextClass): initialize floatlist_
8902         (TextClassTags): add TC_NOFLOAT
8903         (Read): match "nofloat" to TC_NOFLOAT and use it.
8904         (readFloat): modify call to floatlist_
8905         (floats): ditto
8906         (floats): ditto
8907
8908         * FloatList.[Ch] (FloatList): remove commented out float
8909         initialization.
8910         (erase): new function
8911
8912 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8913
8914         * MenuBackend.C (expandToc): fix crash when there is no document
8915         open
8916
8917 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
8918
8919         * many files: Add insetwrap.
8920
8921 2002-09-09  John Levon  <levon@movementarian.org>
8922
8923         * text2.C: remove confusing and awkward depth wraparound
8924
8925 2002-09-09  John Levon  <levon@movementarian.org>
8926
8927         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8928
8929         * buffer.h:
8930         * buffer.C: remove getIncludeonlyList()
8931
8932         * paragraph.C:
8933         * lyxfunc.C: remove headers
8934
8935 2002-09-09  Juergen Vigna  <jug@sad.it>
8936
8937         * text.C (getColumnNearX): fix form Michael this is most
8938         probably a cut&paste bug.
8939
8940 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8941
8942         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8943
8944         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8945         references, ws changes.
8946
8947         * text2.C (init): update counters after init
8948         (insertParagraph): no need to set counter on idividual paragraphs.
8949         (setCounter): access the counters object in the textclass object
8950         on in the buffer object.
8951         (updateCounters): ditto
8952
8953         * lyxtextclass.C: include counters.h, add variable ctrs_ as
8954         shared_ptr<Counters> to avoid loading counters.h in all
8955         compilation units.
8956         (LyXTextClass): initialize ctrs_
8957         (TextClassTags): add TC_COUNTER, and ...
8958         (Read): use it here.
8959         (CounterTags): new tags
8960         (readCounter): new function
8961         (counters): new funtion
8962         (defaultLayoutName): return a const reference
8963
8964         * counters.C (Counters): remove contructor
8965         (newCounter): remove a couple of unneeded statements.
8966         (newCounter): simplify a bit.
8967         (numberLabel): some small formatting changes.
8968
8969         * buffer.[Ch]: remove all traces of counters, move the Counters
8970         object to the LyXTextClass.
8971
8972 2002-09-06  Alain Castera  <castera@in2p3.fr>
8973
8974         * tabular.C: uses \tabularnewline; uses >{...} construct from array
8975         package to set the horizontal alignment on fixed width columns.
8976
8977         * lyx_sty.C:
8978         * lyx_sty.h: added tabularnewline macro def.
8979
8980         * LaTeXFeatures.C: added NeedTabularnewline macro feature
8981
8982 2002-09-06  John Levon  <levon@movementarian.org>
8983
8984         * LyXAction.C: tooltips for sub/superscript
8985
8986         * MenuBackend.C: a bit more verbose
8987
8988         * lyxfunc.C: tiny clean
8989
8990         * undo_funcs.C: document undo_frozen
8991
8992 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
8993
8994         * counters.C (Counters): add missing algorithm counter.
8995
8996         * text2.C (setCounter): lookup the counter with layouts latexname
8997         instead of by section number.
8998         (setCounter): use a hackish way to lookup the correct enum
8999         counter.
9000         a float name->type change
9001         reset enum couners with counter name directly instead of depth value.
9002
9003         * counters.C (Counters): remove the push_backs, change to use the
9004         float type not the float name.
9005         (labelItem): remove unused string, float name->type change
9006
9007         * counters.h: don't include vector, loose the enums and sects vectors
9008
9009 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9010
9011         * lyxtextclass.C (TextClassTags): add TC_FLOAT
9012         (Read): add float->TC_FLOAT to textclassTags
9013         (Read): and handle it in the switch
9014         (readFloat): new function
9015
9016         * FloatList.C (FloatList): comment out the hardcoded float
9017         definitions.
9018
9019         * lyxlayout.h: ws change.
9020
9021 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
9022
9023         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9024
9025 2002-09-03  Angus Leeming  <leeming@lyx.org>
9026
9027         * BufferView_pimpl.h: qualified name is not allowed in member
9028         declaration: WorkArea & Pimpl::workarea() const;
9029
9030         * factory.C: added using std::endl directive.
9031
9032         * text3.C: added using std::find and std::vector directives.
9033
9034 2002-08-29  André Pönitz <poenitz@gmx.net>
9035
9036         * lyxtext.h:
9037         * text2.C: remove unused member number_of_rows
9038
9039         * Makefile.am:
9040         * BufferView2.C: remove file, move contents to...
9041         * BufferView.C: ... here
9042
9043         * BufferView_pimpl.C:
9044         * factory.C: move more inset creation to factory
9045
9046         * vspace.C: avoid direct usage of LyXText, ws changes
9047
9048         * BufferView.[Ch]:
9049                 don't provide direct access to WorkArea, use two simple
9050                 acessors haveSelction() and workHeight() instead
9051
9052
9053 2002-08-29  John Levon  <levon@movementarian.org>
9054
9055         * BufferView_pimpl.C (dispatch): do not continue when
9056           no buffer
9057
9058 2002-08-28  André Pönitz <poenitz@gmx.net>
9059
9060         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9061
9062         * BufferView.h:
9063         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9064
9065 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
9066
9067         * buffer.C: increment LYX_FORMAT to 221
9068
9069         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9070         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9071
9072         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9073
9074         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9075
9076 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9077
9078         * factory.C (createInset): use LyXTextClass::floats
9079
9080         * MenuBackend.C (expandFloatListInsert):
9081         (expandFloatInsert):
9082         (expandToc):
9083
9084         * text2.C (setCounter):
9085
9086         * LaTeXFeatures.C (useFloat):
9087         (getFloatDefinitions):
9088
9089         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9090
9091         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9092         floatlist_, with accessor floats().
9093
9094         * FloatList.h: remove global FloatList
9095
9096 2002-08-26  André Pönitz <poenitz@gmx.net>
9097
9098         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9099
9100         * BufferView.h:
9101         * BufferView2.C:
9102         * BufferView_pimpl.C:
9103         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9104
9105 2002-08-25  John Levon  <levon@movementarian.org>
9106
9107         * LyXAction.C: fix margin note description
9108
9109 2002-08-24  John Levon  <levon@movementarian.org>
9110
9111         * buffer.C:
9112         * bufferlist.C:
9113         * bufferview_funcs.C:
9114         * lyxfont.C:
9115         * undo_funcs.C: cleanups
9116
9117         * lyxfunc.C: disable CUT/COPY when no selection
9118
9119 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
9120
9121         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9122         in "enum UNIT"; e.g. PTW for Percent of TextWidth
9123
9124         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9125         Add backward compatibility to "mono", "gray" and "no".
9126
9127 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
9128
9129         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9130         (and file_format >= 200).
9131
9132 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9133
9134         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9135
9136 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9137
9138         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9139
9140 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
9141
9142         * BufferView_pimpl.C:
9143         * LyXAction.C:
9144         * buffer.C:
9145         * commandtags.h:
9146         * lyxfunc.C:
9147         * paragraph.[Ch]:
9148         * text2.C:
9149         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9150         inset and code to make it  work with the paragraph code. The inset
9151         can be anywhere in the paragraph, but will only do the expected
9152         thing in LaTeX if the layout file contains the parameter line
9153                         OptionalArgs    1
9154         (or more generally, a nonzero value) for that layout.
9155
9156 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
9157
9158         * paragraph.h: remove the declaration of undefined counters class
9159         function.
9160
9161 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
9162
9163         * text2.C (setCounter):  fixed enumeration mis-count as reported by
9164         Dr. Richard Hawkins.
9165
9166 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9167
9168         * paragraph_funcs.h: remove some unneeded includes
9169
9170         * text.C (backspace): pasteParagraph now in global scipe
9171
9172         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9173         (pasteSelection): ditto
9174
9175         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9176         * paragraph_funcs.C (pasteParagraph): ... here
9177
9178 2002-08-20  André Pönitz <poenitz@gmx.net>
9179
9180         * commandtags.h: new LFUNs for swapping/copying table row/colums
9181
9182         * LyXAction.C:
9183         * lyxfunc.C: support for new lfuns
9184
9185 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
9186
9187         * tabular.C:
9188         * buffer.[Ch]: remove NO_COMPABILITY stuff
9189
9190 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
9191
9192         * boost.C (throw_exception): new file, with helper function for
9193         boost compiled without exceptions.
9194
9195         * paragraph.h:
9196         * lyxlength.C:
9197         * buffer.C:
9198         * ParameterStruct.h:
9199         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9200
9201         * bufferlist.C (emergencyWriteAll): use boost bind
9202
9203         * BufferView_pimpl.C (moveCursorUpdate): remove inline
9204
9205         * text.C: include paragraph_funcs.h
9206         (breakParagraph): breakParagraph is now in global scope
9207
9208         * paragraph_funcs.[Ch]: new files
9209
9210         * paragraph.C (breakParagraph,breakParagraphConservative): move to
9211         global scope
9212
9213         * buffer.C: include paragraph_funcs.h
9214         (insertStringAsLines): breakParagraph is now in global scope
9215
9216         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9217         paragraph_funcs.C
9218
9219         * CutAndPaste.C: include paragraph_funcs.h
9220         (cutSelection): breakParagraphConservative is now in global scope
9221         (pasteSelection): ditto
9222
9223         * buffer.h: declare oprator== and operator!= for
9224         Buffer::inset_iterator
9225
9226         * bufferlist.C (emergencyWrite): don't use fmt(...)
9227
9228         * text3.C: add using std::endl
9229
9230         * BufferView.C (moveCursorUpdate): remove default arg
9231
9232 2002-08-20  André Pönitz <poenitz@gmx.net>
9233
9234         * buffer.[Ch]: move inline functions to .C
9235
9236         * BufferView2.C:
9237         * BufferView_pimpl.C:
9238         * text.C:
9239         * buffer.[Ch]: use improved inset_iterator
9240
9241         * buffer.C:
9242         * paragraph.[Ch]: write one paragraph at a time
9243
9244 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9245
9246         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9247         style if style is not specified.
9248
9249 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9250
9251         * text2.C (setCounter): when searching for right label for a
9252         caption, make sure to recurse to parent insets (so that a caption
9253         in a minipage in a figure float works) (bug #568)
9254
9255 2002-08-20  André Pönitz <poenitz@gmx.net>
9256
9257         * text3.C: new file for LyXText::dispatch() and helpers
9258
9259         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9260
9261         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9262
9263 2002-08-19  André Pönitz <poenitz@gmx.net>
9264
9265         * lyxtext.h:
9266         * text.C: new LyXText::dispatch()
9267
9268         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9269
9270 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
9271
9272         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9273
9274         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9275         Hebrew text.
9276
9277 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9278
9279         * Makefile.am: use $(variables) instead of @substitutions@
9280
9281 2002-08-15  André Pönitz <poenitz@gmx.net>
9282
9283         * lyxfunc.C:
9284         * BufferView_pimpl.C: streamlining mathed <-> outer world
9285         interaction
9286
9287         * commandtags.h:
9288         * LyXAction.C: remove unused LFUN_MATH
9289
9290 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9291
9292         * paragraph.[Ch]: add some NO_NEXT ifdefs.
9293
9294 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
9295
9296         * paragraph.C (Paragraph): reformat a bit
9297         (cutIntoMinibuffer): use builtin InsetList function instad of
9298         doing it manually.
9299         (getInset): ditto
9300
9301         * buffer.C: include boost/bind.hpp, add using std::for_each
9302         (writeFileAscii): use ParagraphList iterators
9303         (validate): use for_each for validate traversal of paragraphs
9304         (getBibkeyList): use ParagraphList iterators
9305         (resizeInsets): use for_each to resizeInsetsLyXText for all
9306         paragraphs.
9307         (getParFromID): use ParagraphList iterators
9308
9309         * BufferView2.C (lockInset): use paragraph list and iterators
9310
9311 2002-08-14  John Levon  <levon@movementarian.org>
9312
9313         * lyxserver.C: remove spurious xforms include
9314
9315 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9316
9317         * lyxfunc.C (getStatus): disable math-extern outside of math mode
9318
9319 2002-08-13  André Pönitz <poenitz@gmx.net>
9320
9321         * LyXAction.[Ch]:
9322         * lyxfunc.C: further cleaning
9323
9324 2002-08-13  André Pönitz <poenitz@gmx.net>
9325
9326         * funcrequest.h: new constructor
9327
9328         * funcrequest.C: move stuff here from .h
9329
9330         * Makefile.am:
9331         * BufferView_pimpl.C:
9332         * LyXAction.C:
9333         * toc.C:
9334         * lyxfunc.C: subsequent changes
9335
9336         * lyxfunc.h: new view() member function
9337
9338         * lyxfunc.C: subsequent changes
9339
9340 2002-08-13  Angus Leeming  <leeming@lyx.org>
9341
9342         * BufferView2.C:
9343         * BufferView_pimpl.C:
9344         * buffer.C:
9345         * converter.C:
9346         * importer.C:
9347         * lyxfunc.C:
9348         * lyxvc.C:
9349         * toc.C:
9350         * vc-backend.C:
9351         changes due to the changed LyXView interface that now returns references
9352         to member variables not pointers.
9353
9354 2002-08-13  Angus Leeming  <leeming@lyx.org>
9355
9356         * WordLangTuple (word, lang_code): return references to strings,
9357         not strings.
9358
9359         * BufferView.h:
9360         * SpellBase.h:
9361         * lyxtext.h: forward-declare WordLangTuple.
9362
9363         * BufferView2.C:
9364         * ispell.C:
9365         * pspell.C:
9366         * text.C: #include "WordLangTuple.h".
9367
9368         * lyxtext.h:
9369         * text.C: (selectNextWordToSpellcheck): constify return type.
9370
9371 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
9372
9373         * buffer.C:
9374         * buffer.h:
9375         * lyxtext.h:
9376         * paragraph.C:
9377         * paragraph_pimpl.h:
9378         * text.C:
9379         * text2.C:
9380         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9381         suggested by Angus.
9382         Made updateCounter always count from start of buffer, and removed
9383         second argument (par).
9384         Reverted floats number display to '#'. Perhaps I'll try again when the
9385         code base is sanitized a bit.
9386
9387 2002-08-12  Angus Leeming  <leeming@lyx.org>
9388
9389         * buffer.[Ch] (getLabelList): constify.
9390
9391 2002-08-07  André Pönitz <poenitz@gmx.net>
9392
9393         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9394
9395         * funcrequest.h: extension to keep mouse (x,y) position
9396
9397 2002-08-12  Juergen Vigna  <jug@sad.it>
9398
9399         * BufferView2.C (insertErrors): forbid undo when inserting error
9400         insets.
9401
9402         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9403
9404 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
9405
9406         * ParagraphList.[Ch]: new files
9407
9408         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9409
9410         * BufferView2.C (lockInset): ParagraphList changes
9411         * toc.C: ditto
9412         * text2.C: ditto
9413         * bufferlist.C: ditto
9414         * buffer.h: ditto
9415         * buffer.C: ditto
9416
9417 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9418
9419         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9420         unused class variable counter_,
9421
9422         * paragraph.[Ch] (getFirstCounter): delete unused function
9423
9424         * counters.C: include LAssert.h
9425         (reset): add a new function with no arg, change other version to
9426         not have def. arg and to not allow empty arg.
9427
9428         * text2.C (setCounter): remove empty arg from call to Counters::reset
9429
9430 2002-08-11  John Levon  <levon@movementarian.org>
9431
9432         * Makefile.am: add WordLangTuple.h
9433
9434 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
9435
9436         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9437         lyxfunc.C lyxlex_pimpl.C: ws changes only.
9438
9439         * insets/insettext.C: InsetList changes
9440
9441         * graphics/GraphicsSupport.C (operator()): InsetList changes
9442
9443         * toc.C (getTocList): InsetList changes
9444
9445         * paragraph_pimpl.[Ch]: InsetList changes
9446
9447         * paragraph.[Ch]: InsetList changes
9448
9449         * buffer.C (inset_iterator): InsetList changes
9450         (setParagraph): ditto
9451         * buffer.h (inset_iterator): ditto
9452         * iterators.C (operator++): ditto
9453         * iterators.h: ditto
9454
9455         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9456
9457         * InsetList.[Ch]: new files, most InsetList handling moved out of
9458         paragraph.C.
9459
9460         * BufferView2.C (removeAutoInsets): InsetList changes
9461         (lockInset): ditto
9462         (ChangeInsets): ditto
9463
9464 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
9465
9466         * paragraph_pimpl.h (empty): new function
9467
9468         * paragraph.[Ch] (empty): new function
9469
9470         * other files: use the new Paragraph::empty function
9471
9472 2002-08-09  John Levon  <levon@movementarian.org>
9473
9474         * lyxtext.h: remove unused refresh_height
9475
9476 2002-08-09  John Levon  <levon@movementarian.org>
9477
9478         * Makefile.am:
9479         * sgml.h:
9480         * sgml.C:
9481         * buffer.C:
9482         * paragraph.h:
9483         * paragraph.C: move sgml char escaping out of paragraph
9484
9485         * paragraph.h:
9486         * paragraph.C: remove id setter
9487
9488         * buffer.C:
9489         * paragraph.C:
9490         * paragraph_pimpl.C: remove dead tex_code_break_column
9491
9492         * bufferview_funcs.C: small cleanup
9493
9494         * lyxfunc.C: remove dead proto
9495
9496         * lyxtext.h: make some stuff private. Remove some dead stuff.
9497
9498         * lyxgluelength.C: make as[LyX]String() readable
9499
9500 2002-08-08  John Levon  <levon@movementarian.org>
9501
9502         * LyXAction.h:
9503         * LyXAction.C:
9504         * MenuBackend.C:
9505         * ToolbarDefaults.C:
9506         * lyxfunc.C:
9507         * lyxrc.C:
9508         * toc.C: lyxaction cleanup
9509
9510 2002-08-08  John Levon  <levon@movementarian.org>
9511
9512         * BufferView2.C: small cleanup
9513
9514         * lyxfind.h:
9515         * lyxfind.C: move unnecessary header into the .C
9516
9517 2002-08-08  John Levon  <levon@movementarian.org>
9518
9519         * funcrequest.h: just tedious nonsense
9520
9521         * lyx_main.h:
9522         * lyx_main.C: cleanups
9523
9524         * buffer.C:
9525         * vspace.C: remove dead header lyx_main.h
9526
9527 2002-08-07  Angus Leeming  <leeming@lyx.org>
9528
9529         * Paragraph.[Ch]:
9530         * paragraph_pimpl.h:
9531         Forward declare class Counters in paragraph.h by moving the ctrs member
9532         variable into Paragraph::Pimpl.
9533         (counters): new method, returning a reference to pimpl_->ctrs.
9534
9535         * text2.C: ensuing changes.
9536
9537 2002-08-07  John Levon  <levon@movementarian.org>
9538
9539         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9540
9541         * BufferView_pimpl.C: announce X selection on double/triple
9542           click
9543
9544         * lyx_main.C: use correct bool in batch dispatch
9545
9546         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9547
9548 2002-08-07  André Pönitz <poenitz@gmx.net>
9549
9550         * funcrequest.h: new class to wrap a kb_action and its argument
9551
9552         * BufferView.[Ch]:
9553         * BufferView_pimpl[Ch]:
9554         * LaTeX.C:
9555         * LyXAction.[Ch]:
9556         * lyxfunc.[Ch]:
9557         * lyxrc.C: subsequent changes
9558
9559
9560 2002-08-07  John Levon  <levon@movementarian.org>
9561
9562         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9563           document options change.
9564
9565 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
9566
9567         * counters.[Ch]
9568         * text2.C
9569         * paragraph.[Ch]
9570         * makefile.am: move counters functionality over from
9571         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9572
9573 2002-08-06  John Levon  <levon@movementarian.org>
9574
9575         * WordLangTuple.h: new file for word + language code tuple
9576
9577         * SpellBase.h:
9578         * pspell.h:
9579         * pspell.C:
9580         * ispell.h:
9581         * ispell.C:
9582         * lyxtext.h:
9583         * text.C:
9584         * text2.C:
9585         * BufferView.h:
9586         * BufferView2.C: use WordLangTuple
9587
9588         * layout.h:
9589         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9590
9591 2002-08-06  John Levon  <levon@movementarian.org>
9592
9593         * lyx_main.C: fix cmdline batch handling
9594
9595 2002-08-06  André Pönitz <poenitz@gmx.net>
9596
9597         * lyxrc.C: set default for show_banner to true
9598
9599 2002-08-06  John Levon  <levon@movementarian.org>
9600
9601         * pspell.C: fix a crash, and allow new aspell to work
9602
9603 2002-08-06  John Levon  <levon@movementarian.org>
9604
9605         * lyxfunc.C:
9606         * kbmap.C: small cleanup
9607
9608         * vspace.h:
9609         * vspace.C: add const
9610
9611 2002-08-05  John Levon  <levon@movementarian.org>
9612
9613         * LyXAction.C: back to tabular-insert
9614
9615 2002-08-04  John Levon  <levon@movementarian.org>
9616
9617         * BufferView.h:
9618         * BufferView.C: cosmetic change
9619
9620         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9621
9622         * bufferlist.C:
9623         * buffer.h:
9624         * buffer.C:
9625         * lyxcb.h:
9626         * lyxcb.C:
9627         * lyxserver.C:
9628         * lyxvc.C:
9629         * vc-backend.C:
9630         * BufferView2.C: purge all "Lyx" not "LyX" strings
9631
9632         * lyxcursor.h:
9633         * lyxcursor.C: attempt to add some documentation
9634
9635         * lyxfunc.C:
9636         * commandtags.h:
9637         * LyXAction.C:
9638         * ToolbarDefaults.C:
9639         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9640           merge with LFUN_TABULAR_INSERT
9641
9642         * Makefile.am:
9643         * SpellBase.h:
9644         * ispell.h:
9645         * ispell.C:
9646         * pspell.h:
9647         * pspell.C: split up i/pspell implementations into separate
9648           files, many cleanups
9649
9650         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9651
9652         * text2.C: some cleanup
9653
9654         * lyxfunc.C: don't check for isp_command == "none" any more, it
9655           didn't make any sense
9656
9657 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
9658
9659         * counters.[Ch]
9660         * text2.C
9661         * paragraph.[Ch]
9662         * makefile.am: move counters functionality over
9663         from text2.C/paragraph.[Ch] to counters.[Ch], and
9664         make proper C++.
9665 2002-08-02  John Levon  <levon@movementarian.org>
9666
9667         * buffer.C: s/lyxconvert/lyx2lyx/
9668
9669 2002-08-02  Angus Leeming  <leeming@lyx.org>
9670
9671         * lyxlex.C: revert John's change as it breaks reading of the user
9672         preamble.
9673
9674 2002-08-02  Angus Leeming  <leeming@lyx.org>
9675
9676         * importer.C (Import):
9677         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9678         changes due to LyXView::view() now returning a boost::shared_ptr.
9679
9680 2002-08-02  John Levon  <levon@movementarian.org>
9681
9682         * lyxlex.C: small cleanup
9683
9684 2002-08-02  John Levon  <levon@movementarian.org>
9685
9686         * text2.C (status): small cleanup, no logic change
9687
9688 2002-08-01  John Levon  <levon@movementarian.org>
9689
9690         * buffer.h:
9691         * buffer.C (writeFile): don't output alerts, caller
9692           handles this
9693
9694         * bufferlist.C:
9695         * lyx_cb.C: from above
9696
9697         * lyxfunc.C: allow to open non-existent files
9698
9699 2002-07-31  John Levon  <levon@movementarian.org>
9700
9701         * lyxserver.C: don't let incidental errors get
9702           in the way (errno)
9703
9704 2002-07-30  John Levon  <levon@movementarian.org>
9705
9706         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9707
9708 2002-07-30  John Levon  <levon@movementarian.org>
9709
9710         * lyxserver.h:
9711         * lyxserver.C: remove I/O callback too
9712
9713 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9714
9715         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9716         log.
9717
9718 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9719
9720         * many files: strip,frontStrip -> trim,ltrim,rtrim
9721
9722 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
9723
9724         * PrinterParams.h: remove extern containsOnly, and include
9725         support/lstrings.h instead.
9726
9727         * LaTeX.C (scanAuxFile): modify because of strip changes
9728         (deplog): ditto
9729         * buffer.C (makeLaTeXFile): ditto
9730         * bufferparams.C (writeFile): ditt
9731         * lyxfont.C (stateText): ditto
9732         * lyxserver.C (read_ready): ditto
9733         * vc-backend.C (scanMaster): ditto
9734
9735         * BufferView_pimpl.h: ws changes
9736
9737         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9738
9739 2002-07-26  André Pönitz <poenitz@gmx.net>
9740
9741         * kb_sequence.C: remove unnedred usings
9742
9743 2002-07-26  Juergen Vigna  <jug@sad.it>
9744
9745         * lyxfind.C (LyXReplace): we have to check better if the returned
9746         text is not of theLockingInset()->getLockingInset().
9747
9748 2002-07-25  Juergen Vigna  <jug@sad.it>
9749
9750         * lyxfind.C (LyXReplace): don't replace if we don't get the
9751         right LyXText.
9752
9753         * undo_funcs.C (createUndo): remove debugging code.
9754
9755 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
9756
9757         * buffer.C (parseSingleLyXformat2Token): Use default placement
9758         when reading old floats.
9759
9760         * FloatList.C (FloatList): Change the default placement of figure
9761         and tables to "tbp".
9762
9763 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
9764
9765         * MenuBackend.C: using std::max
9766
9767 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9768
9769         * MenuBackend.C (expandToc):
9770         (expandToc2): code moved from xforms menu frontend. It is now
9771         generic and TOCs are transparent to menu frontends.
9772
9773 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9774
9775         * toc.C (getTocList): protect against buf=0
9776
9777         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9778         Menu as first parameter. Now, this calls itself recursively to
9779         expand a whole tree (this will be useful for TOC handling)
9780         (expandFloatInsert): remove 'wide' version of floats
9781
9782         * MenuBackend.h (submenuname): returns the name of the submenu.
9783         (submenu): returns the submenu itself, provided it has been
9784         created by MenuBackend::expand
9785
9786 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9787
9788         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9789         insets which have noFontChange == true. (bug #172)
9790
9791 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9792
9793         * BufferView_pimpl.C: add connection objects and use them...
9794         (Pimpl): here.
9795
9796 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9797
9798         * MenuBackend.C (expandLastfiles):
9799         (expandDocuments):
9800         (expandFormats):
9801         (expandFloatListInsert):
9802         (expandFloatInsert):
9803         (expand): split expand in parts
9804
9805 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9806
9807         * lyx_gui.C: use lyx_gui::exit()
9808
9809 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9810
9811         * LyXAction.C: show the failing pseudo action
9812
9813 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
9814
9815         * buffer.C (readFile): Run the lyxconvert script in order to read
9816         old files.
9817
9818 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9819
9820         * LyXAction.C:
9821         * commandtags.h:
9822         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9823
9824 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
9825
9826         * LyXAction.C:
9827         * commandtags.h:
9828         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9829
9830 2002-07-22  Herbert Voss  <voss@lyx.org>
9831
9832         * lengthcommon.C:
9833         * lyxlength.[Ch]: add support for the vertical lengths
9834
9835 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
9836
9837         * toc.[Ch]: std:: fixes
9838
9839 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9840
9841         * lyxrc.C: do not include lyx_main.h
9842
9843         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9844         for layouts
9845
9846         * lyxrc.C:
9847         * encoding.C:
9848         * bufferlist.C:
9849         * BufferView2.C: include "lyxlex.h"
9850
9851         * tabular.h:
9852         * bufferparams.h: do not #include "lyxlex.h"
9853
9854         * lyxtextclasslist.C (Add): remove method
9855         (classlist): renamed to classlist_
9856
9857         * paragraph_pimpl.C:
9858         * paragraph.C:
9859         * text2.C:
9860         * CutAndPaste.C:
9861         * bufferview_funcs.C:
9862         * bufferlist.C:
9863         * text.C:
9864         * LaTeXFeatures.C:
9865         * buffer.C:
9866         * toc.C (getTocList): use BufferParams::getLyXTextClass
9867
9868         * toc.C (getTocList): use InsetFloat::addToToc
9869
9870         * toc.[Ch]: new files, containing helper functions to handle table
9871         of contents
9872
9873         * lyxfunc.C (dispatch): no need to remove spaces around command
9874         given as a string
9875         (getStatus): handle LFUN_SEQUENCE by returning the status of the
9876         first command of the sequence; it is not very clever, but I do not
9877         have a better idea, actually
9878
9879         * LyXAction.C (LookupFunc): make sure to remove space at the
9880         beginning and end of the command
9881
9882 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9883
9884         * MenuBackend.C (getMenubar): new method: return the menubar of
9885         this menu set
9886         (read): treat differently reading of menu and menubar (in
9887         particular, the menubar has no name now)
9888         (Menu::menubar): remove
9889
9890         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9891         saving is finished
9892
9893 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9894
9895         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9896         a bibitem inset in a RTL paragraph.
9897
9898 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
9899
9900         * paragraph_pimpl.C: constify
9901
9902         * BufferView_pimpl.C:
9903         * LaTeX.C:
9904         * lyxfunc.C: fix dispatch in a nicer way
9905
9906 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9907
9908         * lyxfunc.C (dispatch):
9909         * BufferView_pimpl.C:
9910         * BufferView_pimpl.h:
9911         * BufferView.C:
9912         * BufferView.h: rename Dispatch() to dispatch()
9913
9914         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9915
9916         * lyxlayout.C (Read): honor DependsOn tag
9917
9918         * lyxlayout.[Ch] (depends_on): new method
9919
9920         * version.C.in: update lyx_docversion
9921
9922         * LaTeXFeatures.C (getMacros): only define \LyX when needed
9923
9924         * paragraph.C (validate): remove from here...
9925         * paragraph_pimpl.C (validate): ... and move here
9926         (isTextAt): make it const
9927
9928         * buffer.C (getLists): ws cleanup
9929
9930 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
9931
9932         * language.C (read): Use iso8859-1 encoding in latex_lang
9933         (this prevents LyX from crashing when using iso10646-1 encoding).
9934
9935 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9936
9937         * text2.C (toggleInset): if cursor is inside an inset, close the
9938         inset and leave cursor _after_ it
9939
9940 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9941
9942         * lyxfunc.C: move minibuffer completion handling out of here
9943
9944 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
9945
9946         * BufferView_pimpl.C:
9947         * LaTeX.C: fix dispatch calls
9948
9949 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
9950
9951         * text.C (drawChars): Fix Arabic text rendering.
9952
9953 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
9954
9955         * LyXAction.C:
9956         * commandtags.h:
9957         * lyxfunc.C: remove message-push/pop
9958
9959         * lyxserver.C:
9960         * lyxfunc.h:
9961         * lyxfunc.C: rationalise some code by removing verboseDispatch
9962           in favour of a bool argument to dispatch()
9963
9964 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9965
9966         * lyx_main.C (init): make sure to read symlinks as absolute paths
9967
9968 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9969
9970         * lyxfunc.h:
9971         * lyxfunc.C: no need for commandshortcut to be a member
9972
9973 2002-07-15  André Pönitz <poenitz@gmx.net>
9974
9975         * converter.C: add support for $$s (scripts from lib/scripts dir)
9976         * lyx_main.C: white space
9977
9978 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9979
9980         * bufferlist.C:
9981         * lyxrc.h:
9982         * lyxrc.C: remove second exit confirmation
9983
9984 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
9985
9986         * BufferView.h:
9987         * BufferView.C:
9988         * BufferView2.C:
9989         * BufferView_pimpl.h:
9990         * BufferView_pimpl.C:
9991         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9992
9993 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9994
9995         * MenuBackend.C (expand): add numeric shortcuts to document menu
9996
9997         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9998
9999 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10000
10001         * lyxfont.C (setLyXFamily):
10002         (setLyXSeries):
10003         (setLyXShape):
10004         (setLyXSize):
10005         (setLyXMisc):
10006         (lyxRead):
10007         * debug.C (value):
10008         * buffer.C (asciiParagraph): use ascii_lowercase
10009
10010 2002-07-15  Mike Fabian  <mfabian@suse.de>
10011
10012         * lyxlex_pimpl.C (search_kw):
10013         * lyxlex.C (getLongString):
10014         * converter.h (operator<):
10015         * converter.C (operator<):
10016         * buffer.C (parseSingleLyXformat2Token):
10017         (asciiParagraph):
10018         * ToolbarDefaults.C (read):
10019         * MenuBackend.C (checkShortcuts):
10020         (read):
10021         * LColor.C (getFromGUIName):
10022         (getFromLyXName): use the compare_ascii_no_case instead of
10023         compare_no_case, because in turkish, 'i' is not the lowercase
10024         version of 'I', and thus turkish locale breaks parsing of tags.
10025
10026 2002-07-16  Angus Leeming  <leeming@lyx.org>
10027
10028         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10029         now takes a Buffer const & argument.
10030
10031 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
10032
10033         * BufferView.C (resize): check there's a buffer to resize
10034
10035 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
10036
10037         * lyxfunc.C: remove dead code
10038
10039         * lyxserver.h:
10040         * lyxserver.C: use lyx_guii::set_read_callback
10041
10042 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10043
10044         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10045         an inset in a RTL paragraph.
10046
10047 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10048
10049         * lyxfunc.C: repaint after a font size update
10050
10051 2002-07-15  André Pönitz <poenitz@gmx.net>
10052
10053         * lyxlength.C: inBP should be able to return negative values
10054
10055 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10056
10057         * lyxfunc.C: use lyx_gui::update_fonts()
10058
10059 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
10060
10061         * lyxfunc.C: use lyx_gui::update_color()
10062
10063 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10064
10065         * bufferlist.C:
10066         * lyxfunc.h:
10067         * lyxfunc.C:
10068         * lyxrc.h:
10069         * lyxrc.C: remove file->new asks for name option, and let
10070           buffer-new take an argument
10071
10072 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
10073
10074         * BufferView_pimpl.C: remove unneeded extra repaint()
10075
10076 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
10077
10078         * LyXAction.C: allow command-sequence with NoBuffer
10079
10080         * lyxfunc.C: don't insist on trailing ';' for command-sequence
10081
10082 2002-07-10  Angus Leeming  <leeming@lyx.org>
10083
10084         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10085
10086 2002-07-09  Angus Leeming  <leeming@lyx.org>
10087
10088         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10089
10090 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10091
10092         * lengthcommon.h: whitespace
10093
10094         * lyxfunc.C: update scrollbar after goto paragraph
10095
10096         * lyxtext.h: factor out page break drawing, and fix it so
10097           page break/added space paints as selected nicely
10098
10099 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
10100
10101         * BufferView_pimpl.C: add FIXMEs, clean up a little
10102
10103 2002-07-09  André Pönitz <poenitz@gmx.net>
10104
10105         * lyxfont.[Ch]: support for wasy symbols
10106
10107 2002-07-08  André Pönitz <poenitz@gmx.net>
10108
10109         * BufferView_pimpl.C: apply John's patch for #93.
10110
10111 2002-07-05  Angus Leeming  <leeming@lyx.org>
10112
10113         * BufferView_pimpl.C (buffer): generate previews if desired.
10114
10115         * LColor.h: add "preview" to the color enum.
10116
10117         * LColor.C (LColor): add a corresponding entry to the items array.
10118
10119         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10120         with this buffer.
10121
10122 2002-07-05  Angus Leeming  <leeming@lyx.org>
10123
10124         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10125         The body of the code is now in the method that is passed an ostream &
10126         rather than a file name.
10127         Pass an additional only_preamble parameter, useful for the forthcoming
10128         preview stuff.
10129
10130 2002-07-03  André Pönitz <poenitz@gmx.net>
10131
10132         * lyxfunc.C: simplify getStatus() a bit for math stuff
10133
10134 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10135
10136         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10137
10138 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10139
10140         * text.C (changeRegionCase): do not change case of all the
10141         document when region ends at paragraph end (bug #461)
10142
10143 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10144
10145         * paragraph.C (startTeXParParams):
10146         (endTeXParParams): add \protect when necessary
10147
10148 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10149
10150         * BufferView_pimpl.C (workAreaExpose): remove warning
10151
10152 2002-06-27  Angus Leeming  <leeming@lyx.org>
10153
10154         * Makefile.am: add lyxlayout_ptr_fwd.h.
10155
10156 2002-06-26  André Pönitz <poenitz@gmx.net>
10157
10158         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10159
10160 2002-06-25  Angus Leeming  <leeming@lyx.org>
10161
10162         * lyxfunc.C (dispatch): Comment out the call to
10163         grfx::GCache::changeDisplay. The method no longer exists now that the
10164         pixmap generation part of the graphics loader has been moved into
10165         InsetGraphics.
10166
10167 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10168
10169         * text2.C: layout as layout
10170
10171         * text.C: layout as layout
10172
10173         * tabular.C (OldFormatRead): layout as layout
10174
10175         * paragraph_pimpl.C (TeXDeeper): layout as layout
10176         (realizeFont): layout as layout
10177
10178         * paragraph.C (writeFile): layout as layout
10179         (validate): layout as layout
10180         (getFont): layout as layout
10181         (getLabelFont): layout as layout
10182         (getLayoutFont): layout as layout
10183         (breakParagraph): layout as layout
10184         (stripLeadingSpaces): layout as layout
10185         (getEndLabel): layout as layout
10186         (getMaxDepthAfter): layout as layout
10187         (applyLayout): layout as layout
10188         (TeXOnePar): layout as layout
10189         (simpleTeXOnePar): layout as layout
10190         (TeXEnvironment): layout as layout
10191         (layout): layout as layout
10192         (layout): layout as layout
10193
10194         * lyxtextclass.C (compare_name): new functor to work with
10195         shared_ptr, layout as layout
10196         (Read): layout as layout
10197         (hasLayout): layout as layout
10198         (operator): layout as layout
10199         (delete_layout): layout as layout
10200         (defaultLayout): layout as layout
10201
10202         * lyxlayout_ptr_fwd.h: new file
10203
10204         * lyxlayout.C (Read): layout as layout
10205
10206         * lyx_cb.C (MenuInsertLabel): layout as layout
10207
10208         * bufferlist.C (newFile): layout as layout
10209
10210         * buffer.C (readLyXformat2): layout as layout
10211         (parseSingleLyXformat2Token): layout as layout
10212         (insertStringAsLines): layout as layout
10213         (asciiParagraph): layout as layout
10214         (latexParagraphs): layout as layout
10215         (makeLinuxDocFile): layout as layout
10216         (simpleLinuxDocOnePar): layout as layout
10217         (makeDocBookFile): layout as layout
10218         (simpleDocBookOnePar): layout as layout
10219         (getLists): layout as layout
10220
10221         * LaTeXFeatures.C (getTClassPreamble): layout as layout
10222
10223         * CutAndPaste.C (cutSelection): layout as layout
10224         (pasteSelection): layout as layout
10225         (SwitchLayoutsBetweenClasses): layout as layout
10226
10227         * BufferView_pimpl.C (Dispatch): layout as layout
10228         (smartQuote): layout as layout
10229
10230         * BufferView2.C (unlockInset): layout as layout
10231
10232 2002-06-24  André Pönitz <poenitz@gmx.net>
10233
10234         * lyxfunc.C: fix #487
10235
10236 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10237
10238         * lyxrc.h:
10239         * lyxrc.C:
10240         * lyxfunc.C: remove display_shortcuts, show_banner
10241
10242 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10243
10244         * Buffer_pimpl.C: oops, update on resize
10245
10246 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10247
10248         * buffer.C:
10249         * converter.C:
10250         * exporter.C:
10251         * lyxfunc.C:
10252         * BufferView.h:
10253         * BufferView.C: use repaint()
10254
10255         * BufferView_pimpl.h:
10256         * BufferView_pimpl.C: s/updateScreen()/repaint()/
10257           as it's a clearer description. Remove superfluous
10258           redraws.
10259
10260 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
10261
10262         * text.C: fix bug 488. Not ideal, but getting
10263           getWord() to work properly for the insets that
10264           matter is more difficult ...
10265
10266 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10267
10268         * BufferView_pimpl.C:
10269         * LyXAction.C:
10270         * commandtags.h:
10271         * lyxfunc.C: remove the six million index lyxfuncs to just
10272           one, and DTRT (bug 458)
10273
10274 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10275
10276         * BufferView.h:
10277         * BufferView.C:
10278         * BufferView_pimpl.h:
10279         * BufferView_pimpl.C: clean up resize() stuff,
10280           and unnecessary updateScreen()s
10281
10282 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
10283
10284         * BufferView.h:
10285         * BufferView.C:
10286         * BufferView_pimpl.h:
10287         * BufferView_pimpl.C:
10288         * lyxfind.h:
10289         * lyxfind.C:
10290         * minibuffer.C: remove focus management of workarea,
10291           not needed. Use screen's greyOut()
10292
10293 2002-06-17  Herbert Voss  <voss@lyx.org>
10294
10295         * converter.C: (convert) do not post a message, when converting
10296         fails, let the calling function decide what to do in this case
10297
10298 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
10299
10300         * lyxfunc.C: tidy up a little
10301
10302 2002-06-16    <alstrup@diku.dk>
10303
10304         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10305         Got rid of FORMS_H_LOCATION include. Now we are
10306         GUII.
10307
10308 2002-06-15  LyX Development team  <lyx@rilke>
10309
10310         * buffer.[Ch] (sgmlOpenTag):
10311         (sgmlCloseTag): Added support for avoiding pernicious mixed
10312         content. Return number of lines written.
10313
10314         (makeLinuxDocFile):
10315         (makeDocBookFile): Fixed calls to sgml*Tag.
10316         Simple white space clean.
10317
10318         (simpleDocBookOnePar): Simple white space clean.
10319
10320         * tabular.[Ch] (docBook): Renamed to docbook and got another
10321         argument to related with the pernicious mixed content.
10322
10323         (docbookRow): Fixed calls for docbook inset method.
10324
10325 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
10326
10327         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10328         so it's X11 independent.
10329
10330         * kb*.[Ch]: ditto.
10331
10332         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10333
10334 2002-06-15  Lyx Development team  <lyx@electronia>
10335
10336         * intl.h: Renamed getTrans to getTransManager.
10337
10338 2002-06-14  Angus Leeming  <leeming@lyx.org>
10339
10340         * Makefile.am: nuke forgotten stl_string_fwd.h.
10341
10342 2002-06-12  Angus Leeming  <leeming@lyx.org>
10343
10344         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10345
10346 2002-06-13  Angus Leeming  <leeming@lyx.org>
10347
10348         * LaTeX.C:
10349         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10350
10351 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
10352
10353         * kbmap.C (getiso): add support for cyrillic and greek
10354
10355 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10356
10357         * BufferView.h:
10358         * BufferView.C:
10359         * BufferView_pimpl.h:
10360         * BufferView_pimpl.C: move bogus scrolling logic
10361           to xforms
10362
10363 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10364
10365         * lyxfunc.C:
10366         * BufferView_pimpl.C: view->resize() change
10367
10368 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10369
10370         * BufferView_pimpl.C: topCursorVisible
10371           prototype change
10372
10373 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10374
10375         * Makefile.am:
10376         * lyx_gui.h:
10377         * lyx_gui.C: move to frontends/
10378
10379         * main.C:
10380         * lyx_main.h:
10381         * lyx_main.C: changes from above
10382
10383 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10384
10385         * intl.C:
10386         * intl.h:
10387         * kbmap.C:
10388         * kbsequence.C:
10389         * lyx_cb.C:
10390         * lyx_main.C: minor tidy
10391
10392 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10393
10394         * BufferView_pimpl.h:
10395         * BufferView_pimpl.C:
10396         * BufferView.h:
10397         * BufferView.C: make painter() const,
10398           remove dead code
10399
10400         * BufferView2.C: use screen() accessor
10401
10402         * lyx_main.h:
10403         * lyx_main.C: some minor cleanup
10404
10405 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10406
10407         * BufferView_pimpl.h:
10408         * BufferView_pimpl.C: remove enter/leaveView,
10409           use workHeight()
10410
10411 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
10412
10413         * BufferView.h:
10414         * BufferView.C:
10415         * BufferView2.C:
10416         * BufferView_pimpl.h:
10417         * BufferView_pimpl.C: only construct screen once,
10418           rename
10419
10420         * lyxrc.C: remove pointless comment
10421
10422 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10423
10424         * BufferView.h:
10425         * BufferView.C: remove active() and belowMouse()
10426
10427         * BufferView_pimpl.h:
10428         * BufferView_pimpl.C: use workarea() not workarea_,
10429           and make it use a scoped_ptr instead
10430
10431 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
10432
10433         * lyx_gui.C: add debug message on BadWindow
10434
10435 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10436
10437         * sp_spell.C: fdopen is not part of the C++ standard.
10438
10439         * paragraph.C (InsetIterator): use >= instead of ==
10440
10441 2002-06-07  Angus Leeming  <leeming@lyx.org>
10442
10443         Fixes needed to compile with Compaq cxx 6.5.
10444         * BufferView_pimpl.C:
10445         * DepTable.C:
10446         * buffer.C:
10447         * converter.C:
10448         * encoding.C:
10449         * lyx_gui.C:
10450         * lyx_main.C:
10451         * lyxtextclasslist.C:
10452         * minibuffer.C:
10453         * sp_spell.C:
10454         * tabular_funcs.C:
10455         * vc-backend.C:
10456         all c-library variables have been moved into namespace std. Wrap
10457         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10458
10459         * lyxlength.C:
10460         * tabular-old.C:
10461         * tabular.C:
10462         Add a using std::abs declaration.
10463
10464         * kbmap.h (modifier_pair):
10465         * paragraph.h (InsetTable, InsetList):
10466         * lyxfont.h (FontBits):
10467         type definition made public.
10468
10469         * bufferlist.C (emergencyWriteAll): the compiler complains that
10470         there is more than one possible lyx::class_fun template to choose from.
10471         I re-named the void specialisation as lyx::void_class_fun.
10472
10473         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10474
10475         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10476         the compiler is is unable to find tostr in write_attribute.
10477
10478 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10479
10480         * buffer.C (sgmlError): hide #warning
10481
10482 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10483
10484         * xtl/*: get rid of xtl, which is not in use anyway
10485
10486         * LyXAction.C (init):
10487         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10488         were unimplemented xtl experimentation
10489
10490 2002-06-04  André Pönitz <poenitz@gmx.net>
10491
10492         * lyxfunc.C: disable array operation on simple formulae
10493
10494 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
10495
10496         * converter.C: constify a bit
10497
10498 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
10499
10500         * lyx_gui.C: check xforms version correctly
10501
10502 2002-04-30  Herbert Voss  <voss@lyx.org>
10503
10504         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10505         "keep" option
10506
10507 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
10508
10509         * lyxvc.C: fix bug 416 (make sure buffer is saved before
10510           attempt to register it with a VCS)
10511
10512 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10513
10514         * lyx_main.C (init): honor variables LYX_DIR_13x and
10515         LYX_USERDIR_13x
10516
10517 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10518
10519         * buffer.h:
10520         * buffer.C:
10521         * lyx_main.C: fix a crash on bad command line,
10522           and give a useful exit status on error
10523
10524         * lyxfunc.C (doImport): allow -i lyx to work
10525
10526 2002-03-30  André Pönitz <poenitz@gmx.net>
10527
10528         * lyxfunc.C: mathed font changes
10529
10530 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
10531
10532         * LaTeX.C:
10533         * importer.h:
10534         * importer.C:
10535         * lyx_sty.h:
10536         * lyx_sty.C:
10537         * lyxlex.C:
10538         * lyxrow.h:
10539         * lyxtext.h:
10540         * paragraph.h:
10541         * paragraph.C:
10542         * texrow.h:
10543         * texrow.C:
10544         * text.C:
10545         * trans_mgr.h: srcdocs, and some minor cleanups
10546
10547 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10548
10549         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10550         call getFont all the time)
10551
10552 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10553
10554         * switch from SigC signals to boost::signals
10555
10556 2002-05-29  André Pönitz <poenitz@gmx.net>
10557
10558         * paragraph_pimpl.C (getChar): don't call size() too often...
10559
10560 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10561
10562         * paragraph_pimpl.C (insertChar): do not try to update tables when
10563         appending (pos == size())
10564
10565         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10566         in order to reduce drastically the number of comparisons needed to
10567         parse a large document
10568
10569 2002-05-29  André Pönitz <poenitz@gmx.net>
10570
10571         * text.C:
10572         * text2.C:
10573         * lyxtextclass.C:
10574         * sp_pspell.h:
10575         * textclasslist.[Ch]:
10576         * sp_ispell.h: whitespace change
10577
10578 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10579
10580         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10581         lyxaction directly now.
10582
10583 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
10584
10585         * trans.C:
10586         * lyxfont.C:
10587         * lyxvc.C: remove unused headers
10588
10589 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10590
10591         * Makefile.am:
10592         * buffer.h:
10593         * undostack.h:
10594         * undostack.C:
10595         * undo_funcs.h:
10596         * undo_funcs.C: some cleanups. Use shared_ptr
10597           and a template for the undo stacks.
10598
10599 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
10600
10601         * BufferView_pimpl.h:
10602         * BufferView_pimpl.C:
10603         * kbmap.h:
10604         * kbmap.C:
10605         * kbsequence.h:
10606         * kbsequence.C:
10607         * lyxfunc.h:
10608         * lyxfunc.C:
10609         * text2.C: use key_state/mouse_state
10610
10611 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10612
10613         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10614         and LSubstring
10615
10616         * chset.C: change include order
10617         (loadFile): use boost regex and get rid of LRegex and LSubstring
10618
10619         * Makefile.am (BOOST_LIBS): new variable
10620         (lyx_LDADD): use it
10621
10622         * LaTeX.C: change include order.
10623         (scanAuxFile): use boost regex and get rid of LRegex and
10624         LSubstring
10625         (deplog): ditto
10626
10627 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10628
10629         * ColorHandler.h:
10630         * ColorHandler.C:
10631         * FontInfo.h:
10632         * FontInfo.C: moved to frontends/xforms/
10633
10634         * FontLoader.h:
10635         * FontLoader.C: moved into frontends for GUIIzation
10636
10637         * Makefile.am:
10638         * lyx_gui.C:
10639         * lyxfont.C:
10640         * lyxfunc.C: changes from above
10641
10642 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
10643
10644         * LColor.C: remove spurious X include
10645
10646         * BufferView_pimpl.C:
10647         * Makefile.am:
10648         * font.h:
10649         * font.C:
10650         * text.C:
10651         * text2.C: move font metrics to frontends/
10652
10653 2002-05-24  Juergen Vigna  <jug@sad.it>
10654
10655         * undo_funcs.C (textHandleUndo): fix the cursor selection after
10656         setting the undo_cursor.
10657
10658         * ParagraphParameters.h: include local includes first.
10659
10660 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10661
10662         * BufferView_pimpl.C:
10663         * BufferView_pimpl.h:
10664         * Makefile.am:
10665         * WorkArea.h:
10666         * WorkArea.C:
10667         * screen.C: move WorkArea into frontends/
10668
10669         * lyxscreen.h:
10670         * screen.C:
10671         * text.C:
10672         * BufferView.C:
10673         * BufferView2.C: move LyXScreen into frontends/
10674
10675         * lyxlookup.h:
10676         * lyxlookup.C:
10677         * lyx_gui.C: move lyxlookup into frontends/xforms/
10678
10679 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10680
10681         * BufferView2.C:
10682         * BufferView_pimpl.C:
10683         * FontLoader.C:
10684         * LyXView.h:
10685         * LyXView.C:
10686         * Makefile.am:
10687         * WorkArea.C:
10688         * XFormsView.h:
10689         * XFormsView.C:
10690         * buffer.C:
10691         * bufferlist.C:
10692         * bufferview_funcs.C:
10693         * converter.C:
10694         * importer.C:
10695         * lyx_cb.C:
10696         * lyx_gui.C:
10697         * lyx_main.C:
10698         * lyx_find.C:
10699         * lyxfunc.C:
10700         * lyxvc.C:
10701         * minibuffer.C:
10702         * text.C:
10703         * text2.C:
10704         * trans.C:
10705         * vc-backend.C: move LyX/XFormsView into frontends/
10706
10707 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
10708
10709         * Makefile.am:
10710         * PainterBase.C:
10711         * PainterBase.h:
10712         * Painter.C:
10713         * Painter.h:
10714         * WorkArea.C:
10715         * WorkArea.h:
10716         * screen.C:
10717         * tabular.C:
10718         * text.C:
10719         * text2.C: move Painter to frontends/
10720
10721 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10722
10723         * buffer.C: comment out some some code that depend upon lyx_format
10724         < 220
10725
10726         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10727         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10728
10729         * buffer.h (NO_COMPABILITY): turn off compability
10730
10731         * ColorHandler.C: include scoped_array.hpp
10732
10733         * font.C: Use more specific smart_ptr header.
10734         * Painter.C: ditto
10735         * gettext.C: ditto
10736         * ShareContainer.h: ditto
10737         * lyx_main.h: ditto
10738         * kbmap.h: ditto
10739         * FontInfo.h: ditto
10740         * BufferView_pimpl.h: ditto
10741         * ColorHandler.h: ditto
10742
10743         * kbmap.C (defkey): change call to shared_ptr::reset
10744
10745 2002-05-21  Juergen Vigna  <jug@sad.it>
10746
10747         * buffer.C (insertErtContents): fix to insert ert asis if it is
10748         non empty. Skip it completely if it contains only whitespaces.
10749
10750 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
10751
10752         * BufferView_pimpl.C:
10753         * BufferView2.C: clear selection on paste (bug 393)
10754
10755 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10756
10757         * DepTable.C: include ctime
10758
10759 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
10760
10761         * buffer.C (latexParagraphs): Add new argument (moving_arg).
10762
10763 2002-05-14  Juergen Vigna  <jug@sad.it>
10764
10765         * text.C (breakParagraph): fixed function to honor the keepempty
10766         layout in the right maner and also to permit the right breaking
10767         algorithm on empty or non empyt keepempty paragraphs.
10768
10769         * paragraph.C (breakParagraph): we have to check also if the par
10770         is really empty (!size()) for isempty otherwise we do the wrong
10771         paragraph break.
10772
10773 2002-05-10  Juergen Vigna  <jug@sad.it>
10774
10775         * buffer.[Ch] : The following are only changes to the ert
10776         compatibility read reading old LaTeX layout and font stuff and
10777         convert it to ERTInsets.
10778
10779         * buffer.h: added isErtInset().
10780
10781         * buffer.C (struct ErtComp): add a fromlayout bool to check
10782         if we're inside a LaTeX layout.
10783         (isErtInset): new helper function.
10784         (insertErtContents): look for other ert insets before this one
10785         and insert the contents there, so that we don't have subsequent
10786         ERT insets with nothing between them. This way we create only one
10787         inset with multiple paragraphs. Also check if we don't insert only
10788         spaces ' ' as they are ignored anyway afterwards in the .tex file
10789         so if we have only spaces we will ignore this latex part in the
10790         new file.
10791         (parseSingleLyXformat2Token \\layout): better compatibility when
10792         reading layout-latex stuff.
10793         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10794         language tag.
10795         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10796         stuff after reading the inset only get the information back from
10797         the stack.
10798
10799 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
10800
10801         * buffer.C (makeLaTeXFile): Put language options after loading babel.
10802
10803         * LaTeXFeatures.C (getBabelOptions): New method.
10804
10805 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10806
10807         * BufferView_pimpl.C (Dispatch): work around missing argument for
10808         'layout'
10809
10810 2002-05-08  Juergen Vigna  <jug@sad.it>
10811
10812         * text.C (leftMargin): handle paragraph leftindent.
10813
10814         * paragraph.C (writeFile): write the new \\leftindent tag.
10815         (validate): handle leftindent code.
10816         (TeXEnvironment): handle paragraphleftindent code again.
10817
10818         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10819
10820         * buffer.C (parseSingleLyXformat2Token): added compatibility code
10821         for paragrap_extra indent code and new token \\leftindent.
10822         (latexParagraphs): handle the leftindent as environment.
10823
10824         * ParameterStruct.h: added leftindent support.
10825
10826         * ParagraphParameters.C (leftIndent): added support functions for
10827         the paragraph left indent.
10828
10829         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10830         more appropriate.
10831
10832 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
10833
10834         * paragraph.C (isRightToLeftPar): Return false for a paragraph
10835         inside insetERT.
10836
10837         * text.C (computeBidiTables): No bidi in insetERT.
10838
10839         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10840         in RTL documents.
10841
10842 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10843
10844         * version.C.in: pre 5
10845
10846 2002-05-02  José Matos  <jamatos@fep.up.pt>
10847         * buffer.C (makeDocBookFile): white space changes, add newline to
10848         command styles.
10849         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10850
10851         * tabular.C (docBook): fix typo.
10852
10853 2002-05-03  Juergen Vigna  <jug@sad.it>
10854
10855         * screen.C (drawFromTo): recalculate the rowpointer if we had a
10856         change in LyXText as we can not be sure it was not freed.
10857         (drawOneRow): remove unused code.
10858
10859         * text.C (drawInset): redo the calculation of the need_break_row as
10860         it could have a row which was already freed.
10861         (draw): look at the return value of drawInset and return false if
10862         it also returned false.
10863         (paintRowText): look at the return value of draw and return false if
10864         it also returned false.
10865
10866         * lyxtext.h: added bool return type to drawInset() and draw() so that
10867         if we have a change in the row so that the rowbreak has to be redone
10868         we abort drawing as it will be called again.
10869
10870 2002-05-02  Juergen Vigna  <jug@sad.it>
10871
10872         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10873         a change in the maintext also if we're inside an inset.
10874         (Dispatch): set the cursor again after a break line and after the
10875         screen has been updated as it could be we're in a different row.
10876
10877         * text2.C (fixCursorAfterDelete): check to make sure we don't request
10878         to set the cursor behind the pargraph with > size().
10879         (setCursor): check also for the same paragraph when checking where
10880         to put the cursor if we have a NFR inset.
10881
10882         * buffer.C (parseSingleLyXformat2Token): move the compatibility
10883         parts of layout read further up as it still was in the wrong
10884         position.
10885
10886 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10887
10888         * screen.C (drawFromTo): change sine fullRebreak always return
10889         true.
10890
10891         * buffer.C (parseSingleLyXformat2Token): reindent some
10892
10893         * BufferView_pimpl.C (update): change since fullRebreak always
10894         return true.
10895         (Dispatch): git rid of the last hardcoded "Standard"s.
10896
10897 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10898
10899         * text2.[Ch] (fullRebreak): make it return void now that we always
10900         returned true.
10901
10902 2002-04-30  Juergen Vigna  <jug@sad.it>
10903
10904         * buffer.C (parseSingleLyXformat2Token): reset the font before the
10905         ert compatibility check for "latex" layout.
10906
10907 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
10908
10909         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10910         minipages: use col% instead of p%, and also use the current font.
10911         (makeLaTeXFile): Fix use babel condition.
10912         (parseSingleLyXformat2Token): Correct font when reading old floats.
10913
10914 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
10915
10916         * BufferView_pimpl.C (Dispatch): Check that float type exists when
10917         inserting list of floats.
10918
10919 2002-04-25  Herbert Voss  <voss@lyx.org>
10920
10921         * MenuBackend.C (expand): don't add the graphics extensions to the
10922         export menu
10923
10924 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10925
10926         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10927         non-existing layout, do not complain if it was the default layout
10928         of the original class (bug #342)
10929
10930 2002-04-24  Juergen Vigna  <jug@sad.it>
10931
10932         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10933         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10934
10935 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
10936
10937         * buffer.C (getBibkeyList): If using \bibliography, return the
10938         option field with the reference itself. Enables us to provide natbib
10939         support when using \bibliography.
10940
10941 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
10942
10943         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10944
10945         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10946         natbib is provided by the LaTeX class.
10947
10948 2002-04-23  Juergen Vigna  <jug@sad.it>
10949
10950         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10951         Wakeup functions.
10952
10953         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10954
10955 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10956
10957         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10958
10959         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10960         ensuremath around textordmasculine, textordfeminine and
10961         textdegree.
10962
10963 2002-04-19  Juergen Vigna  <jug@sad.it>
10964
10965         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10966         reinitializing the buffer otherwise row-dimensions may be wrong.
10967         (update): reset also the selection cursors if they do exits otherwise
10968         their x/y positions may be wrong.
10969
10970         * text2.C (cursorDown): don't enter the inset if we came from a row
10971         above and are one row over the inset.
10972
10973         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10974         really leaving an inset.
10975
10976 2002-04-18  Juergen Vigna  <jug@sad.it>
10977
10978         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10979         of the selected paragraph does not have the selected layout also if
10980         the last one had!
10981
10982         * text2.C (setLayout): fixed bug which did not change last selected
10983         paragraph.
10984
10985         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10986         changed the read and substituted \\end_float with \\end_inset!
10987
10988         * BufferView_pimpl.C (cursorPrevious):
10989         (cursorNext): fixed to make it work with rows heigher than the work
10990         area without moving the cursor only the draw of the row.
10991         (workAreaMotionNotify): fix jumping over high rows.
10992
10993 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10994
10995         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10996         Ressler.
10997
10998 2002-04-16  Juergen Vigna  <jug@sad.it>
10999
11000         * text2.C (setCursor): set also the irow().
11001         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11002         (cursorUp):
11003         (cursorDown): support for locking an inset if the x_fix value goes
11004         inside it. That way I can transverse insets too with cursor up/down.
11005
11006         * lyxrow.h: added irow helper function same as other (i) functions.
11007
11008         * BufferView_pimpl.C (cursorPrevious):
11009         (cursorNext): fixed for insets!
11010
11011 2002-04-15  Juergen Vigna  <jug@sad.it>
11012
11013         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11014         position otherwise it is wrong in some cases.
11015
11016         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11017         inside the inset before the call.
11018
11019 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
11020
11021         * buffer.[Ch] (getBibkeyList): make it const.
11022
11023 2002-04-12  Juergen Vigna  <jug@sad.it>
11024
11025         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11026
11027         * text2.C (getCursorX): new helper function
11028         (setCursor): compute also ix_
11029         (setCursorFromCoordinates): set also ix.
11030
11031         * lyxcursor.h: added ix_ and helper functions.
11032
11033         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11034
11035         * buffer.C (insertStringAsLines): dont break paragraph if the this
11036         paragraph is inside an inset which does not permit it!
11037
11038         * text.C (breakParagraph): honor keepempty flag and break the paragraph
11039         also with no chars on this paragraph.
11040         (paintRowText): only paint stuff if it's inside the workarea!
11041
11042         * paragraph.C (breakParagraph): honor keepempty flag and break the
11043         paragraph always below not above.
11044
11045         * BufferView2.C (unlockInset): update the paragraph layout on inset
11046         unlock as we changed paragraph in such a case.
11047
11048         * lyxfind.C (LyXFind): clear the former selection if not found!
11049
11050         * text2.C (insertInset): freeze Undo after setUndo so that it is not
11051         again called in insertChar().
11052
11053         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11054         an inset which uses the whole row!
11055         (rightMargin): ditto.
11056         (insertChar): force a rebreak if we inserted an inset!
11057
11058 2002-03-28  Herbert Voss  <voss@lyx.org>
11059
11060         * lyxlength.[Ch]: add inBP() to get the right PS-point
11061         units (BigPoint). With inPixels we have rounding errors
11062
11063 2002-04-11  Juergen Vigna  <jug@sad.it>
11064
11065         * text2.C (setCursorFromCoordinates): set iy to the right value.
11066         (setCursor): add check if row->previous exists!
11067
11068         * buffer.C (parseSingleLyXformat2Token): reset font after read of
11069         an old float_type as this was the case in the old code!
11070
11071         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11072
11073         * BufferView2.C (showLockedInsetCursor): use iy
11074         (fitLockedInsetCursor): ditto
11075
11076         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11077         locked insets as there we have the right value now.
11078
11079         * lyxcursor.C: added iy_ variable and iy functions to set to the
11080         baseline of cursor-y of the locked inset.
11081
11082         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11083         (setCursor): fixed for insets which need a full row.
11084
11085         * text.C (rowLastPrintable): don't ignore the last space when before
11086         an inset which needs a full row.
11087         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11088         as last character of a row when before a inset which needs a full row.
11089
11090 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11091
11092         * version.C.in: update date
11093
11094         * text2.C (fullRebreak): try to always return true and see what
11095         happens...
11096
11097 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11098
11099         * MenuBackend.C (expand): use Floating::listName
11100
11101         * FloatList.C (FloatList): add listName argument to the built-in
11102         floats
11103
11104         * Floating.[Ch]: add listName member, which is the 'List of XXX'
11105         text associated with the float.
11106
11107 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11108
11109         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11110
11111 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11112
11113         * ShareContainer.h: add a couple of missing typenames.
11114
11115 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
11116
11117         * lyxrc.C (getDescription): use _() correctly rather than N_().
11118
11119 2002-03-28  Herbert Voss  <voss@lyx.org>
11120
11121         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11122         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11123
11124 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11125
11126         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11127         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11128
11129 2002-03-29  Juergen Vigna  <jug@sad.it>
11130
11131         * lyxfunc.C (dispatch): add a missing fitCursor call.
11132
11133         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11134         it was scrolled by a cursor move, so return the bool status.
11135
11136         * BufferView.C (fitCursor): return the bool flag also to the outside
11137         world as this is needed.
11138
11139         * screen.C (toggleToggle): don't subtract the offset if it's positive.
11140
11141         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11142         call the edit() as it is not needed (and wrong) IMO.
11143         (workAreaButtonPress): set the screen_first variable before evt.
11144         unlock the inset as this may change screen_first and then we have
11145         a wrong y position for the click!
11146
11147 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11148
11149         * MenuBackend.C (expand): another translation that I missed
11150
11151 2002-03-28  Juergen Vigna  <jug@sad.it>
11152
11153         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11154
11155         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11156
11157 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11158
11159         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11160
11161         * MenuBackend.C (expand): fix export/view/update when there is no
11162         document open.
11163
11164 2002-03-27  Herbert Voss  <voss@lyx.org>
11165
11166         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11167         and text%
11168
11169 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11170
11171         * bufferview_funcs.C (currentState): only show paragraph number
11172         for is DEVEL_VERSION is set.
11173
11174         * lyxfunc.C (dispatch): put warning in INFO channel
11175
11176         * MenuBackend.C (expand): translate the name of floats
11177
11178         * FloatList.C (FloatList): mark the float names for translation
11179
11180         * converter.C (convert): use LibScriptSearch
11181
11182 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11183
11184         * MenuBackend.C (defaults): fix default menu (we might as well get
11185         rid of it...)
11186
11187 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11188
11189         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11190         directory.
11191
11192 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11193
11194         * lyxvc.C: reorder includes.
11195
11196 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
11197
11198         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11199           properly
11200
11201 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
11202
11203         * CutAndPaste.C: change layouts earlier on paste
11204           to avoid crashing when calling getFont()
11205
11206 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
11207
11208         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11209         irritating #error.
11210
11211 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11212
11213         * WorkArea.C: remove 'Pending' debug message.
11214
11215         * most files: ws cleanup
11216
11217         * buffer.[Ch]: ws changes
11218
11219         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11220
11221 2002-03-21  Juergen Vigna  <jug@sad.it>
11222
11223         * tabular.C (SetMultiColumn): collapse also the contents of the
11224         cells and set the last border right. Added a Buffer const * param.
11225
11226 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11227
11228         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11229         linking or not.
11230
11231 2002-03-19  Juergen Vigna  <jug@sad.it>
11232
11233         * text2.C (clearSelection): reset also xsel_cache.
11234
11235         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11236         where it needs to be called (John tells us to do so too :)
11237         (selectionLost): reset sel_cache.
11238
11239         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11240
11241 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11242
11243         * text2.C (setCursorIntern): put debuging code in INSETS channel
11244
11245 2002-03-19  André Pönitz <poenitz@gmx.net>
11246
11247         * lyxfunc.C: tiny whitespace change
11248
11249 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11250
11251         * ToolbarDefaults.C (init):
11252         * LyXAction.C (init):
11253         * commandtags.h:
11254         * BufferView_pimpl.C (Dispatch):
11255         * lyxfunc.C (dispatch): remove LFUN_DEPTH
11256
11257 2002-03-19  Allan Rae  <rae@lyx.org>
11258
11259         * exporter.C (Export): removeAutoInsets before doing anything else.
11260         While I've just introduced a dependency on BufferView this really is
11261         the best place to clean the buffer otherwise you need to cleanup in
11262         a dozen places before calling export or cleanup in a dozen functions
11263         that export calls.
11264
11265         * converter.C (runLaTeX):
11266         (scanLog): Better handling of removeAutoInsets and screen updates.
11267
11268         * lyxfunc.C (dispatch): small whitespace changes
11269
11270 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11271
11272         * WorkArea.C (C_WorkAreaEvent): return a value.
11273         (event_cb): return 1 if we handled the event, 0 otherwise.
11274
11275         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11276
11277 2002-03-18  Juergen Vigna  <jug@sad.it>
11278
11279         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11280         (GetAdditionalWidth): ditto.
11281         (RightLine): ditto.
11282         (LeftLine): ditto.
11283
11284         * BufferView2.C (copy): use getLyXText() so that we do it inside an
11285         inset if we're there actually (probably not used right now but this
11286         is the direction to go for unifying code).
11287         (paste): disable code to clear the selection.
11288
11289         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11290         inside an InsetText and move the check further up as it is in the
11291         wrong place.
11292
11293         * text2.C (pasteSelection): set a selection over the pasted text.
11294
11295 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
11296
11297         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11298         and libgraphics to build on Cygwin.
11299
11300 2002-03-15  Juergen Vigna  <jug@sad.it>
11301
11302         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11303         inserting an Inset into the paragraph. I know this is not the best
11304         fix but we already use current_view in CutAndPaste so we will remove
11305         all of it's using at the same time.
11306
11307         * buffer.C (sgmlError): deactivated function till it is rewritten in
11308         the right mode, now it can create problems.
11309
11310         * paragraph.C (isLineSeparator): check if getInset returns != 0,
11311         before accessing it.
11312
11313 2002-03-14  Juergen Vigna  <jug@sad.it>
11314
11315         * undo_funcs.C (textHandleUndo): do the right thing when updating
11316         the inset after the undo/redo.
11317
11318         * text2.C (setCursor): just some testcode for #44 not ready yet.
11319
11320         * undo_funcs.C (textHandleUndo): set the next() and previous()
11321         pointers of the paragraph to 0 before deleting otherwise we have
11322         problems with the Paragraph::[destructor].
11323
11324         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11325         on a paragraph insertion.
11326
11327 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11328
11329         * buffer.C (asciiParagraph): use += operator for char append to
11330         string.
11331
11332         * paragraph.C (getFontSettings): compare >= not just >
11333         (highestFontInRange): ditto
11334         (setFont): ditto
11335
11336 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11337
11338         * paragraph.C: change several algorithm to be more appripriate for
11339         the problem domain. This is lookip in FontList and in the InsetList.
11340
11341 2002-03-13  André Pönitz <poenitz@gmx.net>
11342
11343         * commandtags.h:
11344         * LyXAction.C: remove unused LFUN_MATH_MACROARG
11345
11346 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
11347
11348         * commandtags.h:
11349         * LyXAction.C:
11350         * lyxfunc.C:
11351         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11352
11353 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11354
11355         * Painter.C (display): anon helper function, adjust code for this
11356         change.
11357         (pixmap): remove function.
11358
11359         * Painter.h: remove private display variable.
11360
11361         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11362
11363 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
11364
11365         * WorkArea.[Ch]: remove figinset_canvas cruft.
11366
11367 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11368
11369         * lyxtextclass.C (operator): add one item cache optimization.
11370
11371         * bufferlist.h: doxy changes
11372
11373         * bufferlist.C: ws changes
11374
11375         * DepTable.[Ch] (ext_exist): place const in the right spot.
11376
11377         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11378         call resizeInsets.
11379         (workAreaExpose): call resizeInsets when the with BufferView changes.
11380         (Dispatch): adjust for protectedBlank removal
11381         (specialChar): call updateInset if the insert went ok.
11382
11383         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11384         specialChar instead.
11385
11386         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11387
11388         * BufferView.h: doxy change
11389
11390         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11391
11392         * lyxtextclass.C (operator[]): remove non-const version
11393         (defaultLayout): remove non-const version
11394
11395 2002-03-12  Juergen Vigna  <jug@sad.it>
11396
11397         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11398         did resize the LyXText too.
11399
11400         * buffer.C (readLyXformat2): set layout information on newly allocated
11401         paragraphs.
11402
11403         * tabular.C (OldFormatRead): set layout information on the paragraph.
11404
11405 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11406
11407         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11408
11409 2002-03-11  Juergen Vigna  <jug@sad.it>
11410
11411         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11412         plainly wrong.
11413         (resizeCurrentBuffer): force also the insets to resize themselfes.
11414         (moveCursorUpdate): fixed up for InsetText.
11415
11416 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
11417
11418         * commandtags.h:
11419         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11420         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11421         value of Dialogs::tooltipsEnabled().
11422         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11423
11424 2002-03-08  Juergen Vigna  <jug@sad.it>
11425
11426         * BufferView_pimpl.C (updateInset): update inset inside inset also
11427         if it isn't inside theLockingInset().
11428
11429 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11430
11431         * buffer.C (asciiParagraph): redo some of the word and line length
11432         handling.
11433         (getLists): look for Caption instead of caption.
11434
11435 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11436
11437         * buffer.C (Buffer): initialize niceFile to true
11438         (makeLaTeXFile):
11439         (makeLinuxDocFile):
11440         (makeDocBookFile): make sure niceFile is true on exit
11441
11442 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11443
11444         * buffer.C (makeLaTeXFile): escape ~ in \input@path
11445
11446 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
11447
11448         * LyXSendto.C: remove.
11449         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11450         * lyx_gui.C: remove now-redundant comment.
11451         * ColorHandler.h: remove forward declaration of class WorkArea.
11452         * lyxfunc.C: remove #include "WorkArea.h".
11453
11454 2002-03-07  Juergen Vigna  <jug@sad.it>
11455
11456         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11457         got moved away with the DEPM and also set the inset_owner always
11458         right which before could have been omitted.
11459
11460 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11461
11462         * buffer.C (parseSingleLyXformat2Token): use default layout is the
11463         wanted layout is not found.
11464
11465 2002-03-07  Juergen Vigna  <jug@sad.it>
11466
11467         * CutAndPaste.C (cutSelection): another layout settings forgotten.
11468
11469 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11470
11471         * paragraph.C (breakParagraph): use default layout not layout of
11472         prev paragraph.
11473         (Paragraph): clear ParagraphParameters.
11474
11475 2002-03-06  Juergen Vigna  <jug@sad.it>
11476
11477         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11478         otherwise it would not be a valid lenght. Fixed a special case in
11479         the minipage compatibility read where we end the document with a
11480         minipage.
11481
11482         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11483         was set as it could be 0 for InsetTexts first entry.
11484
11485 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11486
11487         * paragraph.C (writeFile): if layout is empty write out
11488         defaultLayoutName().
11489
11490         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11491         file without named layout we set layout to defaultLayoutName().
11492
11493 2002-03-06  Juergen Vigna  <jug@sad.it>
11494
11495         * CutAndPaste.C (copySelection): set layout for new paragraph.
11496
11497         * text.C (prepareToPrint): leave ERT inset left aligned
11498         (leftMargin): don't indent paragraphs inside ERT insets
11499
11500 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11501
11502         * paragraph.C (breakParagraph): dont call clear do the work manually
11503
11504         * paragraph.[Ch] (clear): remove function
11505
11506 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11507
11508         * paragraph.C (Paragraph): dont call clear, the work has already
11509         been done.
11510
11511         * lyxtextclass.C (operator): assert if n is empty
11512
11513         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11514         work manually instead.
11515
11516 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11517
11518         * BufferView_pimpl.C: protect selectionLost against text == 0
11519
11520 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11521
11522         * text.C (breakParagraph): fix a setting layout to '0' problem.
11523
11524 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11525
11526         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11527         final location of file, for the included files, and graphics.
11528
11529 2002-03-05  Juergen Vigna  <jug@sad.it>
11530
11531         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11532
11533 2002-03-04  Juergen Vigna  <jug@sad.it>
11534
11535         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11536
11537         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11538         last column of multicolumn cells.
11539         (SetWidthOfMulticolCell): recalculate NMC and real columns.
11540
11541 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
11542
11543         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11544         file if it doesn't go to a temporary file.
11545
11546         * buffer.C (sgmlOpenTag):
11547         (sgmlCloseTag):  remove extra newline insertion.
11548
11549 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11550
11551         * text.C (getRowNearY): comment out debug msg
11552
11553 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11554
11555         * text2.C: first -> first_y
11556
11557         * text.C (getRowNearY): add some attemts at a possible
11558         optimization, not working.
11559
11560         * tabular.[Ch]: add BufferParams to several function so that newly
11561         created paragraph can be initialized to he default layotu for the
11562         buffers textclass.
11563
11564         * tabular-old.C (ReadOld): add buf->params to call of Init
11565
11566         * screen.C: rename text->first to text->first_y
11567
11568         * paragraph.C (breakParagraph): always set layout in the broken
11569         paragraph
11570
11571         * lyxtextclass.C (Read): remove lowercase
11572         (hasLayout): ditto
11573         (operator): ditto
11574         (delete_layout): ditto
11575
11576         * lyxtext.h: rename first -> first_y
11577
11578         * lyxlayout.C (Read): remove lowercase
11579         (name): ditto
11580         (setName): ditto
11581         (obsoleted_by): ditto
11582
11583         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11584
11585         * buffer.C (insertErtContents): add params are to InsetERT
11586         (parseSingleLyXformat2Token): add code to check if a paragraphs
11587         layout really exist.
11588         (parseSingleLyXformat2Token): add params to several inset
11589         constructors
11590         (asciiParagraph): remove lowercase, do the layout comparisons with
11591         no_case
11592
11593         * BufferView_pimpl.C (cursorNext): first -> first_y
11594         (resizeCurrentBuffer): first -> first_y
11595         (updateScrollbar): first -> first_y
11596         (scrollCB): first -> first_y
11597         (workAreaMotionNotify): first -> first_y
11598         (workAreaButtonPress): first -> first_y
11599         (checkInsetHit): first -> first_y
11600         (cursorPrevious): first -> first_y
11601         (cursorNext): first -> first_y
11602         (Dispatch): add buffer_->params to severl inset contructors
11603
11604 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11605
11606         * lyxlayout.C (Read): remove some debug info that I forgot.
11607
11608         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11609         clean up the code slightly.
11610         (makeLinuxDocFile): ditto
11611         (makeDocBookFile): ditto
11612
11613         * text2.C: layout as string
11614
11615         * text.C: layout as string
11616
11617         * paragraph_pimpl.C: layout as string
11618
11619         * paragraph.[Ch]: layout as string
11620
11621         * lyxtextclasslist.[Ch]: layout as string
11622
11623         * lyxtextclass.[Ch]: layout as string
11624
11625         * lyxtext.h: layout as string
11626
11627         * lyxlayout.[Ch]: layout as string
11628
11629         * lyx_cb.C: layout as string
11630
11631         * bufferview_funcs.C: layout as string
11632
11633         * bufferparams.C: layout as string
11634
11635         * buffer.C: layout as string
11636
11637         * LyXView.[Ch]: layout as string
11638
11639         * LaTeXFeatures.[Ch]: layout as string
11640
11641         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11642
11643         * BufferView_pimpl.C: change current_layout to string, remove
11644         lyx::layout_type.
11645         (Dispatch):
11646         (smartQuote):
11647         (insertInset):
11648         (workAreaButtonRelease): layout as string
11649
11650         * BufferView2.C (unlockInset): adjust
11651
11652         * vspace.C (asLatexCommand): use an explict temp variable.
11653
11654 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
11655
11656         * Makefile.am: use FRONTEND_*
11657
11658 2002-03-01  Juergen Vigna  <jug@sad.it>
11659
11660         * tabular.C (SetWidthOfMulticolCell): changed to something better
11661         I hope but still work in progress.
11662         (recalculateMulticolumnsOfColumn): renamed function from
11663         recalculateMulticolCells as it is more appropriate now.
11664         (SetWidthOfCell): calculate multicols better.
11665
11666 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11667
11668         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11669
11670         * lyxfunc.C (processKeySym): print sequence also if it is
11671         `deleted' (complete)
11672
11673         * kbsequence.C (print): print sequence even if it is deleted
11674         (complete would be a better word, actually).
11675
11676         * lyxfunc.C (dispatch): print complete options after a prefix key
11677
11678         * vspace.C (asLatexCommand): rewrite in a slightly different form.
11679
11680 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
11681
11682         * text2.C (setCharFont): eliminate setCharFont code duplication.
11683
11684 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11685
11686         * BufferView_pimpl.C (Dispatch): remove bogus handling of
11687         LFUN_TABULAR_FEATURE (bug #177)
11688
11689 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
11690
11691         * Makefile.am: remove figure.h
11692
11693 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
11694
11695         * Bufferview_pimpl.C:
11696         * CutAndPasteC:
11697         * LaTeX.C:
11698         * LyXSendto.C:
11699         * buffer.C:
11700         * bufferlist.C:
11701         * converter.C:
11702         * language.C:
11703         * lyxfunc.C:
11704         * lyxvc.C:
11705         * paragraph.C:
11706         * text.C:
11707         * text2.C: remove #include "lyx_gui_misc.h".
11708
11709         * LaTeX.C: added #include <cstdio>
11710
11711 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11712
11713         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11714         that the paragraph following this one can have.
11715
11716         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11717
11718         * vspace.C (asLatexCommand): fix bogus gcc warning
11719
11720         * Makefile.am (lyx_SOURCES): remove vms_defines.h
11721
11722 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
11723
11724         * text2.C (setLayout): get rid of redundant code
11725
11726 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
11727
11728         * text2.C (incDepth): make sure depth cannot be increased beyond
11729         reasonable values.
11730
11731 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
11732
11733         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11734         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11735
11736         * PainterBase.h (image):
11737         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11738         a LyXImage const *.
11739
11740 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11741
11742         * BufferView.C:
11743         * BufferView.h:
11744         * BufferView_pimpl.C:
11745         * BufferView_pimpl.h:
11746         * LaTeXFeatures.C:
11747         * LyXAction.C:
11748         * LyXView.C:
11749         * Makefile.am:
11750         * UpdateList.h:
11751         * UpdateList.C:
11752         * buffer.C:
11753         * figure.h:
11754         * figureForm.C:
11755         * figureForm.h:
11756         * figure_form.C:
11757         * figure_form.h:
11758         * lyx_cb.C:
11759         * lyx_gui.C:
11760         * lyx_gui_misc.C:
11761         * lyxfunc.C:
11762         * sp_base.h:
11763         * sp_ispell.h:
11764         * sp_pspell.h:
11765         * sp_spell.C: remove fig inset, and the crap house of
11766           cards that follows it
11767
11768 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
11769
11770         * Makefile.am:
11771         * lyxserver.C:
11772         * os2_defines.h:
11773         * os2_errortable.h:
11774         * nt_defines.h: move .h into support/
11775
11776         * vms_defines.h: remove
11777
11778         * WorkArea.C: add space in debug output
11779
11780         * text2.C:
11781         * paragraph.C:
11782         * buffer.C: add WITH_WARNINGS
11783
11784         * vc-backend.h:
11785         * vc-backend.C:
11786         * bufferlist.C: s/retrive/retrieve/, add docs
11787
11788         * vspace.h:
11789         * vspace.C:
11790         * kbmap.h:
11791         * lyxlength.h:
11792         * lyxgluelength.h:
11793         * length_common.h:
11794         * chset.h:
11795         * chset.C: add docs
11796
11797         * lyxgui.C: add ID to X error handler
11798
11799         * lyxtestclass.c: fix typo
11800
11801 2002-02-26  Juergen Vigna  <jug@sad.it>
11802
11803         * tabular_funcs.C (write_attribute): changed so that some default
11804         attributes are not written at all.
11805         (getTokenValue): set default values before trying to read the
11806         value so we have the return value always set as default if we don't
11807         find the token we search for.
11808
11809         * tabular.C (Write): write bools as bools not as strings!
11810
11811 2002-02-22  Juergen Vigna  <jug@sad.it>
11812
11813         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11814         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11815
11816         * text.C (leftMargin): don't add an indent for paragraphs inside
11817         tabular cells (fix #208).
11818
11819 2002-02-21  José Matos  <jamatos@fep.up.pt>
11820
11821         * tabular.C (docBook): fixed support for long tables.
11822
11823 2002-02-20  Juergen Vigna  <jug@sad.it>
11824
11825         * text2.C (getFont): get the drawing font of the Inset if this
11826         paragraph is inside an inset (only important for InsetERT for now).
11827
11828         * buffer.C (insertErtContents): use new lanugage params in ERT
11829         constructor.
11830
11831         * CutAndPaste.C: commenting out seemingly uneeded code.
11832
11833 2002-02-19  Allan Rae  <rae@lyx.org>
11834
11835         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11836         Iterators might be simple to use but they also get invalidated.
11837         (removeAutoInsets): renamed saved cursor tracking variables and added
11838         some comments to clarify what everything does.
11839
11840 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
11841
11842         * Chktex.C:
11843         * LaTeX.C:
11844         * LyXSendto.C:
11845         * converter.C:
11846         * lyx_cb.C:
11847         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11848         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11849
11850         * lyxfunc.C:
11851         * vc-backend.h: remove #include "support/syscall.h"
11852
11853         * LaTeX.C:
11854         * LyXSendto.C:
11855         * converter.C: rearrange #includes in Lars' approved fashion.
11856
11857         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11858         forward declare class Timeout in the header file.
11859
11860         * XFormsView.C: changes due to the above.
11861
11862         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11863         similar to LyXView.
11864
11865         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11866         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11867
11868 2002-02-18  José Matos  <jamatos@fep.up.pt>
11869
11870         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11871         insets contents.
11872
11873 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11874
11875         * a lot of small ws changes
11876         * add a lot of using std::XXX
11877         * use std construcs some places where approp.
11878         * use some exisint stuff from lyxfunctional where approp.
11879         * Make file changes to use partial linking (lets test this now...)
11880
11881 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11882
11883         * Chktex.C:
11884         * buffer.C:
11885         remove #include "support/syscontr.h" as it's redundant. Always has been.
11886
11887         * Chktex.C:
11888         * LaTeX.C:
11889         * LyXSendto.C:
11890         * converter.C:
11891         * lyx_cb.C:
11892         * vc-backend.C:
11893         change Systemcalls::System to Systemcalls::Wait and
11894         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11895         No change of functionality, just reflects the stripped down Systemcalls
11896         class.
11897
11898 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
11899
11900         * debug.[Ch]: add a GRAPHICS type to the enum.
11901
11902 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11903
11904         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11905
11906         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11907         there is an inset.
11908
11909 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11910
11911         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11912         match the changes below.
11913
11914         * text2.C (toggleInset): if there is not editable inset at cursor
11915         position, try to see if cursor is _inside_ a collapsable inset
11916         and close it.
11917
11918 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11919
11920         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11921         document menu has a nice checkbox
11922
11923 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11924
11925         * lyxlength.C (asLatexString): change PW to output as percent of
11926         \textwidth.
11927
11928         * lengthcommon.C: change '%' to 't%'
11929
11930         * lyxfunc.C (dispatch): a few comments from Martin
11931
11932 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
11933
11934         * WorkArea.h:
11935         * WorkArea.C:
11936         * BufferView_pimpl.h:
11937         * BufferView_pimpl.C: clear our selection when X tells us we've lost
11938           the X selection.
11939
11940 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11941
11942         * vspace.C (inPixels): fix compiler warning
11943
11944 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11945
11946         * lyxfunc.C (getStatus): fix status message for disabled commands.
11947
11948 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
11949
11950         * BufferView_pimpl.C: fix crash on close buffer
11951         during selection (#227)
11952
11953 2002-01-27  Herbert Voss  <voss@lyx.org>
11954
11955         * buffer.C: link old Figure to new graphic inset
11956
11957 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11958
11959         * FontLoader.C (getFontinfo): Change the latex font names in order
11960         to match the names of type1inst.
11961
11962 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11963
11964         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11965
11966         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11967         (extchanged): ditto
11968         (ext_exist): ditto
11969         (remove_files_with_extension): ditto
11970         (remove_file): ditto
11971         (write): ditto
11972
11973         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11974         document is smaller than the work area height. Do not initialize
11975         static variables to 0.
11976
11977 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11978
11979         * lyx_gui.C (init): give the toolbar tooltips a normal font.
11980
11981         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11982         LFUN_LAYOUT_PARAGRAPHS.
11983
11984         * tabular.C (GetCellFromInset): new method. Finds an inset in a
11985         tabular. It is possible to provide a possible cell, which will
11986         typically be the actcell from the corresponding insettabular
11987
11988         * lyxfunc.C (getStatus): small cleanup; disable
11989         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11990         true
11991
11992 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11993
11994         * tabular.C (Validate): remove broken optimization (fixes bug #201)
11995
11996         * paragraph.C (startTeXParParams):
11997         (endTeXParParams): new methods. The LaTeX code to
11998         start/end paragraph formatting
11999         (simpleTeXOnePar): call startTeXParParams also when paragraph is
12000         empty (fixes bug #200)
12001
12002         * vspace.C (inPixels): adapt to the change below
12003         (inPixels): [later] more cleanups (remove unused variables)
12004
12005         * lyxlength.C (inPixels): change to use a width and a height as
12006         parameter.
12007
12008 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12009
12010         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12011         Replaced with \paperwidth
12012
12013         * DepTable.C (insert): add std:: qualifier
12014
12015 2002-01-18  Allan Rae  <rae@lyx.org>
12016
12017         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
12018         updated also?
12019
12020         * text.C (drawInset): Turned out I didn't know enough about how
12021         rebreaking worked.  This fixes most of the redraw problems.  I see
12022         an occasional cursor trail when a line is broken now and the cursor
12023         placement can seem out by a few pixels also after a rebreak.
12024
12025 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12026
12027         * buffer.C (parseSingleLyXformat2Token): update because minipage
12028         width is now a LyXLength
12029
12030         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12031
12032         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12033         math insets
12034
12035 2002-01-17  Juergen Vigna  <jug@sad.it>
12036
12037         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12038
12039         * BufferView2.C (lockInset): call edit() so that theLockingInset()
12040         is set correctly and the inset is updated correctly.
12041
12042 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12043
12044         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12045         the beginning of the loop.
12046
12047 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
12048
12049         * lyxrc.C: improve help for use_scalable_fonts
12050
12051 2002-01-17  Allan Rae  <rae@lyx.org>
12052
12053         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12054
12055 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12056
12057         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12058         make sure to set their inset_owner to the right value (bug #171)
12059
12060 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
12061
12062         * DepTable.h
12063         * DepTable.C: Implement mtime checking to reduce time spent doing
12064         CRCs.
12065
12066 2002-01-16  Juergen Vigna  <jug@sad.it>
12067
12068         * tabular.C (GetAdditionalHeight): one of error fixed.
12069
12070         * lyxrc.C (output): small fix in writing use_pspell.
12071
12072 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
12073
12074         * sp_base.h: #include LString.h
12075
12076 2002-01-16  Allan Rae  <rae@lyx.org>
12077
12078         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
12079         Can someone check this please?
12080
12081         * text.C (drawInset): It was possible that p.row would be removed by
12082         breakAgainOneRow upsetting a few other settings.  There may be another
12083         small tweak possible by setting need_break_row = 0 when p.row has been
12084         removed but I don't know enough about the logic here.
12085
12086 2002-01-15  Allan Rae  <rae@lyx.org>
12087
12088         * text.C (insertChar): removed conditional truism.
12089
12090         * BufferView2.C (removeAutoInsets): More tweaks.
12091         cur_par_prev could be a stray pointer.  Check for trailing empty line
12092         in case last line was cur_par and only had an error inset on it.
12093
12094 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12095
12096         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12097         absolute
12098
12099         * vc-backend.C (most methods):
12100         * exporter.C (Export):
12101         * converter.C (convert):
12102         (runLaTeX):
12103         * LyXSendto.C (SendtoApplyCB):
12104         * lyxfunc.C (dispatch):
12105         (menuNew):
12106         (open):
12107         (doImport):
12108         * lyx_cb.C (AutoSave):
12109         (InsertAsciiFile):
12110         * BufferView_pimpl.C (MenuInsertLyXFile):
12111         * buffer.C (runChktex): use Buffer::filePath().
12112
12113         * buffer.h: rename filename to filename_; rename filepath to
12114         filepath_ and make it private
12115         (filePath): new method
12116
12117         * buffer.C (writeFile): use fileName()
12118         (getLatexName):
12119
12120         * lyx_main.C (init): fix starting  of LyX when the binary is a
12121         link from so,ewhere else.
12122
12123         * minibuffer.C: include <cctype> for isprint
12124
12125 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12126
12127         * buffer.C (parseSingleLyXformat2Token): changes associated with the
12128         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12129         name clash with InsetCollapsable's width function.
12130
12131 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12132
12133         * lastfiles.C: include <iterator>
12134
12135 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12136
12137         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12138         std::count.
12139
12140         * buffer.C (makeLaTeXFile): ditto.
12141         Also make loop operation more transparent.
12142
12143 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
12144
12145         * ToolbarDefaults.C: remove trailing comma closing namespace.
12146
12147         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12148
12149         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12150         as in WorkArea.
12151
12152         * trans.C (Load): comment out unused variable, allowed.
12153
12154 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12155
12156         * minibuffer.[Ch] (append_char): new method to recieve input from the
12157         drop-down completion browser. If a key was pressed, then recieve this
12158         char and append it to the existing string.
12159         (peek_event): modify the positioning data passed to the completion
12160         browser so that it can be placed above the minibuffer rather than below.
12161 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12162
12163         * LyXAction.C (init): alloe error-next for readonly documents.
12164
12165         * BufferView2.C (ChangeRefsIfUnique): use standard version of
12166         count.
12167
12168 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12169
12170         * bufferlist.C (readFile): create the buffer _after_ checking that
12171         the file exists.
12172
12173         * lyxfunc.C (verboseDispatch): fix handling of arguments
12174
12175         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12176
12177         * lyxrc.C: use string::erase() instead of initializing to "".
12178
12179
12180 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12181
12182         * BufferView_pimpl.h:
12183         * BufferView_pimpl.C:
12184         * WorkArea.h:
12185         * WorkArea.C:
12186         * text2.C: tell X when we have made a selection for copying
12187
12188 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12189
12190         * BufferView_pimpl.C (MenuInsertLyXFile):
12191         * lyxfunc.C (menuNew):
12192         (open):
12193         (doImport): add shortcuts to directory buttons
12194
12195         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12196         open a float)
12197
12198         * lyxfunc.C (setStatusMessage):
12199         (getStatusMessage): new methods
12200         (getStatus):use setStatusMessage instead of setErrorMessage
12201         (dispatch): when function is disabled, set error message here
12202         [instead of in getStatus previously]
12203
12204         * BufferView_pimpl.C (workAreaButtonRelease): update
12205         toolbar/menubar here too.
12206
12207 2002-01-13  Allan Rae  <rae@lyx.org>
12208
12209         * BufferView2.C (removeAutoInsets): finished off earlier fix.
12210         Now seems indestructible.  Remaining task is to audit all other
12211         code affected by deleteEmptyParagraphMechanism.  One small quirk
12212         left is that an empty document with an error in the preamble can
12213         be made to report an error but no error box appears.  I don't know
12214         where it goes.
12215         (removeAutoInsets): Improved comments.
12216
12217 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
12218
12219         * Thesaurus.h:
12220         * Thesaurus.C: update for Aiksaurus 0.14
12221
12222 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12223
12224         * text2.C (firstParagraph): removed member function, all uses
12225         replaces with ownerParagraph
12226         (redoParagraphs): here
12227         (updateInset): here
12228         (toggleAppendix): here
12229         * BufferView2.C (insertErrors): here
12230         (setCursorFromRow): here
12231
12232 2002-01-13  Allan Rae  <rae@lyx.org>
12233
12234         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12235         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12236         There is still a way to segfault this although you may have to do this
12237         multiple times: Have an InsetERT with an unknown command in it.
12238         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12239         <down-arrow>, <Enter> again, View->DVI, BANG!
12240
12241         * text2.C (setCursor):
12242         (deleteEmptyParagraphMechanism):
12243         * lyxtext.h (setCursor):
12244         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12245         Making use of the return value may help fix other bugs.
12246
12247 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12248
12249         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12250
12251         * LyXView.C (updateMenubar): call MenuBar::update here
12252         (updateToolbar): but not here
12253         (showState): do not update toolbar/menubar
12254
12255         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12256         should need to care about that.
12257
12258         * lyxfunc.C (verboseDispatch): simplify a bit
12259         (getStatus): have a version which takes a pseudoaction, and
12260         another which requires a (kb_action,string).
12261
12262         * LyXAction.C (retrieveActionArg): make it work also when action
12263         is not a pseudo-action.
12264         (getActionName): simplify a bit
12265         (helpText):
12266
12267 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12268
12269         * lyxfunc.C (verboseDispatch): new families of methods with
12270         several ways to specify a command and a bool to indicate whether
12271         the command name and shortcut should be displayed in minibuffer
12272         (eventually, we could extend that to a finer bitmask like
12273         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12274         (dispatch): the pristine dispatch command which just, well,
12275         dispatchs! Note it still sets its result to minibuffer; I'm not
12276         sure we want that.
12277
12278         * lyxfunc.h: remove setHintMessage
12279
12280         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12281
12282 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12283
12284         * BufferView_pimpl.C (specialChar): delete new inset if we have
12285         not been able to insert it.
12286
12287         * kbmap.C: revert to using int instead of kb_action, since all we
12288         are dealing with is pseudo-actions.
12289
12290         * LyXAction.C (searchActionArg): change to return int instead of
12291         kb_action, since the result is a pseudoaction.
12292
12293 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
12294
12295         * buffer.C (insertErtContents): Fix (partially) the font bug.
12296
12297 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
12298
12299         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12300         as the other one is broken on my machine!
12301
12302 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
12303
12304         * commandtags.h:
12305         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12306
12307 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
12308
12309         * lyxrc.[Ch]: change names and descriptions of popup font variables to
12310         reflect their actual use. Provide compatibility code for older lyxrc
12311         files.
12312
12313         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12314         FL_NORMAL_STYLE.
12315         change names of popup font variables in line with the changes to lyxrc.C
12316
12317 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12318
12319         * buffer.C (asciiParagraph): avoid outputing a word twice after
12320         an inset.
12321
12322         * lyxrc.C (getDescription): document that document_path and
12323         template_path can be empty.
12324
12325 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12326
12327         * LaTeXFeatures.C (getMacros):
12328         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12329
12330         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12331
12332         * LaTeXFeatures.C (useFloat): require "float" here instead of in
12333         getPackages.
12334         (getPackages): rename feature "floats" to "float". Use an array to
12335         iterate over 'simple' features (i.e. just a \usepackage). Add
12336         handling of "amsmath" (renamed from "amsstyle").
12337
12338 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
12339
12340         * LaTeXFeatures.C (require): Prevent duplicate entries in the
12341         features list.
12342
12343 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
12344
12345         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12346         FuncStaus::FuncStatus & FuncStaus::some_method().
12347
12348 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
12349
12350         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12351         of the func_satus stuff. Edited and massaged in various ways by
12352         JMarc.
12353
12354         * lyxfunc.C (getStatus): use FuncStatus
12355
12356 2002-01-08  Juergen Vigna  <jug@sad.it>
12357
12358         * text.C (nextBreakPoint): use function Inset::isChar().
12359
12360         * paragraph.C (TeXOnePar): use function
12361         Inset::forceDefaultParagraphs.
12362
12363         * buffer.C (latexParagraphs): use function
12364         Inset::forceDefaultParagraphs.
12365
12366 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12367
12368         * lyx_gui.C (init): set the style of the menu popups to
12369         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12370
12371 2002-01-07  Juergen Vigna  <jug@sad.it>
12372
12373         * text.C (setHeightOfRow): small fix
12374         (prepareToPrint): don't look at alignment if we don't have the place
12375         for doing it.
12376
12377 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12378
12379         * box.C: New file. Move the Box methods and functions out of box.h,
12380         following Lars' suggestion.
12381
12382 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
12383
12384         * box.h: #include "support/LOstream.h", needed for inlined function.
12385
12386         * lyxtextclass.C:
12387         * lyxtextclasslist.C: added some using std declarations.
12388
12389 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
12390
12391         * box.h: make signed dimensions to allow insets wider than
12392           the screen (bug #162)
12393
12394         * BufferView_pimpl.C: add some insetHit debug
12395
12396 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
12397
12398         * vc-backend.C: add FIXME
12399
12400 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12401
12402         * lyxfunc.C (getStatus): enable code for showing math font status
12403         in toolbar/menu.
12404
12405 2002-01-07  Juergen Vigna  <jug@sad.it>
12406
12407         * text.C (nextBreakPoint): removed debug output not needed anymore.
12408
12409 2002-01-06  Juergen Vigna  <jug@sad.it>
12410
12411         * text.C (nextBreakPoint): fixed up this function we had this bug
12412         since ever but now hopefully we break row better.
12413         (insertChar): we have to check if an inset is the next char as it
12414         could now happen that a large inset is causing a break.
12415
12416 2002-01-05  Juergen Vigna  <jug@sad.it>
12417
12418         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12419         if it doesn't like to be drawed.
12420
12421 2002-01-04  Juergen Vigna  <jug@sad.it>
12422
12423         * BufferView2.C (lockInset): forgot to set a cursor.
12424
12425         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12426
12427 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
12428
12429         * FormMathsPanel.C:
12430         * FormMathsPanel.h
12431         * MathsSymbols.C:
12432         * form_maths_panel.C:
12433         * form_maths_panel.h:
12434         * form_maths_panel.fd: implemented sub- and super- buttons in math
12435         panel.
12436
12437         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12438         (or ^ space) to be used as in TeX (req'd by André).
12439
12440         * lyxfunc.C: Allow ^ and _ again to be used both as
12441         super/subscript (mathed) and as themselves (in text).
12442
12443 2002-01-03  Allan Rae  <rae@lyx.org>
12444
12445         * LyXView.C (updateWindowTitle): Setup a short icon title of either
12446         "LyX" or the filename of the current buffer if it has one.  This is a
12447         modified form of John Levon's patch.
12448
12449         * XFormsView.C (setWindowTitle): also set icon title.
12450
12451         * LyXView.h (setWindowTitle): signature changed.
12452         * XFormsView.h (setWindowTitle): ditto.
12453
12454 2002-01-02  Juergen Vigna  <jug@sad.it>
12455
12456         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12457
12458 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12459
12460         * screen.C (topCursorVisible): introduce a temp var for
12461         text->cursor.row(), handle the case where this row is null. (kindo
12462         hachish)
12463
12464         * text2.C (setCursor): add a couple of asserts.
12465
12466         * paragraph.h (inset_iterator): add -> operator
12467
12468         * paragraph.[Ch] (autoDeleteInsets): remove member function
12469
12470         * BufferView2.C (removeAutoInsets): rewrite to handle the old
12471         cursor pos correctly and handle inset deletion by itself.
12472         (insertErrors): move iterator declaration out of for expression
12473
12474         * lyxtextclass.C: add <algorithm>
12475
12476         * Makefile.am: added the new files to sources, removed layout.C
12477
12478         * layout.C: removed file
12479
12480         * layout.h: remove LYX_DUMMY_LAYOUT
12481
12482         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12483         layout.
12484
12485         * lyxlayout.[Ch]:
12486         * lyxtextclass.[Ch]:
12487         * lyxtextclasslist.[Ch]: new files
12488
12489         * include order changes to a lot of files, also changes because of
12490         the six new files.
12491
12492 2001-12-27  Juergen Vigna  <jug@sad.it>
12493
12494         * buffer.C (asciiParagraph): more fixes.
12495
12496         * tabular.C (ascii): make ascii export support export of only the
12497         data separated by a column-delimiter.
12498         (ascii): better support for ascii export.
12499
12500         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12501
12502 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12503
12504         * tabular_funcs.C: use a "using std::getline" instead of the
12505         previous fix from Angus (necessary for cxx + lyxstring)
12506
12507 2001-12-24  Juergen Vigna  <jug@sad.it>
12508
12509         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12510
12511         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12512         problems. First check a minipage also if we have some ert-contents
12513         (not only on par->size(), second set the right depth of the paragraph
12514         on the relink to the root-paragraph-list!
12515
12516         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12517         which then did not anymore update the main paragraphs on undo/redo!
12518
12519 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12520
12521         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12522         code. Support all font-changing funcs (even those which are not in
12523         menu currently). Support for reporting font settings in
12524         mathed (disabled until Andre provides a function on mathed's side).
12525
12526         * func_status.h (toggle): small helper function to set toggle
12527         state on a flag.
12528
12529 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
12530
12531         * tabular_funcs.C: getline -> std::getline
12532
12533 2001-12-21  Juergen Vigna  <jug@sad.it>
12534
12535         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12536         accessed and could be 0 (I couldn't generate this but it seems
12537         Michael could!).
12538
12539 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12540
12541         * tabular_funcs.C: add LIstream.h, move write_attribute to..
12542         * tabular_funcs.h: here and include iosfwd
12543
12544 2001-12-20  Juergen Vigna  <jug@sad.it>
12545
12546         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12547         inside inset but undo_par was.
12548
12549 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12550
12551         * Thesaurus.C: always include <config.h> in sources.
12552
12553         * Painter.h:
12554         * lyxlookup.h:
12555         * box.h: do not include <config.h> in header files
12556
12557         * text.C (paintLastRow): remove unused variable
12558
12559         * text.C (transformChar):
12560         (insertChar):
12561         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12562
12563         * Painter.C (text):
12564         * font.C (width): rewrite to use uppercase() instead of
12565         islower/toupper.
12566
12567         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12568
12569 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
12570
12571         * lyxfind.C: clean up of find failure position change
12572
12573 2001-12-20  Juergen Vigna  <jug@sad.it>
12574
12575         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12576
12577         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12578         (TeXRow): added to LaTeX a single tabular row.
12579         (TeXLongtableHeaderFooter): added to output LT-h/f data.
12580         (Latex): simplified and finally good LT-h/f support.
12581         (various_functions): just small adaptions for LT-h/f support.
12582
12583         * tabular_funcs.[hC]: added and moved here all not classfunctions
12584         of LyXTabular.
12585
12586 2001-12-19  Juergen Vigna  <jug@sad.it>
12587
12588         * tabular.[Ch]: better support for longtabular options (not finished
12589         yet!)
12590
12591 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12592
12593         * text.C (paintLastRow): use the label font instead of the font of
12594         the last character to compute the size of *_BOX. This makes more
12595         sense and avoids a crash with empty paragraphs.
12596         Use Painter::rectangle to draw EMPTY_BOX.
12597
12598 2001-12-19  Juergen Vigna  <jug@sad.it>
12599
12600         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12601         the paragraphs if the replaced paragraph is not the first one!
12602         Tried to delete not used paragraphs but does not work yet so for
12603         now it's inside #ifdef's and by default off!
12604
12605 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12606
12607         * MenuBackend.C: include "lyx_main.h" instead of declaring
12608         lastfiles (actually was declared as LastFiles* instead of a
12609         scoped_ptr).
12610
12611 2001-12-17  Juergen Vigna  <jug@sad.it>
12612
12613         * tabular.C (AppendColumn): applied John's fix
12614
12615 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
12616
12617         * BufferView.h:
12618         * BufferView.C:
12619         * BufferView_pimpl.h:
12620         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12621
12622         * Makefile.am:
12623         * box.h: new start of class for above
12624
12625         * lyxfunc.C: ignore space-only minibuffer dispatches.
12626           Show the command name when it doesn't exist
12627
12628         * minibuffer.C: don't add empty lines to the history
12629
12630         * minibuffer.C: add a space on dropdown completion
12631
12632 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
12633
12634         * text.C: fix line above/below drawing in insets
12635
12636 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12637
12638         * lyxlength.C (LyXLength): Initialize private variables.
12639
12640 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
12641
12642         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12643         when inserting error insets.
12644
12645 2001-12-13  Juergen Vigna  <jug@sad.it>
12646
12647         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12648         actually sometimes the before-paragraph.
12649         (setUndo): don't clear the redostack if we're not actually undoing!
12650
12651 2001-12-06  Juergen Vigna  <jug@sad.it>
12652
12653         * undo_funcs.C (textHandleUndo): well after John's hint I got here
12654         and fixed redoing of main paragraph, so we can use it now ;)
12655
12656         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12657
12658 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12659
12660         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12661         Juergen's request
12662
12663 2001-12-13  André Pönitz <poenitz@gmx.net>
12664
12665         * undostack.[Ch]:
12666         * undo_func.C: minor cleanup
12667
12668 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12669
12670         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12671         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12672         font in urw-fonts package which is marked as -urw-fontspecific and
12673         does not work (incidentally, changing the encoding in the
12674         fonts.dir of this package to -adobe-fontspecific fixes the
12675         problem).
12676
12677         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12678         is a crash when undoing first paragraph (Juergen, please take a
12679         look). THis does not mean the undo fix is wrong, just that it
12680         uncovers problems.
12681
12682         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12683         the (Paragraph*) version when needed instead of duplicating the
12684         code.
12685
12686         * text.C (workWidth): use Inset::parOwner to find out where the
12687         inset has been inserted. This is a huge performance gain for large
12688         documents with lots of insets. If Inset::parOwner is not set, fall
12689         back on the brute force method
12690
12691         * paragraph_pimpl.C (insertInset):
12692         * paragraph.C (Paragraph):
12693         (cutIntoMinibuffer): set parOwner of insets when
12694         inserting/removing them
12695
12696         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12697
12698 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
12699
12700         * commandtags.h:
12701         * LyXAction.C:
12702         * lyx_main.C:
12703         * lyxfunc.C:
12704         * mathed/formulabase.C:
12705         * mathed/math_cursor.[Ch]:
12706         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12707
12708
12709 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12710
12711         * lyxlength.[Ch] (operator!=): new function
12712
12713 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12714
12715         * text.C (workWidth): use Inset::parOwner to find out where the
12716         inset has been inserted. This is a huge performance gain for large
12717         documents with lots of insets. If Inset::parOwner is not set, fall
12718         back on the brute force method
12719
12720         * paragraph_pimpl.C (insertInset):
12721         * paragraph.C (Paragraph):
12722         (cutIntoMinibuffer): set parOwner of insets when
12723         inserting/removing them
12724
12725         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12726
12727 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12728
12729         * tabular-old.C (getTokenValue):
12730         * tabular.C (getTokenValue):
12731         (write_attribute): new versions for LyXLength
12732         (everywhere): adjust the use of widths
12733
12734         * tabular.h: change the type of widths from string to LyXLength
12735
12736 2001-12-11  Ben Stanley <bds02@uow.edu.au>
12737
12738         * paragraph.C: fixed missing line number count when exporting
12739         Environments to LaTeX file
12740
12741         * buffer.C: added informational message for checking line numbers.
12742
12743 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12744
12745         * text2.C (deleteEmptyParagraphMechanism): if there is only one
12746         paragraph, do the 'double space' part, but not the 'empty
12747         paragraph' one.
12748
12749         * text.C (workWidth): small optimization
12750         (getLengthMarkerHeight): use minimal size for negative lengths.
12751
12752 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
12753
12754         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12755
12756         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12757
12758 2001-12-11  André Pönitz <poenitz@gmx.net>
12759
12760         * FontLoader.C:
12761         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12762
12763 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12764
12765         * text2.C: keep selection on a setFont()
12766
12767 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12768
12769         * lyx_cb.C: another bv->text misuse, from insert label
12770
12771 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * kbsequence.h:
12774         * kbsequence.C: re-instate nmodifier mask
12775
12776 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
12777
12778         * lyx_main.h: make lyxGUI private.
12779
12780 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
12781
12782         * lyxfind.C: place the cursor correctly on failed search
12783
12784 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12785
12786         * text.C (getLengthMarkerHeight): for small heights, the arrows
12787         are not always on top/bottom of the text
12788         (drawLengthMarker): smaller arrows; take the left margin in
12789         account; draw also vfills.
12790         (paintFirstRow):
12791         (paintLastRow): remove special code for vfill and standard spaces,
12792         since everything is handled in drawLengthMarker now.
12793
12794 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12795
12796         * buffer.C (insertErtContents): try to handle font and language
12797         interaction a bit better.g
12798
12799         * ColorHandler.C (updateColor): change the hash to cover the whole
12800         LColor enum, ws cleanup
12801         (getGCLinepars): ditto
12802         (getGCLinepars): only lookup in the linecache once.
12803
12804 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
12805
12806         * iterators.C (operator++): Make the iterator more robust
12807
12808         * BufferView2.C (removeAutoInsets): Use paragraph iterators
12809         (John's patch)
12810         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12811
12812 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12813
12814         * lyxtext.h:
12815         * text.C: better added space drawing
12816
12817 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12818
12819         * LyXView.C:
12820         * BufferView2.C: fix layout combo update on inset unlock
12821
12822 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12823
12824         * Makefile.am: don't compile unused files
12825
12826 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12827
12828         * lyxfunc.C:
12829         * commandtags.h:
12830         * LyXAction.C: remove old LFUN_LAYOUTNO
12831
12832 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12833
12834         * paragraph_pimpl.h:
12835         * paragraph_pimpl.C: isTextAt() doesn't need font param
12836
12837 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12838
12839         * lyxlex.h:
12840         * lyxlex.C: little cleanup
12841
12842 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
12843
12844         * BufferView_pimpl.C: fix insertAscii for insets
12845
12846 2001-12-05  Juergen Vigna  <jug@sad.it>
12847
12848         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12849         set the right font on the "multi" paragraph paste!
12850
12851 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12852
12853         * trans_decl.h:
12854         * trans_mgr.[Ch]:
12855         * trans.[Ch]:
12856         * lyxgluelength.C:
12857         * lyxlength.C: remove out-commented code.
12858
12859         * BufferView_pimpl:
12860         * CutAndPaste.C:
12861         * DepTable.C:
12862         * buffer.C:
12863         * chset.C:
12864         * lastfiles.C:
12865         * lyxlex.C:
12866         * lyxlex_pimpl.C:
12867         * lyxserver.C:
12868         * screen.C:
12869         * tabular-old.C:
12870         * tabular.C:
12871         * text.C:
12872         * trans_mgr.C:
12873         * vc-backend.C: change "while(" to "while ("
12874
12875         * lyxlength.[Ch]: add zero function to check if length is zero or
12876         not
12877         * lyxgluelength.C: use it
12878
12879 2001-12-05  Allan Rae  <rae@lyx.org>
12880
12881         * lyxlength.C: Attempted a fix for the abs(int) header selection.
12882         Works for 2.95.3, from what I understand of Garst's reports this should
12883         work for other g++ versions.  We're screwed if the abs(int) definition
12884         changed between bugfix releases of gcc.
12885
12886 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12887
12888         * text.C: fix chapter label offset !
12889
12890 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
12891
12892         * lyxtext.h:
12893         * text.C: fix hfill at end of line, clean up
12894
12895 2001-12-04  Juergen Vigna  <jug@sad.it>
12896
12897         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12898         that we force an update of the inset and it's owners if neccessary.
12899
12900 2001-12-03  Juergen Vigna  <jug@sad.it>
12901
12902         * text.C (rowLast): simplified code
12903
12904 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
12905
12906         * lyxfunc.C: fix show options on timeout
12907
12908 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12909
12910         * screen.C (topCursorVisible): scroll half a page when the cursor
12911         reached top of bottom of screen
12912
12913 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
12914
12915         * minibuffer.C: deactivate on loss of focus
12916
12917 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12918
12919         * vspace.[Ch] (operator!=): add operator.
12920
12921 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
12922
12923         * BufferView_pimpl.C: refuse to open an inset when
12924         there's a selection.
12925
12926 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
12927
12928         * BufferView_pimpl.C: allow to click on RHS of full row insets
12929
12930 2001-11-30  Juergen Vigna  <jug@sad.it>
12931
12932         * tabular.C (LyXTabular): add a same_id to set the same id's in the
12933         insets for undo reasons.
12934
12935 2001-11-28  André Pönitz <poenitz@gmx.net>
12936
12937         * vspace.[Ch]: cosmetical changes
12938
12939 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
12940
12941         * LyXAction.h:
12942         * LyXAction.C:
12943         * lyxfunc.h:
12944         * lyxfunc.C:
12945         * kbmap.h:
12946         * kbmap.C:
12947         * lyxrc.C:
12948         * kbsequence.h:
12949         * kbsequence.C: part re-write of old kb code
12950
12951         * Painter.C:
12952         * WorkArea.C: remove Lgb_bug_find_hack
12953
12954 2001-11-30  José Matos <jamatos@fep.up.pt>
12955
12956         * buffer.C (makeDocBookFile): add a comment to point a hack.
12957         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12958         Fixed a double write of labels.
12959
12960 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12961
12962         * LaTeX.C:
12963         * LaTeX.h Fixed bug in LaTeX class where it would not
12964         re-run latex if no depfiles were changed, but the .dvi was removed.
12965
12966 2001-11-28  André Pönitz <poenitz@gmx.net>
12967
12968         * all the files from the change on 2001/11/26:
12969         use lyx::layout_type instead of LyXTextClass::size_type
12970         use lyx::textclass_type instead of LyXTextClassList::size_type
12971
12972 2001-11-29  Juergen Vigna  <jug@sad.it>
12973
12974         * text.C: added support for paragraph::isFreeSpacing()
12975
12976         * buffer.C: same as above
12977
12978         * paragraph.h: inserted isFreeSpacing() function to enable
12979         FreeSpacing inside InsetERT.
12980
12981         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12982         of the paragraph's in the cut/copy buffer to 0!
12983
12984         * text2.C (removeRow): remove the assert as it can!
12985
12986         * lyxtext.h: added helper function firstRow returning firstrow and
12987         made firstrow private again.
12988
12989         * BufferView2.C (lockInset): don't relock if we're already locked!
12990
12991         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12992         the only paragraph.
12993         (removeRow): added Assert::(firstrow)
12994
12995         * debug.C: forgot to add INSETTEXT here.
12996
12997 2001-11-28  Juergen Vigna  <jug@sad.it>
12998
12999         * sp_spell.C (initialize): changed error text to more general
13000         spellchecker command use (not only ispell!)
13001
13002         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13003
13004         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13005
13006 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13007
13008         * vspace.C: initialise lyxgluelength on failure
13009
13010 2001-11-28  Allan Rae  <rae@lyx.org>
13011
13012         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13013         declaration & definition that looks like a function declaration.
13014
13015 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13016
13017         * BufferView2.C (copy):
13018         (copyEnvironment): do not clear the selection when doing a copy.
13019
13020         * text.C (paintFirstRow): compilation fix
13021
13022 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
13023
13024         * tabular.C (Latex): correct line count when writing latex.
13025
13026 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
13027
13028         * paragraph_pimpl.h:
13029         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13030           bug a bit
13031
13032 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
13033
13034         * text.C:
13035         * LColor.h:
13036         * LColor.C: change vfillline->added_space
13037
13038         * text.C: add markers and text for added space
13039
13040         * vspace.C: fix comment
13041
13042 2001-11-28  André Pönitz <poenitz@gmx.net>
13043
13044         * paragraph.C: whitespace changes
13045         * all the other files from the change on 2001/11/26:
13046         change *::pos_type into lyx::pos_type
13047
13048 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
13049
13050         * buffer.C (parseSingleLyXformat2Token): Set the language to the
13051         language of the document when inserting error insets.
13052
13053 2001-11-26  André Pönitz <poenitz@gmx.net>
13054
13055         * BufferView_pimpl.[Ch]:
13056         *       CutAndPaste.C:
13057         * buffer.[Ch]:
13058         * lyxcursor.[Ch]:
13059         * lyxfind.C:
13060         * lyxfunc.C:
13061         * lyxrow.[Ch]:
13062         * paragraph.[Ch]:
13063         * paragraph_pimpl.[Ch]:
13064         * sp_spell.C:
13065         * text.C:
13066         * text2.C: reduce header dependencies, introduce type for positions
13067
13068 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13069
13070         * <various>: change to use Alert.h
13071
13072 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
13073
13074         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13075         when encountering an unknown token.
13076         (readLyXformat2): Show an error message if there were unknown tokens.
13077
13078 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
13079
13080         * BufferView2.C:
13081         * BufferView_pimpl.C:
13082         * buffer.C:
13083         * paragraph.h:
13084         * text.C:
13085         * text2.C: use par->isInset()
13086
13087 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
13088
13089         * paragraph_pimpl.h:
13090         * paragraph_pimpl.C: cleanup
13091
13092 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13093
13094         * text2.C (removeRow):
13095         * text.C (setHeightOfRow): remove useless (and costly) call to
13096         getRow.
13097
13098 2001-11-20  Allan Rae  <rae@lyx.org>
13099
13100         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13101         Now need Inset*::checkInsertChar() to return true for appropriate
13102         cases so that the characters in the minibuffer will actually be
13103         inserted.
13104
13105 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13106
13107         * text.C: change the order of the includes.
13108         (workWidth): initialize it at once.
13109         (workWidth): make maxw unsigned
13110         (setHeightOfRow): remove unused variable (inset)
13111         (selectSelectedWord): remove unused variable (inset)
13112         (paintRowText): fix drawing of hfill characters, and clean up a bit.
13113
13114 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13115
13116         * lyxserver.C (emergencyCleanup): do not try to close pipes if
13117         server is not running.
13118         (openConnection):
13119         (closeConnection): add debug info when server is disabled.
13120
13121         * ColorHandler.C (getGCForeground): send debug message to GUI
13122         channel.
13123
13124         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13125
13126         * kbmap.C (bind): modify because return conventions of
13127         kb_sequence::parse have changed.
13128
13129         * kbsequence.C (parse): only ignore spaces and not any stupid
13130         control character. This avoids tests like s[i] <= ' ', which are
13131         guaranteed to fail with 8bit characters and signed chars.
13132         Change return code to string::npos when there have been no error
13133         (0 was a bad idea when error is at first character)
13134
13135 2001-11-14  José Matos  <jamatos@fep.up.pt>
13136
13137         * buffer.h:
13138         * buffer.C (simpleDocBookOnePar): removed unused argument.
13139
13140 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13141
13142         * text.C (selectNextWordToSpellcheck): do not test explicitely for
13143         insets which are part of a word. Paragraph::isLetter takes care of
13144         that now. Use Paragraph::isInset to identify insets.
13145         (selectSelectedWord): do not test for hyphenation break.
13146
13147         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13148         that protected spaces are considered as spaces.
13149
13150         * paragraph.C (isLetter): cleanup the code for ispell extras; use
13151         Inset::isLetter.
13152
13153 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
13154
13155         * lyxserver.h:
13156         * lyxserver.C: fix it. and small cleanup.
13157
13158 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13159
13160         * BufferView_pimpl.C: use inline helpers
13161
13162         * LaTeXFeatures.h:
13163         * LaTeXFeatures.C: fix typos
13164
13165         * Spacing.h:
13166         * Spacing.C: move spacing_string into class
13167
13168         * ToolbarDefaults.C: move stuff into namespace anon
13169
13170         * layout.h: update enum
13171
13172         * lyxfunc.C: use better debug
13173
13174         * minibuffer.h: fix typo
13175
13176         * debug.h:
13177         * debug.C:
13178         * WorkArea.C: add and use Debug::WORKAREA
13179
13180         * lyxtext.h:
13181         * text.C:
13182         * text2.C: code re-organisation, inline helpers
13183
13184 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
13185
13186         * Layout.C: replaced a few cases of std::vector.size() == 0 with
13187         std::vector.empty().
13188
13189 2001-11-09  Allan Rae  <rae@lyx.org>
13190
13191         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13192         '\n's after tables.  Tabular and ERT inset work now makes this no
13193         longer necessary.
13194
13195 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
13196
13197         * minibuffer.h:
13198         * minibuffer.C: fix crash, improve drop-down completion
13199
13200 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
13201
13202         * lyxserver.h:
13203         * lyxserver.C: invalidate fd's when doing endPipe()
13204
13205 2001-11-08  José Matos  <jamatos@fep.up.pt>
13206
13207         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13208         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13209
13210         * paragraph.h:
13211         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13212
13213 2001-11-07  José Matos  <jamatos@fep.up.pt>
13214
13215         * buffer.h:
13216         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13217         const qualifier.
13218
13219         * buffer.C (sgmlOpenTag):
13220         * buffer.C (sgmlCloseTag): removed debug info.
13221
13222         * buffer.h (sgmlOpenTag):
13223         * buffer.h (sgmlCloseTag): made public.
13224
13225 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13226
13227         * buffer.C (saveParamsAsDefaults):
13228         * lyx_cb.C (MenuLayoutSave): remove
13229
13230         * LyXAction.C (init):
13231         * commandtags.h:
13232         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13233
13234 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13235
13236         * buffer.C (setPaperStuff): removed from here...
13237
13238         * bufferparams.C (setPaperStuff): ... and moved there.
13239
13240 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
13241
13242         * minibuffer.h:
13243         * minibuffer.C:
13244         * XFormsView.C: add support for drop-down completion
13245
13246 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
13247
13248         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13249         commands.
13250
13251 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13252
13253         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13254         disabled.
13255
13256 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
13257
13258         * lyx_main.C: change ref to known bugs
13259
13260 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
13261
13262         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13263         to work around older babel problems.
13264
13265 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
13266
13267         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13268
13269 2001-10-24  Juergen Vigna  <jug@sad.it>
13270
13271         * tabular-old.C (ReadOld): below variable changes reflected.
13272
13273         * tabular.[Ch]: added ltType struct for longtable header/footer
13274         defines and changed all instances where they are used. Added
13275         future support for double top/bottom rows.
13276
13277 2001-10-24  José Matos  <jamatos@fep.up.pt>
13278
13279         * buffer.h (docbookHandleCaption):
13280         * buffer.C (docbookHandleCaption): removed unused function.
13281         (makeDocBookFile): moved docbook supported version to v4.1.
13282
13283 2001-10-24  José Matos  <jamatos@fep.up.pt>
13284
13285         * tabular.h:
13286         * tabular.C (docbookRow): new function to export docbook code of a row.
13287         (DocBook): now honors the longtable flags.
13288
13289 2001-10-23  José Matos  <jamatos@fep.up.pt>
13290
13291         * LaTeXFeatures.h:
13292         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13293         of the lyx defined sgml entities used in a docbook/linuxdoc document.
13294
13295         * buffer.C (makeLinuxDocFile):
13296         (makeDocBookFile): reworked the preamble, more clean, and with
13297         support for lyx defined entities. Changed the document declaration
13298         to be more XML friendly.
13299
13300         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13301         if we need to output XML that should be done with a filter.
13302
13303 2001-10-22  Juergen Vigna  <jug@sad.it>
13304
13305         * sp_pspell.h (class PSpell): add alive function needed in the
13306         controller to see if the spellchecker could be started.
13307
13308 2001-10-22  Juergen Vigna  <jug@sad.it>
13309
13310         * buffer.C (insertStringAsLines): modify the font for inserting
13311         chars in certain conditions by calling checkInsertChar(font).
13312
13313 2001-10-19  Juergen Vigna  <jug@sad.it>
13314
13315         * text.C (workWidth): use getRow instead of wrong algorithm.
13316         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13317
13318 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
13319
13320         * lyxserver.h:
13321         * lyxserver.C:
13322         * lyx_main.h:
13323         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13324
13325 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13326
13327         * text.C (workWidth): do not search for the exact row when
13328         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13329         optimization for big documents.
13330
13331 2001-10-18  Juergen Vigna  <jug@sad.it>
13332
13333         * text.C (workWidth): new function with added Inset * parameter.
13334
13335 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13336
13337         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13338
13339         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13340         change return type of getColumnNearX.
13341
13342
13343         * text.C (changeRegionCase): use uppercase/lowercase instead of
13344         toupper/tolower.
13345         (leftMargin):
13346         (rightMargin): simplify code by factoring out the uses of
13347         textclasslist.
13348         (labelFill):
13349         (numberOfHfills):
13350         (setHeightOfRow):
13351         (appendParagraph): use Paragraph::size_type
13352
13353 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13354
13355         * vspace.C (asLatexString): add a missing break
13356
13357 2001-10-15  Herbert Voss  <voss@perce.de>
13358
13359         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13360
13361 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13362
13363         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13364         is not available.
13365
13366 2001-10-10  André Pönitz <poenitz@gmx.net>
13367
13368         * lyxfunc.C: removed greek_kb_flag.
13369
13370 2001-10-10  Herbert Voss  <voss@perce.de>
13371
13372         * lyx_main.C: delete global string help_lyxdir.
13373
13374 2001-10-09  Herbert Voss  <voss@perce.de>
13375
13376         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13377
13378         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13379
13380         * lyx_main.C: added global string help_lyxdir.
13381
13382         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13383
13384 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13385
13386         * lyxrc.C (set_font_norm_type): support iso8859-4
13387
13388 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
13389
13390         * LaTeX.C (deplog): add another regex for MikTeX
13391
13392 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13393
13394         * lyxrc.C (set_font_norm_type): support iso8859-3
13395
13396 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13397
13398         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13399
13400         * LaTeXFeatures.C: remove special case of french and index
13401
13402         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13403         before \begin{document}). This solves several incompatibilities.
13404
13405 2001-10-03  Garst Reese  <reese@isn.net>
13406
13407         * lyx_cb.C: change CheckTex error msg.
13408
13409 2001-10-03  José Matos  <jamatos@fep.up.pt>
13410
13411         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13412
13413 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13414
13415         * .cvsignore: update
13416
13417         * lyx_main.C (commandLineVersionInfo): use new style version info.
13418
13419         * buffer.C (writeFile):
13420         (makeLaTeXFile):
13421         (makeLinuxDocFile):
13422         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13423
13424         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13425
13426         * version.h: update to use stuff in version.C
13427
13428         * version.C.in: new file. Contains version information determined
13429         at compile time. This is a merging of version.h and
13430         version_info.h.in.
13431
13432 2001-10-03  Juergen Vigna  <jug@sad.it>
13433
13434         * BufferView_pimpl.C (update): don't change "dirty" status in
13435         updateInset call.
13436
13437 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
13438
13439         * WorkArea.C (c-tor): re-position version string slightly.
13440
13441 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
13442
13443         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13444         revert to previous code.
13445
13446         WorkArea.[Ch]: (show, destroySplash): methods removed.
13447
13448         WorkArea.C: rework code so that it's an amalgam of the codes before and
13449         after the splash screen was moved to WorkArea.
13450
13451 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13452
13453         * lyxrc.C (read):
13454         * vspace.C (inPixels):
13455         (lyx_advance):
13456         * kbmap.C (bind):
13457         * buffer.C (insertStringAsLines):
13458         (asciiParagraph): fix types to be large enough
13459
13460         * lyxlex_pimpl.h: change member status from short to int
13461
13462         * layout.h: fix type of endlabeltype
13463
13464         * kbmap.C (bind):
13465         * kbsequence.C (parse): change return type to string::size_type
13466
13467         * LaTeX.C (updateBibtexDependencies): comment out unneeded
13468         variable
13469
13470         * Bullet.C (bulletSize):
13471         (bulletEntry): do not use short ints as parameters
13472
13473         * BufferView2.C (insertLyXFile): change a char to an int.
13474
13475         * WorkArea.C (WorkArea): remove unneeded floats in computation
13476
13477 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
13478
13479         * buffer.C (asciiParagraph): Treat '\\' as other chars.
13480
13481         * paragraph.C (asString): Do not ignore newline/hfill chars when
13482         copying to the clipboard.
13483
13484 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
13485
13486         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13487         after a multi-line inset.
13488
13489 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
13490
13491         * paragraph.C (validate): Set NeedLyXFootnoteCode
13492
13493 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13494
13495         * lyxfont.C (LyXSizeNames): changed increase-error to increase
13496         and decrease-error to decrease.
13497
13498 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13499
13500         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13501         it more readable (should be equivalent)
13502
13503 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
13504
13505         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13506
13507 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13508
13509         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13510         of a cursor (row, etc.) after a character has been deleted
13511         (deleteEmptyParagraphMechanism): call the method above on _all_
13512         cursors held by the LyXText when a double space has been
13513         detected/deleted.
13514
13515 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
13516
13517         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13518         pixmap.
13519         (resizeCurrentBuff): remove code to destroy the old splash dialog.
13520
13521         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13522         background. Use greyOut() and the new show() methods to toggle between
13523         the foreground and background. Add code to remove the splash after
13524         its initial showing.
13525
13526         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13527         (create_forms): no longer call Dialogs::showSplash.
13528
13529 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13530
13531         * .cvsignore: add version_info.h
13532
13533 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13534
13535         * version_info.h.in: new file
13536
13537         * Makefile.am: add version_info.h.in
13538
13539         * lyx_main.C (commandLineVersionInfo): use version_info defined in
13540         version_info.h instead of VERSION_INFO
13541
13542 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
13543
13544         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13545         The ERT inset now returns string().
13546
13547 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
13548
13549         * lyxtext.h, text.C (selectNextWord): renamed as
13550         selectNextWordToSpellcheck.
13551
13552         * text.C (selectNextWordToSpellcheck): Modified to not select
13553         words inside an ERT inset.
13554
13555 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13556
13557         * lyx_cb.C (MenuLayoutSave): change a bit the question
13558
13559         * sp_base.h: include <sys/types.h>
13560
13561 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
13562
13563         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13564
13565 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
13566
13567         * several files: fix typos in user-visible strings
13568
13569 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13570
13571         * text2.C (pasteSelection): do not set the selection, since it
13572         will be cleared later. Actually, the intent was to fix the way the
13573         selection was set, but I figured rmoving the code was just as good.
13574
13575 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
13576
13577         * FontLoader.C (available): Check if font is available without
13578         loading the font.
13579
13580 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
13581
13582         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13583
13584 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
13585
13586         * lyxrc.[Ch]: added display_graphics variable and associated code.
13587
13588 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13589
13590         * bufferparams.C (hasClassDefaults): new method. Returns true if
13591         the buffer parameters correspond to known class defaults
13592
13593 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
13594
13595         * XFormsView.C (show): set minimum size to the main window.
13596
13597 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13598
13599         * text2.C (copySelection):
13600         (cutSelection):
13601         * lyxfind.C (LyXReplace):
13602         * BufferView_pimpl.C (Dispatch): pass the correct flag to
13603         LyXText::selectionAsString.
13604
13605         * paragraph.C (asString): add "label" argument to the second form
13606
13607         * text2.C (selectionAsString): add "label" argument and pass it to
13608         Paragraph::asString.
13609
13610 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13611
13612         * lyx_main.C (commandLineHelp): remove version information
13613
13614 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
13615
13616         * lyx_main.C: add -version commandline option
13617
13618 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13619
13620         * paragraph.h: make the optional constructor arg required instead.
13621         some modifications to other files because of this.
13622
13623         * minibuffer.C (C_MiniBuffer_peek_event): make it static
13624
13625         * lyxserver.C (C_LyXComm_callback): make it static
13626
13627         * lyx_main.C (error_handler): make it static
13628
13629         * lyx_gui.C (LyX_XErrHandler): make it static
13630
13631         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13632
13633         * WorkArea.C: make the extern "C" methods static.
13634
13635         * Makefile.am (lyx_LDADD): simplify
13636
13637 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13638
13639         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13640         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13641
13642         * LyXAction.C (init):
13643         * lyxfunc.C (dispatch): associated code removal.
13644
13645 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13646
13647         * lyxfont.h (isSymbolFont): shut off warning
13648
13649         * text.C (setHeightOfRow):
13650         (getVisibleRow): fix crash with empty paragraphs which have a
13651         bottom line
13652
13653 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
13654
13655         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13656         code.
13657
13658 2001-09-04  José Matos  <jamatos@fep.up.pt>
13659         * buffer.C
13660         * buffer.h
13661         * tabular.C (docbook): rename docBook method to docbook.
13662
13663 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13664
13665         * Makefile.am: add dependencies to main.o.
13666
13667 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
13668
13669         * FontLoader.C (available): Return false if !lyxrc.use_gui
13670
13671 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
13672
13673         * FontInfo.C (query):
13674         * converter.C (view):
13675         * importer.C (Import):
13676         * exporter.C (Export): Can not -> cannot.
13677
13678 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
13679
13680         * BufferView_pimpl.C: allow to create index inset even if
13681           string is empty
13682
13683 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
13684
13685         * buffer.C (getLists): replace boost::tie code with an explicit pair
13686         as boost::tie can break some compilers.
13687
13688         * iterators.h: Added a std:: declaration to the return type of
13689         ParIterator::size.
13690
13691 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
13692
13693         * lyxrc.C: add help for view_dvi_paper_option, default to safe
13694           case.
13695
13696 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
13697
13698         * iterators.[Ch]: New files. Provide paragraph iterators.
13699
13700         * buffer.C (changeLanguage): Use paragraph iterators.
13701         (isMultiLingual): ditto
13702
13703         * BufferView2.C (ChangeInsets): Use paragraph iterators.
13704
13705 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
13706
13707         * FontLoader.C: Support for cmr font.
13708
13709 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
13710
13711         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13712         (available): New method.
13713
13714         * FontInfo.C (getFontname): Use scalable fonts even when
13715         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13716         found.
13717
13718 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13719
13720         * converter.C (Formats::view): reverted! Incorrect fix.
13721
13722 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
13723
13724         * converter.C (Formats::view): only output the -paper option
13725         if the dvi viewer is xdvi, thereby fixing bug #233429.
13726
13727 2001-08-23  Herbert Voss  <voss@perce>
13728
13729         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13730
13731 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
13732
13733         * Spacing.h (Spacing): Set space to Default on in the default
13734         constructor.
13735
13736 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13737
13738         * vc-backend.h (RCS::versionString): add RCS to version
13739         (CVS::versionString): add CVS to version
13740
13741         * vc-backend.C (scanMaster): do not add CVS to version.
13742         (scanMaster): do not add RCS to version
13743
13744         * lyxvc.C (versionString): new method
13745
13746         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13747
13748 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13749
13750         * Spacing.C (set): initialize fval
13751
13752 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
13753
13754         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13755         " or \.
13756
13757 2001-08-16  Juergen Vigna  <jug@sad.it>
13758
13759         * lyxfunc.C (dispatch): implemented the new FINISHED states.
13760
13761 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13762
13763         * BufferView_pimpl.C:
13764         * figureForm.C:
13765         * lyxtext.h:
13766         * text2.C: setParagraph takes linespacing now
13767
13768 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
13769
13770         * LyxAction.C: add internal LFUN_CITATION_INSERT
13771
13772         * LyXView.C: actually apply fix
13773
13774         * bufferlist.C: fix open non-existent file
13775
13776         * lyxfind.C: fix indentation
13777
13778         * lyxfunc.C: remove unneeded assert, fix typo
13779
13780 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
13781
13782         * MenuBackend.C: use "Floatname List"
13783
13784 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
13785
13786         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13787         when converting LaTeX layout to insetERT.
13788         Generate a non-collapsed float when reading old float
13789
13790 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13791
13792         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13793         ERT insets.
13794
13795 2001-08-13  Juergen Vigna  <jug@sad.it>
13796
13797         * text.C (fill): return 0 instead of 20 as this seems to be the more
13798         correct value.
13799
13800 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
13801
13802         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13803         lyxrc.font_norm.
13804
13805 2001-08-13  Juergen Vigna  <jug@sad.it>
13806
13807         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13808         casesensitive off.
13809         (SearchBackward): comment out the unlocking of the inset_owner this
13810         should not be needed!
13811
13812 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
13813
13814         * Many files: Remove inherit_language, and add latex_language
13815
13816         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13817         collapsible insets.
13818
13819 2001-08-10  Juergen Vigna  <jug@sad.it>
13820
13821         * text.C (prepareToPrint): fixed hfill-width in draw!
13822
13823         * BufferView2.C (selectLastWord): save the selection cursor as this
13824         now is cleared in the function LyXText::clearSelection!
13825
13826 2001-08-08  Juergen Vigna  <jug@sad.it>
13827
13828         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13829         BACKSPACE type functions.
13830
13831         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13832         is only cutted from the document but not put in the cut-buffer, where
13833         still the old stuff should be.
13834
13835         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13836
13837         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13838
13839         * tabular.C (SetWidthOfCell): fixed special case where the width
13840         was not updated!
13841         (LeftLine): handle '|' in align_special.
13842         (RightLine): ditto
13843         (LeftAlreadyDrawed): ditto
13844         (SetWidthOfCell): ditto
13845
13846 2001-08-07  Juergen Vigna  <jug@sad.it>
13847
13848         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13849
13850 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13851
13852         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13853         * lyxlex.[hC]: ditto
13854
13855 2001-08-06  Juergen Vigna  <jug@sad.it>
13856
13857         * text.C (getVisibleRow): fix up row clearing a bit.
13858
13859 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13860
13861         * minibuffer.C: make sure the X server sees the changes in the input.
13862
13863 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13864
13865         * paragraph.C (getFont): split into...
13866         (getLabelFont): this
13867         (getLayoutFont): and this
13868         * paragraph_pimpl.C (realizeFont): calling this
13869
13870         * text2.C (getFont): split into...
13871         (getLayoutFont): this
13872         (getLabelFont): and this
13873         (realizeFont): all three calling this
13874
13875         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13876         files where used.
13877
13878 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13879
13880         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13881
13882 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
13883
13884         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13885         layouts from the Quote inset insertion.
13886
13887 2001-08-03  Juergen Vigna  <jug@sad.it>
13888
13889         * BufferView_pimpl.C (update): do the fitCursor only at the end!
13890
13891         * screen.C (drawFromTo): don't call fitcursor here and do the loop
13892         only if status not is already CHANGED_IN_DRAW (second level).
13893
13894         * text.C (draw): don't set the need_break_row when inside an
13895         InsetText LyXText.
13896
13897 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13898
13899         * buffer.C (parseSingleLyXformat2Token): handle more latex
13900         conversion cases.
13901
13902         * bufferview_funcs.[hC]: change function names to
13903         begin with small char, adjust other files.
13904
13905 2001-08-02  André Pönitz <poenitz@gmx.net>
13906
13907         * lyxfunc.C:
13908         BufferView_pimpl.C: remove broken special code for math-greek
13909
13910 2001-08-02  Juergen Vigna  <jug@sad.it>
13911
13912         * BufferView_pimpl.C (update): redone this function so that we
13913         update the text again if there was a CHANGE_IN_DRAW.
13914
13915         * screen.C (cursorToggle): removed LyXText parameter and recoded.
13916         (drawFromTo): added a new internal bool which is used by draw() and
13917         redraw() function.
13918         (general): some cursor drawing problems fixed.
13919
13920 2001-08-01  Juergen Vigna  <jug@sad.it>
13921
13922         * lyxfind.C (LyXFind): fixed
13923         (SearchForward): ditto
13924         (SearchBackward): ditto
13925
13926         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13927         spurius drawing of the cursor in the main area.
13928
13929         * text2.C (status): small fix which could lead to a segfault!
13930         (clearSelection): remove unneeded BufferView param.
13931
13932 2001-08-01  André Pönitz <poenitz@gmx.net>
13933
13934         * lyxfunc.C: small change due to changed mathed interface
13935
13936 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13937
13938         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13939
13940 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
13941
13942         * lyxfunc.c: fail gracefully if file doesn't exist
13943
13944         * LyXSendto.C:
13945         * buffer.C:
13946         * lyxfunc.C:
13947         * BufferView_pimpl.C: IsDirWriteable() proto changed
13948
13949         * LyXView.C: fix updateWindowTitle() to store the last title
13950
13951 2001-07-31  Juergen Vigna  <jug@sad.it>
13952
13953         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13954         the font (wrong since using of Paragraph::highestFontInRange).
13955
13956         * paragraph.C (highestFontInRange): added a default_size parameter.
13957
13958         * text.C (getVisibleRow): minor clear row changes (still not perfect).
13959         (setHeightOfRow): reformat
13960
13961 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13962
13963         * converter.[hC] + affected files: move to (inital-char)lowercase
13964         function names.
13965
13966         * ParagraphParameters.C (ParagraphParameters): remove commented code
13967
13968         * PainterBase.[Ch]: remove commented code
13969
13970         * LaTeXFeatures.h: add "bool floats" for float.sty
13971
13972         * LaTeXFeatures.C (LaTeXFeatures): init floats
13973         (require): handle float
13974         (getPackages): do it with floats
13975
13976 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13977
13978         * BufferView_pimpl.C (Dispatch): improve handling of
13979         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13980
13981         * commandtags.h: #include lyxfont.h here temporarily to avoid
13982         keybinding bug.
13983
13984         * bufferlist.h: include LString.h here.
13985
13986 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
13987
13988         * text2.C (getStringToIndex): new method.
13989
13990 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
13991
13992         * *: Reduced header file dependencies all over.
13993
13994 2001-07-30  Baruch Even  <baruch@lyx.org>
13995
13996         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13997
13998 2001-07-29  Baruch Even  <baruch@lyx.org>
13999
14000         * buffer.C (readInset): Changed GRAPHICS to Graphics.
14001
14002 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14003
14004         * ParameterStruct.h (endif): add a default constructor to make
14005         sure that all variables is initialized.
14006
14007         * ParagraphParameters.C (ParagraphParameters): adjust
14008
14009 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14010
14011         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14012         index; also, check that there is something to index, and that it
14013         does not span over several paragraphs.
14014         (doubleClick): use WHOLE_WORD_STRICT for double click.
14015
14016         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14017
14018         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14019         scheme.
14020
14021 2001-07-26  Baruch Even  <baruch@lyx.org>
14022
14023         * buffer.C (readInset): Changed to call up InsetGraphics when reading
14024         an InsetFig figure, backwards compatible reading of old figure code.
14025
14026 2001-07-27  Juergen Vigna  <jug@sad.it>
14027
14028         * text2.C: font.realize function adaption.
14029
14030         * text.C (draw): add a warnings lyxerr text if needed.
14031
14032         * layout.C: font.realize function adaption.
14033
14034         * language.C: add inherit_language and implement it's handlings
14035
14036         * bufferview_funcs.C (StyleReset): remove language parameter from
14037         font creation (should be language_inherit now).
14038
14039         * bufferparams.C (writeFile): handle ignore_language.
14040
14041         * paragraph.C (getFontSettings): the language has to be resolved
14042         otherwise we have problems in LyXFont!
14043
14044         * lyxfont.C (lyxWriteChanges): added document_language parameter
14045         (update): removed unneeded language parameter
14046
14047         * paragraph.C (validate): fixed wrong output of color-package when
14048         using interface colors for certain fonts in certain environments,
14049         which should not seen as that on the final output.
14050
14051 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
14052
14053         * BufferView_pimpl.C:
14054         * Thesaurus.h:
14055         * Thesaurus.C:
14056         * Makefile.am:
14057         * commandtags.h:
14058         * LyXAction.C: add thesaurus support
14059
14060         * lyxfind.h:
14061         * lyxfind.C: add "once" parameter, for thesaurus, to not
14062           move to the next match
14063
14064 2001-07-26  Juergen Vigna  <jug@sad.it>
14065
14066         * lyxfont.C (realize): honor ignore_language too!
14067         (resolved): ditto.
14068
14069         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14070
14071         * text.C (draw): one place more for ignore_language to not draw
14072         itself!
14073
14074 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
14075
14076         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14077
14078 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14079
14080         * buffer.C (parseSingleLyXformat2Token): a more general fix for
14081         the minipage conversion problem.
14082
14083 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14084
14085         * buffer.C (parseSingleLyXformat2Token): check minipage if we
14086         insert an inset.
14087
14088 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14089
14090         * BufferView.h: don't forward declare WorkArea
14091
14092         * BufferView.C: don't include WorkArea.h
14093
14094 2001-07-25  André Pönitz <poenitz@gmx.net>
14095
14096         * commandtags.h:
14097         * LyXAction.C:
14098         * lyxfunc.C:  new LFUN 'math-space'
14099
14100         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14101
14102 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14103
14104         * text2.C (toggleInset): call open/close
14105
14106 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14107
14108         * lyxfunc.C (dispatch): add debug for the disabled case
14109
14110         * font.C (buttonText): make similar to rectText
14111
14112         * buffer.C (readInset): comment out parsing of insetlist and
14113         insttheorem
14114
14115         * PainterBase.C (rectText): small correction
14116
14117         * BufferView_pimpl.C: comment out insettheorem and insetlist
14118         * LyXAction.C: ditto
14119         * commandtags.h: ditto
14120
14121 2001-07-24  Juergen Vigna  <jug@sad.it>
14122
14123         * text.C (draw): honor the ignore_language.
14124
14125         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14126
14127 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14128
14129         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14130         char inset.
14131
14132 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14133
14134         * lyxtext.h: remove unused (and unimplemented) methods
14135
14136 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14137
14138         * text.C (getVisibleRow): honor background color
14139
14140         * PainterBase.h:
14141         * Painter.h: remove default color argument for fillRectangle
14142
14143         * text.C (backgroundColor): new method
14144
14145 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14146
14147         * text.C (getVisibleRow): adjust
14148
14149         * font.[Ch] (rectText): new method, metrics
14150         (buttonText): new method, metrics
14151
14152         * PainterBase.[hC]: make rectText and buttonText always draw and take
14153         fewer paramteres.
14154
14155 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14156
14157         * ToolbarDefaults.C (read):
14158         * MenuBackend.C (read): allow escaping in all strings
14159
14160         * BufferView_pimpl.C (insertAndEditInset): new method.
14161         (Dispatch): use insertAndEditInset whenever appropriate.
14162
14163         * BufferView_pimpl.C (insertNote): removed
14164
14165         * BufferView_pimpl.C (smartQuote): new method, moved from
14166         BufferView; if an insetquote cannot be inserted, insert a '"'
14167         character instead.
14168
14169         * BufferView2.C: remove insertCorrectQuote();
14170
14171         * lyxfunc.C (getStatus): Add support for all remaingin
14172         inset-insert lfuns.
14173
14174         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14175
14176         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14177         command (necessary to pass " as parameter of self-insert.
14178
14179         * text.C (selectWordWhenUnderCursor):
14180         (selectWord): add word_location parameter
14181         (selectWordWhenUnderCursor): same + remove special code for word
14182         boundary.
14183         (selectNextWord): use kind() to guess type of insetspecialchar,
14184         not latex().
14185
14186         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14187         (insertErtContents): create ert insets as collapsed.
14188         (readInset): better compatibility code for Info inset.
14189
14190 2001-07-20  Juergen Vigna  <jug@sad.it>
14191
14192         * lyxfunc.C (dispatch): use always LyXFind now!
14193
14194         * text2.C (init): add a reinit flag so that the LyXText can be
14195         reinited instead of deleted and reallocated (used in InsetText).
14196
14197         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14198
14199         * text.C: ditto
14200
14201         * text2.C: ditto
14202
14203 2001-07-18  Juergen Vigna  <jug@sad.it>
14204
14205         * text.C (selectNextWord): handle insets inside inset by calling
14206         always the bv->text functions so that we can go up the_locking_inset!
14207
14208         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14209         in strange locations when inside an inset!
14210
14211         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14212         handling to include insets.
14213
14214         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14215
14216 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14217
14218         * LyXAction.C (init):
14219         * commandtags.h:
14220         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14221         LIGATURE_BREAK, since the name is so stupid.
14222
14223 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14224
14225         * buffer.C (readInset): enable reading of new InsetNotes as well as old
14226         InsetInfos.
14227
14228         * FontLoader.C: remove FORMS_H_LOCATION cruft.
14229
14230         * sp_form.[Ch]: remove.
14231
14232         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14233
14234         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14235         InsetInfo.
14236
14237         * src/buffer.C (readInset): ditto.
14238
14239 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14240
14241         * BufferView_pimpl.C (specialChar): new method. Obsoletes
14242         menuSeparator(), endOfSentenceDot(), ldots() and
14243         hyphenationPoint(), which are therefore removed.
14244         (Dispatch): handle LFUN_HYPHENATION_BREAK.
14245
14246         * LyXAction.C (init):
14247         * commandtags.h: add LFUN_HYPHENATION_BREAK.
14248
14249         * paragraph.C (getWord): removed.
14250
14251         * BufferView_pimpl.C (Dispatch): use last word or selection for
14252         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14253
14254         * lyx_main.C (queryUserLyXDir): do not ask before creating
14255         user_dir, except if it has been named explicitely.
14256
14257 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
14258
14259         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14260         a document of zero size.
14261
14262 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
14263
14264         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14265         approriately in the c-tor and in require().
14266         (getPackages): output the appropriate LaTeX for natbib support.
14267
14268         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14269         variables "use_natbib" and "use_numerical_citations" when reading the
14270         LyX file.
14271         (readInset): read the various natbib cite commands.
14272         (validate): white-space change.
14273
14274         * bufferparams.[Ch]: new variables "bool use_natbib" and
14275         "bool use_numerical_citations".
14276         (writeFile): output them in the LyX file.
14277
14278 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
14279
14280         * lyxfunc.C (getStatus): add support for all the inset insertion
14281         commands.
14282
14283         * text2.C (insertInset):
14284         * paragraph.C (insetAllowed):
14285         * BufferView_pimpl.C (insertInset): update to take in account the
14286         renaming of insertInsetAllowed
14287
14288         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14289
14290         * text2.C (getInset): new method. returns inset at cursor position.
14291
14292         * BufferView_pimpl.C (Dispatch): changes because of this.
14293
14294         * LyXAction.C (init): rename open-stuff to inset-toggle.
14295
14296         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14297
14298         * text2.C (toggleInset): renamed from openStuff; use
14299         Inset::open().
14300
14301 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
14302
14303         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14304
14305         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14306
14307 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
14308
14309         * buffer.C (readLyXformat2): Add filename to the error dialog
14310
14311 2001-07-18  Juergen Vigna  <jug@sad.it>
14312
14313         * tabular.C (GetCellNumber): put an assert here instead of the check!
14314
14315 2001-07-17  Juergen Vigna  <jug@sad.it>
14316
14317         * BufferView_pimpl.C (toggleSelection): adapted too.
14318
14319         * text.C (selectNextWord): adapted for use with insets.
14320         (selectSelectedWord): ditto
14321
14322 2001-07-17  Juergen Vigna  <jug@sad.it>
14323
14324         * sp_spell.C (PSpell): fix initialitation order.
14325
14326 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14327
14328         * paragraph.C: spacing
14329
14330 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
14331
14332         * sp_spell.C: repair language selection for pspell
14333
14334 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14335
14336         * lyxfunc.h: change more methods to begin with lower char.
14337
14338 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
14339
14340         * buffer.C (parseSingleLyXformat2Token): Generate error insets
14341         for unknown layouts.
14342
14343 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
14344
14345         * buffer.C (readLyXformat2): Generate an error dialog if there are
14346         unknown layouts.
14347
14348 2001-07-16  Juergen Vigna  <jug@sad.it>
14349
14350         * sp_spell.C: always compile ISpell part.
14351
14352         * lyxrc.C: added use_pspell entry and it's handling.
14353
14354 2001-07-13  Juergen Vigna  <jug@sad.it>
14355
14356         * sp_spell.C: removed double includes.
14357
14358 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
14359
14360         Consistent use of Lsstream.h:
14361         * Lsstream.h: added using std::stringstream for consistencies sake.
14362
14363         * buffer.C: removed using std::stringstream
14364
14365         * lyxfont.C (stateText):
14366         * paragraph.C (asString):
14367         * text.C (selectNextWord, selectSelectedWord):
14368         * text2.C (setCounter):
14369         * vspace.C (asString, asLatexString):
14370         std::ostringstream -> ostringstream.
14371
14372 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14373
14374         * LyXAction.C: add LFUN_HELP_ABOUTLYX
14375         * commandtags.h: add LFUN_HELP_ABOUTLYX
14376         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14377
14378 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
14379
14380         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14381         cursorToggle()
14382         * lyx_gui_misc.C: remove spellchecker
14383         * lyxfunc.C: showSpellchecker
14384         * sp_base.h: added
14385         * sp_ispell.h: added
14386         * sp_pspell.h: added
14387         * sp_spell.C: added
14388         * sp_form.[Ch]: removed
14389         * spellchecker.[Ch]: removed
14390
14391 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
14392
14393         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14394         is set.
14395         (simpleTeXSpecialChars): Simply print the input character without
14396         any special translation if pass_thru is set.
14397
14398         * layout.h: Added bool pass_thru to layout class for being able to
14399         implement pass through of a paragraph for Literate Programming.
14400
14401         * layout.C: add LT_PASS_THRU to LayoutTags enum.
14402         * layout.C (LyXLayout): set pass_thru to flase in constructor.
14403         * layout.C (Read): add "passthru" to list of layout tags and add
14404         code to set the pass_thru boolean when it is read.
14405
14406 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14407
14408         * trans_decl.h: remove allowed from KmodInfo
14409
14410         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14411         remove allowed code
14412         (Load): adjust
14413
14414         * paragraph_pimpl.C (erase): use boost::prior
14415
14416         * Painter.C (text): use data() instead of c_str() when length is
14417         also provided.
14418         * WorkArea.C (putClipboard): ditto
14419         * font.h (width): ditto
14420
14421         * BufferView2.C: use it-> instead of (*it). for iterators
14422         * texrow.C: ditto
14423         * paragraph_pimpl.C: ditto
14424         * paragraph.C: ditto
14425         * minibuffer.C: ditto
14426         * language.C: ditto
14427         * kbmap.C: ditto
14428         * encoding.C: ditto
14429         * counters.C: ditto
14430         * converter.C: ditto
14431         * chset.C: ditto
14432         * Variables.C: ditto
14433         * TextCache.C: ditto
14434         * MenuBackend.C: ditto
14435         * LyXAction.C: ditto
14436         * LColor.C: ditto
14437         * FloatList.C: ditto
14438         * DepTable.C: ditto
14439         * ColorHandler.C (LyXColorHandler): ditto
14440
14441 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14442
14443         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14444
14445         * text2.C (openStuff): reintroduce this method (which had been
14446         nuked in NEW_INSETS frenzy).
14447
14448         * lyxfunc.C (Dispatch): when an action has not been handled, use
14449         its name in the error message, not its number.
14450
14451         * paragraph.C (inInset): change method name to begin with lowercase.
14452
14453         * undo_funcs.C:
14454         * text2.C: updates because of this.
14455
14456 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14457
14458         * ToolbarDefaults.C (add): add spaces in error message
14459
14460 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14461
14462         * buffer.C (readLyXformat2): initialize the ert comp. variables.
14463         (readLyXformat2): rename return_par to first_par, use lyxlex's
14464         pushToken and remove the manual push handling.
14465         (parseSingleLyXformat2Token): add another ert comp. variable:
14466         in_tabular, rename return_par to first_par. handle newlines better
14467
14468 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14469
14470         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14471
14472 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14473
14474         * text2.C (getParFromID): removed
14475
14476         * buffer.C (getParFromID): new method moved form lyxtext.
14477         * BufferView2.C (insertErrors): adjust
14478         (setCursorFromRow): adjust
14479         * BufferView_pimpl.C (restorePosition): adjust
14480         * lyxfunc.C (Dispatch): adjust
14481         * undo_funcs.C (textUndo): adjust
14482         (textRedo): adjust
14483         (textHandleUndo): adjust
14484         (textHandleUndo): adjust
14485
14486 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14487
14488         * buffer.C: up' the LYX_FORMAT
14489
14490         * lyxfont.h: turn NO_LATEX on as default
14491
14492         * buffer.C (insertErtContents): new methods of tex style compability.
14493         (parseSingleLyXformat2Token): use it several places.
14494         * tabular.C (OldFormatRead): and here
14495
14496 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14497
14498         * text2.C: remove some commented code.
14499         reindent file.
14500
14501         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14502         * trans.C: changes because of the above.
14503
14504 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
14505
14506         * text2.C (setCounter): Fix counters bug with bibliography layout.
14507
14508 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14509
14510         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14511         own member functions
14512         (simpleTeXSpecialChars): ditto
14513
14514 2001-07-06  Juergen Vigna  <jug@sad.it>
14515
14516         * a lot of files: changed the access to LyXText::status and the
14517         call of undo-functions.
14518
14519         * undo.[Ch]: added a inset_id to the undo informations.
14520
14521         * undo_funcs.[Ch]: added and moved here all undo functions.
14522
14523         * lyxtext.h: give the status enum a weight, made status_ a private
14524         variable and made accessor functions for it, removed the whole bunch
14525         of undo-functions as they are now in their own file, make some
14526         functions publically available. Added function ownerParagraph with
14527         int parameter.
14528
14529         * paragraph.[Ch]: added "bool same_ids" to the constructor,
14530         made InInset() a const function, added getParFromID() function.
14531
14532         * buffer.[Ch]: added const version for inset_iterator functions,
14533         added getInsetFromID() function.
14534
14535         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14536         changed undo functions for new version.
14537
14538 2001-07-05  Juergen Vigna  <jug@sad.it>
14539
14540         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14541         unknow mechanism does not call the proper constructor but only this
14542         one also if I request the other!?
14543
14544 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14545
14546         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14547
14548         * text2.C (LyXText): use initialization lists.
14549
14550         * lyxtext.h (Selection): initialize set_ and mark_
14551         (init): remove method
14552
14553 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
14554
14555         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14556
14557 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14558
14559         * screen.[Ch]: change method names to begin with lowercase
14560
14561         * BufferView_pimpl.C (updateScrollbar): simplify further and
14562         hopefully make it a bit faster.
14563
14564 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14565
14566         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14567         calling directly xforms functions.
14568
14569         * Painter.C (Painter):
14570         * lyx_cb.C (MenuWrite):
14571         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14572         fl_display.
14573
14574         * lyx_gui.C: remove bogus guiruntime extern declaration.
14575
14576 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14577
14578         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14579         in NEW_INSETS
14580         (redoDrawingOfParagraph): ditto
14581         (redoParagraphs): ditto
14582         (cutSelection): don't create a object for CutAndPaste use the
14583         static method directly
14584         (pasteSelection): ditto
14585
14586         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14587         LyXview (+ rename)
14588
14589 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14590
14591         * modifications to some other files because of this.
14592
14593         * Makefile.am (lyx_SOURCES): add XFormsView
14594
14595         * XFormsView.[Ch]: new files
14596
14597         * LyXView.[Ch]: make LyXView a base class for the gui handling for
14598         the main window. Move the gui dependent stuff to XFormsView
14599
14600 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14601
14602         * tabular.C (GetCellInset): update cur_cell also in the row/col
14603         version of this function.
14604
14605         * lyxfunc.C: no need to include figure_form.h here.
14606
14607         * FontLoader.h:
14608         * lyxfunc.h:
14609         * lyxscreen.h:
14610         * text2.C:
14611         * lyxvc.C: no need to include forms.h here.
14612
14613 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14614
14615         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14616
14617         * lyxfunc.C (Dispatch):
14618         * Spacing.C (set):
14619         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14620         constructor argument.
14621
14622 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14623
14624         * paragraph.C (Paragraph): dont't clear, and just set layout.
14625         (makeSameLayout): use params's copy contructor.
14626
14627         * ParagraphParameters.[Ch] (makeSame): delete method
14628
14629 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
14630
14631         * Variables.[Ch]: fix indentation, rename set to isSet
14632
14633 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14634
14635         * lyxfunc.C (Dispatch): fix typo
14636
14637 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14638
14639         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14640         upper_bound.
14641
14642         * bufferlist.C: include assert.h for emergencyWrite().
14643
14644 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14645
14646         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14647           give up at last (bug #425202) !
14648
14649 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
14650
14651         * lyx_gui_misc.C:
14652         * sp_form.h:
14653         * sp_form.C:
14654         * spellchecker.h:
14655         * spellchecker.C: strip spellchecker options and bring up
14656           preferences tab instead
14657
14658 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14659
14660         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14661         the istringstream constructor
14662
14663 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14664
14665         * paragraph.C (getLayout): fix return value
14666
14667         * paragraph.h: do not declare getLayout as inline.
14668
14669         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14670
14671 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14672
14673         * lyxcursor.h (operator<): new func
14674         (operator>): new func
14675         (operator>=): new func
14676         (operator<=): new func
14677
14678         * text.C (changeCase): use selection.start and selection.end
14679         (changeRegionCase): require from to be <= to. Require par to be a
14680         valid paragraph.
14681
14682         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14683
14684 2001-06-27  Juergen Vigna  <jug@sad.it>
14685
14686         * text.C (cursorLeftOneWord): changed to return the cursor and added
14687         overlay with BufferView * parameter which calls this one.
14688         (getWord): added
14689         (selectWord): use new getWord function.
14690         (changeCase): renamed from changeWordCase as and extended to work
14691         also on selections.
14692
14693         * lyxtext.h: added enum word_location
14694
14695         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14696         changeCase as this operates now also on selections.
14697
14698 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
14699
14700         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14701
14702         * many files: send debug output to Debug::INFO instead of
14703         Debug::ANY.
14704
14705         * converter.C (View):
14706         (Convert):
14707         (Move): send debug output to Debug::FILES instead of console.
14708
14709 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
14710
14711         * lyxfunc.C (getStatus): use func_status
14712
14713         * func_status.h: new header, describing the results of
14714         LyXFunc::getStatus;
14715
14716         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14717         LFUN_MATH_HALIGN.
14718
14719 2001-06-25  The LyX Project  <jug@sad.it>
14720
14721         * buffer.C (sgmlOpenTag):
14722         (sgmlCloseTag):
14723         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
14724
14725 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14726
14727         * text2.C: remove some dead code
14728
14729         * tabular.C (GetCellInset): store the last cell checked (gotten)
14730
14731         * tabular.h: add the helper for the speedup
14732
14733         * lyxtext.h: remove some dead code
14734
14735 2001-06-26  The LyX Project  <Asger>
14736
14737         * paragraph.C: Change export to LaTeX of alignment to
14738         \begin{center} and family for better roundtrip work with reLyX.
14739
14740         * Tune the math drawing a bit.
14741
14742 2001-06-25  The LyX Project  <Asger>
14743
14744         * LColor.C (LColor): New color for math background. New color
14745         for buttons.
14746
14747 2001-06-25  The LyX Project  <jug@sad.it>
14748
14749         * lyxfunc.C (MenuNew): remove extra check for .lyx file
14750
14751         * lyxfunc.C (Open):
14752         * bufferlist.C (newFile): do not restrict to files ending with
14753         .lyx
14754
14755         * BufferView_pimpl.C (MenuInsertLyXFile):
14756
14757 2001-06-24  The LyX Project  <jug@sad.it>
14758
14759         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14760         of compare_no_case
14761
14762 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14763
14764         * lyxtext.h: rename most methods to begin with a small char.
14765         Lots of changes because of this.
14766
14767         * paragraph.C (Paragraph): do not call fitToSize
14768         (erase): call Pimpl::erase
14769         (insertChar): call Pimpl::insertChar
14770         (insertInset): call Pipl::insertInset
14771         (breakParagraph): do not call fitToSize
14772         (breakParagraphConservative): do not call fitToSize
14773         (fitToSize): remove method
14774
14775         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14776
14777 2001-06-24  The LyX Project  <Asger>
14778
14779         * Fix Qt compilation^2
14780
14781 2001-06-24  The LyX Project  <jug@sad.it>
14782
14783         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14784         depthHook(getDepth()-1).
14785
14786         * paragraph.h:
14787         * ParagraphParameters.h:
14788         * ParameterStruct.h: change type of depth to unsigned int ==
14789         depth_type. Many adaptations to other files before of that.
14790
14791 2001-06-24  The LyX Project  <Asger>
14792
14793         * Fix Qt compilation.
14794
14795 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14796
14797         * paragraph.h: renamed several methods to begin with small letter.
14798         several changes to many parts of the code because of this.
14799
14800 2001-06-23  The LyX Project  <jug@sad.it>
14801
14802         * text2.C (InsertStringAsLines): renamed from InsertStringA;
14803         rewritten to discard all double spaces when KeepEmpty is off
14804         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14805         to only handle newlines but not fiddle with spaces and friends.
14806
14807         * lyxfunc.C (MenuNew): when doing 'new from template', use
14808         template_path as default directory
14809
14810 2001-06-23  The LyX Project  <Asger>
14811
14812         * Clean-up of header file includes all over
14813         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14814
14815 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14816
14817         * paragraph.h: renamed from lyxparagraph.h
14818
14819 2001-06-23  Asger  <lyx@violet.home.sad.it>
14820
14821         * Buffer.h: Removed Buffer::resize
14822         * BufferList.h: Removed BufferList::resize
14823         * LyXView.h: Added LyXView::resize. This way, we will only reflow
14824         the document lazily when we change the width, or the font settings.
14825
14826 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14827
14828         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14829
14830 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14831
14832         * buffer.h: remove out of date comment
14833
14834 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
14835
14836         * lyxscreen.h:
14837         * screen.C: fix "theoretical" GC leak
14838
14839 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14840
14841         * LaTeX.C (scanAuxFile):
14842         (deplog): remove trailing \r when reading stream (useful under
14843         win32)
14844
14845 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
14846
14847         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14848         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14849         and BufferView::theLockingInset(Inset*), so should use them and not
14850         access bv_->text->the_locking_inset directly.
14851
14852         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14853
14854 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14855
14856         * Makefile.am:
14857         * tex-defs.h: remove old unused file
14858
14859 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
14860
14861         * BufferView_pimpl.C: fix typo, remove minibuffer message
14862           when buffer has loaded
14863
14864 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14865
14866         * lyxfunc.C (Dispatch): use stringstream
14867         (MenuNew): use stringstream
14868         (Open): use stringstream
14869
14870         * importer.C (Import): use stringstream
14871
14872         * bufferview_funcs.C (CurrentState): use stringstream
14873
14874         * LaTeX.C (run): use stringstream
14875
14876         * BufferView_pimpl.C (savePosition): use stringstream
14877         (restorePosition): use stringstream
14878         (MenuInsertLyXFile): use stringstream
14879
14880 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
14881
14882         * BufferView.C:
14883         * Bullet.C:
14884         * ColorHandler.C:
14885         * FontInfo.C:
14886         * FontLoader.C:
14887         * LColor.C:
14888         * LaTeXFeatures.C:
14889         * Painter.C:
14890         * gettext.C:
14891         * lyx_gui_misc.C:
14892         * lyxserver.C:
14893         * vspace.C: removed // -*- C++ -*- as first line.
14894
14895         * lyxfind.h:
14896         * version.h: added // -*- C++ -*- as first line.
14897
14898 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14899
14900         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14901
14902         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14903         of string
14904
14905 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14906
14907         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14908         of floats.
14909
14910 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14911
14912         * gettext.C: include LString.h even when --disable-nls is on.
14913
14914 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
14915
14916         * converter.h (Get): changed argument type from int to
14917         FormatList::size_type to avoid unnecessary conversion.
14918
14919         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14920         before using it.
14921
14922 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14923
14924         * gettext.h: include LString.h even when --disable-nls is on.
14925
14926 2001-06-07  Juergen Vigna  <jug@sad.it>
14927
14928         * text.C (BreakAgain): subst spaces with tabs.
14929
14930         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14931         (resizeInsetsLyXText): set force on resizeLyXText.
14932
14933 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14934
14935         * gettext.h (gettext_init):
14936         (locale_init): use a real definition instead of a macro
14937
14938 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
14939
14940         * Bufferview_pimpl.C:
14941         * LColor.h:
14942         * LColor.C: further lcolor tidies
14943
14944 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14945
14946         * BufferView_pimpl.C (updateScrollbar): simplify.
14947
14948         * BufferView2.C: don't include insets/insetinfo.h, change
14949         prototype for insertInset and call the Pimpl version. let
14950         updateInset call Pimpl version.
14951
14952         * BufferView.h: move inset_slept to BufferView::Pimpl, move
14953         gotoInset to BufferView::Pimpl
14954
14955 2001-06-01  Juergen Vigna  <jug@sad.it>
14956
14957         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14958         inside a LockingInset (is the update needed at all?).
14959
14960 2001-05-31  Juergen Vigna  <jug@sad.it>
14961
14962         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14963         here not the old one otherwise how should we compare it afterwards
14964         if it's the same!
14965
14966 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14967
14968         * lyxfont.C:
14969         * tabular.C:
14970         * tabular-old.C:
14971         * FontInfo.C: bring C functions into global namespace when
14972         necessary
14973
14974 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14975
14976         * LString.h: make sure config.h has been loaded before LString.h.
14977
14978         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14979         (one for each char read by EatLine!).
14980
14981         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14982         variables.
14983
14984 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14985
14986         * paragraph.C (BreakParagraph): set the inset_owner in the new par
14987         to the same as the par we break from
14988
14989 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14990
14991         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14992
14993         * MenuBackend.C (expand): also create menu entries for wide
14994         versions of the floats.
14995
14996         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14997
14998         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14999
15000         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15001         frontends/Makefile.am
15002
15003         * text2.C: adjust
15004         * text.C: adjust
15005
15006
15007         * tabular.C (getTokenValue): add std::
15008
15009         * tabular-old.C (getTokenValue): add std::
15010         (getTokenValue): ditto
15011         (getTokenValue): ditto
15012
15013         * screen.C (ToggleSelection): adjust
15014
15015         * lyxtext.h: put selection cursors inside a Selection struct.
15016
15017         * lyxfunc.C (moveCursorUpdate): adjust
15018
15019         * lyxfont.C (latexWriteStartChanges): add std::
15020
15021         * lyxfind.C: adjust
15022
15023         * font.h: delete with(char const *, LyXFont const &)
15024
15025         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15026
15027         * FontInfo.C (getFontname): add std::
15028
15029         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15030         (workAreaButtonPress): adjust
15031         (tripleClick): adjust
15032         (update): adjust
15033         (moveCursorUpdate): adjust
15034         (Dispatch): adjust
15035
15036         * BufferView2.C (gotoInset): adjust
15037
15038 2001-05-30  Juergen Vigna  <jug@sad.it>
15039
15040         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15041         to check pspell I add this as default as I now have new pspell
15042         libraries and they seem to use this.
15043
15044 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15045
15046         * text2.C (CutSelection): make the cursor valid before the call to
15047         ClearSelection.
15048
15049 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15050
15051         * kbsequence.C (parse): de-uglify a bit the parsing code, which
15052         relied on 0 terminated strings and other horrors. Bug found due to
15053         the new assert in lyxstring!
15054
15055         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15056         KP_ keys.
15057
15058 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15059
15060         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15061         to latinkeys.bind.
15062
15063         * lyxfunc.C (processKeySym): change method of getting to the
15064         self-insert char.
15065
15066         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15067         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15068         * BufferView_pimpl.[Ch]: here as private methods.
15069
15070 2001-05-28  Juergen Vigna  <jug@sad.it>
15071
15072         * text.C (SetHeightOfRow): added the update() call again as it is
15073         needed to initialize inset dimensions!
15074
15075 2001-05-16  Juergen Vigna  <jug@sad.it>
15076
15077         * text2.C (SetCharFont): Add new function with BufferView * and
15078         bool toggleall parameters for setting insets internal fonts.
15079         (SetFont): Freeze the undo as we may change fonts in Insets and
15080         all this change should be inside only one Undo!
15081
15082         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15083         setting font's in insets as for them we have the SetFont function!
15084
15085 2001-05-15  Juergen Vigna  <jug@sad.it>
15086
15087         * text2.C (ClearSelection): to be sure we REALLY don't have any
15088         selection anymore!
15089
15090         * tabular.C (TeXCellPreamble): fixed the left border problem for
15091         multicolumn cells.
15092
15093 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
15094
15095         * LaTeX.C (deplog): Make sure that the main .tex file is in the
15096         dependancy file
15097
15098 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15099
15100         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15101         LFUN_BREAKPARAGRAPH.
15102
15103         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15104         help test to "internal only", similar for LFUN_INSERT_URL
15105
15106         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15107         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15108         auto_region_delete and deadkeys.
15109
15110 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
15111
15112         * LColor.h:
15113         * LColor.C: remove some dead entries, tidy a little
15114
15115 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15116
15117         * lyxfunc.C (processKeySym): comment the Escape handling, remove
15118         commented code.
15119         (Dispatch): implement LFUN_ESCAPE
15120
15121         * commandtags.h: add LFUN_ESCAPE
15122
15123         * LyXAction.C (init): add entry for LFUN_ESCAPE
15124
15125         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15126         Remove commented code.
15127         (insertNote): moved here
15128         (open_new_inset): moved here
15129
15130         * BufferView[2].[Ch]: move insertNote and open_new_inset to
15131         BufferView_pimpl
15132
15133 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15134
15135         * kbmap.C (findbinding): clean it up and make it work correctly.
15136
15137         * lyx_main.C (init): do not pass argc and argv as parameters
15138
15139 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
15140
15141         * buffer.C: fix path for OS/2 & Win32
15142
15143         * lyx_gui.C:
15144         * lyx_main:
15145         * lyx_main.C: Added os:: class.
15146
15147         * os2_defines.h: update
15148
15149 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15150
15151         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15152         better by trying again with reduced state.
15153
15154 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15155
15156         * lyxrc.C (read): print error about invalid key sequence only when
15157         debugging (because not all latinX keysyms are known to some X
15158         servers)
15159
15160         * kbsequence.C (getiso): add a few std:: qualifiers
15161         (getiso): comment out extra return statement.
15162
15163 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15164
15165         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15166         handling.
15167         (Dispatch): enhance the accent inset a bit. (not perfect)
15168
15169 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15170
15171         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15172
15173 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15174
15175         * bufferlist.C (emergencyWrite): fix assert() call
15176
15177 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
15178
15179         * text.C (InsertChar): Added trivial patch to only send the "you
15180         can not do multiple spaces this way" message once during a
15181         session.
15182
15183 2001-05-08  Baruch Even  <baruch@lyx.org>
15184
15185         * Makefile.am: Changed order of libraries to get LyX to link properly
15186         with the gnome frontend.
15187
15188 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15189
15190         * LaTeXFeatures.h: add a std:: qualifier
15191
15192 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15193
15194         * paragraph.C (String): use stringstream
15195
15196 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15197
15198         * paragraph.C (writeFile): remove footflag arg
15199
15200         * buffer.C (makeLaTeXFile): use stringstream
15201         (latexParagraphs): remove footnot gurba
15202
15203         * LaTeXFeatures.C (getPackages): use stringstream
15204         (getMacros): likewise
15205         (getTClassPreamble): likewise
15206         (getFloatDefinitions): new method
15207
15208         * paragraph.C (writeFile): reindent
15209         (Erase): reindent
15210
15211         * WorkArea.h: revert the xpos + etc changes.
15212
15213         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15214
15215         * lyxparagraph.[Ch]: add copy constructor, remove Clone
15216
15217         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15218         (pasteSelection): likewise
15219         * text2.C (CreateUndo): likewise
15220
15221 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15222
15223         * minibuffer.C (peek_event): temporarily reduce the functionality
15224         of the minibuffer (to allow args on lfuns)
15225
15226         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15227         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15228
15229         * buffer.C (readInset): add compability reading of old float
15230         lists, add reading of new style float list.
15231         (readInset): avoid reevaluation of inscmd.getCmdName()
15232         (getLists): reindent
15233
15234         * MenuBackend.C (MenuItem): implement parsing of
15235         md_floatlistinsert and md_floatinsert.
15236         (expand::LastFiles): move initalizaton of iterators out of loop,
15237         avoid reevaluation.
15238         (expand::Documents): introduce typdedef vector<string> Strings,
15239         and use it.
15240         (expand::ExportFormats): introduce typedef vector<Format const *>
15241         Formats, and use it.
15242         (expand): implement FloatListInsert and FloatInsert.
15243
15244         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15245         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15246         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15247
15248         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15249         handling.
15250         (Dispatch::LFUN_FLOAT_LIST): implement
15251
15252 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15253
15254         * LaTeX.C (run): Fix problem with --export code.
15255
15256 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15257
15258         * BufferView.[Ch] (workarea): removed.
15259         (getClipboard) new method; wrapper for workarea()->getClipboard()
15260
15261         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15262         bug.
15263
15264         * WorkArea.h (width, height, xpos, ypos): These methods all
15265         returned the dimensions of the work_area sub-area of WorkArea,
15266         resulting in a position error if the WorkArea were resized. Now
15267         return the dimensions of the entire WorkArea.
15268
15269         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15270
15271 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15272
15273         * LaTeX.C (deplog): correct the syntax of regex reg1
15274
15275 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15276
15277         * undo.C: remove !NEW_INSETS cruft
15278
15279 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15280
15281         * text2.C: remove !NEW_INSETS cruft
15282
15283         * text.C: remove !NEW_INSETS cruft
15284
15285         * tabular.C: remove !NEW_INSETS cruft
15286
15287         * spellchecker.C: remove !NEW_INSETS cruft
15288
15289         * lyxtext.h: remove !NEW_INSETS cruft
15290
15291         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15292
15293         * lyxfunc.C: remove !NEW_INSETS cruft
15294
15295         * lyxfind.C: remove !NEW_INSETS cruft
15296
15297         * lyx_cb.C: remove !NEW_INSETS cruft
15298
15299         * figureForm.C: remove  !NEW_INSETS cruft
15300
15301         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15302
15303         * buffer.[Ch]: remove !NEW_INSETS cruft
15304
15305         * ToolbarDefaults.C: remove !NEW_INSETS cruft
15306
15307         * CutAndPaste.C: remove !NEW_INSETS cruft
15308
15309         * BufferView_pimpl.C: remove !NEW_INSETS cruft
15310
15311         * BufferView2.C: remove !NEW_INSETS cruft
15312
15313         * BufferView.h: remove !NEW_INSETS cruft
15314
15315 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15316
15317         * Lsstream.h: include LString.h before the sstream headers to
15318         fix problem with gcc 2.95.3 and lyxstring
15319
15320 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15321
15322         * lyx_main.C: add using directives when needed for C functions
15323         declared in std:: namespace.
15324
15325 2001-04-27  Juergen Vigna  <jug@sad.it>
15326
15327         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15328         (SetHeightOfRow): comment out the update call should not be needed!
15329
15330 2001-04-13  Juergen Vigna  <jug@sad.it>
15331
15332         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15333         (LyXTabular): tried to minimize operator= operations (and realized
15334         hopfully Lars wish).
15335
15336 2001-04-27  Juergen Vigna  <jug@sad.it>
15337
15338         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15339
15340 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15341
15342         * lyxfunc.C (Dispatch): hack to make listof algorithm work
15343
15344         * buffer.C (readInset): hack to make listof algorithm work
15345
15346         * BufferView_pimpl.C: hack to make listof algorithm work
15347
15348 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15349
15350         * LyXAction.C: removed all !NEW_INSETS cruft
15351         (init): moved lfun_item in method
15352
15353         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15354
15355 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
15356
15357         * BufferView2.C (theLockingInset): white space.
15358
15359 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15360
15361         * minibuffer.C: include <iostream>
15362
15363         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15364
15365         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15366
15367         * commandtags.h: add LFUN_TRANSPOSE_CHARS
15368
15369         * text.[Ch] (TransposeChars): new method
15370
15371 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15372
15373         * call message directly through LyXView instead of through LyXFunc
15374         * BufferView2.C: adjust
15375         * BufferView_pimpl.C: adjust
15376         * FontLoader.C: adjust
15377         * buffer.C: adjust
15378         * bufferview_funcs.C: adjust
15379         * converter.C: adjust
15380         * figureForm.C: adjust
15381         * importer.C: adjust
15382         * lyx_cb.C: adjust
15383         * lyx_gui_misc.C: adjust
15384         * lyxfunc.C: adjust
15385         * lyxvc.C: adjust
15386         * text2.C: adjust
15387         + more files in subdirs
15388
15389         * lyxparagraph.h (size): move up int file
15390         (GetLayout): ditto
15391
15392         * adjust all uses of Assert to lyx::Assert.
15393
15394         * BufferView2.C (ChangeCitationsIfUnique): adjust for
15395         lyxfunctional in namespace lyx
15396         * layout.C (hasLayout): ditto
15397         (GetLayout): ditto
15398         (GetLayout): ditto
15399         (delete_layout): ditto
15400         (NumberOfClass): ditto
15401         * converter.C (GetFormat): ditto
15402         (GetNumber): ditto
15403         (Add): ditto
15404         (Delete): ditto
15405         (SetViewer): ditto
15406         * bufferlist.C (getFileNames): ditto
15407         (emergencyWriteAll): ditto
15408         (exists): ditto
15409         (getBuffer): ditto
15410         * MenuBackend.C (hasSubmenu): ditto
15411         (hasMenu): ditto
15412         (getMenu): ditto
15413         * BufferView_pimpl.C (getInsetByCode): ditto
15414
15415 2001-04-18  Juergen Vigna  <jug@sad.it>
15416
15417         * vspace.C (asLatexString): fixed the 100% problem.
15418
15419 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15420
15421         * lyxfunc.C (Dispatch):
15422         * minibuffer.C:
15423         * minibuffer.h: add a few std:: qualifiers
15424
15425 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15426
15427         * minibuffer.[Ch]: reimplement so that commands is initiated and
15428         run from lyxfunc, simplified som handling, and made the completion
15429         and history code for complete. wip.
15430
15431         * lyxfunc.C (processKeySym): call message
15432         (miniDispatch): new temporary method
15433         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15434         (LFUN_MESSAGE): implement
15435         (LFUN_MESSAGE_PUSH): implement
15436         (LFUN_MESSAGE_POP): implement
15437         (initMiniBuffer): the initial/defualt minibuffer message.
15438
15439         * lyxfont.[Ch]: inline some more getters
15440
15441         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15442
15443         * lyx_gui_misc.[Ch] (WriteStatus): remove method
15444
15445         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15446         (AutoSave): use LFUN_MESSAGE
15447         (Reconfigure): ditto
15448
15449         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15450
15451         * figureForm.C: use LFUN_MESSAGE
15452
15453         * converter.C (runLaTeX): use LFUN_MESSAGE
15454
15455         * bufferview_funcs.C: use LFUN_MESSAGE
15456         (Melt): ditto
15457         (changeDepth): ditto
15458
15459         * bufferparams.h: use boost::
15460
15461         * bufferlist.h: inherit privately from noncopyable
15462
15463         * bufferlist.C (loadLyXFile): remove some commented code.
15464
15465         * buffer.C (runChktex): use LFUN_MESSAGE
15466
15467         * ShareContainer.h: inherit privately from noncopyable
15468
15469         * ParagraphParameters.[hC] (depth): inline it.
15470
15471         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15472         methods.
15473         (message): new method
15474         (messagePush): ditto
15475         (messagePop): ditto
15476         (show): init minibuffer
15477         (showState): direct call
15478
15479         * LaTeX.[Ch]: inherit privately from noncopyable
15480         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15481         instead of WriteStatus.
15482
15483         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15484
15485         * BufferView_pimpl.C (buffer): don't init minibuffer
15486         (workAreaButtonPress): use LFUN_MESSAGE
15487         (workAreaButtonRelease): ditto
15488         (savePosition): ditto
15489         (restorePosition): ditto
15490         (MenuInsertLyXFile): ditto
15491         (workAreaExpose): don't init minibuffer
15492         (update): remove commented code, simplify
15493
15494         * BufferView2.C (openStuff): use LFUN_MESSAGE
15495         (toggleFloat): ditto
15496         (menuUndo): ditto
15497         (menuRedo): ditto
15498         (copyEnvironment): ditto
15499         (pasteEnvironment): ditto
15500         (copy): ditto
15501         (cut): ditto
15502         (paste): ditto
15503         (gotoInset): ditto
15504         (updateInset): remove some commented code
15505
15506         * lastfiles.h: inherit privately from noncopyable
15507         * layout.h: ditto
15508         * lyx_gui.h: ditto
15509         * lyx_main.h: ditto
15510         * lyxlex.h: ditto
15511         * lyxlex_pimpl.h: ditto
15512
15513         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15514         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15515         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15516
15517         * LyXAction.h: inherit privately from noncopyable, add methods
15518         func_begin, func_end, returning iterators to the func map.
15519
15520         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15521         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15522         (func_begin): new method
15523         (func_end): new method
15524
15525         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15526         and not)
15527         (copySelection): ditto
15528         (pasteSelection): ditto
15529
15530         * BufferView.C: whitespace change
15531         * BufferView.h: inherit privately from noncopyable
15532
15533 2001-04-16  Allan Rae  <rae@lyx.org>
15534
15535         * tabular-old.C (l_getline):
15536         * spellchecker.C (sc_check_word):
15537         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15538         an unrecognised preprocessor directive.  So ensure they're wrapped.
15539
15540 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
15541
15542         * src/exporter.C (Export): Give an error message when path to file
15543         contains spaces.
15544
15545 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
15546
15547         * LaTeX.C (deplog): Always check that foundfile exists.
15548
15549 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15550
15551         * lyx_main.h:
15552         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15553
15554 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15555
15556         * tabular.[Ch] (getLabelList): implement new method
15557
15558         * minibuffer.h: comment ouf setTiimer
15559
15560         * minibuffer.C (ExecutingCB): constify res
15561         (peek_event): constify s
15562         (Set): constify ntext
15563         (Init): constify nicename
15564
15565         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15566
15567         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15568         (savePosition): use two params to Minibuffer::Set
15569         (restorePosition): ditto
15570
15571 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15572
15573         * lyx_main.C: include language.h
15574
15575         * Makefile.am (lyx_main.o): add language.h
15576
15577 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15578
15579         * exporter.C:
15580         * paragraph.C:
15581         * screen.C:
15582         * tabular.C:
15583         * CutAndPaste.C: include gettext.h
15584
15585         * lyxfont.h: remove old hack with ON and OFF.
15586
15587         * lyxparagraph.h:
15588         * lyxfont.h: do not include language.h...
15589
15590         * BufferView2.C:
15591         * LaTeXFeatures.C:
15592         * Painter.C:
15593         * bufferview_funcs.C:
15594         * font.C:
15595         * lyxfont.C:
15596         * text.C:
15597         * text2.C:
15598         * trans_mgr.C:
15599         * paragraph.C: ... but do it here instead
15600
15601 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15602
15603         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15604
15605         * tabular.C: small reformat
15606
15607         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15608         NEW_INSETS version
15609         (GetChar): ditto
15610         (BreakParagraph): ditto
15611         (SetOnlyLayout): ditto
15612         (SetLayout): ditto
15613
15614         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15615         with one arg less.
15616
15617         * lastfiles.C: removed most using decl, add std:: where needed
15618
15619         * buffer.C: ws changes
15620
15621         * MenuBackend.C (class compare_format): put into anon namespace
15622         (expand): constify label, names, action, action2
15623         (expand):
15624
15625         * text.C (SingleWidth): constify font
15626         (IsBoundary): constify rtl2
15627         (GetVisibleRow): constify ww
15628
15629         * LaTeX.C (deplog): constify logfile
15630
15631         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15632         start_x, end_x
15633         (workAreaExpose): constify widthChange, heightChange
15634
15635         * lyxrow.C (par): moved
15636         (height): moved
15637         (next): moved
15638         * lyxrow.h: as inlines here
15639
15640         * lyxfont.h (shape): moved from lyxfont.C
15641         (emph): moved from lyxfont.C
15642
15643         * lyxfont.C (LyXFont): use initialization list for all
15644         constructors
15645         (shape): move to lyxfont.h as inline
15646         (emph): move to lyxfont.h as inline
15647
15648
15649 2001-04-04  Juergen Vigna  <jug@sad.it>
15650
15651         * vspace.C: had to include stdio.h for use of sscanf
15652
15653 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
15654
15655         * BufferView.h:
15656         * BufferView_pimpl.h: remove xforms cruft. Both classes are
15657         independent of xforms.
15658
15659 2001-04-02  Juergen Vigna  <jug@sad.it>
15660
15661         * spellchecker.C: fixed namespace placing!
15662
15663 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
15664
15665         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15666         the LyXParagraph * is 0.
15667
15668 2001-03-29  Juergen Vigna  <jug@sad.it>
15669
15670         * vspace.C: added support for %, c%, p%, l%.
15671         (stringFromUnit): added helper function.
15672         (asLatexString): changed to give right results for the %-values.
15673
15674         * buffer.C: convert the widthp in a width%.
15675
15676 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
15677
15678         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15679         figureForm.[Ch].
15680
15681         * figureForm.[Ch]: stripped the FD_from_figure manipulation
15682         code out of lux_cb.[Ch], ready for its (imminent?) removal.
15683
15684         * lyx_cb.[Ch]: see above.
15685
15686         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15687         form1.[Ch].
15688
15689         * form1.[Ch]:
15690         * lyx.[Ch]: replaced by figure_form.[Ch].
15691
15692         * lyx_gui.C:
15693         * lyx_gui_misc.C:
15694         * lyxfunc.C: changed headers associated with above changes.
15695
15696 2001-03-27  Juergen Vigna  <jug@sad.it>
15697
15698         * BufferView_pimpl.C: set the temporary cursor right!
15699
15700 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
15701
15702         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15703
15704 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
15705
15706         * LString.h: removed "using std::getline"!
15707
15708         * BufferView_pimpl.C (Dispatch): changes due to changes in
15709         InsetInclude::Params.
15710
15711         * buffer.C (tag_name): removed redundant break statements as they were
15712         producing lots of warnings with my compiler.
15713
15714 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15715
15716         * LString.h: add "using std::getline" when using the real <string>.
15717
15718 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
15719
15720         * buffer.C: removed bitset usage.
15721         PAR_TAG moved to an anonymous name space.
15722         (tag_name): new funtion, also in the anonymous namespace.
15723         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15724         (makeDocBookFile): clean code. Completed transition from string arrays
15725         to string vectors.
15726         (SimpleDocBookOnePar): code clean.
15727
15728 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15729
15730         * tabular.C: add some comments.
15731
15732 2001-03-22  Juergen Vigna  <jug@sad.it>
15733
15734         * buffer.C (parseSingleLyXformat2Token): redone the minipage
15735         compatibility read a bit and fixed bug with minipage in different
15736         depth.
15737
15738 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
15739
15740         * buffer.C (pop_tag): removed.
15741         (push_tag): removed.
15742         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15743         array replaced with vector. Added support for CDATA sections.
15744         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15745         at any nest level.
15746         (makeDocBookFile): XML conformant declaration of CDATA section,
15747         fixed bug related to <emphasis> in the first paragraph char.
15748         (sgmlOpenTag): exclude empty tags.
15749         (sgmlCloseTag): ditto.
15750
15751         * buffer.h (pop_tag): removed.
15752         (push_tag): removed.
15753
15754 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
15755
15756         * language.h (Languages): added size_type and size().
15757
15758 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15759
15760         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15761         response on compability reading of minipages. One probliem is that
15762         the old usage of minipages was «flertydig»
15763
15764         * several files here and in subdirs: don't use static at file
15765         scope use anon namespaces instead.
15766
15767 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
15768
15769         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15770         LaTeX output. This is necessary for Literate document
15771         processing.
15772
15773 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15774
15775         * buffer.C: insert hfill when needed.
15776
15777         * tabular.C (l_getline): use string::erase, small whitespace change.
15778
15779         * BufferView_pimpl.C: try the anon namespace.
15780         * WorkArea.C: ditto
15781
15782 2001-03-16  Juergen Vigna  <jug@sad.it>
15783
15784         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15785         otherwise it won't open options-dialogs.
15786
15787         * buffer.C: honor pextraWidth(p) on converting minipages.
15788
15789         * tabular.C (l_getline): changed the functions to strip trailing \r.
15790
15791 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
15792
15793         * BufferView_pimpl.C:
15794         * minibuffer..C: added "using SigC::slot" declaration.
15795
15796 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15797
15798         * lyxlex_pimpl.h: noncopyable is in namespace boost.
15799
15800         * text2.C: ditto
15801
15802         * text.C: ditto
15803
15804         * paragraph.C: ditto
15805
15806         * lyxtext.h: NO_PEXTRA
15807
15808         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15809
15810         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15811         * ParameterStruct.h: ditto
15812         * ParagraphParameters.h: ditto
15813         * lyxparagraph.h: ditto
15814
15815 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15816
15817         * buffer.C: add compability for minipage alignment.
15818         (latexParagraphs): remove unwanted pextra check.
15819
15820         * several files: remove CXX_WORKING_NAMESPACES
15821
15822         * buffer.C (pop_tag): tie is in namespace boost
15823
15824         * BufferView.h: noncopyable is in namespace boost
15825         * lyxlex.h: ditto
15826         * lyx_main.h: ditto
15827         * lyx_gui.h: ditto
15828         * layout.h: ditto
15829         * lastfiles.h: ditto
15830         * bufferlist.h: ditto
15831         * ShareContainer.h: ditto
15832         * LyXView.h: ditto
15833         * LyXAction.h: ditto
15834         * LaTeX.h: ditto
15835
15836 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15837
15838         * Merging changes from BRANCH_MVC back into HEAD.
15839
15840         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15841
15842 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
15843
15844         * BufferView_pimpl.C: change from intl.C
15845
15846         * combox.h:
15847         * combox.C:
15848         * Makefile.am: move combox.*
15849
15850         * form1.h:
15851         * form1.C:
15852         * lyx_gui.C:
15853         * intl.h:
15854         * intl.C: remove dialog (covered by prefs)
15855
15856 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
15857
15858         * lyxfunc.C (Dispatch): removed redundant break statement.
15859
15860 2001-03-14  Juergen Vigna  <jug@sad.it>
15861
15862         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15863
15864 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15865
15866         * buffer.C: add hack to fix compability reading of minipages.
15867
15868 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
15869
15870         * buffer.C (getLists): Cleanup.
15871
15872 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15873
15874         * lyxfont.C (update): don't honor toggleall on font size.
15875
15876 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
15877
15878         * bmtable.c:
15879         * bmtable.h:
15880         * Makefile.am: moved to frontends/xforms/
15881
15882         * lyx_gui_misc.C:
15883         * lyxfunc.C:
15884         * BufferView_pimpl.C: changes for moved mathpanel
15885
15886 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15887
15888         * gettext.h: fix gettext_init() in --disable-nls
15889
15890 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15891
15892         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15893
15894 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
15895
15896         * lyx.C:
15897         * lyx.h: strip external form
15898
15899 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15900
15901         * BufferView_pimpl.C: add comment, destroySplash()
15902
15903 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
15904
15905         * BufferView_pimpl.C:
15906         * LyXAction.C:
15907         * buffer.C:
15908         * commandtags.h:
15909         * lyxfunc.C: use re-worked insetinclude
15910
15911 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15912
15913         * buffer.C: add using std::stringstream.
15914
15915         * lyx_cb.C: readd using std::ios.
15916
15917         * buffer.C: add using std::map.
15918
15919         * BufferView_pimpl.C: add using std::vector.
15920
15921         * ShareContainer.h: add std:: to swap.
15922
15923         * buffer.h: add some typedefs
15924         * buffer.C (getLists): use them
15925         (getLists): renamed from getTocList.
15926         add a counter for the different float types and use it in the
15927         generated string.
15928         (getLists): use the same counter for the NEW_INSETS and the "non"
15929         NEW_INSETS
15930
15931         * lyx_cb.h: remove unused items, includes, using etc.
15932
15933         * ShareContainer.h: remove some commented code, add more comments
15934         and "documentation".
15935
15936 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15937
15938         * buffer.C (getTocList): make the list also when NEW_INSETS is
15939         defined.
15940
15941         * buffer.h: remove TocType
15942
15943         * buffer.C (getTocList): change to return a map<string,
15944         vector<TocItem> >, implement for dynamic number of list.
15945
15946         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15947         * text2.C (PasteSelection): adjust
15948         * CutAndPaste.C (pasteSelection): adjust
15949
15950         * FloatList.C (FloatList): update from the new_insets branch.
15951         * Floating.[Ch]: ditto
15952         * LaTeXFeatures.C: ditto
15953         * buffer.C: ditto
15954         * lyxlex_pimpl.C: ditto
15955
15956         * paragraph.C (Last): remove when NEW_INSETS is defined.
15957
15958         * other file: changes because of the above.
15959
15960 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15961
15962         * lyxparagraph.h: rename next to next_, previous to previous_,
15963         make them private for NEW_INSETS. Rename Next() to next(),
15964         Previous() to previous().
15965
15966         * other files: changes because of the above.
15967
15968 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
15969
15970         * BufferView.h:
15971         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15972         problem.
15973
15974 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15975
15976         * main.C (main): pass lyx_localedir to gettext_init().
15977
15978         * gettext.h: remove locale_init and gettext_init macros
15979
15980         * gettext.C (locale_init): new function
15981         (gettext_init): new function
15982
15983         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15984         setlocale().
15985
15986 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
15987
15988         * Moved credits to frontends:
15989         * credits.[Ch]: removed
15990         * credits_form.[Ch]: removed
15991         * lyx_gui_misc.C: remove credits stuff
15992         * Makefile.am:
15993
15994 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
15995
15996         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15997
15998         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15999         unneeded destructor.
16000
16001         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16002         a standalone pointer again.
16003
16004         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16005
16006 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
16007
16008         * Makefile.am:
16009         * filedlg.h:
16010         * filedlg.C:
16011         * LyXAction.C:
16012         * ToolbarDefaults.C:
16013         * bufferlist.C:
16014         * commandtags.h:
16015         * form1.C:
16016         * form1.h:
16017         * lyx_cb.C:
16018         * lyx_cb.h:
16019         * lyxfunc.h:
16020         * lyxfunc.C:
16021         * BufferView_pimpl.C: use new file dialog in GUII
16022
16023         * lyx_cb.h:
16024         * lyx_cb.C: remove LayoutsCB to Toolbar
16025
16026 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16027
16028         * ShareContainer.h (get): add std:: qualifier
16029
16030 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16031
16032         * ShareContainer.h: define a proper ShareContainer::value_type
16033         type (and use typename to please compaq cxx)
16034
16035 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16036
16037         * lyxparagraph.h: move serveral local vars to
16038         ParameterStruct/ParagraphParameters., use ShareContainer in
16039         FontTable., make vars in FontTable private and add getter and
16040         setter.
16041
16042         * paragraph.C: changes because of the above.
16043
16044         * lyxfont.h: remove copy constructor and copy assignment. (the
16045         default ones is ok), move number inside FontBits. move inlines to
16046         lyxfont.C
16047
16048         * lyxfont.C: add number to initializaton of statics, move several
16049         inlines here. constify several local vars. some whitespace
16050         cleanup. Dont hide outerscope variables.
16051
16052         * Spacing.h: add two new constructors to match the set methods.
16053
16054         * ShareContainer.h: new file, will perhaps be moved to support
16055
16056         * ParameterStruct.h: new file
16057
16058         * ParagraphParameters.h: new file
16059
16060         * ParagraphParameters.C: new file
16061
16062         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16063         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16064
16065         * BufferView_pimpl.C: ParagraphParameter changes.
16066         * buffer.C: Likewise.
16067         * bufferview_funcs.C: Likewise.
16068         * text.C: Likewise.
16069         * text2.C: Likewise.
16070
16071 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16072
16073         * lyxfind.C (LyXReplace): do not redefine default argument in
16074         implementation.
16075         (IsStringInText): ditto
16076         (SearchForward): ditto
16077         (SearchBackward): ditto
16078
16079 2001-03-06  Juergen Vigna  <jug@sad.it>
16080
16081         * lyxfind.C (IsStringInText): put parentes around expressions.
16082
16083 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
16084
16085         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16086
16087 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
16088
16089         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16090
16091         * stl_string_fwd.h: add comment
16092
16093         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16094
16095         * tabular.h:
16096         * tabular.C: remove unused DocBook methods
16097
16098         * intl.C:
16099         * language.C:
16100         * paragraph.C:
16101         * buffer.C:
16102         killed DO_USE_DEFAULT_LANGUAGE
16103
16104 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16105
16106         * lyx_gui.C: do not include language.h.
16107
16108         * bufferview_funcs.C (ToggleAndShow): do not provide optional
16109         arguments in function implementation.
16110
16111 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16112
16113         * BufferView_pimpl.C: add <ctime>
16114
16115 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16116
16117         * BufferView_pimpl.C: add using std::find_if
16118
16119 2001-02-27  José Matos  <jamatos@fep.up.pt>
16120
16121         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16122         by OnlyPath.
16123
16124 2001-02-11  José Matos  <jamatos@fep.up.pt>
16125
16126         * buffer.C (makeDocBookFile): command styles now have a parameter as
16127         "title" by default.
16128
16129 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
16130
16131         * layout_forms.[Ch]: removed
16132         * lyx_cb.[Ch]: out character
16133         * lyx_gui.C: out character
16134         * lyx_gui_misc.C: out character
16135         * bufferview_funcs.C: : out character,
16136         added toggleall as parameter in ToggleAndShow
16137
16138 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
16139
16140         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16141
16142         * text2.C (SetCurrentFont): Disable number property at boundary.
16143
16144 2001-02-26  Juergen Vigna  <jug@sad.it>
16145
16146         * lyxfunc.C (getStatus): added a string argument override function so
16147         that this is correctly called from LyXFunc::Dispatch if it contains a
16148         do_not_use_argument which is used!
16149         (Dispatch): added check for "custom" export and call appropriate func.
16150
16151 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
16152
16153         * lyxrc.C: Add language_command_local, language_use_babel and
16154         language_global_options.
16155
16156         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16157
16158         * buffer.C (makeLaTeXFile): Use language_use_babel and
16159         language_global_options.
16160
16161 2001-02-23  Juergen Vigna  <jug@sad.it>
16162
16163         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16164         which works with LyXText and putted it inside BufferView. Here now we
16165         only call for that part the BufferView::Dispatch() function.
16166
16167         * BufferView.C (Dispatch): added.
16168
16169         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16170         functions which needs to use a LyXText over from LyXFunc.
16171         (MenuInsertLyXFile): added
16172         (getInsetByCode): added
16173         (moveCursorUpdate): added
16174         (static TEXT): added
16175
16176 2001-02-22  Juergen Vigna  <jug@sad.it>
16177
16178         * BufferView_pimpl.C (update): call a status update to see if LyXText
16179         needs it.
16180
16181 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
16182
16183         * vc-backend.C (revert): implement for CVS
16184         (getLog): implement for CVS
16185
16186 2001-02-20  Juergen Vigna  <jug@sad.it>
16187
16188         * text2.C (ClearSelection): added BufferView param for inset_owner call
16189
16190         * lyxfunc.C (TEXT): added this function and use it instead of
16191         directly owner->view()-text of getLyXText().
16192
16193 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
16194
16195         * src/layout_forms.C: out preamble
16196         * src/layout_forms.h: out preamble
16197         * src/lyx_cb.C: out preamble
16198         * src/lyx_cb.h: out preamble
16199         * src/lyx_gui.C: out preamble
16200         * src/lyx_gui_misc.C: out preamble
16201         * src/lyxfunc.C: connect with guii preamble
16202
16203 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
16204
16205         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16206
16207 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
16208
16209         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16210         whether to run bibtex.
16211
16212 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
16213
16214         * Makefile.am (lyx_SOURCES): Remove BackStack.h
16215
16216 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
16217
16218         * Makefile.am (lyx_SOURCES): removed bibforms.h
16219
16220         * vspace.h: doxygen
16221
16222         * text.C (GetVisibleRow): make several local vars const
16223
16224         * tabular.C: small cleanup.
16225
16226         * lyxserver.C (callback): use compare instead of strncmp
16227
16228         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16229         inlines to after class or to paragraph.C
16230
16231         * lyxfont.h: remove friend operator!=
16232
16233         * converter.h: move friend bool operator< to non friend and after
16234         class def.
16235
16236         * combox.h: small cleanup
16237
16238         * buffer.h: doxygen, remove unused constructor, move inclas inlies
16239         to inlines after class def.
16240
16241         * buffer.C (pop_tag): use string operations instead of strcmp
16242
16243         * bmtable.c: doxygen, small cleanup
16244
16245         * LaTeX.h: remove friend operator==
16246
16247 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
16248
16249         * screen.C:
16250         * lyxrc.[Ch]:
16251         * lyxfunc.C:
16252         * lyxfont.[Ch]:
16253         * lyx_cb.C:
16254         * intl.[Ch]:
16255         * commandtags.h:
16256         * buffer.C:
16257         * WorkArea.[Ch]:
16258         * LyXAction.C:
16259         * BufferView_pimpl.C:
16260         * BufferView.[Ch]: remove cruft
16261
16262 2001-02-14  Juergen Vigna  <jug@sad.it>
16263
16264         * lyxfunc.C: removed #if 0 unused code
16265
16266         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16267
16268         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16269
16270         * text2.C (SetSelection): added a BufferView * parameter
16271
16272 2001-02-13  Juergen Vigna  <jug@sad.it>
16273
16274         * lyxfunc.C (Dispatch): fixed protected blank problem.
16275         * BufferView2.C (protectedBlank): added LyxText * parameter.
16276
16277         * tabular.C (AppendRow): forgot to set row_info of newly added row.
16278         (AppendColumn): same as above for column_info.
16279
16280         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16281         (moveCursorUpdate): use a LyXText param for support of InsetText.
16282
16283         * BufferView_pimpl.C (doubleClick): added support for InsetText.
16284         (tripleClick): ditto
16285
16286         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16287
16288         * BufferView_pimpl.C (update): added LyXText param to honor insets.
16289
16290         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16291
16292         * text2.C (SetSelection): set correct update status if inset_owner
16293         (ToggleFree): ditto
16294
16295 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
16296
16297         * tabular.C: remove some commented code.
16298
16299 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
16300
16301         * BufferView_pimpl.C: call hideSplash()
16302
16303         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16304
16305         * include_form.h:
16306         * bibforms.h: remove
16307
16308         * lyxfunc.C:
16309         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16310           add LFUN_CHILD_CREATE
16311
16312         * counters.h: fix tiny typo
16313
16314         * lyx_cb.C:
16315         * lyx.h:
16316         * lyx_gui.C:
16317         * lyx.C: move splash to frontends/xforms/
16318
16319         * lyx_gui_misc.C: move Include and Bibform to frontends
16320
16321         * lyxvc.h: clarify comment
16322
16323         * vspace.C: tiny housekeeping
16324
16325 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
16326
16327         * text.C (PrepareToPrint): RTL Fix.
16328
16329         * paragraph.C (GetUChar): New method.
16330         (String):  Use GetUChar.
16331
16332         * buffer.C (asciiParagraph): Use GetUChar.
16333
16334 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
16335
16336         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16337
16338 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
16339
16340         * buffer.h:
16341         * buffer.C: rename to getLogName(), handle
16342           build log / latex log nicely
16343
16344 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16345
16346         * MenuBackend.C:
16347         * MenuBackend.h: remove support for reference menuitem type.
16348
16349 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
16350
16351         * BufferView_pimpl.C: housekeeping
16352         * BufferView_pimpl.h:
16353         * LyXView.h:
16354         * Makefile.am:
16355         * Timeout.C:
16356         * Timeout.h:
16357         * minibuffer.h: move Timeout GUI-I
16358
16359 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
16360
16361         * lyxrc.C (read): Update converters data-structures.
16362
16363 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
16364
16365         * LaTeX.h (operator!=): add operator != for Aux_Info
16366
16367 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
16368
16369         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16370
16371         * LaTeXLog.C: deleted, useful code moved to Buffer
16372
16373         * buffer.h:
16374         * buffer.C: new function getLatexLogName()
16375
16376         * lyx_gui_misc.C:
16377         * lyx_gui.C:
16378         * lyxvc.C:
16379         * lyxvc.h:
16380         * lyxfunc.C: use frontends for LaTeX and VC logs
16381
16382 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16383
16384         * LaTeX.h: yet another std:: that Allan forgot.
16385
16386         * Variables.C (set): renamed from isset(), because this clashes
16387         with some HP-UX macros (grr).
16388
16389 2001-02-06  Allan Rae  <rae@lyx.org>
16390
16391         * LaTeX.h: Another bug fix.  Missing std:: this time.
16392
16393 2001-02-04  Allan Rae  <rae@lyx.org>
16394
16395         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16396         floats problem. I've left it commented out because it's not quite
16397         correct.  It should also test that the current object is a table or
16398         figure inset.  But I haven't gotten around to figuring out how to do
16399         that.  I *think* it'll be something like: "table" == inset.type()
16400
16401         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16402         bool.
16403
16404 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
16405
16406         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16407         all the citation/databases/styles in the auxilary file.
16408         (run): Rerun latex if there was a babel language error.
16409
16410 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
16411
16412         * text.C (Backspace): Preserve the font when changing newline char
16413         with a space.
16414         (BreakParagraph): If the cursor is before a space, delete the space.
16415
16416         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16417
16418 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
16419
16420         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16421         new argument (code).
16422         (ChangeCitationsIfUnique): New method.
16423
16424         * paragraph.C (GetPositionOfInset): Handle bibkey.
16425
16426 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16427
16428         * BufferView_pimpl.h: change type of Position::par_pos to
16429         LyXParagraph::size_type.
16430
16431 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
16432
16433         * BufferView_pimpl.C (savePosition, restorePosition): Write
16434         messages to minibuffer.
16435
16436 2001-01-28  José Matos  <jamatos@fep.up.pt>
16437
16438         * buffer.C (makeDocBookFile): adds support for document language.
16439         A silly restriction on the name of LatexCommand types where removed.
16440         Added support for CDATA sections, allows to chars unescaped, used
16441         among others in code, to avoid escape < and >.
16442
16443 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16444
16445         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16446         saved positions instrad of a stack. Furthermore, a position is
16447         stored using paragraph id/paragraph position.
16448
16449         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16450         Remove LFUN_REF_BACK.
16451
16452 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
16453
16454         * converter.C (dvipdfm_options): New method.
16455
16456 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
16457
16458         * vspace.C (isValidLength): Fix for empty input string.
16459
16460 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16461
16462         * LyXAction.C (init): change description of LFUN_FIGURE to
16463         "Insert Graphics"
16464
16465 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16466
16467         * LaTeX.C: add using directive
16468
16469 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16470
16471         * MenuBackend.C (expand): Fix the sorting of the formats.
16472
16473 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
16474
16475         * lyx_main.C: tiny error message fix
16476
16477 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16478
16479         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16480         calling fl_initialize(). This fixes the problem with ',' as
16481         decimal separator in text files.
16482
16483 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
16484
16485         * trans.C (process): Fix the keymap bug.
16486
16487 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
16488
16489         * LaTeX.C (scanAuxFiles): New method. Provides support for
16490         multiple bibliographies (when using the bibtopic/bibunits pacakges).
16491         (scanLogFile) Scan for "run BibTeX" messages.
16492
16493         * buffer.C (makeLaTeXFile): Do not load the ae package when using
16494         OT1 font encoding. Also, load the aecompl package if the ae
16495         package is loaded.
16496
16497         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16498
16499 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16500
16501         * texrow.C (increasePos): turn two error messages into debug
16502         messages.
16503
16504 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
16505
16506         * LaTeX.C (scanAux): Handle the \@input macro.
16507         (runBibTeX): Use scanAux().
16508
16509         * language.C (latex_options_): New field.
16510
16511         * LaTeXFeatures.C (getMacros): Add language macros.
16512
16513         * buffer.C (makeLaTeXFile): Small fix.
16514
16515 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16516
16517         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16518
16519         * text2.C: add a using directive.
16520
16521 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
16522
16523         * BufferView2.C:
16524         * lyx_gui_misc.h:
16525         * lyxfr1.C:
16526         * lyxfunc.C: kill LyXBell.
16527
16528 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
16529
16530         * text.C (IsBoundary): Remove the error message
16531
16532         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16533
16534         * lyxrc.C (setDefaults): Correct initialization value for
16535         font_norm_type.
16536
16537 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
16538
16539         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16540         gotoError().
16541
16542         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16543         and GotoNextNote().
16544
16545         * src/LyXAction.C: Added reference-next.
16546
16547         * text.C (InsertChar): Use contains instead of strchr.
16548
16549         * lyx_cb.C (MenuInsertLabel): Enable default value code.
16550
16551 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
16552
16553         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16554         alignment commands (when needed).
16555
16556         * text.C (InsertChar): Add ':' to number separator chars.